/* ㈜승지토건 홈페이지 공통 스타일
   색은 아래 :root 한 곳에서만 바꾸면 사이트 전체에 반영됩니다. */
:root {
  --blue: #0A24E8;        /* 로고 파랑 (흰 바탕 글자 대비 8:1) */
  --blue-dark: #0719B0;
  --cyan: #5FD9FF;        /* 로고 그라데이션 끝 하늘색 (어두운 바탕용) */
  --ink: #16212E;
  --ink-2: #3D4651;
  --ink-3: #5B6470;
  --line: #E5E3DD;
  --line-2: #EEECE6;
  --paper: #F6F5F1;
  --navy: #16212E;
  --navy-2: #101822;
  --navy-line: #34465B;
  --on-navy: #C9D1DB;
  --max: 1240px;
  --pad: 32px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: 'Noto Sans KR', system-ui, -apple-system, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  color: var(--ink);
  background: #FFFFFF;
  line-height: 1.6;
  word-break: keep-all;
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; display: block; }
a { color: var(--ink); }
a:hover { color: var(--blue); }
h1, h2, h3, p { margin: 0; }
.num { font-family: 'Space Grotesk', 'Noto Sans KR', sans-serif; font-variant-numeric: tabular-nums; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.skip { position: absolute; left: -9999px; top: 0; background: var(--blue); color: #fff; padding: 12px 16px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

/* ---------- 머리글 ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.97); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { height: 34px; width: auto; }
.brand-name { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name b { font-size: 20px; font-weight: 900; letter-spacing: -0.02em; }
.brand-name small { font-size: 10px; letter-spacing: 0.12em; color: var(--ink-3); }
.gnb { display: flex; align-items: center; gap: 26px; font-size: 15px; font-weight: 500; }
.gnb a { text-decoration: none; padding: 10px 0; }
.btn-line { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 10px 14px; border: 1.5px solid var(--ink); border-radius: 4px; font-size: 14px; font-weight: 700; text-decoration: none; }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: transparent; color: var(--ink); padding: 0; cursor: pointer; align-items: center; justify-content: center; }

/* ---------- 첫 화면 ---------- */
.hero { position: relative; min-height: 640px; display: flex; align-items: flex-end; color: #fff;
  background: var(--navy) url(../images/hero-heummagi.jpg) center 40% / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(16,24,34,0.62); }
.hero .wrap { position: relative; width: 100%; padding-top: 120px; padding-bottom: 140px; display: flex; flex-direction: column; gap: 22px; }
.hero .kicker { font-size: 16px; font-weight: 700; color: var(--cyan); letter-spacing: 0.02em; }
.hero h1 { font-size: 60px; line-height: 1.18; font-weight: 900; letter-spacing: -0.03em; max-width: 860px; }
.hero .lead { font-size: 19px; line-height: 1.7; color: #E6EAF0; max-width: 680px; }
.hero .cap { font-size: 13px; color: var(--on-navy); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 14px 24px; border-radius: 4px; font-weight: 700; text-decoration: none; font-size: 16px; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-dark); color: #fff; }
.btn-ghost { color: #fff; border: 1.5px solid #fff; }
.btn-ghost:hover { background: rgba(255,255,255,0.12); color: #fff; }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { color: var(--blue); }

/* ---------- 숫자 ---------- */
.stats { position: relative; margin-top: -72px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #fff; border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(22,33,46,0.14); }
.stat { padding: 30px 28px; display: flex; flex-direction: column; gap: 8px; border-right: 1px solid var(--line-2); }
.stat:last-child { border-right: 0; }
.stat .label { font-size: 14px; font-weight: 700; color: var(--ink-2); }
.stat .value { font-size: 50px; font-weight: 700; line-height: 1; color: var(--blue); }
.stat .value small { font-size: 22px; margin-left: 4px; }
.stat .note { font-size: 14px; color: var(--ink-2); }
.source { margin-top: 12px; font-size: 12px; color: var(--ink-3); }

/* ---------- 공통 섹션 ---------- */
.section { padding-top: 110px; }
.eyebrow { font-size: 14px; font-weight: 700; color: var(--blue); }
.h2 { font-size: 38px; font-weight: 900; letter-spacing: -0.02em; line-height: 1.3; }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 32px; }
.sec-head > div { display: flex; flex-direction: column; gap: 10px; }
.muted { color: var(--ink-2); }
.band { background: var(--paper); margin-top: 110px; padding: 90px 0; }
.band-navy { background: var(--navy); color: #fff; margin-top: 110px; padding: 90px 0; }
.band-navy .eyebrow { color: var(--cyan); }

/* ---------- 진행 현장 ---------- */
.pill { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); background: #fff; border: 1px solid #DDDAD2; padding: 8px 12px; border-radius: 999px; }
.pill i { width: 8px; height: 8px; border-radius: 50%; background: #2F855A; }
.live { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; }
.feature { background: var(--navy); color: #fff; display: flex; flex-direction: column; }
.feature > img { width: 100%; height: 300px; object-fit: cover; }
.feature .body { padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.feature .tag { font-size: 13px; font-weight: 700; color: var(--cyan); }
.feature h3 { font-size: 26px; font-weight: 900; line-height: 1.35; }
.feature .meta { font-size: 15px; color: var(--on-navy); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 6px 0 0; padding: 0; list-style: none; }
.steps figure { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.steps img { width: 100%; height: 72px; object-fit: cover; }
.steps figcaption { font-size: 12px; color: var(--on-navy); }
.live-list { background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.live-list li { padding: 18px 22px; border-bottom: 1px solid var(--line-2); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.live-list li:last-child { border-bottom: 0; }
.live-list b { display: block; font-size: 16px; }
.live-list span { font-size: 13px; color: var(--ink-2); }
.region { flex: none; font-size: 12px; font-weight: 700; color: #1E3A5F; background: #E4ECF7; padding: 4px 8px; }

/* ---------- 경쟁력 ---------- */
.reasons { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.reason { background: var(--paper); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.reason .n { font-size: 28px; font-weight: 700; color: var(--blue); }
.reason h3 { font-size: 20px; font-weight: 900; line-height: 1.35; }
.reason p { font-size: 15px; line-height: 1.7; color: var(--ink-2); }
.reason .chip { align-self: flex-start; font-size: 13px; font-weight: 700; background: #fff; border: 1px solid #DDDAD2; padding: 5px 10px; margin-top: auto; }

/* ---------- 사업영역 ---------- */
.biz { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.biz-card { text-decoration: none; color: var(--ink); border: 1px solid var(--line); display: flex; flex-direction: column; }
.biz-card img { width: 100%; height: 240px; object-fit: cover; }
.biz-card .body { padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.biz-card h3 { font-size: 22px; font-weight: 900; }
.biz-card p { font-size: 15px; line-height: 1.65; color: var(--ink-2); }
.biz-card .sum { display: flex; gap: 16px; margin-top: 6px; font-size: 14px; font-weight: 700; }
.biz-card .sum b { color: var(--blue); }

/* ---------- 실적표 ---------- */
.works-block { margin-top: 48px; }
.works-block h3 { font-size: 22px; font-weight: 900; margin-bottom: 14px; display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; }
.works-block h3 span { font-size: 15px; font-weight: 700; color: var(--blue); }
.table-box { overflow-x: auto; border: 1px solid var(--line); background: #fff; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 640px; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
th { background: var(--paper); font-size: 13px; color: var(--ink-2); font-weight: 700; white-space: nowrap; }
td.amt { text-align: right; white-space: nowrap; font-weight: 700; }
th.amt { text-align: right; }
td.period { white-space: nowrap; color: var(--ink-2); }
tr:last-child td { border-bottom: 0; }
.infra { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.infra div { background: #fff; border: 1px solid var(--line); padding: 18px; display: flex; flex-direction: column; gap: 4px; }
.infra b { font-size: 16px; }
.infra .num { font-size: 24px; font-weight: 700; color: var(--blue); }
.infra span { font-size: 13px; color: var(--ink-2); }
.note { margin-top: 12px; font-size: 13px; color: var(--ink-3); }

/* ---------- 안전 ---------- */
.safety { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.safety .txt { display: flex; flex-direction: column; gap: 20px; }
.safety .txt > p { font-size: 16px; line-height: 1.75; color: var(--on-navy); }
.safe-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.safe-grid div { border: 1px solid var(--navy-line); padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.safe-grid .num { font-size: 26px; font-weight: 700; }
.safe-grid span { font-size: 13px; color: var(--on-navy); }
.policy { border-top: 1px solid var(--navy-line); padding-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; font-size: 14px; color: var(--on-navy); }
.policy b { display: block; color: #fff; font-size: 13px; margin-bottom: 4px; }
.safety figure { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.safety figure img { width: 100%; height: 440px; object-fit: cover; }
.safety figcaption { font-size: 13px; color: var(--on-navy); }

/* ---------- 인증·면허 ---------- */
.licenses { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.lic { border: 1px solid var(--line); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.lic svg { color: var(--blue); }
.lic h3 { font-size: 18px; font-weight: 900; }
.lic p { font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.facts { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 10px; }
.facts span { font-size: 14px; background: var(--paper); padding: 10px 14px; }

/* ---------- 회사소개 ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.col { display: flex; flex-direction: column; gap: 18px; }
blockquote.quote { margin: 0; font-size: 30px; font-weight: 900; line-height: 1.45; letter-spacing: -0.02em; }
.col > p { font-size: 16px; line-height: 1.8; color: var(--ink-2); }
.sign { font-size: 15px; font-weight: 700; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: flex; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line-2); font-size: 15px; }
.timeline .num { flex: none; width: 76px; font-weight: 700; color: var(--blue); }
.overview { width: 100%; min-width: 0; font-size: 15px; border-top: 2px solid var(--ink); }
.overview th { background: transparent; width: 120px; font-size: 14px; color: var(--ink-2); padding: 13px 0; }
.overview td { padding: 13px 0 13px 12px; }
.org { display: flex; flex-direction: column; align-items: center; gap: 0; }
.org .ceo { background: var(--navy); color: #fff; font-weight: 900; padding: 12px 28px; }
.org .stem { width: 2px; height: 22px; background: var(--line); }
.org-row { width: 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; border-top: 2px solid var(--line); padding-top: 22px; }
.org-row div { border: 1px solid var(--line); padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.org-row b { font-size: 16px; color: var(--blue); }
.org-row span { font-size: 13px; line-height: 1.6; color: var(--ink-2); }
.people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 22px; width: 100%; }
.people div { background: var(--paper); padding: 16px; display: flex; flex-direction: column; gap: 2px; }
.people .num { font-size: 30px; font-weight: 700; color: var(--blue); line-height: 1.1; }
.people span { font-size: 13px; color: var(--ink-2); }

/* ---------- 소식 ---------- */
.news { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.news li { border-top: 2px solid var(--ink); padding: 18px 0; display: flex; flex-direction: column; gap: 8px; }
.news time { font-size: 13px; color: var(--ink-3); }
.news b { font-size: 17px; line-height: 1.5; }

/* ---------- 문의 띠 ---------- */
.cta { margin-top: 100px; }
.cta-box { background: var(--blue); color: #fff; padding: 40px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.cta-box h2 { font-size: 28px; font-weight: 900; }
.cta-box p { font-size: 16px; margin-top: 8px; }

/* ---------- 바닥글 ---------- */
.site-footer { margin-top: 100px; background: var(--navy-2); color: var(--on-navy); }
.site-footer .wrap { padding-top: 56px; padding-bottom: 28px; display: grid; grid-template-columns: 1.4fr 1fr 0.8fr; gap: 40px; }
.site-footer h2 { font-size: 20px; font-weight: 900; color: #fff; }
.site-footer h3 { font-size: 14px; color: #fff; margin-bottom: 4px; }
.f-col { display: flex; flex-direction: column; gap: 8px; font-size: 14px; line-height: 1.7; }
.f-col a { color: var(--on-navy); }
.f-col a:hover { color: #fff; }
.f-col a.strong { color: #fff; font-weight: 700; }
.copy { max-width: var(--max); margin: 0 auto; padding: 18px var(--pad) 28px; border-top: 1px solid #26354A; font-size: 12px; }

/* ---------- 법적 고지 페이지 ---------- */
.doc { max-width: 820px; margin: 0 auto; padding: 64px var(--pad) 0; }
.doc h1 { font-size: 34px; font-weight: 900; margin-bottom: 12px; }
.doc h2 { font-size: 20px; font-weight: 900; margin: 36px 0 10px; }
.doc p, .doc li { font-size: 15px; line-height: 1.85; color: var(--ink-2); }
.doc ul, .doc ol { padding-left: 20px; }
.doc .date { color: var(--ink-3); font-size: 14px; }

/* ---------- 태블릿 ---------- */
@media (max-width: 1080px) {
  .gnb { gap: 18px; font-size: 14px; }
  .stats-grid, .reasons, .licenses, .infra { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line-2); }
  .live, .safety, .about-grid { grid-template-columns: 1fr; }
  .biz { grid-template-columns: 1fr 1fr; }
  .site-footer .wrap { grid-template-columns: 1fr 1fr; }
}

/* ---------- 휴대폰 ---------- */
@media (max-width: 860px) {
  :root { --pad: 16px; }
  .menu-btn { display: inline-flex; }
  .header-actions .btn-line { display: none; }
  .gnb { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 4px 16px 12px; box-shadow: 0 12px 24px rgba(22,33,46,0.12); }
  .gnb.open { display: flex; }
  .gnb a { padding: 14px 4px; border-bottom: 1px solid var(--line-2); font-size: 16px; }
  .gnb a:last-child { border-bottom: 0; }
  .brand img { height: 26px; }
  .brand-name b { font-size: 18px; }
  .brand-name small { display: none; }
  .hero { min-height: 0; }
  .hero .wrap { padding-top: 56px; padding-bottom: 92px; gap: 16px; }
  .hero .kicker { font-size: 13px; }
  .hero h1 { font-size: 31px; line-height: 1.3; }
  .hero .lead { font-size: 15px; }
  .hero .btns .btn { flex: 1; min-height: 48px; padding: 12px; font-size: 15px; }
  .stats { margin-top: -52px; padding: 0 14px; }
  .stat { padding: 18px 14px; gap: 4px; }
  .stat .label, .stat .note { font-size: 12px; }
  .stat .value { font-size: 30px; }
  .stat .value small { font-size: 15px; }
  .section { padding-top: 56px; }
  .band, .band-navy { margin-top: 56px; padding: 44px 0; }
  .h2 { font-size: 24px; line-height: 1.35; }
  .eyebrow { font-size: 13px; }
  .sec-head { margin-bottom: 20px; }
  .reasons, .biz, .licenses, .news, .org-row { grid-template-columns: 1fr; }
  .infra { grid-template-columns: 1fr 1fr; }
  .reason { padding: 18px; }
  .feature > img { height: 210px; }
  .feature h3 { font-size: 19px; }
  .biz-card img { height: 170px; }
  .safety { gap: 24px; }
  .safety figure img { height: 220px; }
  .policy { grid-template-columns: 1fr; }
  blockquote.quote { font-size: 21px; }
  .people .num { font-size: 24px; }
  .cta { margin-top: 44px; }
  .cta-box { padding: 24px; }
  .cta-box h2 { font-size: 20px; }
  .cta-box .btn { width: 100%; }
  .site-footer { margin-top: 44px; }
  .site-footer .wrap { grid-template-columns: 1fr; gap: 24px; padding-top: 32px; }
  .works-block h3 { font-size: 18px; }
  table { font-size: 14px; }
  th, td { padding: 12px 14px; }
}

/* 회색 띠 바로 뒤 남색 띠는 붙여서 표시 */
.band + .band-navy { margin-top: 0; }
.safe-grid .wide { grid-column: 1 / -1; }
