:root {
  --ink: #182420;
  --ink-soft: #5c655f;
  --stone: #26302c;
  --accent: #0f7a5c;
  --accent-dark: #0b5a43;
  --bg: #f3f5f2;
  --card-bg: #ffffff;
  --border: #dde3dd;
  --max: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-snap-type: none; }
@media (max-width: 640px) { html { scroll-behavior: smooth; } }

body {
  font-family: "Pretendard Variable", Pretendard, -apple-system, sans-serif;
  font-size: 21px;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: break-word;
  overflow-x: hidden; /* .section-band 의 100vw 풀블리드가 스크롤바 폭만큼 살짝 넘치는 것 방지 */
}

h1, h2, h3, .btn-primary, .preview-link {
  font-family: "Pretendard Variable", Pretendard, -apple-system, sans-serif;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(243, 245, 242, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark { width: 34px; height: 34px; flex-shrink: 0; }
.logo-mark svg, .logo-mark img { width: 100%; height: 100%; object-fit: contain; }
.logo-text { font-family: "Pretendard Variable", Pretendard, -apple-system, sans-serif; font-size: 21px; font-weight: 500; letter-spacing: -0.01em; }
.logo-text em { font-style: normal; font-weight: 600; color: var(--ink-soft); margin-left: 2px; }

.site-nav { display: flex; gap: 32px; }
.site-nav a { font-size: 19px; font-weight: 600; color: var(--ink-soft); transition: color .15s; }
.site-nav a:hover, .site-nav a.active { color: var(--accent-dark); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px; height: 34px;
  background: none; border: none; cursor: pointer;
}
.nav-toggle span { width: 100%; height: 2px; background: var(--ink); border-radius: 2px; }

/* ---------- Slow zoom (Ken Burns) ---------- */
@keyframes slowZoom {
  from { transform: scale(1); }
  to { transform: scale(1.12); }
}
.hero-bg img {
  animation: slowZoom 20s ease-out forwards;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  scroll-snap-align: start;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-bg svg, .hero-bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-slideshow img {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.hero-slideshow img.is-active { opacity: 1; }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,20,16,.22) 0%, rgba(10,20,16,.48) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 100px 24px;
  width: 100%;
}
.eyebrow {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 16px;
  text-shadow: 0 1px 4px rgba(0,0,0,.35);
}
.hero h1 {
  font-size: 50px;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.35;
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 21px;
  color: rgba(255,255,255,0.8);
  max-width: 560px;
  margin-bottom: 32px;
}
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 19px;
  padding: 13px 30px;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(15,122,92,.28);
  transition: background .15s, transform .15s, box-shadow .15s;
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 14px 28px rgba(15,122,92,.34); }

/* ---------- Page banner (subpages) - 포인트 바로 장성아스콘과 차별화 ---------- */
.page-banner {
  position: relative;
  min-height: 260px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--ink);
}
.page-banner .hero-bg img { object-fit: cover; object-position: center 35%; }
.banner-accent-bar {
  height: 6px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-dark) 100%);
}
.page-banner-content {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}
.page-banner h1 { font-size: 39px; font-weight: 400; letter-spacing: -0.01em; }

/* ---------- Home links: 카드형 그리드 (장성아스콘의 풀스크린 스크롤스냅 방식과 구조 차별화) ---------- */
.home-links { padding: 100px 24px; background: var(--bg); }
.home-links-inner { max-width: var(--max); margin: 0 auto; }
.home-link-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.home-link-card {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: 22px;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.home-link-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(15,30,25,.2); }
.home-link-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.home-link-card:hover > img { transform: scale(1.08); }
.home-link-tint { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,30,25,.1) 45%, rgba(15,30,25,.82) 100%); }
.home-link-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 28px; transition: opacity .2s ease; }
.home-link-card:hover .home-link-caption { opacity: 0; }
.home-link-caption .preview-eyebrow, .home-link-caption h3 { color: #fff; }
.home-link-caption h3 { font-size: 26px; font-weight: 600; margin-top: 8px; }
.home-link-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 28px;
  background: rgba(11,90,67,.93);
  opacity: 0;
  transition: opacity .3s ease;
}
.home-link-card:hover .home-link-overlay { opacity: 1; }
.home-link-overlay .preview-eyebrow { color: rgba(255,255,255,.85); }
.home-link-overlay h3 { color: #fff; font-size: 24px; font-weight: 600; margin: 8px 0 12px; }
.home-link-overlay p { font-size: 15px; color: rgba(255,255,255,.92); line-height: 1.65; margin-bottom: 16px; max-width: 320px; }
.home-link-overlay .preview-link { color: #fff; border-bottom-color: #fff; }
.preview-eyebrow { font-size: 15px; font-weight: 700; letter-spacing: 0.12em; color: var(--accent); }
.preview-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 17px;
  color: var(--ink);
  width: fit-content;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 4px;
  transition: color .15s;
}
.preview-link:hover { color: var(--accent-dark); }

@media (max-width: 760px) {
  .home-link-grid { grid-template-columns: 1fr; }
  .home-links { padding: 72px 20px; }
}

/* ---------- Sections ---------- */
.section { padding: 88px 24px; }
.section-inner { max-width: var(--max); margin: 0 auto; }
.section-desc { color: var(--ink); font-size: 23px; font-weight: 600; line-height: 1.6; margin-bottom: 40px; }

/* 소개 페이지: 개요/CEO인사말/연혁/오시는길이 흰색-기본색 밴드로 번갈아 이어짐 */
.section-about, .section-business, .section-people, .section-welfare { background: var(--bg); padding: 0; }

/* 사업영역 이동탭 (인성 홈페이지 "연구개발" 탭 구도 참고) - 가운데 정렬, 클릭 시 화면 전환 */
.biz-tabs {
  position: sticky;
  top: 63px;
  z-index: 40;
  background: var(--card-bg);
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: center;
  gap: 8px;
}
.biz-tabs button {
  appearance: none;
  -webkit-appearance: none;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  font-family: "Pretendard Variable", Pretendard, -apple-system, sans-serif;
  cursor: pointer;
  text-align: center;
  padding: 20px 28px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--ink-soft);
  transition: color .15s, border-color .15s;
}
.biz-tabs button:hover { color: var(--ink); }
.biz-tabs button.active { color: var(--accent-dark); border-bottom-color: var(--accent); }

@media (max-width: 640px) {
  .biz-tabs button { font-size: 13px; padding: 16px 14px; }
}
.section-title-plain {
  font-family: "Pretendard Variable", Pretendard, -apple-system, sans-serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 24px;
}
.section-band {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  padding: 64px 0;
}
.section-band.band-white { background: var(--card-bg); }
.section-band.band-base { background: var(--bg); }
.section-band-inner { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.overview-panel { padding-top: 8px; }
.overview-title { text-align: center; font-size: 28px; font-weight: 600; margin-bottom: 32px; }
.overview-lead { text-align: center; font-size: 25px; font-weight: 700; line-height: 1.55; margin: 0 auto 48px; max-width: 780px; }
.overview-lead strong { color: var(--accent-dark); }

.overview-body { display: flex; align-items: center; gap: 48px; }
.overview-text { flex: 1 1 55%; min-width: 0; }
.overview-text p { font-size: 17px; color: var(--ink-soft); line-height: 1.8; margin-bottom: 16px; }
.overview-text p:last-child { margin-bottom: 0; }
.overview-text strong { color: var(--ink); }
.overview-photo { flex: 1 1 45%; border-radius: 22px; overflow: hidden; box-shadow: 0 16px 40px rgba(15,30,25,.14); }
.overview-photo img { width: 100%; height: 100%; object-fit: cover; }
.overview-photo-sketch {
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: none;
  padding: 12px;
}
.overview-photo-sketch img { object-fit: contain; }

@media (max-width: 760px) {
  .overview-body { flex-direction: column-reverse; gap: 24px; }
  .overview-text, .overview-photo { flex: none; width: 100%; }
}

/* 연혁: 10년 단위 구간이 좌우로 번갈아 배치되는 타임라인 */
.decade-timeline { display: flex; flex-direction: column; gap: 64px; margin-top: 8px; }
.decade-label { text-align: center; margin-bottom: 36px; }
.decade-label h4 { font-size: 24px; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.decade-range { display: block; font-size: 42px; font-weight: 700; color: var(--accent); letter-spacing: .02em; line-height: 1.1; }

.decade-row { display: grid; grid-template-columns: 1fr 1fr; }
.decade-content { display: flex; flex-direction: column; gap: 28px; max-width: 460px; }

.decade-row.align-right { justify-items: start; }
.decade-row.align-right .decade-content {
  grid-column: 2;
  position: relative;
  border-left: 2px solid var(--border);
  padding-left: 30px;
}
.decade-row.align-left { justify-items: end; }
.decade-row.align-left .decade-content {
  grid-column: 1;
  position: relative;
  border-right: 2px solid var(--border);
  padding-right: 30px;
  text-align: right;
}

/* 구간 시작점을 표시하는 큰 원형 마커 (연혁 구간당 1개) */
.decade-content::before {
  content: "";
  position: absolute;
  top: -6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--card-bg);
  border: 3px solid var(--accent);
}
.decade-row.align-right .decade-content::before { left: -8px; }
.decade-row.align-left .decade-content::before { right: -8px; }

/* 각 연도 항목은 작은 눈금으로 표시 */
.decade-entry { position: relative; }
.decade-entry::before {
  content: "";
  position: absolute;
  top: 15px;
  width: 14px;
  height: 2px;
  background: var(--border);
}
.decade-row.align-right .decade-entry::before { left: -30px; }
.decade-row.align-left .decade-entry::before { right: -30px; }

.decade-year { display: block; font-size: 26px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.decade-desc { display: block; font-size: 16px; color: var(--ink-soft); line-height: 1.55; }

@media (max-width: 760px) {
  .decade-row.align-right, .decade-row.align-left { grid-template-columns: 1fr; justify-items: stretch; }
  .decade-row.align-right .decade-content,
  .decade-row.align-left .decade-content {
    grid-column: 1;
    max-width: none;
    border-left: 2px solid var(--border);
    border-right: none;
    padding-left: 26px;
    padding-right: 0;
    text-align: left;
  }
  .decade-row.align-left .decade-content::before { left: -8px; right: auto; }
  .decade-row.align-left .decade-entry::before { left: -26px; right: auto; }
}

.panel {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 32px 28px;
}
.subsection { margin-top: 56px; }
.subsection-title { font-size: 25px; font-weight: 400; margin-bottom: 20px; }
.subsection .panel { margin-top: 0; }
.panel > .subsection-title { padding-left: 24px; margin-bottom: 24px; }

/* 개요/CEO인사말/오시는길 제목: Black Han Sans 대신 Pretendard로 얇게 */
.overview-title,
.ceo-section .subsection-title,
#location .subsection-title {
  font-family: "Pretendard Variable", Pretendard, -apple-system, sans-serif;
  font-weight: 600;
}

.ceo-section { text-align: center; }
.ceo-greeting p { font-size: 19px; color: var(--ink); line-height: 1.8; margin: 0 auto 16px; max-width: 760px; }
.ceo-greeting p:last-child { margin-bottom: 0; }
.ceo-name { text-align: center; font-size: 19px; }
.ceo-name strong { font-size: 22px; }

.info-table { display: flex; flex-direction: column; }
.info-table > div {
  display: flex;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 19px;
}
.info-table > div:last-child { border-bottom: none; padding-bottom: 0; }
.info-table dt { width: 120px; flex-shrink: 0; font-weight: 700; color: var(--ink-soft); }
.info-table dd { font-weight: 500; }

.timeline { display: flex; flex-direction: column; }
.timeline-item {
  display: flex;
  gap: 24px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 18px;
}
.timeline-item:last-child { border-bottom: none; padding-bottom: 0; }
.timeline-date { width: 98px; flex-shrink: 0; font-weight: 700; color: var(--accent-dark); }
.timeline-desc { color: var(--ink); }

.location-grid { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: start; }
.location-panel h3 { font-size: 21px; font-weight: 600; margin-bottom: 14px; color: var(--accent-dark); }
.location-panel p { font-size: 19px; color: var(--ink-soft); margin-top: 2px; }
.location-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.location-bar-item { display: flex; gap: 14px; font-size: 16px; }
.location-bar-item strong { width: 96px; flex-shrink: 0; font-weight: 700; }
.location-bar-item span { color: var(--ink-soft); }
.location-map iframe { width: 100%; height: 320px; border: 0; border-radius: 20px; display: block; }
.map-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-dark);
}
.map-link:hover { text-decoration: underline; }

/* ---------- Business cards ---------- */
.section-business { background: var(--card-bg); }
.card-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 32px 28px;
}
.card-icon { display: inline-flex; width: 48px; height: 48px; color: var(--accent-dark); margin-bottom: 20px; }
.card h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.card p { font-size: 19px; color: var(--ink-soft); line-height: 1.7; }

/* ---------- 사업영역: 제목 뱃지 ---------- */
.pavement-title {
  display: inline-block;
  margin-top: 48px;
  margin-bottom: 16px;
  padding: 8px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(15,30,25,.25);
}
h3.pavement-title:first-of-type { margin-top: 8px; }
.pavement-title-lg { margin-top: 96px; }

/* ---------- 제품 카드 ---------- */
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.product-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
}
.product-card h4 { font-size: 19px; font-weight: 600; margin-bottom: 6px; }
.product-card h4 em { display: block; font-style: normal; font-weight: 500; font-size: 13px; color: var(--ink-soft); margin-top: 2px; }
.product-card p { font-size: 15px; color: var(--ink-soft); line-height: 1.6; }

@media (max-width: 640px) {
  .product-grid { grid-template-columns: 1fr; }
}

/* ---------- 아스콘의 재료: 완성품(중앙)-재료(동서남북) 다이어그램, 마우스오버로 설명 전환 ---------- */
.material-showcase {
  margin-top: 24px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 36px;
}
.material-diagram { display: flex; align-items: center; gap: 56px; }

/* 다이어그램: 400x400 고정 캔버스에 중앙(완성품)+동서남북(재료) 배치, 연결선은 절대좌표 계산값 (호버 확대시 겹침 방지를 위해 간격 확장) */
.material-diagram-visual {
  position: relative;
  flex: 0 0 400px;
  width: 400px;
  height: 436px;
}
.material-line {
  position: absolute;
  background: var(--border);
  z-index: 0;
  transition: background-color .2s ease;
}
.line-top { left: 198.5px; top: 100px; width: 3px; height: 45px; }
.line-bottom { left: 198.5px; top: 255px; width: 3px; height: 45px; }
.line-left { left: 100px; top: 198.5px; width: 45px; height: 3px; }
.line-right { left: 255px; top: 198.5px; width: 45px; height: 3px; }

.material-node {
  position: absolute;
  z-index: 1;
  appearance: none;
  -webkit-appearance: none;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.material-node img {
  display: block;
  object-fit: cover;
  border: 3px solid var(--card-bg);
  box-shadow: 0 6px 16px rgba(15,30,25,.18);
  transition: filter .25s ease, transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.material-node-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  transition: color .2s ease;
}
.material-node-center { top: 145px; left: 145px; }
.material-node-center img { width: 110px; height: 110px; border-radius: 20px; }
.material-node-top { top: 8px; left: 50%; transform: translateX(-50%); }
.material-node-bottom { top: 300px; left: 50%; transform: translateX(-50%); }
.material-node-left { left: 8px; top: 154px; }
.material-node-right { right: 8px; top: 154px; }
.material-node-top img,
.material-node-bottom img,
.material-node-left img,
.material-node-right img { width: 92px; height: 92px; border-radius: 50%; }

/* 활성/비활성 강조: 활성 노드는 확대+포인트컬러 링, 나머지는 흑백으로 가라앉힘 */
.material-node.is-active img { border-color: var(--accent); transform: scale(1.08); box-shadow: 0 10px 26px rgba(15,122,92,.4); }
.material-node.is-active .material-node-label { color: var(--accent-dark); font-weight: 700; }
.material-node.is-dimmed img { filter: grayscale(75%) brightness(.72); }
.material-node.is-dimmed .material-node-label { color: var(--border); }

.material-text { flex: 1 1 45%; min-width: 0; }
.material-name {
  font-size: 30px;
  font-weight: 700;
  color: var(--accent-dark);
  margin-bottom: 16px;
  transition: opacity .2s ease;
}
.material-desc {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 14px;
  min-height: 1.7em;
}
.material-points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.material-points li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.material-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

@media (max-width: 860px) {
  .material-diagram { flex-direction: column; gap: 32px; }
  .material-diagram-visual { flex: none; }
  .material-text { flex: none; width: 100%; }
}


/* ---------- 아스팔트 포장 단면 다이어그램 (덕화실업 제공 참고 도면 기준: 포장=표층~노상, 노체는 별도) ---------- */
.pavement-block { display: flex; gap: 32px; align-items: stretch; }
.pavement-visual {
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(15,30,25,.18);
}
.pavement-layer {
  position: relative;
  display: flex;
  align-items: center;
  padding-left: 20px;
  cursor: pointer;
  outline: none;
  transition: filter .25s ease;
}
.pavement-visual:hover .pavement-layer { filter: brightness(.5) saturate(.7); }
.pavement-visual:hover .pavement-layer:hover,
.pavement-layer:focus-visible { filter: brightness(1.15) saturate(1.05); }
.pavement-layer span {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  background: rgba(255,255,255,.95);
  color: var(--ink);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .01em;
  box-shadow: 0 4px 12px rgba(0,0,0,.22);
  pointer-events: none;
}
.pavement-layer span em { display: block; font-style: normal; font-weight: 500; font-size: 10px; letter-spacing: normal; opacity: .65; }
/* 실측 두께 비율로 flex-grow 지정: 표층5 : 중간층6 : 기층15 : 보조기층40 (동상방지층·노상은 미지정이라 자연스러운 비례로) - 장성아스콘의 사실적 골재 질감 대신 그라데이션 톤 스케일로 차별화 */
.layer-surface { flex: 5; background: linear-gradient(180deg, #16211d 0%, #0e1815 100%); }
.layer-binder { flex: 6; background: linear-gradient(180deg, #24352c 0%, #1a2820 100%); }
.layer-base { flex: 15; background: linear-gradient(180deg, #4f6459 0%, #3e5147 100%); }
.layer-subbase { flex: 40; background: linear-gradient(180deg, #93a687 0%, #7d9174 100%); }
.layer-frost { flex: 15; background: linear-gradient(180deg, #c7d1ba 0%, #b5c1a6 100%); }
.layer-subgrade { flex: 20; background: linear-gradient(180deg, #8a6b47 0%, #6e5236 100%); }

/* 우측: 클릭/마우스오버한 층 하나만 보여주는 단일 상세 패널 (장성아스콘의 6줄 나열형 목록과 구조 자체를 차별화) */
.pavement-detail {
  flex: 1 1 55%;
  background: var(--ink);
  border-radius: 22px;
  padding: 40px 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
}
.pavement-detail-index { font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--accent); margin-bottom: 16px; }
.pavement-detail-name { font-size: 30px; font-weight: 700; margin-bottom: 8px; }
.pavement-detail-spec { display: block; font-size: 14px; color: rgba(255,255,255,.5); margin-bottom: 20px; }
.pavement-detail-desc { font-size: 16px; line-height: 1.75; color: rgba(255,255,255,.85); }
.pavement-detail-hint { margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); font-size: 13px; color: rgba(255,255,255,.4); }

@media (max-width: 860px) {
  .pavement-block { flex-direction: column; }
  .pavement-visual { flex: none; height: 220px; flex-direction: row; }
}

/* ---------- 아스콘의 종류: 5가지 단면 비교 - 이미지 없이 실제 공장 사진 위 텍스트 타일 그리드, 마우스오버 시 설명 오버레이 ---------- */
.comparison-panel {
  margin-top: 24px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 28px;
}
.comparison-title { font-size: 22px; font-weight: 600; color: var(--ink); margin-bottom: 20px; }
.comparison-title span { display: block; font-size: 14px; font-weight: 500; color: var(--ink-soft); margin-top: 4px; }

.comparison-photo-grid {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(160deg, var(--accent-dark) 0%, var(--ink) 100%);
}
.comparison-grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); }
.comparison-cell {
  position: relative;
  min-height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border: 1px solid rgba(255,255,255,.22);
  cursor: pointer;
  overflow: hidden;
}
.comparison-label {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  letter-spacing: .01em;
  transition: opacity .25s ease;
}
.comparison-cell:hover .comparison-label { opacity: 0; }
.comparison-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  background: rgba(15,122,92,.94);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.comparison-cell:hover .comparison-overlay { opacity: 1; }
.comparison-overlay h5 { color: #fff; font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.comparison-overlay h5 em { display: block; font-style: normal; font-weight: 500; font-size: 12px; color: rgba(255,255,255,.8); margin-top: 2px; }
.comparison-overlay p { color: rgba(255,255,255,.95); font-size: 13px; line-height: 1.55; margin-top: 8px; }

@media (max-width: 760px) {
  .comparison-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .comparison-grid { grid-template-columns: 1fr; }
}

/* ---------- 아스콘 제조 공정 (원본 공정도 이미지) ---------- */
#tab-process .section-title-plain { text-align: center; }
.process-photo {
  max-width: 640px;
  margin: 0 auto 20px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 20px;
}
.process-photo img { width: 100%; height: auto; display: block; }
.process-side-note {
  margin-top: 14px;
  font-size: 14px;
  color: var(--ink-soft);
  text-align: center;
}

/* 순환 상온 아스팔트 혼합물 생산 및 시공 순서 (사진 + 화살표, 한 줄 유지) */
.photo-flow { display: flex; flex-wrap: nowrap; align-items: flex-start; gap: 6px; margin-top: 8px; }
.photo-step { flex: 1 1 0; min-width: 0; text-align: center; }
.photo-step figure,
.photo-step-pair-imgs figure {
  background: var(--card-bg);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  padding: 4px;
}
.photo-step img { width: 100%; height: 100px; object-fit: cover; display: block; border-radius: 10px; }
.photo-step p { margin-top: 8px; font-size: 12px; font-weight: 600; color: var(--ink-soft); line-height: 1.4; }
.process-arrow { flex: 0 0 auto; width: 20px; height: 14px; color: var(--accent-dark); margin-top: 42px; }

.photo-step-pair { flex: 2 1 0; }
.photo-step-pair-imgs { display: flex; gap: 4px; }
.photo-step-pair-imgs figure { flex: 1 1 0; min-width: 0; }
.photo-step-pair-imgs img { width: 100%; height: 100px; object-fit: cover; display: block; border-radius: 10px; }

@media (max-width: 760px) {
  .photo-flow { flex-direction: column; gap: 10px; }
  .photo-step, .photo-step-pair { flex: none; width: 100%; }
  .photo-step img { height: 130px; }
  .process-arrow { transform: rotate(90deg); margin: 0 auto; width: 18px; }
}

/* ---------- People / policy values: 상단 배지 - 트리형 연결선 - 육각형 3개 (SG 등 타사 원형+점선호 디자인과 형태 구분) ---------- */
.section-people { background: var(--bg); }
.value-diagram { margin-top: 48px; text-align: center; }
.value-diagram-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 30px;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(15,122,92,.28);
}
.value-connector { display: block; width: 100%; height: 60px; color: var(--border); }
.value-connector line { stroke: currentColor; stroke-width: 1.5; }
.value-diagram-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-diagram-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 36px 24px 28px;
}
.value-hex {
  width: 92px;
  height: 92px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(25% 4%, 75% 4%, 100% 50%, 75% 96%, 25% 96%, 0% 50%);
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(15,30,25,.22);
}
.hex-1 { background: linear-gradient(135deg, #17936f 0%, #0f7a5c 100%); }
.hex-2 { background: linear-gradient(135deg, #0f7a5c 0%, #0b5a43 100%); }
.hex-3 { background: linear-gradient(135deg, #0b5a43 0%, #073a2b 100%); }
.value-diagram-item h3 { font-size: 21px; font-weight: 600; margin-bottom: 10px; }
.value-diagram-item p { font-size: 16px; color: var(--ink-soft); line-height: 1.6; }

/* ---------- Placeholder note ---------- */
.pending-note {
  padding: 24px;
  background: #e7f3ee;
  border: 1px solid #bfe0d2;
  border-radius: 20px;
  font-size: 17px;
  color: var(--ink-soft);
}

/* ---------- 복지제도 ---------- */
.section-welfare { background: var(--bg); }
.welfare-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.welfare-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 28px 26px;
  transition: box-shadow .2s, border-color .2s;
}
.welfare-item:hover { border-color: var(--accent); box-shadow: 0 10px 24px rgba(15,30,25,.08); }
.welfare-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  padding: 13px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: #fff;
  margin-bottom: 16px;
}
.welfare-icon svg { fill: none; stroke: #fff; }
.welfare-item h3 { font-size: 19px; font-weight: 600; margin-bottom: 6px; }
.welfare-item p { font-size: 17px; color: var(--ink-soft); }
.welfare-note {
  grid-column: 1 / -1;
  margin-top: 4px;
  padding: 20px 24px;
  background: #e7f3ee;
  border: 1px solid #bfe0d2;
  border-radius: 20px;
  font-size: 17px;
  color: var(--ink-soft);
}

@media (max-width: 860px) {
  .welfare-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .welfare-grid { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.65); padding: 40px 24px; }
.footer-inner { max-width: var(--max); margin: 0 auto; font-size: 17px; }
.footer-logo { font-size: 19px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.footer-inner p { margin-top: 4px; }
.footer-copy { margin-top: 16px; color: rgba(255,255,255,0.4); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .card-grid { grid-template-columns: 1fr; }
  .value-diagram-row { grid-template-columns: 1fr; gap: 28px; }
  .value-connector { display: none; }
  .location-grid { grid-template-columns: 1fr; gap: 20px; }
  .hero h1 { font-size: 37px; }
  .location-bar-item { flex-direction: column; gap: 4px; }
  .location-bar-item strong { width: auto; }
  .location-map iframe { height: 260px; }
}

@media (max-width: 640px) {
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 16px;
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .nav-toggle { display: flex; }
  .hero-content { padding: 72px 24px; }
  .hero h1 { font-size: 32px; }
  body { font-size: 18px; }
}
