/* ============================================================
   style.css  |  ㈜유니온이앤티 메인 홈페이지
   작성: Mark-X / 퍼블리싱 담당
   ============================================================
   [목차]
   1. 초기화 & CSS 변수
   2. 헤더 / GNB 네비게이션
   3. 모바일 네비게이션
   4. 히어로 슬라이더 (메인 배너)
   5. 공통 섹션 스타일
   6. 사업분야 (Business)
   7. 제품소개 (Product)
   8. 시공실적 슬라이더 (Portfolio)
   9. 협력사 슬라이더 (Partner)
  10. 견적문의 CTA
  11. 푸터 (Footer)
  12. 스크롤 등장 애니메이션 (Reveal)
  13. 반응형 미디어쿼리
   ============================================================ */


/* ============================================================
   1. 초기화 & CSS 변수
   ============================================================ */

/* 모든 요소 box-sizing 통일 */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* 사이트 전역 변수 - 색상·크기를 한 곳에서 관리
   수정 시 여기만 바꾸면 전체 반영됨 */
:root {
  --red: #E0181C;
  /* 브랜드 메인 레드 */
  --red-dark: #B81015;
  /* 레드 hover 상태 */
  --gold: #C89010;
  /* 골드 포인트 */
  --peach: #D07040;
  /* 피치/오렌지 포인트 */
  --white: #FFFFFF;
  --light: #F6F5F2;
  /* 섹션 배경용 밝은 크림 */
  --mid: #EEEDE9;
  /* 카드 hover 배경 */
  --border: rgba(0, 0, 0, 0.09);
  /* 구분선 기본색 */
  --txt: #111418;
  /* 본문 텍스트 */
  --sub: #7A7A76;
  /* 보조 텍스트 (설명글, 라벨 등) */
  --black: #111418;
  --max: 1280px;
  /* 콘텐츠 최대 너비 */
  --header-h: 72px;
  /* 헤더 높이 - 슬라이더 패딩 계산에도 사용 */
}

html {
  scroll-behavior: smooth;
  /* 앵커 링크 클릭 시 부드럽게 스크롤 */
  font-size: 17px;
  /* rem 기준값 (1rem = 15px) */
}

body {
  font-family: "Noto Sans KR", sans-serif;
  background: var(--white);
  color: var(--txt);
  overflow-x: hidden;
  /* 가로 스크롤 방지 */
}

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

ul {
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}


/* ============================================================
   2. 헤더 / GNB 네비게이션
   ============================================================ */

#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: transparent;
  box-shadow: none;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

#header.scrolled,
#header.mobile-open {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

/* 스크롤 내렸을 때 그림자 강조 (JS에서 .scrolled 클래스 토글) */
#header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, .08);
}

/* 헤더 내부 레이아웃: 로고 왼쪽, 메뉴 가로 균등 가운데 정렬, CTA 오른쪽 */
.header-inner {
  /*max-width: var(--max);*/
  margin: 0 auto;
  padding: 0 60px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* 로고 감싸는 영역 */
.logo-wrap {
  flex: 0 0 220px;
  /* 좌측 로고 공간 확보 */
  display: flex;
  align-items: center;
}

/* 로고 이미지 크기 */
.logo-img {
  height: 44px;
  width: auto;
  display: block;
}

/* GNB 감싸는 영역: 화면 중앙 정렬 */
.gnb-wrap {
  flex: 1;
  display: flex;
  justify-content: center;
  height: 100%;
}

/* GNB: 대메뉴 수평 나열 및 가로폭 균등 배분 */
.gnb {
  display: flex;
  align-items: stretch;
  height: 100%;
  width: 100%;
  max-width: 800px;
}

.gnb>li {
  position: relative;
  /* 드롭다운 기준점 */
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.gnb>li.has-sub::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 12px;
}

.gnb>li>a {
  padding: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  /* 메뉴 텍스트 가운데 정렬 */
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: .02em;
  color: #333;
  transition: color .2s;
  white-space: nowrap;
}

/* 우측 영역: 문의하기 버튼 & 모바일 햄버거 */
.header-right {
  flex: 0 0 220px;
  /* 좌측 로고 영역과 완벽한 대칭을 이루도록 우측 공간 동일하게 확보 */
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

/* 메뉴 hover 색상 변경 */
.gnb>li>a:hover,
.gnb>li.has-sub:hover>a {
  color: var(--red);
}

/* 드롭다운 서브메뉴: 기본은 숨김, hover 시 표시 */
.sub-menu {
  position: absolute;
  top: var(--header-h);
  /* 헤더 바로 아래 */
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  /* 초기 위치 살짝 위 */
  background: var(--red);
  border: 1px solid var(--border);
  border-top: 2px solid var(--red);
  /* 상단 레드 포인트 */
  box-shadow: 0 8px 32px rgba(0, 0, 0, .10);
  min-width: 140px;
  padding: 8px 0;
  opacity: 0;
  pointer-events: none;
  /* 숨겨진 동안 클릭 무시 */
  transition: opacity .2s, transform .2s;
}

/* 대메뉴 hover 시 서브메뉴 표시 */
.gnb>li.has-sub:hover .sub-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.sub-menu li a {
  display: block;
  padding: 10px 20px;
  font-size: 1.055rem;
  color: var(--white);
  transition: color .2s, background .2s;
  white-space: nowrap;
}

.sub-menu li a:hover {
  color: var(--red);
  background: #FFD0CC;
}

/* 견적문의 버튼: 레드 배경의 CTA 버튼 */
.nav-cta {
  margin-left: 16px;
  padding: 9px 22px !important;
  background: var(--red);
  color: #fff !important;
  font-weight: 700;
  height: auto !important;
  transition: background .2s !important;
}

.nav-cta:hover {
  background: var(--red-dark) !important;
}

/* 햄버거 버튼: 모바일에서만 표시 (기본 숨김) */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: .3s;
}

#header.scrolled .hamburger span,
#header.mobile-open .hamburger span {
  background: var(--txt);
}


/* ============================================================
   3. 모바일 네비게이션
   ============================================================ */

/* 모바일 풀스크린 메뉴: 기본 숨김, .open 클래스로 표시 */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  overflow-y: auto;
  z-index: 999;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .1);
}

.mobile-nav.open {
  display: block;
}

.mobile-nav ul {
  padding: 16px 0;
}

.mobile-nav li a {
  display: block;
  padding: 14px 32px;
  font-size: 1rem;
  color: var(--sub);
  border-bottom: 1px solid var(--border);
}

/* 대메뉴 항목: 굵게 */
.mobile-nav li a.parent {
  color: var(--txt);
  font-weight: 700;
}

/* 모바일 견적문의 버튼 */
.mobile-nav .m-cta {
  display: block;
  margin: 24px 32px;
  padding: 14px;
  text-align: center;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
}


/* ============================================================
   4. 히어로 슬라이더 (메인 배너)
   ============================================================
   - 화면 전체 높이(100vh), 최소 580px
   - 슬라이드 3장, JS로 5초마다 자동 전환
   - 우측: 대각선 컬러 블록 (clip-path)
   - 좌측: 얇은 컬러 세로 바
   ============================================================ */

#hero {
  position: relative;
  height: 100vh;
  /* 브라우저 전체 높이 */
  min-height: 580px;
  /* 최소 높이 보장 */
  overflow: hidden;
  padding: 0;
}

.hero-slides {
  width: 100%;
  height: 100%;
  position: relative;
}

/* 각 슬라이드: 기본 숨김, .active 클래스로 표시 */
.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity 1s ease;
  /* 페이드 전환 */
  overflow: hidden;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

/* 슬라이드 배경 */
.slide-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* 미디어형 슬라이드 공통 배경 */
.slide-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide.is-photo .slide-bg,
.slide.is-video .slide-bg {
  z-index: 1;
  background: linear-gradient(90deg, rgba(5, 10, 18, 0.35) 0%, rgba(5, 10, 18, 0.15) 50%, transparent 100%);
}

/*
.slide.slide-photo-03 .slide-bg {
  background-image:
    linear-gradient(90deg, rgba(5, 10, 18, .88) 0%, rgba(5, 10, 18, .72) 42%, rgba(5, 10, 18, .42) 100%),
    url("../image/slide_03.jpg");
  background-size: 110%;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  animation: heroPhotoMotion03 10s ease-in-out infinite alternate;
}
  */

.slide.is-photo .slide-bg::after,
.slide.is-video .slide-bg::after {
  background: transparent;
}

@keyframes heroPhotoMotion01 {
  0% {
    background-size: 110%;
    background-position: 50% 50%;
  }

  100% {
    background-size: 132%;
    background-position: 58% 44%;
  }
}

@keyframes heroPhotoMotion03 {
  0% {
    background-size: 110%;
    background-position: 50% 50%;
  }

  100% {
    background-size: 132%;
    background-position: 43% 58%;
  }
}

.slide.is-photo .slide-block,
.slide.is-video .slide-block {
  display: none;
}

.slide.is-photo .slide-bar,
.slide.is-photo .slide-content,
.slide.is-video .slide-bar,
.slide.is-video .slide-content {
  z-index: 2;
}

.slide.is-photo .slide-eyebrow,
.slide.is-video .slide-eyebrow {
  color: var(--white);
}

.slide.is-photo .slide-eyebrow::before,
.slide.is-video .slide-eyebrow::before {
  background: var(--gold);
}

.slide.is-photo .slide-title,
.slide.is-video .slide-title {
  color: #fff;
  text-shadow: 0 3px 18px rgba(0, 0, 0, .35);
}

.slide.is-photo .slide-title em,
.slide.is-video .slide-title em {
  color: var(--white);
}

.slide.is-photo .slide-sub,
.slide.is-video .slide-sub {
  color: rgba(255, 255, 255, .82);
  text-shadow: 0 2px 12px rgba(0, 0, 0, .35);
}

.slide.is-photo .btn-outline,
.slide.is-video .btn-outline {
  border-color: rgba(255, 255, 255, .58);
  color: #fff;
}

.slide.is-photo .btn-outline:hover,
.slide.is-video .btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* 2번 슬라이드: 연그린 그라데이션 (비디오/사진 슬라이드가 아닐 때만 적용) */
.slide:nth-child(2):not(.is-video):not(.is-photo) .slide-bg {
  background: linear-gradient(135deg, #F5F8F4 0%, #E8F0E4 50%, #D8E8D0 100%);
}

/* 3번 슬라이드: 브랜드 메시지용 연보라 그라데이션 (비디오/사진 슬라이드가 아닐 때만 적용) */
.slide:nth-child(3):not(.is-video):not(.is-photo) .slide-bg {
  background: linear-gradient(135deg, #F5F5F8 0%, #EAE8F0 50%, #DCDAEA 100%);
}

/* 배경 도트 패턴 */
.slide-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(0, 0, 0, .04) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* 우측 대각선 컬러 블록: clip-path로 사선 처리 */
.slide-block {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 1;
  width: 38%;
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0% 100%);
}

.slide:nth-child(1) .slide-block {
  background: linear-gradient(160deg, #FDECEA, #FAD5D4);
}

.slide:nth-child(2) .slide-block {
  background: linear-gradient(160deg, #FDF7E4, #F5E5B0);
}

.slide:nth-child(3) .slide-block {
  background: linear-gradient(160deg, #EDF0FA, #D8DEF5);
}

/* 좌측 세로 컬러 바 (5px 폭) */
.slide-bar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 5px;
}

.slide:nth-child(1) .slide-bar {
  background: var(--red);
}

.slide:nth-child(2) .slide-bar {
  background: var(--gold);
}

.slide:nth-child(3) .slide-bar {
  background: var(--peach);
}

/* 슬라이드 텍스트 영역: 화면 좌측 고정
   max-width 56%로 우측 컬러 블록과 겹치지 않게 제한 */
.slide-content {
  position: relative;
  z-index: 2;
  max-width: 56%;
  padding: 0 0 0 80px;
  /* 왼쪽 여백 80px */
  padding-top: var(--header-h);
  /* 헤더 높이만큼 위 패딩 */
}

/* 영문 소분류 레이블 (예: SOLAR · BUS DUCT · METAL WINDOW) */
.slide-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: .8rem;
  letter-spacing: .2em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 20px;
}

/* 레이블 앞 레드 가로선 */
.slide-eyebrow::before {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  background: var(--red);
}

/* 슬로건 대제목 */
.slide-title {
  font-family: "Noto Sans KR", sans-serif;
  font-size: clamp(1.47rem, 3.33vw, 3rem);
  /* 반응형 폰트: 최소 22px~최대 45px */
  font-weight: 700;
  line-height: 1.2;
  color: var(--black);
  margin-bottom: 16px;
  max-width: 600px;
}

/* 제목 강조 텍스트: 레드 색상 */
.slide-title em {
  color: var(--red);
  font-style: normal;
}

/* 부제목 설명 텍스트 */
.slide-sub {
  font-size: clamp(.9rem, 1.5vw, 1.067rem);
  color: #666;
  font-weight: 400;
  margin-bottom: 40px;
  max-width: 420px;
  line-height: 1.8;
}

/* CTA 버튼 그룹 */
.slide-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* 레드 채움 버튼 */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .02em;
  transition: background .2s, transform .2s;
}

/* 개인정보 취급방침 */
.btn-primary-pe {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 15px;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .02em;
  transition: background .2s, transform .2s;
}

.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
}

/* 테두리 버튼 */
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border: 1px solid rgba(0, 0, 0, .2);
  color: #444;
  font-weight: 500;
  font-size: .9rem;
  transition: border-color .2s, color .2s;
}

.btn-outline:hover {
  border-color: var(--red);
  color: var(--red);
}

/* 슬라이드 도트 인디케이터 (우측 세로 배열) */
.hero-indicators {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .55);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .25);
  cursor: pointer;
  transition: background .3s, box-shadow .3s, transform .3s;
}

.hero-dot.active {
  background: var(--red);
  box-shadow: 0 0 0 1px rgba(224, 24, 28, .25);
  transform: scale(1.4);
}

/* 하단 슬라이드 카운터 (01 ─── 03) */
.hero-counter {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  font-family: "Barlow Condensed", sans-serif;
  font-size: .867rem;
  letter-spacing: .15em;
  color: rgba(0, 0, 0, .35);
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-counter span {
  color: var(--red);
}

/* 카운터 사이 진행 바 */
.hero-counter-bar {
  width: 60px;
  height: 1px;
  background: rgba(0, 0, 0, .12);
  position: relative;
  overflow: hidden;
}

/* 진행 바 애니메이션: 5초마다 0→100% */
.hero-counter-bar::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: var(--red);
  animation: barProgress 5s linear infinite;
}

@keyframes barProgress {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

/* 우하단 스크롤 힌트 */
.scroll-hint {
  position: absolute;
  bottom: 32px;
  right: 40px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, .3);
}

/* 아래로 흐르는 세로선 */
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--red));
  animation: scrollDown 1.5s ease-in-out infinite;
}

@keyframes scrollDown {

  0%,
  100% {
    opacity: .4;
  }

  50% {
    opacity: 1;
  }
}


/* ============================================================
   5. 공통 섹션 스타일
   ============================================================ */

/* 모든 섹션 기본 여백 */
section {
  padding: 96px 40px;
}

/* 콘텐츠 최대 너비 래퍼 */
.container {
  max-width: var(--max);
  margin: 0 auto;
}

/* 섹션 영문 소분류 레이블 (예: — BUSINESS) */
.sec-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: .78rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}

.sec-label::before {
  content: "";
  display: block;
  width: 24px;
  height: 2px;
  background: var(--red);
}

/* 섹션 대제목 */
.sec-title {
  font-family: "Noto Sans KR", sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--black);
  margin-bottom: 12px;
}

/* 섹션 설명 텍스트 */
.sec-desc {
  color: var(--sub);
  font-size: .933rem;
  line-height: 1.8;
}

/* 섹션 헤드 기본 */
.sec-head {
  margin-bottom: 48px;
}

/* 섹션 헤드 좌우 배치 (제목 왼쪽, 버튼/설명 오른쪽) */
.sec-head.row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}


/* ============================================================
   6. 사업분야 (Business)
   ============================================================ */

#business {
  background: var(--light);
}

/* 4개 카드 균등 그리드 */
.biz-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* 사업 카드 */
.biz-card {
  background: var(--white);
  border: 1px solid var(--border);
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow .3s, transform .3s, border-color .3s;
}

.biz-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, .10);
  transform: translateY(-3px);
  border-color: var(--gold);
}

/* 카드 상단 컬러 포인트 바 (4px 높이) */
.biz-card::before {
  content: "";
  display: block;
}

/*
.biz-card:nth-child(1)::before {
  background: var(--red);
}

.biz-card:nth-child(2)::before {
  background: var(--gold);
}

.biz-card:nth-child(3)::before {
  background: var(--peach);
}

.biz-card:nth-child(4)::before {
  background: #5B8ACC;
}
  */

/* 이미지/아이콘 영역 (4:3 비율) */
.biz-thumb {
  width: 100%;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* 각 카드 썸네일 배경색 */
.biz-card:nth-child(1) .biz-thumb {
  background: linear-gradient(135deg, #FEF0F0, #FCDCDC);
}

.biz-card:nth-child(2) .biz-thumb {
  background: linear-gradient(135deg, #FEFAEE, #FBF0C0);
}

.biz-card:nth-child(3) .biz-thumb {
  background: linear-gradient(135deg, #FEF5EE, #F8DCC8);
}

.biz-card:nth-child(4) .biz-thumb {
  background: linear-gradient(135deg, #EEF3FC, #D4E3F8);
}

/* 이모지 아이콘 (실제 작업 시 img 태그 또는 SVG로 교체 권장) */
.biz-thumb-icon {
  font-size: 3rem;
  opacity: .5;
  transition: transform .4s, opacity .4s;
}

.biz-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.biz-thumb-icon {
  position: relative;
  z-index: 1;
}

.biz-card:hover .biz-thumb-icon {
  transform: scale(1.1);
  opacity: .7;
}

/* 카드 텍스트 본문 */
.biz-card-body {
  padding: 22px 24px 26px;
}

.biz-num {
  font-size: .72rem;
  letter-spacing: .2em;
  color: var(--red);
  margin-bottom: 6px;
}

.biz-name {
  font-family: "Noto Sans KR", sans-serif;
  font-size: .967rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 10px;
}

.biz-desc {
  font-size: .8rem;
  color: var(--sub);
  line-height: 1.7;
}


/* ============================================================
   7. 제품소개 (Product)
   ============================================================ */

#product {
  background: var(--white);
}

/* 4개 카드 균등 그리드 */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: box-shadow .3s, transform .3s, border-color .3s;
  cursor: pointer;
}

.product-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, .10);
  transform: translateY(-3px);
  border-color: var(--gold);
}

/* 이미지 영역 (정사각형) */
.product-thumb {
  aspect-ratio: 1;
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  transition: background .3s;
}

.product-card:hover .product-thumb {
  background: var(--mid);
}

.product-thumb {
  position: relative;
  overflow: hidden;
}

.product-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-thumb-icon {
  position: relative;
  z-index: 1;
}

.product-info {
  padding: 18px 20px;
}

.product-tag {
  font-size: .72rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 6px;
}

.product-name {
  font-size: .967rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 8px;
}

.product-desc {
  font-size: .8rem;
  color: var(--sub);
  line-height: 1.7;
}

/* 카드 하단 '상세 보기' 영역 */
.product-arrow {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 12px 20px;
  border-top: 1px solid var(--border);
  color: var(--sub);
  font-size: .8rem;
  transition: color .2s;
}

.product-card:hover .product-arrow,
.biz-card:hover .product-arrow {
  color: var(--red);
}


/* ============================================================
   8. 시공실적 슬라이더 (Portfolio)
   ============================================================ */

#portfolio {
  background: var(--light);
  overflow: hidden;
}

/* 슬라이더 컨테이너: 영역 밖 카드들을 숨김(clip) 처리 */
.portfolio-slider-wrap {
  overflow: hidden;
  width: 100%;
}

/* 슬라이더 트랙: flex로 카드를 가로 나열, JS로 translateX 이동 */
.portfolio-slider {
  display: flex;
  gap: 20px;
  transition: transform .5s cubic-bezier(.25, .46, .45, .94);
}

/* 카드 너비: PC 4개 노출 기준 calc(25% - 15px)
   gap이 3개(20px*3=60px)이므로 전체 너비에서 균등 분배 */
.portfolio-card {
  flex: 0 0 calc(25% - 15px);
  background: var(--white);
  border: 1px solid var(--border);
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow .3s, transform .3s, border-color .3s;
}

.portfolio-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, .10);
  transform: translateY(-3px);
  border-color: var(--gold);
}

/* 썸네일 이미지 영역 (4:3 비율) */
.portfolio-thumb {
  aspect-ratio: 4/3;
  background: var(--mid);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 실제 이미지 연동 시 background-image로 교체 */
.portfolio-thumb-inner {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform .5s ease;
}

.portfolio-card:hover .portfolio-thumb-inner {
  transform: scale(1.05);
}

.portfolio-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 각 카드 플레이스홀더 배경색 (실제 이미지 연동 시 제거) */
.portfolio-card:nth-child(1) .portfolio-thumb-inner {
  background: linear-gradient(135deg, #FCE8E8, #F5C8C8);
}

.portfolio-card:nth-child(2) .portfolio-thumb-inner {
  background: linear-gradient(135deg, #E8F0E8, #C8DCC8);
}

.portfolio-card:nth-child(3) .portfolio-thumb-inner {
  background: linear-gradient(135deg, #FBF2E0, #F0DEB0);
}

.portfolio-card:nth-child(4) .portfolio-thumb-inner {
  background: linear-gradient(135deg, #E8EEF8, #C8D4F0);
}

.portfolio-card:nth-child(5) .portfolio-thumb-inner {
  background: linear-gradient(135deg, #F2F0E8, #E0DCC8);
}

.portfolio-card:nth-child(6) .portfolio-thumb-inner {
  background: linear-gradient(135deg, #F0EAF8, #D8C8F0);
}

/* 플레이스홀더 아이콘 */
.portfolio-thumb-icon {
  position: absolute;
  font-size: 2.2rem;
  opacity: .2;
  z-index: 1;
}

/* 사업 유형 뱃지 (PV / BUS DUCT / BIPV) */
.portfolio-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 4px 10px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
}

.badge-pv {
  background: var(--red);
  color: #fff;
}

.badge-bus {
  background: var(--black);
  color: #fff;
}

.badge-bipv {
  background: var(--peach);
  color: #fff;
}

/* 카드 정보 영역 */
.portfolio-info {
  padding: 18px 20px;
}

.portfolio-kw {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--red);
}

.portfolio-kw span {
  font-size: .85rem;
  color: var(--sub);
}

.portfolio-client {
  font-size: .9rem;
  font-weight: 700;
  color: var(--black);
  margin: 6px 0 4px;
}

.portfolio-loc {
  font-size: .78rem;
  color: var(--sub);
}

.portfolio-date {
  font-size: .72rem;
  color: var(--sub);
  margin-top: 6px;
}

/* 슬라이더 컨트롤 (이전/다음 버튼 + 카운터 + 전체보기) */
.slider-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.slider-btn {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sub);
  cursor: pointer;
  transition: border-color .2s, color .2s, background .2s;
}

.slider-btn:hover {
  border-color: var(--red);
  color: var(--red);
  background: rgba(224, 24, 28, .05);
}

.slider-count {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1rem;
  color: var(--sub);
  margin-left: 4px;
}

.slider-count em {
  color: var(--black);
  font-style: normal;
}


/* ============================================================
   9. 협력사 슬라이더 (Partner)
   ============================================================
   - 10개씩 2행 5열 그리드로 한 페이지 구성
   - ← 도트 → 버튼이 하단 가운데 정렬
   - 전체 협력사 보기 버튼은 우측 절대 위치
   ============================================================ */

#partner {
  background: var(--white);
  padding-bottom: 80px;
}

/* 슬라이더 래퍼 */
.partner-pager-wrap {
  margin-top: 48px;
}

/* overflow: hidden으로 페이지 넘어가는 부분 숨김 */
.partner-pager {
  overflow: hidden;
}

/* 트랙: 페이지들을 가로로 나열, JS로 translateX 이동 */
.partner-track {
  display: flex;
  transition: transform .45s cubic-bezier(.25, .46, .45, .94);
}

/* 한 페이지: 5열 2행 = 10개 그리드 */
.partner-page {
  flex: 0 0 100%;
  /* 항상 래퍼 너비 100% 차지 */
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--border);
  background: var(--white);
}

/* 협력사 셀 */
.partner-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  height: 80px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background .2s;
  text-decoration: none;
}

/* 5번째 셀(맨 오른쪽): 오른쪽 보더 제거 */
.partner-item:nth-child(5n) {
  border-right: none;
}

/* 6번째~10번째 셀(아래 행): 아래 보더 제거 */
.partner-item:nth-child(n+6) {
  border-bottom: none;
}

.partner-item:hover {
  background: rgba(224, 24, 28, .04);
}

.partner-name {
  font-size: .867rem;
  font-weight: 600;
  color: #999;
  letter-spacing: .05em;
  transition: color .2s;
  white-space: nowrap;
  text-align: center;
}

.partner-logo {
  display: block;
  max-width: 78%;
  max-height: 46px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform .2s, opacity .2s;
}

.partner-item:hover .partner-logo {
  transform: translateY(-1px);
  opacity: .9;
}

.partner-item:hover .partner-name {
  color: var(--red);
}

/* 하단 컨트롤 영역: 가운데 정렬 기준 */
.partner-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  /* 화살표+도트를 가운데 정렬 */
  margin-top: 24px;
  position: relative;
  /* 전체보기 버튼 absolute 기준 */
}

/* 화살표 + 도트 묶음 */
.partner-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* 이전/다음 화살표 버튼 */
.partner-btn {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sub);
  cursor: pointer;
  transition: border-color .2s, color .2s, box-shadow .2s;
  font-size: 1rem;
  flex-shrink: 0;
}

.partner-btn:hover {
  border-color: var(--red);
  color: var(--red);
  box-shadow: 0 4px 12px rgba(224, 24, 28, .12);
}

/* 비활성화 상태 (첫 페이지의 이전, 마지막 페이지의 다음) */
.partner-btn:disabled {
  opacity: .25;
  cursor: default;
  pointer-events: none;
}

/* 페이지 도트 */
.partner-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.partner-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .15);
  cursor: pointer;
  transition: background .2s, transform .2s;
  border: none;
  padding: 0;
}

.partner-dot.active {
  background: var(--red);
  transform: scale(1.35);
}

/* 전체 협력사 보기 버튼: 컨트롤 우측 절대 위치
   다른 섹션의 '전체 실적 보기 →' 버튼과 동일한 스타일 */
.btn-partner-all {
  position: absolute;
  right: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border: 1px solid rgba(0, 0, 0, .18);
  color: #555;
  font-weight: 500;
  font-size: .867rem;
  transition: border-color .2s, color .2s;
  white-space: nowrap;
  cursor: pointer;
  background: none;
  font-family: inherit;
}

.btn-partner-all:hover {
  border-color: var(--red);
  color: var(--red);
}


/* ============================================================
  10. 견적문의 CTA
   ============================================================ */

/* 다크 배경 섹션 */
#cta {
  background: var(--black);
  padding: 80px 40px;
}

.cta-box {
  max-width: var(--max);
  margin: 0 auto;
  background: linear-gradient(135deg, #1A1E26, #0E1014);
  border: 1px solid rgba(255, 255, 255, .06);
  padding: 64px 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  position: relative;
  overflow: hidden;
}

/* 레드 원형 글로우 장식 */
.cta-box::before {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(224, 24, 28, .15), transparent 70%);
}

.cta-text {
  position: relative;
  z-index: 1;
}

.cta-lead {
  font-size: .9rem;
  color: var(--gold);
  letter-spacing: .05em;
  margin-bottom: 12px;
}

.cta-title {
  font-family: "Noto Sans KR", sans-serif;
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.3;
}

.cta-sub {
  font-size: .867rem;
  color: rgba(255, 255, 255, .5);
  line-height: 1.8;
}

.cta-actions {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}


/* ============================================================
  11. 푸터 (Footer)
   ============================================================ */

#footer {
  background: var(--light);
  border-top: 1px solid var(--border);
  padding: 56px 40px 32px;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
}

/* 5컬럼: 로고/연락처 + 대메뉴 4개
   brand 컬럼이 넓으므로 1.4fr, 나머지 4개는 1fr씩 */
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

/* 푸터 로고 크기 */
.footer-logo {
  height: 40px;
  width: auto;
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 0.98rem;
  color: var(--sub);
  line-height: 1.8;
}

.footer-contact {
  margin-top: 16px;
}

.footer-contact a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.98rem;
  color: var(--sub);
  margin-bottom: 6px;
  transition: color .2s;
}

.footer-contact a:hover {
  color: var(--red);
}

/* 메뉴 컬럼 타이틀 */
.footer-col-title {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: .05em;
  color: var(--black);
  margin-bottom: 18px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 0.98rem;
  color: var(--sub);
  transition: color .2s;
}

.footer-links a:hover {
  color: var(--red);
}

/* 푸터 하단: 사업자 정보 + 카피라이트 */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-info {
  font-size: .767rem;
  color: var(--sub);
  line-height: 1.8;
}

.footer-copy {
  font-size: .767rem;
  color: #bbb;
}


/* ============================================================
  12. 스크롤 등장 애니메이션 (Reveal)
   ============================================================
   - .reveal: 초기 투명(opacity 0) + 아래서 위로 슬라이드
   - JS의 IntersectionObserver가 화면에 보이면 .visible 추가
   - .no-observer: Observer 미지원 브라우저 fallback
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s ease, transform .65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 순차 딜레이 클래스 (카드 등 여러 요소 차례로 등장) */
.reveal-delay-1 {
  transition-delay: .1s;
}

.reveal-delay-2 {
  transition-delay: .2s;
}

.reveal-delay-3 {
  transition-delay: .3s;
}

.reveal-delay-4 {
  transition-delay: .4s;
}

/* Observer 미지원 환경: 즉시 모두 표시 */
.no-observer .reveal {
  opacity: 1;
  transform: none;
}


/* ============================================================
  13. 반응형 미디어쿼리
   ============================================================ */

/* 1100px 이하: 사업 카드 2열, 햄버거 메뉴 표시 */
@media (max-width: 1100px) {
  .logo-wrap {
    flex: 0 0 auto;
  }

  .header-right {
    flex: 0 0 auto;
  }

  .biz-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gnb {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}

/* 1024px 이하: 제품 카드 2열, 시공실적 2개씩, 푸터 3열, CTA 세로 배치 */
@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-card {
    flex: 0 0 calc(50% - 10px);
  }

  .footer-top {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 28px;
  }

  .cta-box {
    flex-direction: column;
    text-align: center;
    padding: 48px 40px;
  }
}

/* 768px 이하: 섹션 좌우 패딩 축소, 모바일 레이아웃 */
@media (max-width: 768px) {
  section {
    padding: 64px 20px;
  }

  #cta {
    padding: 60px 20px;
  }

  #footer {
    padding: 24px 20px;
  }

  .header-inner {
    padding: 0 20px;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .portfolio-card {
    flex: 0 0 100%;
  }

  .footer-top {
    display: none;
  }

  .hero-indicators {
    right: 16px;
  }

  .scroll-hint {
    display: none;
  }

  .cta-box {
    padding: 40px 24px;
  }

  /* 모바일 CTA 설명글: 각 기기 해상도(갤럭시, 아이폰 등)에 맞춰 폰트 크기 및 자동 개행 최적화 */
  .cta-sub {
    font-size: clamp(0.78rem, 3.5vw, 0.95rem);
    line-height: 1.6;
    word-break: keep-all;
  }

  /* 모바일 해상도에서 강제 줄바꿈(br) 제거 */
  .cta-sub br {
    display: none;
  }

  /* 슬라이드 텍스트: 패딩 줄이고 너비 확대 */
  .slide-content {
    max-width: 85%;
    padding: 0 0 0 24px;
    padding-top: var(--header-h);
  }

  /* 모바일 슬라이드 부제목: 각 디바이스(갤럭시, 아이폰 등) 해상도에 맞춰 유연한 폰트 및 줄바꿈 적용 */
  .slide-sub {
    font-size: clamp(0.85rem, 3.8vw, 1rem);
    line-height: 1.6;
    margin-bottom: 28px;
    max-width: 100%;
    word-break: keep-all;
    text-align: left;
  }

  /* 모바일 해상도에서 강제 줄바꿈(br) 제거하여 텍스트가 자연스럽게 흘러가도록 설정 */
  .slide-sub br {
    display: none;
  }

  /* 주요 고객사 및 협력사 모바일 2열 5행 구조 변경 */
  .partner-page {
    grid-template-columns: repeat(2, 1fr);
  }

  .partner-item {
    padding: 0 12px;
    height: 72px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }

  .partner-item:nth-child(2n) {
    border-right: none;
  }

  .partner-item:nth-child(5n):not(:nth-child(2n)) {
    border-right: 1px solid var(--border);
  }

  .partner-item:nth-child(n+9) {
    border-bottom: none;
  }

  .partner-item:nth-child(n+6):not(:nth-child(n+9)) {
    border-bottom: 1px solid var(--border);
  }

  .partner-logo {
    max-width: 85%;
    max-height: 40px;
  }
}

/* 480px 이하: 제품·사업 카드 1열 */
@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: 1fr;
  }

  .biz-grid {
    grid-template-columns: 1fr;
  }
}

/* Media slide overlay override */
#hero .slide.is-photo .slide-bg,
#hero .slide.is-video .slide-bg {
  z-index: 1;
}

#hero .slide.slide-photo-01 .slide-bg {
  background-image:
    linear-gradient(90deg, rgba(5, 10, 18, .88) 0%, rgba(5, 10, 18, .72) 42%, rgba(5, 10, 18, .42) 100%),
    url("../image/union-et-factory.jpg");
  background-size: 110%;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  animation: heroPhotoMotion01 10s ease-in-out infinite alternate;
}

/* ============================================================
   Company Sub Page
   ============================================================ */
body.company-page {
  background: var(--white);
}

.company-page .company-visual {
  position: relative;
  min-height: 420px;
  padding: calc(var(--header-h) + 96px) 40px 96px;
  background:
    linear-gradient(90deg, rgba(14, 16, 20, .92) 0%, rgba(14, 16, 20, .78) 48%, rgba(14, 16, 20, .45) 100%),
    url("../image/union-et-factory.jpg") center/cover no-repeat;
  color: #fff;
  overflow: hidden;
}

.company-page .company-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, .08) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: .35;
}

.company-visual-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.sub-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: .86rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.sub-kicker::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--gold);
}

.company-visual h1 {
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: 1.1;
  margin-bottom: 18px;
  font-weight: 800;
  letter-spacing: -.04em;
}

.company-visual p {
  color: rgba(255, 255, 255, .78);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.8;
}

.company-floating-nav {
  position: fixed;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 800;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
  background: rgba(255, 255, 255, .92);
  border: 1px solid var(--border);
  box-shadow: 0 12px 36px rgba(0, 0, 0, .12);
  backdrop-filter: blur(12px);
}

.company-floating-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 150px;
  padding: 10px 12px;
  font-size: .82rem;
  font-weight: 700;
  color: var(--sub);
  transition: color .2s, background .2s;
}

.company-floating-nav a span {
  font-family: "Barlow Condensed", sans-serif;
  font-size: .82rem;
  letter-spacing: .08em;
  color: #bbb;
  transition: color .2s;
}

.company-floating-nav a:hover,
.company-floating-nav a.active {
  background: rgba(224, 24, 28, .06);
  color: var(--red);
}

.company-floating-nav a:hover span,
.company-floating-nav a.active span {
  color: var(--red);
}

.company-section {
  padding: 112px 40px;
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.company-section:nth-of-type(even) {
  background: var(--light);
}

.company-section-head {
  max-width: 800px;
  margin-bottom: 48px;
}

.company-section-head .sec-title {
  margin-bottom: 14px;
}

.company-intro-grid,
.greeting-grid,
.esg-hero-card,
.location-ready-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .85fr);
  gap: 48px;
  align-items: stretch;
}

.company-intro-copy,
.greeting-copy,
.esg-hero-card {
  background: var(--white);
  border: 1px solid var(--border);
}

.company-intro-copy {
  padding: 46px 48px;
}

.company-mini-label {
  display: inline-block;
  font-family: "Barlow Condensed", sans-serif;
  font-size: .82rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}

.company-intro-copy h3,
.esg-hero-card h3,
.greeting-copy h3 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.28;
  color: var(--black);
  margin-bottom: 20px;
  letter-spacing: -.03em;
}

.company-intro-copy>p,
.esg-hero-card p,
.greeting-copy p {
  color: var(--sub);
  line-height: 1.9;
  font-size: .96rem;
}

.company-image-placeholder {
  min-height: 320px;
  border: 1px dashed rgba(0, 0, 0, .2);
  background: #f7f7f4;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(17, 20, 24, .38);
  font-size: .86rem;
  font-weight: 700;
  letter-spacing: .08em;
}

.company-image-placeholder span {
  display: inline-block;
}

.company-image-placeholder.map {
  min-height: 360px;
}

.motto-box {
  margin-top: 32px;
  padding: 28px;
  background: var(--light);
  border-left: 4px solid var(--red);
}

.motto-box strong {
  display: block;
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}

.motto-box p {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 10px;
}

.motto-box span {
  color: var(--sub);
  line-height: 1.75;
  font-size: .9rem;
}

.company-block {
  margin-top: 64px;
}

.company-block-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 6px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 18px;
}

.company-block-title span {
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: .2em;
  color: var(--red);
  text-transform: uppercase;
  font-size: .8rem;
}

.company-block-title h3 {
  font-size: 1.6rem;
  color: var(--black);
}

.policy-grid,
.business-area-grid,
.esg-summary-grid,
.mission-vision-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.policy-card,
.business-area-grid article,
.esg-summary-grid article,
.mission-vision-grid article {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 28px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}

.policy-card:hover,
.business-area-grid article:hover,
.esg-summary-grid article:hover,
.mission-vision-grid article:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, .08);
  border-color: rgba(224, 24, 28, .28);
}

.policy-card em {
  display: block;
  font-family: "Barlow Condensed", sans-serif;
  color: var(--red);
  font-style: normal;
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 18px;
}

.policy-card h4,
.business-area-grid h4,
.esg-summary-grid h3,
.mission-vision-grid h3 {
  font-size: 1.08rem;
  color: var(--black);
  margin-bottom: 12px;
}

.policy-card p,
.business-area-grid p,
.esg-summary-grid p,
.mission-vision-grid p {
  color: var(--sub);
  line-height: 1.78;
  font-size: .9rem;
}

.value-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 14px;
}

.value-flow div {
  min-height: 132px;
  background: var(--black);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.value-flow div:nth-of-type(2) {
  background: #30251F;
}

.value-flow div:nth-of-type(3) {
  background: #6F1B1C;
}

.value-flow div:nth-of-type(4) {
  background: var(--red);
}

.value-flow strong {
  font-size: 1.18rem;
}

.value-flow span {
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: .18em;
  color: rgba(255, 255, 255, .62);
  font-size: .8rem;
}

.value-flow i {
  font-style: normal;
  color: var(--red);
  font-weight: 800;
}

.business-area-grid article span,
.mission-vision-grid article span {
  display: inline-block;
  margin-bottom: 12px;
  font-family: "Barlow Condensed", sans-serif;
  color: var(--red);
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .78rem;
}

.mission-vision-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 64px;
}

.mission-vision-grid article {
  padding: 38px 42px;
  background: linear-gradient(135deg, #fff, #fbf8f4);
}

.company-greeting {
  background: var(--light);
}

.greeting-grid {
  display: block;
}

.greeting-copy {
  max-width: 980px;
  margin: 0 auto;
  padding: 52px 56px;
}

.greeting-copy p+p {
  margin-top: 16px;
}

.greeting-principles {
  margin: 26px 0;
  display: grid;
  gap: 12px;
}

.greeting-principles li {
  padding: 18px 20px;
  background: var(--light);
  border-left: 3px solid var(--red);
  color: var(--sub);
  line-height: 1.75;
}

.greeting-principles strong {
  display: block;
  color: var(--black);
  margin-bottom: 4px;
}

.ceo-sign {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--black);
  font-size: 1rem;
}

.ceo-sign strong {
  font-size: 1.24rem;
}

.ready-box {
  min-height: 280px;
  border: 1px solid var(--border);
  background: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px;
}

.ready-box.left {
  align-items: flex-start;
  text-align: left;
}

.ready-box strong {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--black);
  margin-bottom: 12px;
}

.ready-box strong::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
}

.ready-box p {
  color: var(--sub);
  line-height: 1.75;
}

.company-esg {
  background: var(--white);
}

.esg-hero-card {
  grid-template-columns: minmax(0, 1fr) minmax(360px, .76fr);
  padding: 48px;
  background: linear-gradient(135deg, #fff, #f7f5f0);
}

.esg-visual {
  min-height: 280px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #111418, #22262E);
  border: 1px solid rgba(255, 255, 255, .08);
}

.esg-visual::before {
  content: "";
  position: absolute;
  inset: auto -20% -50% -20%;
  height: 72%;
  background: radial-gradient(circle, rgba(224, 24, 28, .2), transparent 64%);
  opacity: .75;
}

.esg-visual svg {
  position: relative;
  z-index: 1;
  width: min(86%, 340px);
  height: auto;
  overflow: visible;
}

.esg-ring,
.esg-path {
  fill: none;
  stroke: rgba(255, 255, 255, .18);
  stroke-width: 1.4;
  transform-box: fill-box;
  transform-origin: center;
}

.esg-ring-01 {
  stroke-dasharray: 14 10;
  animation: esgRotate 18s linear infinite;
}

.esg-ring-02 {
  stroke: rgba(200, 144, 16, .34);
  stroke-dasharray: 8 9;
  animation: esgRotateReverse 13s linear infinite;
}

.esg-ring-03 {
  stroke: rgba(224, 24, 28, .36);
  stroke-dasharray: 5 8;
  animation: esgRotate 10s linear infinite;
}

.esg-core {
  fill: url("#esgCoreGradient");
  filter: drop-shadow(0 12px 24px rgba(224, 24, 28, .22));
  animation: esgPulse 2.8s ease-in-out infinite;
}

.esg-leaf {
  fill: rgba(255, 255, 255, .84);
}

.esg-leaf-line {
  fill: none;
  stroke: rgba(17, 20, 24, .42);
  stroke-width: 2;
  stroke-linecap: round;
}

.esg-node circle {
  fill: rgba(255, 255, 255, .94);
  stroke: rgba(255, 255, 255, .55);
  stroke-width: 1;
}

.esg-node text {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 17px;
  font-weight: 800;
  text-anchor: middle;
  fill: var(--red);
}

.esg-node-e {
  animation: esgFloat 3.4s ease-in-out infinite;
}

.esg-node-s {
  animation: esgFloat 3.4s ease-in-out .55s infinite;
}

.esg-node-g {
  animation: esgFloat 3.4s ease-in-out 1.1s infinite;
}

.esg-path {
  stroke: rgba(255, 255, 255, .12);
  stroke-dasharray: 180;
  stroke-dashoffset: 180;
  animation: esgDraw 5.2s ease-in-out infinite;
}

.esg-path-02 {
  animation-delay: .35s;
}

.esg-path-03 {
  animation-delay: .7s;
}

@keyframes esgRotate {
  to {
    transform: rotate(360deg);
  }
}

@keyframes esgRotateReverse {
  to {
    transform: rotate(-360deg);
  }
}

@keyframes esgPulse {

  0%,
  100% {
    transform: scale(1);
    opacity: .92;
  }

  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

@keyframes esgFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes esgDraw {
  0% {
    stroke-dashoffset: 180;
    opacity: .12;
  }

  45%,
  70% {
    stroke-dashoffset: 0;
    opacity: .55;
  }

  100% {
    stroke-dashoffset: -180;
    opacity: .12;
  }
}


.esg-summary-grid {
  margin-top: 48px;
}

.esg-icon {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(224, 24, 28, .07);
  border-radius: 50%;
  margin-bottom: 18px;
  font-size: 1.5rem;
}

.esg-summary-grid a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--red);
  font-size: .86rem;
  font-weight: 800;
}

.esg-detail-list {
  display: grid;
  gap: 28px;
  margin-top: 64px;
}

.esg-detail-card {
  scroll-margin-top: calc(var(--header-h) + 30px);
  background: var(--light);
  border: 1px solid var(--border);
  padding: 44px 48px;
}

.esg-detail-card>span {
  display: block;
  margin-bottom: 10px;
  font-family: "Barlow Condensed", sans-serif;
  color: var(--red);
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: .82rem;
}

.esg-detail-card h3 {
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  color: var(--black);
  margin-bottom: 18px;
}

.esg-lead {
  color: #555;
  line-height: 1.9;
  margin-bottom: 28px;
}

.esg-detail-card ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.esg-detail-card li {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .06);
  padding: 22px;
  color: var(--sub);
  line-height: 1.72;
  font-size: .9rem;
}

.esg-detail-card li strong {
  display: block;
  color: var(--black);
  margin-bottom: 8px;
  font-size: .98rem;
}

.company-location {
  background: var(--light);
}

.location-ready-grid {
  grid-template-columns: minmax(0, 1fr) minmax(340px, .75fr);
}

@media (max-width: 1280px) {
  .company-floating-nav {
    right: 14px;
  }

  .company-floating-nav a {
    min-width: 126px;
    font-size: .78rem;
  }
}

@media (max-width: 1100px) {
  .company-floating-nav {
    top: var(--header-h);
    left: 0;
    right: 0;
    transform: none;
    flex-direction: row;
    overflow-x: auto;
    padding: 8px 20px;
    border-left: none;
    border-right: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
  }

  .company-floating-nav a {
    min-width: max-content;
    white-space: nowrap;
  }

  .company-page .company-visual {
    padding-top: calc(var(--header-h) + 132px);
  }

  .company-section {
    scroll-margin-top: calc(var(--header-h) + 76px);
  }

  .policy-grid,
  .business-area-grid,
  .esg-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .company-intro-grid,
  .greeting-grid,
  .esg-hero-card,
  .location-ready-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .company-page .company-visual {
    padding: calc(var(--header-h) + 116px) 20px 70px;
    min-height: 360px;
  }

  .company-section {
    padding: 76px 20px;
  }

  .company-section-head {
    margin-bottom: 32px;
  }

  .company-intro-copy,
  .greeting-copy,
  .esg-hero-card,
  .esg-detail-card {
    padding: 30px 24px;
  }

  .policy-grid,
  .business-area-grid,
  .esg-summary-grid,
  .mission-vision-grid,
  .esg-detail-card ul {
    grid-template-columns: 1fr;
  }

  .value-flow {
    grid-template-columns: 1fr;
  }

  .value-flow i {
    transform: rotate(90deg);
    justify-self: center;
  }

  .company-block-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .company-image-placeholder,
  .company-image-placeholder.map {
    min-height: 240px;
  }

  .ready-box {
    min-height: 220px;
    padding: 34px 24px;
  }
}



/* ============================================================
   Company Page Expanded Sections
   ============================================================ */
.company-page .sub-menu {
  min-width: 174px;
}

.company-floating-nav {
  gap: 6px;
  padding: 8px;
}

.company-floating-nav a {
  min-width: 142px;
  padding: 9px 11px;
  font-size: .78rem;
}

.company-section-head .sec-label,
.company-block-title,
.company-block-title span,
.company-block-title h3 {
  text-align: left;
}

.company-philosophy {
  background: var(--white);
}

.company-history,
.company-organization,
.company-affiliates {
  background: var(--light);
}

.company-license,
.company-location {
  background: var(--white);
}

.company-section.company-philosophy,
.company-section.company-esg,
.company-section.company-license,
.company-section.company-location {
  background: var(--white);
}

.company-section.company-greeting,
.company-section.company-history,
.company-section.company-organization,
.company-section.company-affiliates {
  background: var(--light);
}

.history-timeline {
  position: relative;
  display: grid;
  gap: 22px;
  max-width: 1080px;
}

.history-timeline::before {
  content: "";
  position: absolute;
  left: 102px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: rgba(0, 0, 0, .12);
}

.history-item {
  position: relative;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 28px;
  align-items: flex-start;
}

.history-year {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  font-weight: 800;
  color: var(--red);
  letter-spacing: -.02em;
}

.history-year::after {
  content: "";
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 6px rgba(200, 144, 16, .14);
}

.history-item ul {
  display: grid;
  gap: 8px;
  padding: 24px 28px;
  background: var(--white);
  border: 1px solid var(--border);
}

.history-item li {
  position: relative;
  padding-left: 16px;
  color: #555;
  line-height: 1.7;
  font-size: .94rem;
}

.history-item li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
}

.org-chart-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 24px;
}

.org-chart-wrap img,
.location-map-image img {
  width: 100%;
  height: auto;
  display: block;
}

.license-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.license-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 26px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}

.license-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, .08);
  border-color: rgba(224, 24, 28, .28);
}

.license-card span,
.location-info-card>span {
  display: inline-block;
  margin-bottom: 10px;
  font-family: "Barlow Condensed", sans-serif;
  color: var(--red);
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: .78rem;
}

.license-card h3,
.location-info-card h3 {
  color: var(--black);
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.license-card p {
  color: var(--sub);
  line-height: 1.72;
  font-size: .9rem;
}

.license-card.is-ready {
  border-style: dashed;
  background: #fafafa;
}

.location-info-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, .62fr);
  gap: 32px;
  align-items: stretch;
}

.location-map-image {
  background: var(--white);
  border: 1px solid var(--border);
  overflow: hidden;
}

.location-info-card {
  background: var(--black);
  color: #fff;
  padding: 38px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.location-info-card h3 {
  color: #fff;
  font-size: 1.8rem;
}

.location-address {
  margin-bottom: 28px;
  color: rgba(255, 255, 255, .82);
  line-height: 1.75;
  font-size: 1rem;
}

.location-info-card ul {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
}

.location-info-card li {
  display: grid;
  gap: 4px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.location-info-card li strong {
  color: var(--gold);
  font-size: .82rem;
}

.location-info-card li span {
  color: rgba(255, 255, 255, .78);
  line-height: 1.6;
  font-size: .9rem;
}

.location-info-card .btn-primary {
  align-self: flex-start;
}

@media (max-width: 1280px) {
  .company-floating-nav a {
    min-width: 120px;
    font-size: .74rem;
  }
}

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

  .location-info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .history-timeline::before {
    display: none;
  }

  .history-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .history-year::after {
    display: none;
  }

  .history-item ul {
    padding: 22px 20px;
  }

  .org-chart-wrap {
    padding: 12px;
    overflow-x: auto;
  }

  .org-chart-wrap img {
    min-width: 760px;
  }

  .license-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .location-info-card {
    padding: 30px 24px;
  }
}


/* ============================================================
   Company Page Final Revision
   ============================================================ */
body.company-page {
  --company-subnav-h: 58px;
}

.company-floating-nav {
  position: fixed !important;
  top: var(--header-h) !important;
  left: 0 !important;
  right: 0 !important;
  transform: none !important;
  z-index: 900;
  width: 100%;
  display: flex !important;
  flex-direction: row !important;
  justify-content: center;
  align-items: center;
  gap: 6px !important;
  padding: 9px 40px !important;
  background: rgba(255, 255, 255, .96) !important;
  border: 0;
  border-bottom: 1px solid var(--border) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .08) !important;
  backdrop-filter: blur(12px);
  overflow-x: auto;
  overflow-y: hidden;
}

.company-floating-nav a {
  min-width: auto !important;
  flex: 0 0 auto;
  padding: 9px 14px !important;
  border-radius: 999px;
  font-size: .78rem !important;
  white-space: nowrap;
  color: #666;
}

.company-floating-nav a span {
  font-size: .76rem;
}

.company-floating-nav a:hover,
.company-floating-nav a.active {
  background: var(--black) !important;
  color: #fff !important;
}

.company-floating-nav a:hover span,
.company-floating-nav a.active span {
  color: var(--gold) !important;
}

.company-page .company-visual {
  padding-top: calc(var(--header-h) + var(--company-subnav-h) + 96px) !important;
}

.company-section,
.esg-detail-card {
  scroll-margin-top: calc(var(--header-h) + var(--company-subnav-h) + 24px) !important;
}

/* ESG visual: light, slower motion, logo-centered */
.esg-visual-union {
  min-height: 360px;
  background: #fff !important;
  border: 1px solid var(--border) !important;
  overflow: hidden;
}

.esg-visual-union::before {
  display: none !important;
}

.esg-visual-stage {
  position: relative;
  width: min(100%, 380px);
  aspect-ratio: 1;
  margin: 0 auto;
}

.esg-orbit-svg {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  z-index: 1;
}

.esg-orbit,
.esg-connect {
  fill: none;
  stroke-linecap: round;
  transform-box: fill-box;
  transform-origin: center;
}

.esg-orbit-01 {
  stroke: rgba(224, 24, 28, .26);
  stroke-width: 2;
  stroke-dasharray: 14 12;
  animation: esgSlowRotate 54s linear infinite;
}

.esg-orbit-02 {
  stroke: rgba(200, 144, 16, .34);
  stroke-width: 1.6;
  stroke-dasharray: 5 9;
  animation: esgSlowReverse 46s linear infinite;
}

.esg-connect {
  stroke: rgba(17, 20, 24, .12);
  stroke-width: 1.2;
  stroke-dasharray: 220;
  stroke-dashoffset: 220;
  animation: esgSlowDraw 12s ease-in-out infinite;
}

.esg-connect-02 {
  animation-delay: 1.2s;
}

.esg-connect-03 {
  animation-delay: 2.4s;
}

.esg-logo-core {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: 132px;
  height: 132px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .08);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .10);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  animation: esgCoreBreath 7s ease-in-out infinite;
}

.esg-logo-core img {
  width: 96px;
  height: auto;
}

.esg-logo-core span {
  font-family: "Barlow Condensed", sans-serif;
  font-size: .9rem;
  font-weight: 800;
  color: var(--red);
  letter-spacing: .22em;
}

.esg-meaning {
  position: absolute;
  z-index: 4;
  width: 126px;
  padding: 14px 14px 13px;
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(0, 0, 0, .08);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .08);
  text-align: center;
  animation: esgNodeFloatSlow 8s ease-in-out infinite;
}

.esg-meaning strong {
  display: block;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 2rem;
  line-height: 1;
  color: var(--red);
  margin-bottom: 4px;
}

.esg-meaning span {
  display: block;
  font-family: "Barlow Condensed", sans-serif;
  font-size: .72rem;
  color: var(--sub);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.esg-meaning em {
  display: block;
  font-style: normal;
  font-weight: 800;
  color: var(--black);
  font-size: .88rem;
}

.esg-meaning-e {
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
}

.esg-meaning-s {
  right: 4px;
  bottom: 58px;
  animation-delay: 1.3s;
}

.esg-meaning-g {
  left: 4px;
  bottom: 58px;
  animation-delay: 2.6s;
}

@keyframes esgSlowRotate {
  to {
    transform: rotate(360deg);
  }
}

@keyframes esgSlowReverse {
  to {
    transform: rotate(-360deg);
  }
}

@keyframes esgSlowDraw {
  0% {
    stroke-dashoffset: 220;
    opacity: .14;
  }

  45%,
  70% {
    stroke-dashoffset: 0;
    opacity: .52;
  }

  100% {
    stroke-dashoffset: -220;
    opacity: .14;
  }
}

@keyframes esgCoreBreath {

  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    transform: translate(-50%, -50%) scale(1.035);
  }
}

@keyframes esgNodeFloatSlow {

  0%,
  100% {
    margin-top: 0;
  }

  50% {
    margin-top: -8px;
  }
}

/* Organization chart */
.org-publish-chart {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  padding: 48px;
  overflow: hidden;
}

.org-publish-chart::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(0, 0, 0, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 0, 0, .025) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.org-chart-note {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #315244;
  font-size: 1.25rem;
  margin-bottom: 28px;
}

.org-chart-note::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 3px solid #46524f;
}

.org-top-flow,
.org-branch-grid {
  position: relative;
  z-index: 1;
}

.org-top-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.org-node {
  border: 1px solid rgba(0, 0, 0, .12);
  background: #fff;
  text-align: center;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .06);
}

.org-node span {
  display: block;
  font-family: "Barlow Condensed", sans-serif;
  font-size: .76rem;
  color: rgba(255, 255, 255, .68);
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.org-node strong {
  display: block;
  font-size: 1.18rem;
  color: #fff;
}

.org-node-main,
.org-node-sub,
.org-dept-node {
  background: #1c6f8d;
  border-color: #0f4054;
  padding: 16px 38px;
  min-width: 190px;
}


.org-vertical-line {
  width: 6px;
  height: 34px;
  background: #a8a8a8;
}

.org-branch-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 28px;
  margin-top: 52px;
}

.org-branch {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.org-branch::before {
  content: "";
  position: absolute;
  top: -31px;
  left: 50%;
  width: 2px;
  height: 31px;
  background: #b3b3b3;
}

.org-branch::after {
  content: "";
  position: absolute;
  top: -31px;
  left: -14px;
  right: -14px;
  height: 2px;
  background: #b3b3b3;
}

.org-branch:first-child::after {
  left: 50%;
}

.org-branch:last-child::after {
  right: 50%;
}

.org-branch ul {
  display: grid;
  gap: 8px;
  width: min(100%, 240px);
  margin-top: 18px;
}

.org-branch li {
  padding: 10px 12px;
  background: #fff;
  border: 1px solid rgba(28, 111, 141, .34);
  text-align: center;
  color: var(--black);
  font-size: .92rem;
}

.org-branch.is-wide ul {
  width: min(100%, 260px);
}

/* License cards with certificate image slots */
.certificate-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.certificate-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.certificate-image-slot {
  position: relative;
  min-height: 180px;
  background: #f7f7f4;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: rgba(17, 20, 24, .44);
  font-size: .86rem;
  font-weight: 700;
}

.certificate-image-slot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}

.certificate-image-slot span {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

.certificate-image-slot small {
  font-family: "Barlow Condensed", sans-serif;
  color: #aaa;
  letter-spacing: .08em;
  font-size: .76rem;
}

.certificate-info {
  padding: 24px;
}

.certificate-info p {
  word-break: keep-all;
  overflow-wrap: anywhere;
}

/* Location map API placeholder */
.map-api-placeholder {
  min-height: 420px;
  background: #f7f7f4;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: rgba(17, 20, 24, .42);
  padding: 32px;
}

.map-api-placeholder span {
  font-size: 1.04rem;
  font-weight: 800;
  color: rgba(17, 20, 24, .5);
  margin-bottom: 8px;
}

.map-api-placeholder p {
  color: var(--sub);
  font-size: .9rem;
}

@media (max-width: 1100px) {
  .company-floating-nav {
    justify-content: flex-start;
    padding: 9px 20px !important;
  }

  .company-page .company-visual {
    padding-top: calc(var(--header-h) + var(--company-subnav-h) + 78px) !important;
  }

  .certificate-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  body.company-page {
    --company-subnav-h: 54px;
  }

  .company-floating-nav {
    padding: 8px 14px !important;
  }

  .company-floating-nav a {
    padding: 8px 12px !important;
    font-size: .74rem !important;
  }

  .org-publish-chart {
    padding: 30px 20px;
  }

  .org-branch-grid,
  .certificate-grid {
    grid-template-columns: 1fr;
  }

  .org-branch::before,
  .org-branch::after {
    display: none;
  }

  .org-branch-grid {
    margin-top: 34px;
  }

  .esg-visual-stage {
    width: min(100%, 330px);
  }

  .esg-meaning {
    width: 112px;
    padding: 12px 10px;
  }

  .esg-meaning strong {
    font-size: 1.7rem;
  }

  .certificate-image-slot {
    min-height: 160px;
  }

  .map-api-placeholder {
    min-height: 300px;
  }
}


/* ============================================================
   Company page scoped revision overrides
   - index.html과 충돌하지 않도록 body.company-page 하위로 제한
   ============================================================ */

body.company-page {
  --company-subnav-h: 60px;
}

body.company-page .company-visual {
  padding-top: calc(var(--header-h) + 96px) !important;
  padding-bottom: 108px !important;
}

body.company-page .company-floating-nav {
  position: sticky !important;
  top: var(--header-h) !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
  z-index: 920;
  width: 100%;
  display: flex !important;
  flex-direction: row !important;
  justify-content: center;
  align-items: center;
  gap: 8px !important;
  padding: 10px 40px !important;
  background: rgba(255, 255, 255, .96) !important;
  border: 0 !important;
  border-top: 1px solid var(--border) !important;
  border-bottom: 1px solid var(--border) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .07) !important;
  backdrop-filter: blur(12px);
  overflow-x: auto;
  overflow-y: hidden;
}

body.company-page .company-floating-nav a {
  min-width: auto !important;
  flex: 0 0 auto;
  padding: 9px 16px !important;
  border-radius: 999px;
  font-size: 1.055rem !important;
  font-weight: 700;
  white-space: nowrap;
  color: #666 !important;
  background: transparent !important;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}

body.company-page .company-floating-nav a span {
  font-size: .76rem;
  color: #aaa !important;
  transition: color .18s ease;
}

body.company-page .company-floating-nav a:hover,
body.company-page .company-floating-nav a.active {
  background: var(--black) !important;
  color: #fff !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
}

body.company-page .company-floating-nav a:hover span,
body.company-page .company-floating-nav a.active span {
  color: var(--gold) !important;
}

body.company-page .company-section,
body.company-page .esg-detail-card {
  scroll-margin-top: calc(var(--header-h) + var(--company-subnav-h) + 22px) !important;
}

body.company-page .esg-hero-card {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 28px 0 8px !important;
  gap: 40px;
}

body.company-page .esg-visual,
body.company-page .esg-visual-union {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  min-height: 340px;
  overflow: visible;
}

body.company-page .esg-visual::before,
body.company-page .esg-visual-union::before {
  display: none !important;
}

body.company-page .esg-visual-stage {
  width: min(100%, 380px);
  margin: 0 auto;
}

body.company-page .esg-orbit-01 {
  animation-duration: 90s !important;
}

body.company-page .esg-orbit-02 {
  animation-duration: 76s !important;
}

body.company-page .esg-connect {
  animation-duration: 22s !important;
}

body.company-page .esg-logo-core {
  box-shadow: 0 16px 40px rgba(0, 0, 0, .08);
  animation-duration: 12s !important;
}

body.company-page .esg-meaning {
  box-shadow: 0 10px 24px rgba(0, 0, 0, .06);
  animation-duration: 14s !important;
}

body.company-page .esg-meaning-e {
  animation: none !important;
}

body.company-page .company-organization .sec-desc {
  font-weight: 700;
  color: var(--red);
}

body.company-page .org-publish-chart {
  position: relative;
  padding: 56px 44px 48px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 18px 45px rgba(0, 0, 0, .06);
  overflow: hidden;
}

body.company-page .org-publish-chart::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, var(--red), var(--gold), var(--peach));
}

body.company-page .org-node {
  border-radius: 0;
  box-shadow: none;
  min-height: 78px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

body.company-page .org-node-main,
body.company-page .org-node-sub,
body.company-page .org-dept-node {
  width: 220px;
  min-width: 220px;
  padding: 15px 20px;
  background: var(--black);
  border: 1px solid rgba(0, 0, 0, .18);
}

body.company-page .org-node-main {
  background: var(--red);
}

body.company-page .org-node-sub {
  background: #2B3038;
}

body.company-page .org-dept-node {
  background: #fff;
  border: 1px solid rgba(224, 24, 28, .28);
}

body.company-page .org-node span {
  color: rgba(255, 255, 255, .72);
  margin-bottom: 4px;
}

body.company-page .org-node strong {
  color: #fff;
  font-size: 1.08rem;
  letter-spacing: -.02em;
}

body.company-page .org-dept-node span {
  color: var(--red);
}

body.company-page .org-dept-node strong {
  color: var(--black);
}

body.company-page .org-vertical-line,
body.company-page .org-branch::before,
body.company-page .org-branch::after {
  background: rgba(224, 24, 28, .26) !important;
}

body.company-page .org-branch::after {
  left: -12px;
  right: -12px;
}

body.company-page .org-branch:first-child::after {
  left: 50%;
}

body.company-page .org-branch:last-child::after {
  right: 50%;
}

body.company-page .org-vertical-line {
  width: 2px;
  height: 36px;
}

body.company-page .org-branch-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 31px;
  margin-left: -1px;
}

body.company-page .org-branch ul {
  width: 220px;
  margin-top: 16px;
  display: grid;
  gap: 8px;
}

body.company-page .org-branch.is-wide ul {
  width: 220px;
}

body.company-page .org-branch li {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 9px 12px;
  background: #fbfaf7;
  border: 1px solid rgba(0, 0, 0, .08);
  color: #444;
  font-size: .9rem;
  font-weight: 600;
  text-align: center;
}

body.company-page .certificate-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

body.company-page .certificate-card {
  border: 1px solid rgba(0, 0, 0, .09);
  background: #fff;
}

body.company-page .certificate-image-slot {
  min-height: auto !important;
  aspect-ratio: 210 / 297;
  background: #f6f8f5;
  border: 1px dashed rgba(90, 130, 104, .28);
  border-bottom: 1px solid rgba(0, 0, 0, .08);
  margin: 14px 14px 0;
}

body.company-page .certificate-image-slot img {
  object-fit: contain;
  background: #fff;
}

body.company-page .certificate-image-slot span {
  font-size: .88rem;
  color: rgba(49, 82, 68, .75);
}

body.company-page .certificate-image-slot small {
  color: rgba(49, 82, 68, .65);
}

body.company-page .certificate-info {
  padding: 18px 18px 20px;
  min-height: 132px;
}

body.company-page .certificate-info h3 {
  font-size: 1rem;
  line-height: 1.45;
}

body.company-page .certificate-info p {
  font-size: .78rem;
  line-height: 1.55;
}

@media (max-width: 1200px) {
  body.company-page .certificate-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  body.company-page .company-floating-nav {
    justify-content: flex-start;
    padding: 9px 18px !important;
  }

  body.company-page .org-branch-grid {
    grid-template-columns: 1fr;
    gap: 26px;
    margin-top: 40px;
  }

  body.company-page .org-branch::after {
    display: none !important;
  }

  body.company-page .org-branch::before {
    content: "";
    display: block !important;
    position: absolute;
    top: -26px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 26px;
    background: rgba(224, 24, 28, .26) !important;
  }

  body.company-page .org-branch:first-child::before {
    top: -40px;
    height: 40px;
  }

  body.company-page .certificate-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  body.company-page .company-visual {
    padding-top: calc(var(--header-h) + 74px) !important;
    padding-bottom: 76px !important;
  }

  body.company-page .company-floating-nav a {
    padding: 8px 12px !important;
    font-size: .94rem !important;
  }

  body.company-page .certificate-grid {
    grid-template-columns: 1fr;
  }

  body.company-page .org-publish-chart {
    padding: 38px 18px;
  }

  body.company-page .org-node-main,
  body.company-page .org-node-sub,
  body.company-page .org-dept-node,
  body.company-page .org-branch ul,
  body.company-page .org-branch.is-wide ul {
    width: 100%;
    min-width: 0;
  }
}


/* ============================================================
   Company page small updates
   ============================================================ */
body.company-page .company-image-placeholder {
  position: relative;
  overflow: hidden;
}

body.company-page .company-image-placeholder img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

body.company-page .company-image-placeholder span small {
  display: block;
  margin-top: 8px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: .9rem;
  letter-spacing: .08em;
  color: rgba(17, 20, 24, .45);
}

body.company-page .certificate-info p {
  min-height: 48px;
}

/* ============================================================
   Business page
   ============================================================ */
body.business-page {
  --business-subnav-h: 60px;
  background: var(--white);
}

body.business-page .business-visual {
  position: relative;
  padding: calc(var(--header-h) + 96px) 40px 108px;
  background:
    linear-gradient(90deg, rgba(14, 16, 20, .92) 0%, rgba(14, 16, 20, .78) 48%, rgba(14, 16, 20, .45) 100%),
    url("../image/product-01.jpg") center/cover no-repeat;
  overflow: hidden;
}

body.business-page .business-visual::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -160px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(224, 24, 28, .28), transparent 68%);
}

body.business-page .business-visual-inner {
  position: relative;
  z-index: 1;
  max-width: 1060px;
  color: #fff;
}

body.business-page .sub-kicker {
  font-family: "Barlow Condensed", sans-serif;
  font-size: .9rem;
  letter-spacing: .22em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 18px;
}

body.business-page .business-visual h1 {
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 1.08;
  margin-bottom: 22px;
  letter-spacing: -.04em;
}

body.business-page .business-visual p {
  max-width: 1060px;
  color: rgba(255, 255, 255, .76);
  font-size: 1.05rem;
  line-height: 1.9;
}

body.business-page .business-floating-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 920;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 10px 40px;
  background: rgba(255, 255, 255, .96);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .07);
  backdrop-filter: blur(12px);
  overflow-x: auto;
}

body.business-page .business-floating-nav a {
  flex: 0 0 auto;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 1.055rem;
  font-weight: 700;
  color: #666;
  white-space: nowrap;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}

body.business-page .business-floating-nav a span {
  margin-right: 6px;
  font-family: "Barlow Condensed", sans-serif;
  color: #aaa;
}

body.business-page .business-floating-nav a:hover,
body.business-page .business-floating-nav a.active {
  background: var(--black);
  color: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
}

body.business-page .business-floating-nav a:hover span,
body.business-page .business-floating-nav a.active span {
  color: var(--gold);
}

body.business-page .business-section {
  padding: 112px 40px;
  scroll-margin-top: calc(var(--header-h) + var(--business-subnav-h) + 22px);
}

body.business-page .business-section:nth-of-type(even) {
  background: var(--light);
}

body.business-page .business-section-head {
  max-width: 850px;
  margin-bottom: 48px;
}

body.business-page .business-overview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

body.business-page .business-overview-card {
  min-height: 240px;
  padding: 28px 26px;
  background: #fff;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

body.business-page .business-overview-card:hover {
  transform: translateY(-4px);
  border-color: rgba(224, 24, 28, .38);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .1);
}

body.business-page .business-overview-card span {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.8rem;
  color: var(--red);
  font-weight: 800;
  margin-bottom: 18px;
}

body.business-page .business-overview-card h3 {
  font-size: 1.22rem;
  color: var(--black);
  margin-bottom: 10px;
}

body.business-page .business-overview-card p {
  color: var(--sub);
  font-size: .88rem;
  line-height: 1.75;
}

body.business-page .business-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(360px, .85fr);
  gap: 56px;
  align-items: center;
}

body.business-page .business-detail-grid.reverse {
  grid-template-columns: minmax(360px, .85fr) minmax(0, .95fr);
}

body.business-page .business-detail-copy h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.14;
  letter-spacing: -.04em;
  color: var(--black);
  margin-bottom: 22px;
}

body.business-page .business-lead {
  color: #555;
  font-size: 1rem;
  line-height: 1.9;
  margin-bottom: 30px;
}

body.business-page .business-point-list {
  display: grid;
  gap: 12px;
}

body.business-page .business-point-list li {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--border);
}

body.business-page .business-point-list li:last-child {
  border-bottom: 1px solid var(--border);
}

body.business-page .business-point-list strong {
  color: var(--black);
  font-size: .95rem;
}

body.business-page .business-point-list span {
  color: var(--sub);
  font-size: .9rem;
  line-height: 1.75;
}

body.business-page .business-image-slot {
  position: relative;
  min-height: 430px;
  background: #f7f7f4;
  border: 1px dashed rgba(0, 0, 0, .2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: rgba(17, 20, 24, .38);
  font-size: .86rem;
  font-weight: 700;
  letter-spacing: .08em;
}

body.business-page .business-image-slot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

body.business-page .business-image-slot span {
  text-align: center;
}

body.business-page .business-image-slot small {
  display: block;
  margin-top: 8px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: .9rem;
  letter-spacing: .08em;
  color: rgba(17, 20, 24, .45);
}

body.business-page .business-contact-section {
  background: var(--black) !important;
}

body.business-page .business-contact-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 56px 64px;
  background: linear-gradient(135deg, #1A1E26, #0E1014);
  border: 1px solid rgba(255, 255, 255, .08);
}

body.business-page .business-contact-box span {
  display: inline-block;
  color: var(--gold);
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

body.business-page .business-contact-box h2 {
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.3;
  margin-bottom: 10px;
}

body.business-page .business-contact-box p {
  color: rgba(255, 255, 255, .58);
  line-height: 1.8;
}

@media (max-width: 1100px) {
  body.business-page .business-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.business-page .business-detail-grid,
  body.business-page .business-detail-grid.reverse {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  body.business-page .business-visual {
    padding: calc(var(--header-h) + 74px) 20px 78px;
  }

  body.business-page .business-floating-nav {
    justify-content: flex-start;
    padding: 9px 18px;
  }

  body.business-page .business-section {
    padding: 72px 20px;
  }

  body.business-page .business-point-list li {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  body.business-page .business-contact-box {
    flex-direction: column;
    align-items: flex-start;
    padding: 38px 28px;
  }
}

@media (max-width: 520px) {
  body.business-page .business-overview-grid {
    grid-template-columns: 1fr;
  }

  body.business-page .business-image-slot {
    min-height: 280px;
  }
}


@media (max-width: 560px) {
  body.business-page .business-visual {
    padding-top: calc(var(--header-h) + 74px) !important;
    padding-bottom: 76px !important;
  }

  body.business-page .business-floating-nav a {
    padding: 8px 12px !important;
    font-size: .94rem !important;
  }

  body.business-page .certificate-grid {
    grid-template-columns: 1fr;
  }

  body.business-page .org-publish-chart {
    padding: 38px 18px;
  }

  body.business-page .org-node-main,
  body.business-page .org-node-sub,
  body.business-page .org-dept-node,
  body.business-page .org-branch ul,
  body.business-page .org-branch.is-wide ul {
    width: 100%;
    min-width: 0;
  }
}



/* ============================================================
   Quick revision: company/business page refinements
   ============================================================ */
body.company-page .company-organization .sec-desc {
  color: var(--sub) !important;
  font-size: .933rem;
  font-weight: 400 !important;
  line-height: 1.8;
}

body.company-page .certificate-info {
  min-height: auto !important;
}

body.company-page .certificate-info h3 {
  margin-bottom: 0;
}

body.company-page .certificate-info p {
  display: none !important;
}


/* ============================================================
   Mobile layout quickfix
   - 사업소개 모바일: 모든 사업 영역을 제목/설명 → 이미지 순서로 통일
   - 회사소개 모바일: 업/면허현황은 제목만 노출해 스크롤 부담 감소
   ============================================================ */
@media (max-width: 1100px) {
  body.business-page .business-detail-grid.reverse .business-detail-copy {
    order: 1;
  }

  body.business-page .business-detail-grid.reverse .business-image-slot {
    order: 2;
  }
}

@media (max-width: 768px) {
  body.company-page .certificate-card {
    border: 1px solid var(--border);
  }

  body.company-page .certificate-info {
    padding: 18px 20px;
  }

  body.company-page .certificate-info h3 {
    font-size: 1rem;
    line-height: 1.45;
  }
}


/* Final quickfix: company license cards & clickable business cards */
.biz-card[data-link]:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 4px;
}

body.company-page .company-license .certificate-card {
  background: #f8f8f6;
}


/* ============================================================
   PRODUCT SUB PAGE
   ============================================================ */
body.product-page {
  --product-subnav-h: 60px;
  background: var(--white);
}

body.product-page .product-visual {
  position: relative;
  padding: calc(var(--header-h) + 96px) 40px 108px;
  background:
    linear-gradient(90deg, rgba(14, 16, 20, .92) 0%, rgba(14, 16, 20, .78) 48%, rgba(14, 16, 20, .45) 100%),
    url("../image/product-01-01.jpg") center/cover no-repeat;
  overflow: hidden;
}

body.product-page .product-visual::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -160px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(224, 24, 28, .28), transparent 68%);
}

body.product-page .product-visual-inner {
  position: relative;
  z-index: 1;
  max-width: 1050px;
  color: #fff;
}

body.product-page .sub-kicker {
  font-family: "Barlow Condensed", sans-serif;
  font-size: .9rem;
  letter-spacing: .22em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 18px;
}

body.product-page .product-visual h1 {
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 1.08;
  margin-bottom: 22px;
  letter-spacing: -.04em;
}

body.product-page .product-visual p {
  color: rgba(255, 255, 255, .76);
  font-size: 1.05rem;
  line-height: 1.9;
}

body.product-page .product-floating-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 920;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 10px 40px;
  background: rgba(255, 255, 255, .96);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .07);
  backdrop-filter: blur(12px);
  overflow-x: auto;
}

body.product-page .product-floating-nav a {
  flex: 0 0 auto;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 1.055rem;
  font-weight: 700;
  color: #666;
  white-space: nowrap;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}

body.product-page .product-floating-nav a span {
  margin-right: 6px;
  font-family: "Barlow Condensed", sans-serif;
  color: #aaa;
}

body.product-page .product-floating-nav a:hover,
body.product-page .product-floating-nav a.active {
  background: var(--black);
  color: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
}

body.product-page .product-floating-nav a:hover span,
body.product-page .product-floating-nav a.active span {
  color: var(--gold);
}

body.product-page .product-section {
  padding: 112px 40px;
  scroll-margin-top: calc(var(--header-h) + var(--product-subnav-h) + 22px);
}

body.product-page .product-section:nth-of-type(even) {
  background: var(--light);
}

body.product-page .product-section-head {
  max-width: 1000px;
  margin-bottom: 48px;
}

body.product-page .product-overview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

body.product-page .product-overview-card {
  min-height: 240px;
  padding: 28px 26px;
  background: #fff;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

body.product-page .product-overview-card:hover {
  transform: translateY(-4px);
  border-color: rgba(224, 24, 28, .38);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .1);
}

body.product-page .product-overview-card span {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.8rem;
  color: var(--red);
  font-weight: 800;
  margin-bottom: 18px;
}

body.product-page .product-overview-card h3 {
  font-size: 1.22rem;
  color: var(--black);
  margin-bottom: 10px;
}

body.product-page .product-overview-card p {
  color: var(--sub);
  font-size: .88rem;
  line-height: 1.75;
}

body.product-page .product-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(360px, .85fr);
  gap: 56px;
  align-items: center;
}

body.product-page .product-detail-grid.reverse {
  grid-template-columns: minmax(360px, .85fr) minmax(0, .95fr);
}

body.product-page .product-detail-copy h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.14;
  letter-spacing: -.04em;
  color: var(--black);
  margin-bottom: 22px;
}

body.product-page .product-lead {
  color: #555;
  font-size: 1rem;
  line-height: 1.9;
  margin-bottom: 30px;
}

body.product-page .product-point-list {
  display: grid;
  gap: 12px;
}

body.product-page .product-point-list li {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--border);
}

body.product-page .product-point-list li:last-child {
  border-bottom: 1px solid var(--border);
}

body.product-page .product-point-list strong {
  color: var(--black);
  font-size: .95rem;
}

body.product-page .product-point-list span {
  color: var(--sub);
  font-size: .9rem;
  line-height: 1.75;
}

body.product-page .product-image-slot {
  position: relative;
  min-height: 430px;
  background: #f7f7f4;
  border: 1px dashed rgba(0, 0, 0, .2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: rgba(17, 20, 24, .38);
  font-size: .86rem;
  font-weight: 700;
  letter-spacing: .08em;
}

body.product-page .product-image-slot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

body.product-page .product-image-slot span {
  text-align: center;
}

body.product-page .product-image-slot small {
  display: block;
  margin-top: 8px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: .9rem;
  letter-spacing: .08em;
  color: rgba(17, 20, 24, .45);
}

body.product-page .product-contact-section {
  background: var(--black) !important;
}

body.product-page .product-contact-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 56px 64px;
  background: linear-gradient(135deg, #1A1E26, #0E1014);
  border: 1px solid rgba(255, 255, 255, .08);
}

body.product-page .product-contact-box span {
  display: inline-block;
  color: var(--gold);
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

body.product-page .product-contact-box h2 {
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.3;
  margin-bottom: 10px;
}

body.product-page .product-contact-box p {
  color: rgba(255, 255, 255, .58);
  line-height: 1.8;
}

@media (max-width: 1100px) {
  body.product-page .product-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.product-page .product-detail-grid,
  body.product-page .product-detail-grid.reverse {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  body.product-page .product-visual {
    padding: calc(var(--header-h) + 74px) 20px 78px;
  }

  body.product-page .product-floating-nav {
    justify-content: flex-start;
    padding: 9px 18px;
  }

  body.product-page .product-section {
    padding: 72px 20px;
  }

  body.product-page .product-point-list li {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  body.product-page .product-contact-box {
    flex-direction: column;
    align-items: flex-start;
    padding: 38px 28px;
  }
}

@media (max-width: 520px) {
  body.product-page .product-overview-grid {
    grid-template-columns: 1fr;
  }

  body.product-page .product-image-slot {
    min-height: 280px;
  }
}


@media (max-width: 560px) {
  body.product-page .product-visual {
    padding-top: calc(var(--header-h) + 74px) !important;
    padding-bottom: 76px !important;
  }

  body.product-page .product-floating-nav a {
    padding: 8px 12px !important;
    font-size: .94rem !important;
  }

  body.product-page .certificate-grid {
    grid-template-columns: 1fr;
  }

  body.product-page .org-publish-chart {
    padding: 38px 18px;
  }

  body.product-page .org-node-main,
  body.product-page .org-node-sub,
  body.product-page .org-dept-node,
  body.product-page .org-branch ul,
  body.product-page .org-branch.is-wide ul {
    width: 100%;
    min-width: 0;
  }
}


/* ============================================================
   Quick revision: company/business page refinements
   ============================================================ */
body.company-page .company-organization .sec-desc {
  color: var(--sub) !important;
  font-size: .933rem;
  font-weight: 400 !important;
  line-height: 1.8;
}

body.company-page .certificate-info {
  min-height: auto !important;
}

body.company-page .certificate-info h3 {
  margin-bottom: 0;
}

body.company-page .certificate-info p {
  display: none !important;
}


/* ============================================================
   Mobile layout quickfix
   - 사업소개 모바일: 모든 사업 영역을 제목/설명 → 이미지 순서로 통일
   - 회사소개 모바일: 업/면허현황은 제목만 노출해 스크롤 부담 감소
   ============================================================ */
@media (max-width: 1100px) {
  body.product-page .product-detail-grid.reverse .product-detail-copy {
    order: 1;
  }

  body.product-page .product-detail-grid.reverse .product-image-slot {
    order: 2;
  }
}

@media (max-width: 768px) {
  body.company-page .certificate-card {
    border: 1px solid var(--border);
  }

  body.company-page .certificate-info {
    padding: 18px 20px;
  }

  body.company-page .certificate-info h3 {
    font-size: 1rem;
    line-height: 1.45;
  }
}


/* Final quickfix: company license cards & clickable business cards */
.biz-card[data-link]:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 4px;
}

body.company-page .company-license .certificate-card {
  background: #f8f8f6;
}


/* ============================================================
   Product page layout variation
   - 제품소개는 사업소개와 구분되도록 한 챕터당 이미지 2개 병렬 구성
   ============================================================ */
body.product-page .product-chapter {
  background: var(--white);
}

body.product-page .product-chapter:nth-of-type(even) {
  background: var(--light);
}

body.product-page .product-chapter-card {
  padding: 56px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 18px 46px rgba(0, 0, 0, .06);
}

body.product-page .product-chapter-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: start;
  margin-bottom: 36px;
}

body.product-page .product-chapter-title h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.16;
  letter-spacing: -.04em;
  color: var(--black);
  margin-bottom: 20px;
}

body.product-page .product-chapter-title .product-lead {
  max-width: 760px;
  margin-bottom: 0;
}

body.product-page .product-chapter-number {
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(3.8rem, 8vw, 7.2rem);
  line-height: .78;
  font-weight: 800;
  color: rgba(224, 24, 28, .12);
  letter-spacing: -.04em;
}

body.product-page .product-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 34px;
}

body.product-page .product-gallery-grid .product-image-slot {
  min-height: 320px;
  aspect-ratio: 4 / 3;
}

body.product-page .product-chapter-card .product-point-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
}

body.product-page .product-chapter-card .product-point-list li {
  grid-template-columns: 118px minmax(0, 1fr);
}

@media (max-width: 1024px) {
  body.product-page .product-chapter-card {
    padding: 42px 34px;
  }

  body.product-page .product-gallery-grid .product-image-slot {
    min-height: 260px;
  }

  body.product-page .product-chapter-card .product-point-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  body.product-page .product-chapter-card {
    padding: 30px 22px;
  }

  body.product-page .product-chapter-head {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 28px;
  }

  body.product-page .product-chapter-number {
    order: -1;
    font-size: 3.2rem;
  }

  body.product-page .product-gallery-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  body.product-page .product-gallery-grid .product-image-slot {
    min-height: 230px;
  }

  body.product-page .product-chapter-card .product-point-list li {
    grid-template-columns: 1fr;
  }
}


/* ============================================================
   Portfolio page
   - 이미지 목록형 시공실적 서브페이지
   ============================================================ */
body.portfolio-page .portfolio-visual {
  padding: calc(var(--header-h) + 94px) 40px 96px;
  background:
    linear-gradient(135deg, rgba(17, 20, 24, .88), rgba(17, 20, 24, .66)),
    url("../image/union-et-aerial-solar.jpg") center/cover no-repeat;
  color: #fff;
}

body.portfolio-page .portfolio-visual-inner {
  max-width: 1050px;
}

body.portfolio-page .sub-kicker {
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: .22em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 18px;
}

body.portfolio-page .portfolio-visual h1 {
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  line-height: 1.05;
  margin-bottom: 22px;
}

body.portfolio-page .portfolio-visual p {
  color: rgba(255, 255, 255, .78);
  font-size: 1rem;
  line-height: 1.85;
}

body.portfolio-page .portfolio-floating-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 920;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 10px 40px;
  background: rgba(255, 255, 255, .96);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .07);
  backdrop-filter: blur(12px);
  overflow-x: auto;
}

body.portfolio-page .portfolio-floating-nav a {
  flex: 0 0 auto;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 1.055rem;
  font-weight: 700;
  color: #666;
  white-space: nowrap;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}

body.portfolio-page .portfolio-floating-nav a span {
  margin-right: 6px;
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: .04em;
  color: #aaa;
}

body.portfolio-page .portfolio-floating-nav a.active,
body.portfolio-page .portfolio-floating-nav a:hover {
  background: var(--black);
  color: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
}

body.portfolio-page .portfolio-floating-nav a.active span,
body.portfolio-page .portfolio-floating-nav a:hover span {
  color: var(--gold);
}

body.portfolio-page .portfolio-section {
  padding: 96px 40px;
}

body.portfolio-page .portfolio-section:nth-of-type(even) {
  background: var(--light);
}

body.portfolio-page .portfolio-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 44px;
}

body.portfolio-page .portfolio-section-head .sec-desc {
  max-width: 420px;
}

body.portfolio-page .portfolio-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 36px;
}

body.portfolio-page .portfolio-stat-grid div {
  padding: 26px 24px;
  background: #fff;
  border: 1px solid var(--border);
}

body.portfolio-page .portfolio-stat-grid strong {
  display: block;
  color: var(--red);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 2.4rem;
  line-height: 1;
  margin-bottom: 10px;
}

body.portfolio-page .portfolio-stat-grid span {
  display: block;
  color: var(--sub);
  font-size: .86rem;
  line-height: 1.6;
}

body.portfolio-page .portfolio-featured-grid,
body.portfolio-page .portfolio-list-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

body.portfolio-page .portfolio-list-card {
  background: #fff;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}

body.portfolio-page .portfolio-list-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 42px rgba(0, 0, 0, .09);
  border-color: rgba(224, 24, 28, .28);
}

body.portfolio-page .portfolio-list-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #f3f3f0;
  overflow: hidden;
}

body.portfolio-page .portfolio-list-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.portfolio-page .portfolio-list-thumb>span {
  position: absolute;
  inset: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #999;
  font-weight: 700;
  letter-spacing: .04em;
  border: 1px dashed rgba(0, 0, 0, .22);
}

body.portfolio-page .portfolio-list-thumb small {
  display: block;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1rem;
  letter-spacing: .08em;
}

body.portfolio-page .portfolio-status {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 6px 12px;
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  font-style: normal;
  letter-spacing: .08em;
}

body.portfolio-page .portfolio-status.progress {
  background: var(--red);
}

body.portfolio-page .portfolio-status.completed {
  background: var(--black);
}

body.portfolio-page .portfolio-list-info {
  padding: 22px 24px 26px;
}

body.portfolio-page .portfolio-list-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

body.portfolio-page .portfolio-type {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  color: #fff;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
}

body.portfolio-page .portfolio-date-text {
  color: var(--sub);
  font-size: .78rem;
  white-space: nowrap;
}

body.portfolio-page .portfolio-list-info h3 {
  min-height: 48px;
  color: var(--black);
  font-size: 1.08rem;
  line-height: 1.45;
  margin-bottom: 10px;
}

body.portfolio-page .portfolio-list-info p {
  color: var(--sub);
  font-size: .84rem;
  margin-bottom: 18px;
}

body.portfolio-page .portfolio-meta-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

body.portfolio-page .portfolio-meta-row span {
  color: var(--sub);
  font-size: .76rem;
}

body.portfolio-page .portfolio-meta-row strong {
  color: var(--red);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.45rem;
  letter-spacing: .02em;
}

body.portfolio-page .portfolio-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -12px 0 30px;
}

body.portfolio-page .portfolio-filter-bar button {
  padding: 10px 18px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--sub);
  font-weight: 700;
  transition: background .2s, color .2s, border-color .2s;
}

body.portfolio-page .portfolio-filter-bar button.active,
body.portfolio-page .portfolio-filter-bar button:hover {
  background: var(--black);
  color: #fff;
  border-color: var(--black);
}

body.portfolio-page .portfolio-list-card.is-hidden {
  display: none;
}

body.portfolio-page .portfolio-contact-section {
  background: var(--black) !important;
  padding: 80px 40px;
}

body.portfolio-page .portfolio-contact-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 56px 64px;
  background: linear-gradient(135deg, #1A1E26, #0E1014);
  border: 1px solid rgba(255, 255, 255, .08);
}

body.portfolio-page .portfolio-contact-box span {
  display: inline-block;
  color: var(--gold);
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

body.portfolio-page .portfolio-contact-box h2 {
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.3;
  margin-bottom: 10px;
}

body.portfolio-page .portfolio-contact-box p {
  color: rgba(255, 255, 255, .58);
  line-height: 1.8;
}

@media (max-width: 1100px) {

  body.portfolio-page .portfolio-stat-grid,
  body.portfolio-page .portfolio-featured-grid,
  body.portfolio-page .portfolio-list-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  body.portfolio-page .portfolio-visual {
    padding: calc(var(--header-h) + 74px) 20px 78px;
  }

  body.portfolio-page .portfolio-floating-nav {
    justify-content: flex-start;
    padding: 9px 18px;
  }

  body.portfolio-page .portfolio-section {
    padding: 72px 20px;
  }

  body.portfolio-page .portfolio-section-head {
    display: block;
  }

  body.portfolio-page .portfolio-section-head .sec-desc {
    max-width: none;
    margin-top: 14px;
  }

  body.portfolio-page .portfolio-stat-grid,
  body.portfolio-page .portfolio-featured-grid,
  body.portfolio-page .portfolio-list-grid {
    grid-template-columns: 1fr;
  }

  body.portfolio-page .portfolio-list-info h3 {
    min-height: auto;
  }

  body.portfolio-page .portfolio-contact-box {
    flex-direction: column;
    align-items: flex-start;
    padding: 38px 28px;
  }
}

@media (max-width: 560px) {
  body.portfolio-page .portfolio-visual {
    padding-top: calc(var(--header-h) + 74px) !important;
    padding-bottom: 76px !important;
  }

  body.portfolio-page .portfolio-floating-nav a {
    padding: 8px 12px !important;
    font-size: .94rem !important;
  }

  body.portfolio-page .certificate-grid {
    grid-template-columns: 1fr;
  }

  body.portfolio-page .org-publish-chart {
    padding: 38px 18px;
  }

  body.portfolio-page .org-node-main,
  body.portfolio-page .org-node-sub,
  body.portfolio-page .org-dept-node,
  body.portfolio-page .org-branch ul,
  body.portfolio-page .org-branch.is-wide ul {
    width: 100%;
    min-width: 0;
  }
}



/* ============================================================
   Contact page
   - 견적 문의 폼형 서브페이지
   ============================================================ */
body.contact-page .contact-visual {
  padding: calc(var(--header-h) + 94px) 40px 96px;
  background:
    linear-gradient(135deg, rgba(17, 20, 24, .88), rgba(17, 20, 24, .68)),
    url("../image/union-et-factory.jpg") center/cover no-repeat;
  color: #fff;
}

body.contact-page .contact-visual-inner {
  max-width: 720px;
}

body.contact-page .sub-kicker {
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: .22em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 18px;
}

body.contact-page .contact-visual h1 {
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  line-height: 1.05;
  margin-bottom: 22px;
}

body.contact-page .contact-visual p {
  max-width: 680px;
  color: rgba(255, 255, 255, .78);
  font-size: 1rem;
  line-height: 1.85;
}

body.contact-page .contact-section {
  padding: 96px 40px;
  background: var(--light);
}

body.contact-page .contact-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 44px;
}

body.contact-page .contact-section-head .sec-desc {
  max-width: 430px;
}

body.contact-page .contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
}

body.contact-page .contact-form-card,
body.contact-page .contact-side-card {
  background: #fff;
  border: 1px solid var(--border);
}

body.contact-page .contact-form-card {
  padding: 42px;
}

body.contact-page .form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

body.contact-page .form-field {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 22px;
}

body.contact-page .form-field.full {
  grid-column: 1 / -1;
}

body.contact-page label,
body.contact-page legend {
  color: var(--black);
  font-size: .88rem;
  font-weight: 700;
}

body.contact-page input[type="text"],
body.contact-page input[type="tel"],
body.contact-page input[type="email"],
body.contact-page input[type="file"],
body.contact-page select,
body.contact-page textarea {
  width: 100%;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--txt);
  font-family: inherit;
  font-size: .92rem;
  padding: 14px 16px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}

body.contact-page textarea {
  resize: vertical;
  min-height: 180px;
}

body.contact-page input:focus,
body.contact-page select:focus,
body.contact-page textarea:focus {
  border-color: rgba(224, 24, 28, .42);
  box-shadow: 0 0 0 3px rgba(224, 24, 28, .06);
}

body.contact-page .form-option-section {
  margin: 12px 0 26px;
  padding: 26px;
  background: #fafafa;
  border: 1px solid var(--border);
}

body.contact-page .form-option-section h3 {
  color: var(--black);
  font-size: 1.05rem;
  margin-bottom: 18px;
}

body.contact-page .option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

body.contact-page fieldset {
  border: 1px solid var(--border);
  padding: 18px;
}

body.contact-page legend {
  padding: 0 6px;
}

body.contact-page fieldset label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 10px 16px 0 0;
  color: var(--sub);
  font-size: .86rem;
  font-weight: 500;
}

body.contact-page .form-help {
  color: var(--sub);
  font-size: .8rem;
  line-height: 1.6;
}

body.contact-page .privacy-box {
  margin-top: 8px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--border);
}

body.contact-page .privacy-box__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

body.contact-page .privacy-box h3 {
  color: var(--black);
  font-size: 1rem;
  margin: 0;
}

body.contact-page .privacy-policy-open {
  flex-shrink: 0;
}

body.contact-page .privacy-inline-link {
  border: 0;
  padding: 0;
  background: none;
  color: var(--red);
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

body.contact-page .privacy-inline-link:hover {
  color: var(--red-dark);
}

body.contact-page .privacy-box p {
  color: var(--sub);
  font-size: .82rem;
  line-height: 1.7;
}

body.contact-page .privacy-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--txt);
  font-size: .88rem;
}

body.contact-page .form-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 28px;
}

/* 개인정보 보호정책 팝업 */
.privacy-modal {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.privacy-modal.is-open {
  display: flex;
}

body.privacy-modal-open {
  overflow: hidden;
}

.privacy-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
}

.privacy-modal__panel {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: min(90vh, 900px);
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.2);
  overflow: hidden;
}

.privacy-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--border);
}

.privacy-modal__header h2 {
  margin: 0;
  font-size: 1.25rem;
  color: var(--black);
}

.privacy-modal__meta {
  margin: 6px 0 0;
  color: var(--sub);
  font-size: .82rem;
}

.privacy-modal__close {
  border: 0;
  background: #f3f4f6;
  color: #374151;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.privacy-modal__close:hover {
  background: #e5e7eb;
}

.privacy-modal__body {
  flex: 1;
  min-height: 0;
  background: #f9fafb;
}

.privacy-modal__body .privacy-policy-doc {
  max-height: min(62vh, 640px);
  overflow: auto;
  padding: 24px 28px;
}

.privacy-modal__loading {
  color: var(--sub);
  text-align: center;
  padding: 40px 16px;
  margin: 0;
}

.privacy-modal__footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 24px 20px;
  border-top: 1px solid var(--border);
}

@media (max-width: 640px) {
  .privacy-modal {
    padding: 0;
    align-items: stretch;
  }

  .privacy-modal__panel {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    max-height: none;
    border-radius: 0;
  }

  .privacy-modal__header {
    flex-shrink: 0;
    gap: 10px;
    padding: 12px 14px 10px;
    padding-top: max(12px, env(safe-area-inset-top));
  }

  .privacy-modal__header h2 {
    font-size: 1.05rem;
    line-height: 1.35;
  }

  .privacy-modal__meta {
    font-size: .75rem;
    line-height: 1.5;
    word-break: keep-all;
  }

  .privacy-modal__close {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
  }

  .privacy-modal__body {
    flex: 1;
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }

  .privacy-modal__body .privacy-policy-doc {
    flex: 1;
    max-height: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding: 14px 14px 18px;
  }

  .privacy-modal__footer {
    flex-shrink: 0;
    padding: 10px 14px max(14px, env(safe-area-inset-bottom));
  }

  .privacy-modal__footer .btn-outline {
    width: 100%;
    min-height: 44px;
    justify-content: center;
  }
}

/* 개인정보 보호정책 문서 (PDF 유사) */
.privacy-policy-doc {
  color: #1f2937;
  font-size: .9rem;
  line-height: 1.65;
  background: #fff;
}

/* 공통 section { padding: 96px } 규칙 무효화 */
.privacy-policy-doc section,
.privacy-policy-doc .pp-chapter {
  padding: 0;
  margin: 0 0 14px;
}

.privacy-policy-doc .pp-cover {
  text-align: center;
  padding: 20px 12px 24px;
  margin-bottom: 16px;
}

.privacy-policy-doc .pp-cover__rule {
  height: 0;
  border-top: 2px solid #111827;
  margin: 0 auto;
  max-width: 92%;
}

.privacy-policy-doc .pp-cover__title {
  margin: 18px 0;
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: #111827;
}

.privacy-policy-doc .pp-cover__date,
.privacy-policy-doc .pp-cover__company {
  margin: 6px 0 0;
  color: #4b5563;
  font-size: .95rem;
}

.privacy-policy-doc .pp-chapter h2 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #111827;
  border-bottom: 1px solid #d1d5db;
  padding-bottom: 6px;
}

.privacy-policy-doc .pp-chapter h3 {
  margin: 10px 0 6px;
  font-size: .95rem;
  font-weight: 700;
}

.privacy-policy-doc .pp-chapter p {
  margin: 0 0 6px;
  text-align: justify;
  word-break: keep-all;
}

.privacy-policy-doc .pp-note {
  font-size: .82rem;
  color: #6b7280;
}

.privacy-policy-doc .pp-effective {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px dashed #d1d5db;
}

.privacy-policy-doc .pp-list {
  margin: 0;
  padding-left: 1.2rem;
}

.privacy-policy-doc .pp-list li {
  margin-bottom: 6px;
}

.privacy-policy-doc .pp-ol {
  margin: 0 0 8px;
  padding-left: 1.35rem;
}

.privacy-policy-doc .pp-ol > li {
  margin-bottom: 5px;
}

.privacy-policy-doc .pp-ol > li:last-child {
  margin-bottom: 0;
}

.privacy-policy-doc .pp-ol--sub {
  margin-top: 8px;
  list-style-type: lower-alpha;
}

.privacy-policy-doc .pp-bullet {
  margin: 0;
  padding-left: 1.1rem;
}

.privacy-policy-doc .pp-bullet li {
  margin-bottom: 3px;
}

.privacy-policy-doc .pp-bullet li:last-child {
  margin-bottom: 0;
}

.privacy-policy-doc .pp-subtitle {
  margin: 12px 0 8px;
  font-size: .88rem;
  font-weight: 700;
  color: #374151;
}

.privacy-policy-doc .pp-agency {
  margin: 12px 0;
  padding: 10px 12px;
  background: #f9fafb;
  border-left: 3px solid #d1d5db;
}

.privacy-policy-doc .pp-agency__title {
  margin: 0 0 6px;
  font-weight: 700;
}

.privacy-policy-doc .pp-table td p {
  margin: 0 0 6px;
}

.privacy-policy-doc .pp-table td p:last-child {
  margin-bottom: 0;
}

.privacy-policy-doc .pp-table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 10px;
  font-size: .78rem;
  line-height: 1.55;
}

.privacy-policy-doc .pp-table th,
.privacy-policy-doc .pp-table td {
  border: 1px solid #9ca3af;
  padding: 8px 10px;
  vertical-align: top;
}

.privacy-policy-doc .pp-table thead th {
  background: #f3f4f6;
  font-weight: 700;
  text-align: center;
}

.privacy-policy-doc .pp-table--contact th {
  width: 110px;
  background: #f9fafb;
  text-align: left;
}

/* 개인정보 보호정책 — 모바일 가독성 */
@media (max-width: 640px) {
  .privacy-policy-doc {
    font-size: .84rem;
    line-height: 1.65;
  }

  .privacy-policy-doc .pp-cover {
    padding: 20px 8px 24px;
    margin-bottom: 20px;
  }

  .privacy-policy-doc .pp-cover__title {
    font-size: 1.35rem;
    margin: 14px 0;
  }

  .privacy-policy-doc .pp-cover__date,
  .privacy-policy-doc .pp-cover__company {
    font-size: .88rem;
  }

  .privacy-policy-doc section,
  .privacy-policy-doc .pp-chapter {
    margin-bottom: 12px;
  }

  .privacy-policy-doc .pp-chapter h2 {
    font-size: .98rem;
    line-height: 1.4;
  }

  .privacy-policy-doc .pp-chapter h3 {
    font-size: .9rem;
    line-height: 1.45;
  }

  .privacy-policy-doc .pp-chapter p {
    text-align: left;
    word-break: keep-all;
    overflow-wrap: anywhere;
  }

  .privacy-policy-doc .pp-ol {
    padding-left: 1.15rem;
  }

  .privacy-policy-doc .pp-ol > li,
  .privacy-policy-doc .pp-bullet li {
    margin-bottom: 5px;
  }

  .privacy-policy-doc .pp-agency {
    padding: 10px;
  }

  .privacy-policy-doc .pp-agency__title {
    font-size: .86rem;
    line-height: 1.45;
    word-break: keep-all;
  }

  /* 4열 표 → 카드형 세로 배치 */
  .privacy-policy-doc .pp-table:not(.pp-table--contact) {
    display: block;
    border: 0;
    margin: 12px 0;
  }

  .privacy-policy-doc .pp-table:not(.pp-table--contact) thead {
    display: none;
  }

  .privacy-policy-doc .pp-table:not(.pp-table--contact) tbody,
  .privacy-policy-doc .pp-table:not(.pp-table--contact) tr,
  .privacy-policy-doc .pp-table:not(.pp-table--contact) td {
    display: block;
    width: 100%;
  }

  .privacy-policy-doc .pp-table:not(.pp-table--contact) tr {
    margin-bottom: 14px;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #fafafa;
  }

  .privacy-policy-doc .pp-table:not(.pp-table--contact) tr:last-child {
    margin-bottom: 0;
  }

  .privacy-policy-doc .pp-table:not(.pp-table--contact) td {
    border: 0;
    padding: 0;
    font-size: .8rem;
    line-height: 1.55;
  }

  .privacy-policy-doc .pp-table:not(.pp-table--contact) td + td {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed #e5e7eb;
  }

  .privacy-policy-doc .pp-table:not(.pp-table--contact) td:first-child {
    font-size: .92rem;
    font-weight: 700;
    color: #111827;
    padding-bottom: 8px;
    margin-bottom: 4px;
    border-bottom: 1px solid #e5e7eb;
  }

  .privacy-policy-doc .pp-table:not(.pp-table--contact) td:nth-child(2)::before,
  .privacy-policy-doc .pp-table:not(.pp-table--contact) td:nth-child(3)::before,
  .privacy-policy-doc .pp-table:not(.pp-table--contact) td:nth-child(4)::before {
    display: block;
    margin-bottom: 4px;
    font-size: .72rem;
    font-weight: 700;
    color: #6b7280;
    letter-spacing: .02em;
  }

  .privacy-policy-doc .pp-table:not(.pp-table--contact) td:nth-child(2)::before {
    content: "수집·이용 목적";
  }

  .privacy-policy-doc .pp-table:not(.pp-table--contact) td:nth-child(3)::before {
    content: "수집 항목";
  }

  .privacy-policy-doc .pp-table:not(.pp-table--contact) td:nth-child(4)::before {
    content: "보유 기간";
  }

  /* 담당자 표 — 라벨/값 세로 배치 */
  .privacy-policy-doc .pp-table--contact {
    display: block;
  }

  .privacy-policy-doc .pp-table--contact tbody,
  .privacy-policy-doc .pp-table--contact tr,
  .privacy-policy-doc .pp-table--contact th,
  .privacy-policy-doc .pp-table--contact td {
    display: block;
    width: 100%;
  }

  .privacy-policy-doc .pp-table--contact tr {
    margin-bottom: 0;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .privacy-policy-doc .pp-table--contact th,
  .privacy-policy-doc .pp-table--contact td {
    border: 0;
    padding: 0;
  }

  .privacy-policy-doc .pp-table--contact th {
    margin-top: 10px;
    padding-bottom: 2px;
    font-size: .72rem;
    color: #6b7280;
    background: transparent;
  }

  .privacy-policy-doc .pp-table--contact td {
    font-size: .86rem;
    padding-bottom: 4px;
  }
}

body.contact-page .contact-side-card {
  padding: 32px;
  position: sticky;
  top: calc(var(--header-h) + 28px);
}

body.contact-page .contact-side-block {
  padding-bottom: 26px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--border);
}

body.contact-page .contact-side-block:last-of-type {
  margin-bottom: 0;
}

body.contact-page .contact-side-block span {
  display: block;
  color: var(--red);
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

body.contact-page .contact-side-block h3 {
  color: var(--black);
  font-size: 1.18rem;
  margin-bottom: 14px;
}

body.contact-page .contact-side-block p,
body.contact-page .contact-side-block li {
  color: var(--sub);
  font-size: .88rem;
  line-height: 1.75;
}

body.contact-page .contact-side-block ol {
  padding-left: 18px;
}

body.contact-page .contact-side-note {
  margin-top: 26px;
  padding: 18px;
  background: var(--black);
  color: rgba(255, 255, 255, .72);
  font-size: .86rem;
  line-height: 1.7;
}

@media (max-width: 1024px) {
  body.contact-page .contact-layout {
    grid-template-columns: 1fr;
  }

  body.contact-page .contact-side-card {
    position: static;
  }
}

@media (max-width: 768px) {
  body.contact-page .contact-visual {
    padding: calc(var(--header-h) + 74px) 20px 78px;
  }

  body.contact-page .contact-section {
    padding: 72px 20px;
  }

  body.contact-page .contact-section-head {
    display: block;
  }

  body.contact-page .contact-section-head .sec-desc {
    max-width: none;
    margin-top: 14px;
  }

  body.contact-page .contact-form-card {
    padding: 28px 22px;
  }

  body.contact-page .form-grid,
  body.contact-page .option-grid {
    grid-template-columns: 1fr;
  }

  body.contact-page .form-option-section {
    padding: 20px;
  }

  body.contact-page .form-actions {
    justify-content: stretch;
  }

  body.contact-page .form-actions .btn-primary {
    width: 100%;
    justify-content: center;
  }

  body.contact-page .privacy-box {
    padding: 18px 16px;
  }

  body.contact-page .privacy-box__head {
    flex-direction: column;
    align-items: stretch;
  }

  body.contact-page .privacy-policy-open {
    width: 100%;
    min-height: 44px;
    justify-content: center;
  }

  body.contact-page .privacy-check {
    align-items: flex-start;
    line-height: 1.5;
  }
}




/*
#hero .slide.slide-photo-03 .slide-bg {
  background-image:
    linear-gradient(90deg, rgba(5, 10, 18, .88) 0%, rgba(5, 10, 18, .72) 42%, rgba(5, 10, 18, .42) 100%),
    url("../image/slide_03.jpg");
  background-size: 110%;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  animation: heroPhotoMotion03 10s ease-in-out infinite alternate;
}
  */

@media (min-width: 1101px) {

  /* 1. 헤더 기본 상태: 투명 유지 (PC 전역과 투명 유지) */
  #header {
    box-shadow: none;
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  }

  /* 2. 대메뉴 텍스트 기본 상태: 흰색 */
  #header .gnb>li>a {
    color: #FFF;
    transition: color 0.3s ease;
  }

  /* 3. 대메뉴 텍스트 호버 상태: 레드 */
  #header .gnb>li>a:hover,
  #header .gnb>li.has-sub:hover>a {
    color: var(--red);
  }

  /* 4. 로고 기본 상태: 흰색으로 인버트 제거 (JS canvas 처리) */

  /* 5. 헤더 호버 시 또는 스크롤 시: 원래 디자인(흰색 배경, 검은 글씨, 원래 로고)으로 전환 */
  #header:hover {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  }

  #header:hover .gnb>li>a,
  #header.scrolled .gnb>li>a {
    color: #333;
  }

  #header:hover .gnb>li>a:hover,
  #header.scrolled .gnb>li>a:hover,
  #header:hover .gnb>li.has-sub:hover>a,
  #header.scrolled .gnb>li.has-sub:hover>a {
    color: var(--red);
  }

}