/* ===== (주)종합건설가온 홈페이지 공통 스타일 ===== */

/* Pretendard 글꼴은 fonts.css(base64 내장)에서 로드됩니다 */

:root {
  --navy: #1e516f;        /* 가온 CI 딥틸네이비 (로고 심볼 색) */
  --navy-dark: #143a51;
  --blue: #2e7fa6;
  --ice: #cfe3ee;
  --bg: #ffffff;
  --bg-soft: #f4f7f9;
  --text: #222831;
  --muted: #6b7280;
  --line: #e1e7ec;

  /* 가온 CI 색상
     --ci-gray : 얇은 띠(헤더·히어로·통계·푸터) + 제목 배너 단색 (2026-08-18 사용자 요청으로 3색 → 차콜 단색 통일)
     --ci-gold : 통계 숫자, 상담배너 버튼, 강조박스 테두리 등 액센트
     --ci-sky  : 연혁 노드, 흐름도 카드 상단선 등 보조색 */
  --ci-gold: #c9a227;
  --ci-gray: #3f3b3a;
  --ci-sky:  #6fa8c4;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Pretendard Variable", Pretendard, "Malgun Gothic", "맑은 고딕", "Apple SD Gothic Neo", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  word-break: keep-all;
}

/* ===== 스크롤 떠오름 효과 ===== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.on {
  opacity: 1;
  transform: none;
}

a { color: inherit; text-decoration: none; }

/* ===== 헤더 / 내비게이션 ===== */
.site-header {
  background: var(--navy);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.site-header::before {
  /* 띠 (상단) — 차콜 단색 */
  content: "";
  display: block;
  height: 6px;
  background: var(--ci-gray);
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.gnb {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
}
.gnb > li { position: relative; }
.gnb > li > a {
  display: block;
  padding: 18px 18px;
  font-weight: 600;
  font-size: .95rem;
}
.gnb > li > a:hover { background: var(--navy-dark); }
.gnb > li > a.lang { color: #ffe08a; letter-spacing: .08em; }
.gnb li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 190px;
  background: #fff;
  color: var(--text);
  list-style: none;
  border: 1px solid var(--line);
  border-top: 3px solid var(--blue);
  box-shadow: 0 8px 20px rgba(0,0,0,.12);
}
.gnb li:hover ul,
.gnb li:focus-within ul { display: block; }
.gnb li ul a {
  display: block;
  padding: 10px 16px;
  font-size: .9rem;
  border-bottom: 1px solid var(--line);
}
.gnb li ul a:hover { background: var(--bg-soft); color: var(--blue); }

/* ===== 페이지 타이틀 ===== */
.page-title {
  /* 제목 배너 — 차콜 단색 (2026-08-18 사용자 요청) */
  background: var(--ci-gray);
  color: #fff;
  padding: 46px 20px;
  text-align: center;
}
.page-title h1 {
  font-size: 1.9rem;
  letter-spacing: .02em;
  text-shadow: 0 1px 3px rgba(0,0,0,.35);
}
.page-title .eng {
  color: rgba(255,255,255,.9);
  font-size: .95rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-top: 6px;
  text-shadow: 0 1px 3px rgba(0,0,0,.3);
}

/* ===== 본문 ===== */
main {
  max-width: 1000px;
  margin: 0 auto;
  padding: 44px 20px 70px;
}
main h2 {
  font-size: 1.35rem;
  color: var(--navy);
  margin: 42px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--navy);
}
main h2:first-child { margin-top: 0; }
main h3 {
  font-size: 1.08rem;
  color: var(--blue);
  margin: 28px 0 10px;
}
main p { margin-bottom: 14px; }
main ul { margin: 0 0 16px 22px; }
main li { margin-bottom: 5px; }

.lead {
  font-size: 1.05rem;
  background: var(--bg-soft);
  border-left: 4px solid var(--blue);
  padding: 20px 24px;
  margin-bottom: 28px;
}

/* ===== 표 ===== */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 24px;
  font-size: .95rem;
}
th, td {
  border: 1px solid var(--line);
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
}
th {
  background: var(--bg-soft);
  color: var(--navy);
  white-space: nowrap;
  width: 130px;
}

/* ===== 연혁 타임라인 (세로선 + 노드) ===== */
.timeline {
  list-style: none;
  margin: 0 0 34px;
  position: relative;
  padding-left: 4px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--line);
}
.timeline > li {
  position: relative;
  display: flex;
  gap: 18px;
  padding: 0 0 20px 32px;
}
.timeline > li:last-child { padding-bottom: 4px; }
.timeline > li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--ci-sky);
}
.timeline .year {
  flex: 0 0 92px;
  font-weight: 800;
  color: var(--navy);
}

/* ===== 사업분야 카드 ===== */
.biz-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 20px 0 10px;
}
.biz-grid a,
.biz-grid .biz-card {
  display: block;
  position: relative;
  border: 1px solid var(--line);
  border-top: 4px solid var(--navy);
  padding: 0;
  background: #fff;
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}
.biz-grid a:hover {
  box-shadow: 0 8px 20px rgba(30,81,111,.18);
  transform: translateY(-2px);
}
.biz-grid .thumb {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
  transition: transform .3s;
}
.biz-grid a:hover .thumb { transform: scale(1.05); }
.biz-grid .txt { padding: 16px 20px 18px; }
.biz-grid strong {
  display: block;
  color: var(--navy);
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.biz-grid .more {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: .75rem;
  font-weight: 700;
  color: var(--blue);
  background: rgba(255,255,255,.92);
  border: 1px solid var(--blue);
  border-radius: 14px;
  padding: 3px 12px;
  white-space: nowrap;
  transition: background .2s, color .2s;
}
.biz-grid a:hover .more {
  background: var(--blue);
  color: #fff;
}
.biz-grid small { color: var(--muted); font-size: .85rem; }

@media (max-width: 900px) {
  .biz-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .biz-grid { grid-template-columns: 1fr; }
}

/* ===== 관계사 로고 카드 ===== */
.aff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
  margin: 20px 0 10px;
}
.aff-grid .card {
  border: 1px solid var(--line);
  border-top: 4px solid var(--navy);
  padding: 22px 24px;
  background: #fff;
  transition: box-shadow .25s, transform .25s;
}
.aff-grid .card:hover {
  box-shadow: 0 10px 24px rgba(30,81,111,.15);
  transform: translateY(-3px);
}
.aff-grid .card img {
  width: 100%;
  height: 80px;
  object-fit: contain;
  object-position: center;
  display: block;
  margin: 0 auto 16px;
}
.aff-grid .card strong {
  display: block;
  color: var(--navy);
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.aff-grid .card small { color: var(--muted); font-size: .85rem; }

/* ===== 사업분야 로컬 내비 ===== */
.biz-nav {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}
.biz-nav ul {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
}
.biz-nav a {
  display: block;
  padding: 10px 12px;
  font-size: .85rem;
  color: var(--muted);
}
.biz-nav a:hover, .biz-nav a.on { color: var(--navy); font-weight: 700; }

/* ===== 대표 프로젝트 갤러리 (홈) ===== */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 20px 0 10px;
}
.gallery figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 6px;
}
.gallery img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
  transition: transform .35s;
}
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 28px 14px 11px;
  color: #fff;
  font-size: .87rem;
  font-weight: 700;
  background: linear-gradient(transparent, rgba(0,0,0,.7));
  text-shadow: 0 1px 2px rgba(0,0,0,.4);
}
@media (max-width: 900px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .gallery { grid-template-columns: 1fr; }
}

/* ===== 사업분야 수행 사진 ===== */
.photo-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin: 26px 0;
}
.photo-row figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow .25s, transform .25s;
}
.photo-row figure:hover {
  box-shadow: 0 10px 24px rgba(30,81,111,.15);
  transform: translateY(-3px);
}
.photo-row img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}
.photo-row figcaption {
  padding: 10px 14px;
  font-size: .88rem;
  font-weight: 700;
  color: var(--navy);
  text-align: center;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
}
.photo-row.one {
  grid-template-columns: minmax(280px, 620px);
  justify-content: center;
}
/* 한 장짜리 사진은 자르지 않고 원본 비율 그대로 전체 표시 */
.photo-row.one img {
  height: auto;
  object-fit: contain;
}

/* ===== 수행 프로젝트 접기/펼치기 ===== */
details.projects {
  border: 1px solid var(--line);
  border-radius: 6px;
  margin: 26px 0;
  background: var(--bg-soft);
}
details.projects > summary {
  cursor: pointer;
  padding: 16px 22px;
  font-weight: 700;
  color: var(--navy);
  font-size: 1.02rem;
  list-style: none;
}
details.projects > summary::before { content: "▸ "; }
details.projects[open] > summary::before { content: "▾ "; }
details.projects > summary:hover { color: var(--blue); }
details.projects .inner {
  padding: 4px 26px 22px;
  background: #fff;
  border-top: 1px solid var(--line);
}
details.projects .inner ul {
  columns: 2;
  column-gap: 36px;
  font-size: .92rem;
  color: #333;
}
details.projects .inner li { break-inside: avoid; }
@media (max-width: 700px) {
  details.projects .inner ul { columns: 1; }
}

/* ===== 찾아오시는 길: 표 + 지도 ===== */
.loc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 표와 지도 동일 폭 */
  gap: 24px;
  align-items: stretch;
  margin-bottom: 10px;
}
.loc-grid .loc-table { margin: 0; height: 100%; }
.loc-grid .loc-table th,
.loc-grid .loc-table td { padding: 14px 16px; }
.loc-map {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}
/* 구글 기본 주소 카드("6")를 가리고 회사명을 표시하는 덮개 카드 */
.loc-map .map-label {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  min-width: 265px;
  min-height: 64px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 5px rgba(0,0,0,.3);
  padding: 10px 14px;
  pointer-events: none;
  line-height: 1.45;
}
.loc-map .map-label strong {
  display: block;
  font-size: .95rem;
  color: var(--text);
}
.loc-map .map-label span {
  font-size: .78rem;
  color: var(--muted);
}
.loc-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 300px;
  border: 0;
}
@media (max-width: 800px) {
  .loc-grid { grid-template-columns: 1fr; }
  .loc-map iframe { height: 320px; }
}

/* ===== 경영가치 다이어그램 (기업이념) ===== */
.value-fig {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  overflow: hidden;
}
.value-fig img {
  max-width: 100%;
  max-height: 320px;
  object-fit: contain;
}

/* ===== 조직도 ===== */
.orgchart { margin: 24px 0 10px; }

.org-top {
  display: flex;
  justify-content: center;
}
.org-ceo {
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 16px 54px;
  border-radius: 6px;
  text-align: center;
  letter-spacing: .02em;
}
.org-stem {
  width: 2px;
  height: 24px;
  background: var(--navy);
  margin: 0 auto;
}

/* 가지선: 세로 중심선에서 두 부서 상단 중앙으로 갈라짐 */
.org-branch {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 24px;
  height: 24px;
}
.org-branch span { position: relative; }
.org-branch span::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  margin-left: -1px;
  background: var(--navy);
}
.org-branch span:first-child::after,
.org-branch span:last-child::after {
  content: "";
  position: absolute;
  top: 0;
  height: 2px;
  background: var(--navy);
}
.org-branch span:first-child::after { left: 50%; right: -13px; }
.org-branch span:last-child::after { left: -13px; right: 50%; }

.org-groups {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 24px;
  align-items: start;
}
.org-group {
  border: 1px solid var(--line);
  border-top: 4px solid var(--navy);
  background: var(--bg-soft);
  padding: 20px;
}
.org-group > h3 {
  margin: 0 0 14px;
  font-size: 1.05rem;
  color: var(--navy);
  text-align: center;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.org-units {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
}
.org-group.tech .org-units { grid-template-columns: repeat(3, 1fr); }
.org-units li {
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 14px 12px;
  text-align: center;
  font-weight: 600;
  color: var(--text);
  font-size: .96rem;
  margin: 0;
}
.org-units li:hover { border-color: var(--blue); color: var(--blue); }

@media (max-width: 760px) {
  .org-groups { grid-template-columns: 1fr; }
  .org-group.tech .org-units { grid-template-columns: repeat(2, 1fr); }
  .org-branch { display: none; }
}

/* ===== FAQ 부서별 탭 ===== */
.faq-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 26px;
}
.faq-tabs button {
  padding: 8px 16px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  font-size: .9rem;
  border-radius: 20px;
  color: var(--muted);
  font-family: inherit;
}
.faq-tabs button:hover { border-color: var(--blue); color: var(--blue); }
.faq-tabs button.on {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  font-weight: 700;
}
.faq-panel { display: none; }
.faq-panel.on { display: block; }

details.faq {
  border: 1px solid var(--line);
  border-radius: 6px;
  margin-bottom: 10px;
  background: #fff;
}
details.faq > summary {
  cursor: pointer;
  padding: 14px 18px;
  font-weight: 700;
  color: var(--navy);
  list-style: none;
}
details.faq > summary::before { content: "Q. "; color: var(--blue); }
details.faq > summary:hover { color: var(--blue); }
details.faq .answer {
  padding: 12px 18px 16px;
  border-top: 1px solid var(--line);
  color: #333;
}
details.faq .answer::before { content: "A. "; font-weight: 700; color: var(--blue); }

/* ===== 문의(Q&A) 폼 ===== */
.qna-form {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 26px;
  margin-top: 14px;
}
.qna-form label {
  display: block;
  font-weight: 700;
  color: var(--navy);
  margin: 14px 0 6px;
  font-size: .92rem;
}
.qna-form label:first-child { margin-top: 0; }
.qna-form input, .qna-form select, .qna-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-family: inherit;
  font-size: .95rem;
  background: #fff;
}
.qna-form textarea { min-height: 140px; resize: vertical; }
.qna-form button {
  margin-top: 18px;
  background: var(--navy);
  color: #fff;
  border: none;
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  font-family: inherit;
}
.qna-form button:hover { background: var(--blue); }
.qna-result {
  display: none;
  margin-top: 16px;
  background: #fff;
  border: 1px dashed var(--blue);
  border-radius: 4px;
  padding: 16px;
  white-space: pre-wrap;
  font-size: .92rem;
}

/* ===== 상담 문의 배너 (홈) ===== */
.cta {
  background: linear-gradient(135deg, var(--navy) 0%, #2a6d92 100%);
  color: #fff;
  text-align: center;
  padding: 58px 20px;
  margin-top: 60px;
}
.cta h2 {
  font-size: 1.75rem;
  margin-bottom: 10px;
  letter-spacing: .01em;
}
.cta p {
  color: var(--ice);
  margin-bottom: 28px;
  font-size: 1.02rem;
}
.cta .btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta .btn-primary {
  background: var(--ci-gold);
  color: #2b2416;
  font-weight: 800;
  padding: 13px 36px;
  border-radius: 6px;
  font-size: 1.02rem;
  transition: background .2s, transform .2s;
}
.cta .btn-primary:hover { background: #dcb949; transform: translateY(-2px); }
.cta .btn-ghost {
  border: 2px solid rgba(255,255,255,.75);
  color: #fff;
  font-weight: 700;
  padding: 11px 30px;
  border-radius: 6px;
  font-size: 1.02rem;
  transition: background .2s, color .2s, transform .2s;
}
.cta .btn-ghost:hover { background: #fff; color: var(--navy); transform: translateY(-2px); }
.consult-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 780px;
  margin: 0 auto;
}
.consult-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.consult-action,
.consult-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 800;
  transition: background .2s, color .2s, box-shadow .2s, transform .2s;
}
.consult-action {
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, #f3ce42 0%, var(--ci-gold) 100%);
  color: #211a08;
  border: 1px solid rgba(255,255,255,.35);
  box-shadow: 0 8px 22px rgba(201,162,39,.3), inset 0 1px 0 rgba(255,255,255,.28);
  animation: consultPulse 2.6s ease-in-out infinite;
  will-change: transform;
}
.consult-card:nth-child(2) .consult-action { animation-delay: 1.3s; }
.consult-action:hover,
.consult-action:focus-visible {
  background: linear-gradient(135deg, #ffe36b 0%, #dcb01f 100%);
  color: #17130b;
  box-shadow: 0 11px 28px rgba(201,162,39,.48), 0 0 0 3px rgba(255,255,255,.22);
  transform: scale(1.055);
  animation-play-state: paused;
}
.consult-action:active { transform: scale(.98); }
@keyframes consultPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 8px 22px rgba(201,162,39,.28), inset 0 1px 0 rgba(255,255,255,.28); }
  50% { transform: scale(1.025); box-shadow: 0 11px 28px rgba(201,162,39,.42), inset 0 1px 0 rgba(255,255,255,.34); }
}
@media (prefers-reduced-motion: reduce) {
  .consult-action { animation: none; }
}
.consult-phone { color: #fff; border: 1px solid rgba(255,255,255,.55); background: rgba(255,255,255,.08); white-space: nowrap; }
.consult-phone:hover { background: #fff; color: var(--navy); }
@media (max-width: 760px) {
  .consult-grid { grid-template-columns: 1fr; }
}
@media (max-width: 430px) {
  .consult-card { grid-template-columns: 1fr; }
  .consult-phone { border: 1px solid rgba(255,255,255,.55); }
}
.cta + .site-footer { margin-top: 0; }

/* ===== 푸터 ===== */
.site-footer {
  position: relative;
  background: var(--navy-dark);
  color: #b9c2d8;
  font-size: .88rem;
  padding: 30px 20px 36px;
  margin-top: 40px;
}
.site-footer::after {
  /* 띠 (하단) — 차콜 단색 */
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 6px;
  background: var(--ci-gray);
}
.site-footer .inner { max-width: 1100px; margin: 0 auto; }
.site-footer strong { color: #fff; }
.site-footer p { margin: 3px 0; }

/* ===== 홈 히어로 (조감도 배경 + 슬로우 줌) ===== */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 130px 20px 140px;
}
/* 배경 슬라이드 (조감도 순환 + 슬로우 줌) */
.hero-slides {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 0;
  overflow: hidden;
}
.hero .slide {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-position: center 60%;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.4s ease;
  will-change: transform, opacity;
}
.hero .slide:first-child { opacity: 1; animation: heroZoom 6.5s ease-out forwards; }
.hero-slides.js .slide { opacity: 0; animation: none; }
.hero-slides.js .slide.on { opacity: 1; animation: heroZoom 6.5s ease-out forwards; }
@keyframes heroZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.12); }
}
.hero::before {
  /* 글자 가독용 어두운 필터 */
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1;
  background: linear-gradient(rgba(20,58,81,.45), rgba(20,58,81,.6));
}
@media (prefers-reduced-motion: reduce) {
  .hero .slide { animation: none !important; }
}
.hero h1, .hero p {
  position: relative;
  z-index: 2;
  opacity: 0;
  animation: heroText 1.1s ease forwards;
}
.hero h1 { animation-delay: .9s; }
.hero p { animation-delay: 1.3s; }
@keyframes heroText {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero h1, .hero p { animation: none; opacity: 1; }
}
.hero::after {
  /* 띠 — 차콜 단색 */
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 3;
  height: 6px;
  background: var(--ci-gray);
}
.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  letter-spacing: .01em;
  /* 검은 윤곽선: 밝은 배경 위에서도 잘 보이도록 */
  text-shadow:
    -1px -1px 0 rgba(0,0,0,.6),
     1px -1px 0 rgba(0,0,0,.6),
    -1px  1px 0 rgba(0,0,0,.6),
     1px  1px 0 rgba(0,0,0,.6),
     0 2px 10px rgba(0,0,0,.55);
}
.hero p {
  color: rgba(255,255,255,.97);
  font-size: 1.16rem;
  max-width: 700px;
  margin: 0 auto;
  text-shadow:
    -1px -1px 0 rgba(0,0,0,.55),
     1px -1px 0 rgba(0,0,0,.55),
    -1px  1px 0 rgba(0,0,0,.55),
     1px  1px 0 rgba(0,0,0,.55),
     0 1px 6px rgba(0,0,0,.5);
}

/* ===== 숫자 강조 띠 ===== */
.stats {
  position: relative;
  background: var(--navy);
  color: #fff;
  padding: 40px 20px 46px;
}
.stats::after {
  /* 띠 — 차콜 단색 */
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 6px;
  background: var(--ci-gray);
}
.stats .inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stats strong {
  display: block;
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--ci-gold);
  line-height: 1.2;
  margin-bottom: 6px;
}
.stats strong.txt { font-size: 1.85rem; padding-top: .35rem; }
.stats span {
  font-size: .92rem;
  color: var(--ice);
}
@media (max-width: 760px) {
  .stats .inner { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
  .stats strong { font-size: 1.8rem; }
}

/* 좁은 화면: 타이틀 띠 글이 옆 색상을 침범하지 않도록 회색 단색 처리 */
@media (max-width: 900px) {
  /* 제목 배너는 이미 단색이라 좁은 화면 전용 처리 불필요 */
  .hero { padding: 90px 20px 100px; }
}

@media (max-width: 800px) {
  .hero h1 { font-size: 1.6rem; }
}

/* ===== 모바일 메뉴 (햄버거) ===== */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,.45);
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
  padding: 7px 13px;
  border-radius: 6px;
  cursor: pointer;
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .header-inner { justify-content: space-between; }
  .site-header nav { display: none; width: 100%; padding-bottom: 10px; }
  .site-header nav.open { display: block; }
  .gnb { flex-direction: column; }
  .gnb > li > a {
    padding: 12px 8px;
    border-top: 1px solid rgba(255,255,255,.14);
  }
  .gnb li ul {
    display: block;
    position: static;
    min-width: 0;
    background: transparent;
    color: var(--ice);
    border: none;
    box-shadow: none;
  }
  .gnb li ul a {
    color: var(--ice);
    border: none;
    padding: 7px 8px 7px 24px;
    font-size: .88rem;
  }
  .gnb li ul a:hover { background: var(--navy-dark); color: #fff; }
}


/* ===== 실적 표 (시공실적 페이지) ===== */
.rec-table { font-size: .92rem; }
.rec-table th { width: auto; white-space: normal; text-align: center; }
.rec-table thead th { background: var(--navy); color: #fff; border-color: var(--navy); }
.rec-table td:nth-child(2),
.rec-table td:nth-child(3) { white-space: nowrap; text-align: center; width: 1%; }
.rec-table tbody tr:nth-child(even) { background: var(--bg-soft); }
.rec-table .amt { font-weight: 700; color: var(--navy); }
.table-scroll { overflow-x: auto; margin: 12px 0 24px; }
.table-scroll table { margin: 0; min-width: 640px; }

/* ===== 그룹 원스톱 다이어그램 (관계사) ===== */
.flow {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin: 24px 0 10px;
  text-align: center;
}
.flow .step {
  border: 1px solid var(--line);
  border-top: 4px solid var(--ci-sky);
  background: #fff;
  border-radius: 6px;
  padding: 16px 10px;
}
.flow .step strong { display: block; color: var(--navy); font-size: .98rem; margin-bottom: 4px; }
.flow .step small { color: var(--muted); font-size: .8rem; }
.flow .step.on { border-top-color: var(--ci-gold); background: var(--bg-soft); }
.flow .step.on strong { color: var(--ci-gold); }
@media (max-width: 900px) { .flow { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .flow { grid-template-columns: repeat(2, 1fr); } }

/* ===== 인력 현황 막대 ===== */
.bars { margin: 16px 0 28px; }
.bars .row { display: grid; grid-template-columns: 92px 1fr 56px; gap: 12px; align-items: center; margin-bottom: 9px; }
.bars .row span { font-size: .9rem; color: var(--text); }
.bars .row b { font-size: .9rem; color: var(--navy); text-align: right; }
.bars .track { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 20px; height: 16px; overflow: hidden; }
.bars .fill { height: 100%; background: linear-gradient(90deg, var(--navy), var(--ci-sky)); border-radius: 20px; }

/* ===== 강조 박스 ===== */
.callout {
  border: 1px solid var(--line);
  border-left: 4px solid var(--ci-gold);
  background: var(--bg-soft);
  border-radius: 0 6px 6px 0;
  padding: 18px 22px;
  margin: 22px 0;
}
.callout strong { color: var(--navy); }

/* ===== 인증/면허 카드 ===== */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 14px;
  margin: 20px 0 10px;
}
.cert-grid li {
  list-style: none;
  margin: 0;
  border: 1px solid var(--line);
  border-top: 4px solid var(--navy);
  background: #fff;
  padding: 18px 20px;
  font-weight: 600;
  color: var(--text);
}
.cert-grid li small { display: block; font-weight: 400; color: var(--muted); font-size: .84rem; margin-top: 4px; }


/* ===== GAON Innovation header brand ===== */
.logo {
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo .brand-mark {
  width: 54px;
  height: 40px;
  object-fit: contain;
  flex: 0 0 auto;
  filter: brightness(0) invert(1);
}
.logo .brand-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0;
  color: #fff;
  line-height: 1.1;
}
.logo .brand-copy strong {
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -.02em;
  white-space: nowrap;
}
.logo .brand-copy small {
  margin-top: 4px;
  font-size: .66rem;
  font-weight: 500;
  letter-spacing: .065em;
  opacity: .82;
  white-space: nowrap;
}
@media (max-width: 900px) {
  .logo { padding: 8px 0; gap: 8px; }
  .logo .brand-mark { width: 42px; height: 34px; }
  .logo .brand-copy { display: flex; margin: 0; }
  .logo .brand-copy strong { font-size: .94rem; }
  .logo .brand-copy small { margin-top: 3px; font-size: .53rem; }
}
