@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@700;800;900&display=swap');

/* Design System CSS Variables */
:root {
  --primary-color: #0F5E36;      /* 딥 포레스트 그린 (신뢰감과 나무) */
  --primary-light: #1ea65d;      /* 포인트용 밝은 초록 */
  --accent-color: #0d9488;       /* 딥 시안/민트 계열 */
  --dark-bg: #ffffff;            /* 메인 백그라운드 (화이트) */
  --light-bg: #f8fafc;           /* 보조 백그라운드 (소프트 그레이) */
  --text-main: #0f172a;          /* 메인 본문 색상 (어두운 회색) */
  --text-muted: #475569;         /* 보조 본문 색상 (중간 회색) */
  --text-white: #ffffff;
  
  --header-height: 80px;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --box-shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.04);
  --box-shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
  --backdrop-blur: blur(12px);
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: 'Noto Sans KR', sans-serif;
  color: var(--text-main);
  background-color: var(--dark-bg);
}

body {
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

button {
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
}

/* Header / Navigation Bar */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: var(--transition-smooth);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  background-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: var(--backdrop-blur);
  -webkit-backdrop-filter: var(--backdrop-blur);
}

/* 스크롤 시 스타일 변화 (Sticky Header) */
.main-header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: var(--box-shadow-sm);
  height: 70px;
}

/* Container */
.header-container {
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0; /* 네비 메뉴가 압박해도 로고가 줄어들지 않도록 */
}

.logo-img {
  height: 44px; /* 헤더 높이(80px)의 절반 + 여유 - 균형감 있는 크기 */
  width: auto;
  display: block;
  object-fit: contain;
  transition: opacity 0.25s ease;
}

.logo-img:hover {
  opacity: 0.8;
}

/* Desktop Navigation Menu (중앙 배치) */
.nav-menu {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
}

.nav-menu ul {
  display: flex;
  gap: 36px;
}

.nav-link {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  position: relative;
  padding: 8px 0;
  transition: var(--transition-smooth);
}

.nav-link:hover {
  color: var(--primary-color);
}

/* 호버 시 하단 선 슬라이드 애니메이션 */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition-smooth);
}

.nav-link:hover::after {
  width: 100%;
}

/* 모바일 햄버거 버튼 */
.mobile-menu-btn {
  display: none;
}

.mobile-menu-btn span {
  font-size: 2rem;
  color: var(--text-main);
  transition: var(--transition-smooth);
}

/* 모바일 오버레이 메뉴 */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  z-index: 2000;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-nav-overlay.active {
  right: 0;
}

.mobile-nav-content {
  position: relative;
  text-align: center;
  width: 100%;
}

.mobile-menu-close-btn {
  position: absolute;
  top: -100px;
  right: 40px;
}

.mobile-menu-close-btn span {
  font-size: 2.5rem;
  color: var(--text-main);
  transition: var(--transition-smooth);
}

.mobile-menu-close-btn:hover span {
  color: var(--primary-color);
  transform: rotate(90deg);
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.mobile-nav-link {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-main);
  letter-spacing: 1px;
  transition: var(--transition-smooth);
  display: inline-block;
}

.mobile-nav-link:hover {
  color: var(--primary-color);
  transform: scale(1.05);
}


/* 히어로 영역 (Hero Section) */
.hero-section {
  position: relative;
  height: 80vh; /* 100vh에서 80vh로 줄여 하단 사업소개가 보이도록 조절 */
  min-height: 600px;
  display: flex;
  align-items: center;
  /* 자동 복사된 assets 폴더의 상대 경로 매핑 */
  background: url('./assets/hero-banner.png') no-repeat center center/cover;
  padding-top: var(--header-height);
  overflow: hidden;
}

/* 좌측 화이트 그라데이션 오버레이 완전 제거 */
.hero-overlay {
  display: none;
}

.hero-container {
  max-width: 1600px; /* 가로폭 제한을 1600px로 대폭 넓혀 텍스트를 좌측으로 더 밀어냄 */
  width: 100%;
  margin: 0 auto;
  padding: 0 40px; /* 좌측 여백을 조금 더 바짝 당겨 밀착시킴 */
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-start;
}

/* 좌측 텍스트 콘텐츠 */
.hero-content {
  max-width: 620px;
  text-align: left;
}

.hero-subtitle {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 700;
  color: #4ade80; /* 밝은 연두색으로 변경해 어두운 모니터 위에서 돋보이게 함 */
  background-color: rgba(255, 255, 255, 0.06);
  padding: 8px 18px;
  border-radius: 50px;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-title {
  font-size: 3.8rem;
  font-weight: 900;
  letter-spacing: -1.5px;
  color: #ffffff; /* 흰색으로 변경하여 시인성 대폭 개선 */
  margin-bottom: 24px;
  line-height: 1.25;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3); /* 텍스트 외곽에 미세한 음영을 주어 맑은 배경 위에서도 읽히도록 보완 */
}

.hero-desc {
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85); /* 밝은 실버 그레이로 변경 */
  margin-bottom: 36px;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

/* 깔끔한 서비스 텍스트 리스트 스타일 */
.hero-services-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.service-item {
  position: relative;
  transition: var(--transition-smooth);
}

.service-item:hover {
  color: #4ade80;
}

.service-divider {
  color: #4ade80; /* 구분선을 그린 컬러로 매칭 */
  font-weight: 400;
  opacity: 0.8;
}

.hero-actions {
  display: flex;
  gap: 16px;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 14px 30px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  transition: var(--transition-smooth);
  text-align: center;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--text-white);
  box-shadow: 0 4px 14px rgba(15, 94, 54, 0.25);
}

.btn-primary:hover {
  background-color: #0b4728;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 94, 54, 0.35);
}

.btn-secondary {
  border: 1.5px solid var(--primary-color);
  color: var(--primary-color);
  background-color: rgba(255, 255, 255, 0.6);
}

.btn-secondary:hover {
  background-color: rgba(15, 94, 54, 0.05);
  transform: translateY(-2px);
}

/* 사업소개 영역 (Business Section) */
.business-section {
  padding: 120px 0;
  background-color: var(--dark-bg);
  border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.business-section .section-container {
  max-width: 1600px; /* 히어로 컨테이너와 동일한 1600px 폭 매치 */
  width: 100%;
  margin: 0 auto;
  padding: 0 40px; /* 히어로 좌우 여백과 통일 */
  display: flex;
  gap: 60px;
  justify-content: space-between;
  align-items: flex-start;
}

/* 좌측 타이틀 영역 (피씨디렉트 레이아웃 스타일) */
.business-title-area {
  width: 250px;
  flex-shrink: 0;
  text-align: left;
}

.business-title-area h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.15;
  letter-spacing: -1px;
}

.business-title-area .sub-title {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-top: 10px;
  letter-spacing: 1px;
}

/* 우측 3단 카드 그리드 */
.business-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.business-card {
  background-color: transparent;
  border: none;
  padding: 10px 0;
  text-align: left;
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  margin-bottom: 18px;
}

.card-icon span {
  font-size: 2.2rem;
}

.business-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.business-card p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-muted);
}


/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Styles (반응형 모바일 지원) */
@media (max-width: 768px) {
  .logo-text {
    font-size: 1.3rem;
  }
  
  .nav-menu {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }
  
  .hero-section {
    /* 모바일에서 배경 이미지와 흰색 글자 중첩으로 인한 시인성 저하를 방지하기 위해 어두운 반투명 오버레이 적용 */
    background: linear-gradient(rgba(15, 23, 42, 0.68), rgba(15, 23, 42, 0.72)), url('./assets/hero-banner.png') no-repeat center center/cover;
  }
  
  .hero-container {
    justify-content: center;
  }
  
  .hero-content {
    text-align: center;
  }

  .hero-subtitle {
    color: #4ade80;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
  }
  
  .hero-title {
    font-size: 2.5rem;
    color: #ffffff;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6), 0 0 4px rgba(0, 0, 0, 0.4);
    margin-bottom: 18px;
    line-height: 1.3; /* 줄바꿈 시 글자가 겹치지 않게 여유 공간 마련 */
  }
  
  .hero-desc {
    font-size: 1.0rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
    margin-bottom: 30px;
  }
  
  .hero-services-list {
    color: #ffffff;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
    justify-content: center;
    font-size: 1rem;
    gap: 8px 12px;
  }

  .service-divider {
    color: #4ade80;
  }
  
  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }
  
  .btn {
    width: 100%;
  }

  /* 사업소개 모바일 반응형 */
  .business-section {
    padding: 80px 0;
  }
  
  .business-section .section-container {
    flex-direction: column;
    gap: 40px;
    padding: 0 24px;
  }
  
  .business-title-area {
    width: 100%;
    text-align: center;
  }
  
  .business-grid {
    grid-template-columns: repeat(2, 1fr); /* 모바일에서는 2열 배치 */
    gap: 20px;
  }
  
  .hero-image-content {
    order: -1; /* 모바일에서는 텍스트 위로 비주얼이 오도록 조절할 수도 있으나, 일반적으로 텍스트가 먼저 오거나 이미지가 먼저 옴. 여기선 텍스트 아래에 배치 (order: 2 또는 명시 안함) */
  }
}

/* 초소형 모바일 반응형 */
@media (max-width: 576px) {
  .business-grid {
    grid-template-columns: 1fr; /* 더 좁은 화면에서는 1열 배치 */
  }
}

/* ==========================================================================
   서브페이지 공통 배너 및 회사소개 (about.html) 스타일
   ========================================================================== */

/* 1. 서브페이지 배너 (Sub Banner) */
.sub-banner {
  position: relative;
  height: 280px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #1ea65d 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-white);
  padding-top: var(--header-height);
  overflow: hidden;
}

.sub-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.3) 100%);
  z-index: 1;
}

.sub-banner-container {
  position: relative;
  z-index: 2;
  padding: 0 24px;
}

.sub-banner h1 {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 12px;
  animation: fadeInUp 0.6s forwards;
}

.sub-banner p {
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.85);
  animation: fadeInUp 0.6s 0.2s forwards;
}

/* 회사소개 전용 고급 이미지 배너 스타일 */
.sub-banner.about-banner {
  background-image: url('./assets/about-banner.jpg');
  background-size: cover;
  background-position: center;
  justify-content: flex-start;
  text-align: left;
  height: 380px;
}

.sub-banner.about-banner .sub-banner-overlay {
  background: linear-gradient(135deg, rgba(15, 34, 25, 0.82) 0%, rgba(10, 24, 18, 0.65) 100%);
}

.sub-banner.about-banner .sub-banner-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 40px;
}

.sub-banner.about-banner h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
  letter-spacing: -1px;
}

.sub-banner.about-banner .banner-sub {
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0;
  display: block;
}

/* 서비스소개 전용 고급 이미지 배너 스타일 */
.sub-banner.services-banner {
  background-image: url('./assets/services-banner.jpg');
  background-size: cover;
  background-position: center;
  justify-content: flex-start;
  text-align: left;
  height: 380px;
}

.sub-banner.services-banner .sub-banner-overlay {
  background: linear-gradient(135deg, rgba(15, 34, 25, 0.82) 0%, rgba(10, 24, 18, 0.65) 100%);
}

.sub-banner.services-banner .sub-banner-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 40px;
}

.sub-banner.services-banner h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
  letter-spacing: -1px;
}

.sub-banner.services-banner .banner-sub {
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0;
  display: block;
}

/* 견적문의 전용 고급 이미지 배너 스타일 */
.sub-banner.quote-banner {
  background-image: url('./assets/quote-banner.jpg');
  background-size: cover;
  background-position: center;
  justify-content: flex-start;
  text-align: left;
  height: 380px;
}

.sub-banner.quote-banner .sub-banner-overlay {
  background: linear-gradient(135deg, rgba(15, 34, 25, 0.82) 0%, rgba(10, 24, 18, 0.65) 100%);
}

.sub-banner.quote-banner .sub-banner-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 40px;
}

.sub-banner.quote-banner h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
  letter-spacing: -1px;
}

.sub-banner.quote-banner .banner-sub {
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0;
  display: block;
}

/* 갤러리 전용 고급 이미지 배너 스타일 */
.sub-banner.gallery-banner {
  background-image: url('./assets/gallery-banner.jpg');
  background-size: cover;
  background-position: center;
  justify-content: flex-start;
  text-align: left;
  height: 380px;
}

.sub-banner.gallery-banner .sub-banner-overlay {
  background: linear-gradient(135deg, rgba(15, 34, 25, 0.82) 0%, rgba(10, 24, 18, 0.65) 100%);
}

.sub-banner.gallery-banner .sub-banner-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 40px;
}

.sub-banner.gallery-banner h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
  letter-spacing: -1px;
}

.sub-banner.gallery-banner .banner-sub {
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0;
  display: block;
}

/* 컨택트어스 전용 고급 이미지 배너 스타일 */
.sub-banner.contact-banner {
  background-image: url('./assets/contact-banner.jpg');
  background-size: cover;
  background-position: center;
  justify-content: flex-start;
  text-align: left;
  height: 380px;
}

.sub-banner.contact-banner .sub-banner-overlay {
  background: linear-gradient(135deg, rgba(15, 34, 25, 0.82) 0%, rgba(10, 24, 18, 0.65) 100%);
}

.sub-banner.contact-banner .sub-banner-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 40px;
}

.sub-banner.contact-banner h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
  letter-spacing: -1px;
}

.sub-banner.contact-banner .banner-sub {
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0;
  display: block;
}







/* 2. 회사소개 본문 레이아웃 */
.about-section {
  padding: 100px 0;
  background-color: var(--dark-bg);
}

.about-container {
  max-width: 1600px;
  width: 100%;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 80px;
  align-items: flex-start;
}

/* 좌측 정보 영역 */
.about-info-area {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.intro-text-box h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.35;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.intro-text-box p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.info-table-box h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

/* 테이블 디자인 */
.company-info-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 2.5px solid var(--primary-color);
}

.company-info-table th {
  width: 130px;
  padding: 18px 16px;
  background-color: var(--light-bg);
  text-align: left;
  font-weight: 700;
  color: var(--text-main);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 0.95rem;
}

.company-info-table td {
  padding: 18px 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.phone-link {
  color: var(--primary-color);
  font-weight: 700;
  text-decoration: underline;
  transition: var(--transition-smooth);
}

.phone-link:hover {
  color: var(--primary-light);
}

/* 우측 지도 영역 */
.about-map-area {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.map-wrapper {
  background-color: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: none;
}

.sub-map-img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: contain;
}

.map-caption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.map-caption span.material-symbols-outlined {
  color: var(--primary-color);
  font-size: 1.2rem;
}

/* 3. 공통 푸터 (Footer) */
.main-footer {
  background-color: var(--light-bg);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding: 50px 0 60px 0;
  color: var(--text-muted);
}

.footer-container {
  max-width: 1600px;
  width: 100%;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

/* 상단 약관 링크 */
.footer-top-links {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  font-size: 0.95rem;
  font-weight: 500;
}

.footer-top-links a {
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

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

.footer-top-links a.highlight {
  font-weight: 700;
  color: var(--text-main);
}

.link-divider {
  color: #cbd5e1;
  font-size: 0.8rem;
}

/* 회사 정보 */
.footer-info-content {
  width: 100%;
}

.footer-company-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.footer-info-details {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.footer-info-details a {
  color: var(--text-muted);
  text-decoration: underline;
  transition: var(--transition-smooth);
}

.footer-info-details a:hover {
  color: var(--primary-color);
}

.info-divider {
  color: #e2e8f0;
  font-size: 0.85rem;
}

.footer-info-content .copyright {
  margin-top: 20px;
  font-size: 0.85rem;
  color: #94a3b8;
}

/* 4. 회사소개 서브페이지 반응형 */
@media (max-width: 992px) {
  .about-container {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  
  .about-map-area {
    order: 2; /* 태블릿/모바일에서는 지도가 아래로 하강 */
  }
}

@media (max-width: 768px) {
  .sub-banner {
    height: 220px;
  }
  
  .sub-banner h1 {
    font-size: 2rem;
  }
  
  .about-section {
    padding: 60px 0;
  }
  
  .about-container {
    padding: 0 24px;
  }
  
  .company-info-table th {
    width: 100px;
    padding: 14px 10px;
    font-size: 0.9rem;
  }
  
  .company-info-table td {
    padding: 14px 10px;
    font-size: 0.9rem;
  }
  
  .footer-container {
    flex-direction: column;
    gap: 30px;
    padding: 0 24px;
  }
}

/* ==========================================================================
   서비스소개 (services.html) 스타일
   ========================================================================== */

.services-detail-section {
  padding: 120px 0;
  background-color: var(--dark-bg);
}

.services-detail-container {
  max-width: 1600px;
  width: 100%;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  gap: 130px; /* 로우간 넉넉한 공간감 */
}

.service-detail-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* 지그재그(Alternating) 교차 레이아웃 설정 */
.service-detail-row:nth-child(even) .service-detail-image {
  order: 2;
}

.service-detail-row:nth-child(even) .service-detail-text {
  order: 1;
}

/* 이미지 박스 스타일 (마우스 호버 줌인 확대 효과 삭제) */
.service-detail-image {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  display: flex;
}

.detail-img {
  width: 100%;
  height: 100%;
  max-height: 480px;
  object-fit: cover;
}

/* 텍스트 내용 */
.service-detail-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.service-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-color);
  opacity: 0.85;
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}

/* 1. 타이틀 위에 얇고 정갈한 미니멀 그린 라인 배치 */
.service-num::after {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--primary-color);
  margin-top: 8px;
}

.service-detail-text h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.25;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.service-summary {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-main);
  font-weight: 500;
  margin-bottom: 32px;
}

/* 제공 정보 리스트 (불릿 없음, 정갈한 체크 아이콘) */
.service-bullets {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.bullet-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.bullet-item span.material-symbols-outlined {
  color: var(--primary-color);
  font-size: 1.35rem;
  margin-top: 2px;
  flex-shrink: 0;
  font-variation-settings: 'wght' 200, 'opsz' 24;
}

.bullet-desc strong {
  display: block;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
  letter-spacing: -0.3px;
}

.bullet-desc span {
  display: block;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* 5. 서비스소개 서브페이지 반응형 */
@media (max-width: 992px) {
  .services-detail-container {
    gap: 90px;
  }
  
  .service-detail-row {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  
  .service-detail-image {
    order: -1 !important;
  }
  
  .service-detail-text {
    order: 1 !important;
  }
}

@media (max-width: 768px) {
  .services-detail-section {
    padding: 80px 0;
  }
  
  .services-detail-container {
    padding: 0 24px;
  }
  
  .service-detail-text h2 {
    font-size: 1.8rem;
    margin-bottom: 16px;
  }
  
  .service-summary {
    font-size: 1rem;
    margin-bottom: 24px;
  }
}

/* ==========================================================================
   6. 견적문의 서브페이지 스타일 (Quote Page)
   ========================================================================= */

.quote-section {
  padding: 100px 0;
  background-color: #ffffff;
}

.quote-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* 2열 분할 레이아웃 컨테이너 */
.quote-split-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 64px;
  align-items: start;
}

/* 좌측 정보 패널 */
.quote-info-panel {
  display: flex;
  flex-direction: column;
}

.info-intro h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.info-intro p {
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 40px;
  word-break: keep-all;
}

.process-section h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 24px;
  position: relative;
  padding-left: 14px;
  letter-spacing: -0.3px;
}

.process-section h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  bottom: 3px;
  width: 4px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 44px;
}

.step-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.step-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: rgba(15, 94, 54, 0.08);
  color: var(--primary-color);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.step-content h4 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.step-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  word-break: keep-all;
}

/* 유의사항 알림 박스 (Alert Box) */
.quote-info-alert {
  background-color: #f0fdf4;
  border: 1px solid rgba(15, 94, 54, 0.12);
  padding: 24px;
  border-radius: 12px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  box-shadow: 0 4px 12px rgba(15, 94, 54, 0.03);
}

.quote-info-alert .alert-icon {
  color: var(--primary-color);
  font-size: 1.6rem;
  flex-shrink: 0;
  font-variation-settings: 'wght' 300, 'opsz' 24;
}

.alert-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.alert-content .alert-title {
  font-weight: 800;
  color: var(--primary-color);
  font-size: 0.98rem;
  margin-bottom: 2px;
}

.alert-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  word-break: keep-all;
}

.alert-content .alert-sub {
  border-top: 1px solid rgba(15, 94, 54, 0.08);
  padding-top: 10px;
  margin-top: 4px;
  font-size: 0.85rem;
}

.alert-content .alert-sub a {
  color: var(--primary-color);
  font-weight: 700;
  text-decoration: underline;
  transition: var(--transition-smooth);
}

.alert-content .alert-sub a:hover {
  color: var(--primary-light);
}

/* 우측 견적 폼 영역 */
.quote-form-panel {
  width: 100%;
}

.quote-form {
  background: #ffffff;
  padding: 40px;
  border-radius: 16px;
  box-shadow: var(--box-shadow-md);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 4px;
}

.form-label .required {
  color: #ef4444;
  font-weight: 700;
}

.form-label .optional {
  color: #94a3b8;
  font-weight: 400;
  font-size: 0.82rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 0.95rem;
  color: var(--text-main);
  font-family: inherit;
  transition: var(--transition-smooth);
  background-color: #ffffff;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* select 태그의 기본 화살표를 세련되게 커스텀 */
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23475569' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 8.25l-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  padding-right: 40px;
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(15, 94, 54, 0.08);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #94a3b8;
}

/* 동의 약관 영역 */
.form-group-agreement {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.agreement-header {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
}

.agreement-header .required {
  color: #ef4444;
}

.agreement-box {
  height: 110px;
  overflow-y: auto;
  padding: 14px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background-color: var(--light-bg);
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* 약관 스크롤바 커스텀 */
.agreement-box::-webkit-scrollbar {
  width: 6px;
}
.agreement-box::-webkit-scrollbar-track {
  background: transparent;
}
.agreement-box::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}
.agreement-box::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.agreement-checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  font-size: 0.88rem;
  color: var(--text-main);
  margin-top: 4px;
}

.agreement-checkbox-label input[type="checkbox"] {
  display: none;
}

/* 체크박스 커스텀 디자인 */
.checkbox-custom {
  width: 20px;
  height: 20px;
  border: 2px solid #cbd5e1;
  border-radius: 4px;
  display: inline-block;
  position: relative;
  transition: var(--transition-smooth);
  flex-shrink: 0;
}

.agreement-checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.agreement-checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
  content: 'check';
  font-family: 'Material Symbols Outlined';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
}

.agreement-text {
  line-height: 1.4;
}

/* 전송 버튼 */
.form-submit-area {
  margin-top: 8px;
}

.quote-submit-btn {
  width: 100%;
  padding: 16px;
  background-color: var(--primary-color);
  color: #ffffff;
  font-size: 1.08rem;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 12px rgba(15, 94, 54, 0.12);
  display: flex;
  justify-content: center;
  align-items: center;
}

.quote-submit-btn:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(15, 94, 54, 0.2);
}

.quote-submit-btn:active {
  transform: translateY(0);
}

.quote-submit-btn:disabled {
  background-color: #94a3b8;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* 7. 피드백 레이어 및 모달 (Modals) */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.modal-card {
  background-color: #ffffff;
  padding: 40px;
  border-radius: 16px;
  max-width: 440px;
  width: 90%;
  text-align: center;
  box-shadow: var(--box-shadow-md);
  transform: scale(1);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.hidden .modal-card {
  transform: scale(0.9);
}

.modal-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto 20px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-icon span {
  font-size: 2.5rem;
}

.modal-icon.success {
  background-color: rgba(15, 94, 54, 0.1);
  color: var(--primary-color);
}

.modal-icon.error {
  background-color: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.modal-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
  word-break: keep-all;
}

.modal-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 28px;
  word-break: keep-all;
}

.modal-close-btn {
  width: 100%;
  padding: 14px;
  background-color: var(--primary-color);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.modal-close-btn:hover {
  background-color: var(--primary-light);
}

.modal-close-btn.error-btn {
  background-color: #475569;
}

.modal-close-btn.error-btn:hover {
  background-color: #334155;
}

.loading-card {
  background: transparent;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.loading-card .modal-message {
  color: #ffffff;
  font-weight: 500;
  font-size: 1.1rem;
  margin-bottom: 0;
}

.spinner {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(255, 255, 255, 0.25);
  border-top-color: #ffffff;
  border-radius: 50%;
}

/* 모달이 활성화되었을 때만 스피너 회전 애니메이션 작동 (GPU 절약) */
.modal-overlay:not(.hidden) .spinner {
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* 8. 견적문의 서브페이지 반응형 */
@media (max-width: 1024px) {
  .quote-split-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 768px) {
  .quote-section {
    padding: 60px 0;
  }
  
  .quote-container {
    padding: 0 16px;
  }
  
  .info-intro h2 {
    font-size: 1.8rem;
    margin-bottom: 12px;
  }
  
  .info-intro p {
    font-size: 0.95rem;
    margin-bottom: 32px;
  }
  
  .process-section h3 {
    font-size: 1.15rem;
    margin-bottom: 18px;
  }
  
  .process-steps {
    gap: 18px;
    margin-bottom: 32px;
  }
  
  .step-badge {
    width: 24px;
    height: 24px;
    font-size: 0.8rem;
  }
  
  .step-content h4 {
    font-size: 0.95rem;
  }
  
  .step-content p {
    font-size: 0.85rem;
  }
  
  .quote-info-alert {
    padding: 18px;
    gap: 12px;
    border-radius: 10px;
  }
  
  .quote-info-alert .alert-icon {
    font-size: 1.4rem;
  }
  
  .alert-content .alert-title {
    font-size: 0.9rem;
  }
  
  .alert-content p {
    font-size: 0.82rem;
  }
  
  .quote-form {
    padding: 28px 20px;
    gap: 20px;
    border-radius: 12px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .form-input,
  .form-select,
  .form-textarea {
    padding: 11px 13px;
    font-size: 0.9rem;
  }
  
  .agreement-box {
    height: 100px;
    padding: 12px;
    font-size: 0.8rem;
  }
  
  .agreement-checkbox-label {
    font-size: 0.82rem;
  }
  
  .checkbox-custom {
    width: 18px;
    height: 18px;
  }
  
  .agreement-checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
    font-size: 12px;
  }
  
  .quote-submit-btn {
    padding: 15px;
    font-size: 1rem;
  }
}

/* ==========================================================================
   9. 갤러리 서브페이지 스타일 (Gallery Page)
   ========================================================================== */

.gallery-section {
  padding: 100px 0;
  background-color: var(--light-bg);
}

.gallery-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* 카테고리 필터 버튼 탭 */
.filter-tab-container {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 11px 24px;
  border: 1px solid #e2e8f0;
  background-color: #ffffff;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  letter-spacing: -0.3px;
  transition: var(--transition-smooth);
}

.filter-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background-color: #f0fdf4;
}

.filter-btn.active {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: #ffffff;
}

/* 갤러리 카드 보드 그리드 */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* 갤러리 포트폴리오 카드 개별 스타일 */
.gallery-card {
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--box-shadow-sm);
  transition: var(--transition-smooth);
  cursor: pointer;
}

.gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--box-shadow-md);
}

.gallery-card.hidden {
  display: none;
}

/* 이미지 박스 및 호버 오버레이 */
.card-img-box {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  height: auto;
  overflow: hidden;
  background-color: #e2e8f0;
}

.card-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.gallery-card:hover .card-img-box img {
  transform: scale(1.06);
}

.hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 94, 54, 0.72);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-smooth);
  gap: 6px;
}

.gallery-card:hover .hover-overlay {
  opacity: 1;
}

.hover-overlay .search-icon {
  color: #ffffff;
  font-size: 2.5rem;
  font-variation-settings: 'wght' 300, 'opsz' 40;
}

.hover-overlay .overlay-hover-text {
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 500;
}

/* 카드 정보 텍스트 영역 */
.card-text-box {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-color);
  background-color: rgba(15, 94, 54, 0.06);
  padding: 4px 10px;
  border-radius: 4px;
  width: fit-content;
}

.card-text-box h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 2px 0 0 0;
  letter-spacing: -0.3px;
}

.card-text-box p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
  word-break: keep-all;
}

/* ==========================================================================
   10. 라이트박스 팝업 모달 스타일 (Lightbox Modal)
   ========================================================================== */

.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.lightbox-close-btn {
  position: absolute;
  top: 30px;
  right: 30px;
  background: transparent;
  border: none;
  color: #ffffff;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
}

.lightbox-close-btn:hover {
  color: var(--primary-light);
  transform: rotate(90deg);
}

.lightbox-close-btn span {
  font-size: 2.5rem;
}

.lightbox-content {
  max-width: 90%;
  max-height: 85%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 70vh;
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  object-fit: contain;
}

.lightbox-caption {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 500;
  text-align: center;
  max-width: 640px;
  line-height: 1.6;
  margin: 0;
  word-break: keep-all;
}

/* ==========================================================================
   11. 갤러리 서브페이지 반응형 (Responsive)
   ========================================================================== */

@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .gallery-section {
    padding: 60px 0;
  }
  
  .gallery-container {
    padding: 0 16px;
  }
  
  .filter-tab-container {
    gap: 8px;
    margin-bottom: 32px;
  }
  
  .filter-btn {
    padding: 8px 18px;
    font-size: 0.88rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .lightbox-close-btn {
    top: 16px;
    right: 16px;
  }
  
  .lightbox-close-btn span {
    font-size: 2rem;
  }
}

/* ==========================================================================
   12. CONTACT US 서브페이지 스타일 (Contact Page)
   ========================================================================== */

.contact-section {
  padding: 100px 0;
  background-color: #ffffff;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* 2열 레이아웃 그리드 */
.contact-split-layout {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  align-items: start;
}

/* 좌측 소통 채널 */
.contact-channels {
  display: flex;
  flex-direction: column;
}

.contact-sub-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.contact-sub-desc {
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 40px;
  word-break: keep-all;
}

.channel-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.channel-card {
  display: flex;
  gap: 20px;
  background-color: #ffffff;
  padding: 28px;
  border-radius: 12px;
  border: 1px solid #e2e8f0; /* 평소에도 잘 보이도록 명확한 테두리선 부여 */
  box-shadow: var(--box-shadow-sm);
  transition: var(--transition-smooth);
}

.channel-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--box-shadow-md);
}

.channel-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background-color: rgba(15, 94, 54, 0.06);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.channel-icon-box.kakaotalk-icon-box {
  background-color: #FEE500;
  display: flex;
  align-items: center;
  justify-content: center;
}

.channel-icon-box.kakaotalk-icon-box svg {
  display: block;
}

.channel-icon-box span {
  font-size: 1.65rem;
}

.channel-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.channel-info h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 0;
  letter-spacing: -0.3px;
}

.channel-info p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.channel-detail {
  color: var(--text-main);
  font-weight: 500;
}

.channel-detail a {
  color: var(--text-main);
  font-weight: 700;
  text-decoration: underline;
  transition: var(--transition-smooth);
}

.channel-detail a:hover {
  color: var(--primary-color);
}

.channel-subtext {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.channel-link {
  color: var(--primary-color);
  font-weight: 800;
  font-size: 0.9rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition-smooth);
  width: fit-content;
  margin-top: 4px;
}

.channel-link:hover {
  color: var(--primary-light);
}

.channel-link span {
  font-size: 1.1rem;
}

/* 우측 원격 요청 전용 카드 (견적문의 폼 박스 스타일과 완벽 통일) */
.remote-support-card {
  background-color: #ffffff;
  padding: 40px;
  border-radius: 16px;
  box-shadow: var(--box-shadow-md);
}

.remote-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 28px;
}

.remote-main-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgba(15, 94, 54, 0.06);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.remote-title {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 0;
  letter-spacing: -0.6px;
}

.remote-info-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.remote-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid #f1f5f9;
}

.meta-label {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: -0.3px;
}

.meta-value {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.3px;
}

.meta-value.highlight-value {
  color: var(--primary-color);
}

/* 원격 접속 바로가기 버튼 */
.remote-action-btn {
  width: 100%;
  padding: 15px;
  background-color: var(--primary-color);
  color: #ffffff;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 12px rgba(15, 94, 54, 0.12);
  letter-spacing: -0.3px;
}

.remote-action-btn:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(15, 94, 54, 0.2);
}

.remote-action-btn:active {
  transform: translateY(0);
}

.remote-action-btn span.material-symbols-outlined {
  font-size: 1.15rem;
}

/* 접속 안내 리스트 */
.remote-guide-section {
  border-top: 1px solid #f1f5f9;
  padding-top: 24px;
  margin-top: 4px;
}

.remote-guide-section h3 {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 0 0 16px 0;
  letter-spacing: -0.4px;
}

.remote-guide-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.remote-guide-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
}

.remote-guide-list li:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.guide-num {
  font-size: 0.95rem;
  font-weight: 900;
  color: var(--primary-color);
  flex-shrink: 0;
  margin-top: 1px;
}

.remote-guide-list p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.6;
  color: #475569;
  word-break: keep-all;
  letter-spacing: -0.3px;
}

/* ==========================================================================
   13. CONTACT US 서브페이지 반응형 (Responsive)
   ========================================================================== */

@media (max-width: 1024px) {
  .contact-split-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 768px) {
  .contact-section {
    padding: 60px 0;
  }
  
  .contact-container {
    padding: 0 16px;
  }
  
  .contact-sub-title {
    font-size: 1.8rem;
    margin-bottom: 12px;
  }
  
  .contact-sub-desc {
    font-size: 0.95rem;
    margin-bottom: 32px;
  }
  
  .channel-card {
    padding: 20px;
    gap: 16px;
  }
  
  .channel-icon-box {
    width: 44px;
    height: 44px;
  }
  
  .channel-icon-box span {
    font-size: 1.4rem;
  }
  
  .channel-info h3 {
    font-size: 1.05rem;
  }
  
  .channel-info p {
    font-size: 0.88rem;
  }
  
  .remote-support-card {
    padding: 32px 24px;
  }
  
  .remote-main-icon {
    font-size: 2.8rem;
  }
  
  .remote-title {
    font-size: 1.4rem;
  }
  
  .remote-action-btn {
    padding: 14px;
    font-size: 0.95rem;
  }
}

/* ==========================================================================
   회사소개 페이지 (about.html) 전면 재설계 전용 스타일
   ========================================================================== */

/* 섹션 공통 */
.about-section-wrap {
  padding: 80px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.about-section-wrap.bg-light {
  background-color: var(--light-bg);
}

.about-section-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
}

.about-section-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 36px;
  letter-spacing: -0.5px;
  display: inline-block;
}

.about-section-title.center {
  display: block;
  text-align: center;
  margin-bottom: 48px;
}

/* 1. 경영 방침 및 목표 5열 플랫 카드 */
.about-vision-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.about-vision-card {
  background-color: var(--dark-bg);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  padding: 28px 20px;
  box-shadow: var(--box-shadow-sm);
  transition: var(--transition-smooth);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 회사 소개 1열 와이드 레이아웃 */
.about-intro-full-text {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

.about-intro-full-text .lead-vision-text {
  font-size: 1.18rem;
  line-height: 2.0;
  color: var(--text-main);
  font-weight: 700;
  margin-bottom: 28px;
  word-break: keep-all;
}

.about-intro-full-text p {
  font-size: 1.02rem;
  line-height: 1.95;
  color: var(--text-muted);
  text-align: left;
  margin-bottom: 20px;
  word-break: keep-all;
}

.about-intro-full-text p:last-child {
  margin-bottom: 0;
}




.about-vision-card .vision-icon {
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: 16px;
  display: inline-flex;
}

.about-vision-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.about-vision-card p {
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--text-muted);
}


/* 2. 본사 정보 & 지도 그리드 */
.about-location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: flex-start;
}

.about-map-area {
  display: flex;
  flex-direction: column;
  margin-top: 50px; /* 테이블 시작점과 시각적 대칭 통일 */
}

.about-map-area .map-wrapper {
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  overflow: visible !important;
  width: 100%;
}

.about-map-area .sub-map-img {
  width: 100%;
  max-width: 540px; /* 테이블 너비 비율 맞춤 */
  height: auto;
  max-height: 440px; /* 지도가 큼직하고 쾌적하게 보이도록 높이 조절 */
  object-fit: contain;
  border: none !important;
  box-shadow: none !important;
  filter: none !important;
}

/* 연혁 테이블 스타일 튜닝 (시원하고 볼드한 폰트) */
.about-history-section .company-info-table th,
.about-history-section .company-info-table td {
  font-size: 1.05rem; /* 기존 0.95rem -> 1.05rem으로 확대 */
  padding: 22px 20px; /* 여백 쾌적하게 팽창 */
}

.about-history-section .company-info-table th {
  font-weight: 800;
  width: 140px; /* 연도 영역 너비 살짝 조절 */
}






/* 3. 파트너십 3열 그리드 */
.about-partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.partner-flat-card {
  background-color: var(--dark-bg);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  padding: 28px;
  box-shadow: var(--box-shadow-sm);
  transition: var(--transition-smooth);
}

.partner-flat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-md);
  border-color: rgba(15, 94, 54, 0.1);
}

.partner-flat-card h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
}

.partner-flat-card .partner-sub {
  font-size: 0.8rem;
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 20px;
}

.partner-flat-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.partner-flat-item {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-muted);
  position: relative;
  padding-left: 14px;
}

.partner-flat-item::before {
  content: '•';
  color: var(--primary-color);
  position: absolute;
  left: 2px;
  font-weight: bold;
}

.partner-flat-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 16px;
  border-top: 1px dashed rgba(0, 0, 0, 0.05);
}

.partner-flat-tags span {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary-color);
  background-color: rgba(15, 94, 54, 0.04);
  padding: 3px 8px;
  border-radius: 4px;
}

/* 반응형 모바일 지원 */
@media (max-width: 1200px) {
  .about-vision-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .about-location-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .about-map-area {
    margin-top: 0;
  }
  
  .about-partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-vision-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-section-wrap {
    padding: 60px 0;
  }
}

@media (max-width: 768px) {
  .about-partners-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .about-vision-grid {
    grid-template-columns: 1fr;
  }
}






