/* ============================================================
   주식회사 다로(DARO) 공식 홈페이지 — style.css v3.0
   핵심 변경사항:
     ① 헤더: 화이트 배경(#ffffff) + 하단 경계선
     ② 로고: CSS 크롭 심볼 + 두 줄 텍스트 (다크 그린 DARO)
     ③ 메뉴: 다크 그레이 → 민트 그린 호버
     ④ Workspace 버튼: 민트 테두리 라운드 버튼 + Glow 효과
     ⑤ 히어로: 밝은 소프트 민트-그레이 그라데이션
     ⑥ 슬라이드 화살표: SVG + flexbox 완벽 정중앙 정렬
   색상 추출 기준: daro_logo.jpg
     · 다크 그린 심볼: #2c4a3e
     · 미들 그린:      #3a6b56
     · 민트 포인트:    #3ecf8e
     · 연 민트:        #7bbfa0
============================================================ */

/* ─────────────────────────────────────────
   1. CSS 커스텀 프로퍼티 (디자인 토큰)
───────────────────────────────────────── */
:root {
  /* ── 브랜드 컬러 */
  --color-primary:        #2c4a3e;   /* 다크 그린 (로고 심볼 메인) */
  --color-primary-mid:    #3a6b56;   /* 미들 그린 */
  --color-primary-dark:   #1a2e26;   /* 더 진한 그린 */
  --color-primary-deeper: #0f1e18;   /* 가장 어두운 (푸터) */
  --color-accent:         #3ecf8e;   /* 민트 포인트 */
  --color-accent-hover:   #2db87b;   /* 민트 호버 */
  --color-accent-soft:    #7bbfa0;   /* 연한 민트 */
  --color-accent-light:   #eaf4ef;   /* 아주 연한 민트 배경 */
  --color-accent-glow:    rgba(62,207,142,0.35); /* Workspace Glow */

  /* ── 텍스트 & 중립 */
  --color-dark:       #111827;   /* 가장 진한 텍스트 */
  --color-text:       #222222;   /* 기본 본문 / 메뉴 텍스트 색 */
  --color-text-mid:   #444444;
  --color-text-muted: #6b7280;
  --color-gray-50:    #f9fafb;
  --color-gray-100:   #f3f4f6;
  --color-gray-200:   #e5e7eb;
  --color-gray-300:   #d1d5db;
  --color-gray-400:   #9ca3af;
  --color-white:      #ffffff;

  /* ── 헤더 */
  --header-bg:         #ffffff;          /* ★ 화이트 배경 */
  --header-border:     #eeeeee;          /* ★ 하단 경계선 */
  --header-height:     74px;

  /* ── 상태 */
  --color-success: #10b981;
  --color-danger:  #ef4444;

  /* ── 타이포그래피 */
  --font-body:    'Noto Sans KR', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Inter', 'Noto Sans KR', -apple-system, sans-serif;

  /* ── 레이아웃 */
  --container-max: 1240px;
  --section-py:    92px;

  /* ── 모서리 */
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-xl:   28px;
  --radius-full: 9999px;

  /* ── 그림자 */
  --shadow-xs:   0 1px  3px rgba(0,0,0,0.06);
  --shadow-sm:   0 2px  8px rgba(0,0,0,0.08);
  --shadow-md:   0 8px 24px rgba(0,0,0,0.10);
  --shadow-lg:   0 16px 48px rgba(0,0,0,0.14);
  --shadow-card: 0 4px 24px rgba(44,74,62,0.09);

  /* ── 트랜지션 */
  --tx-fast: 140ms ease;
  --tx-base: 260ms ease;
  --tx-slow: 420ms ease;
}


/* ─────────────────────────────────────────
   2. 리셋 & 기본 설정
───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  /* 고정 헤더 높이만큼 앵커 오프셋 보정 */
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-text);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 관리자 모드 진입 시 body 상단에 툴바 높이만큼 여백 추가 */
body.admin-mode { padding-top: 52px; }

/* 스크린 리더 전용 (시각적 숨김) */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }


/* ─────────────────────────────────────────
   3. 레이아웃 유틸리티
───────────────────────────────────────── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 28px;
}

section { padding: var(--section-py) 0; }


/* ─────────────────────────────────────────
   4. 버튼 시스템
───────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.2px;
  transition: all var(--tx-base);
  white-space: nowrap;
  border: 2px solid transparent;
  cursor: pointer;
}

/* 주 버튼: 민트 배경 */
.btn-primary {
  background: var(--color-accent);
  color: #0d2018;
  border-color: var(--color-accent);
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(62,207,142,0.38);
}

/* 고스트 버튼 (히어로에서 사용) */
.btn-ghost {
  background: rgba(255,255,255,0.12);
  color: var(--color-white);
  border-color: rgba(255,255,255,0.55);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover, .btn-ghost:focus-visible {
  background: rgba(255,255,255,0.22);
  border-color: var(--color-white);
  transform: translateY(-2px);
}

/* 작은 버튼 (툴바용) */
.btn-sm { padding: 6px 14px; font-size: 13px; border-radius: var(--radius-sm); border-width: 0; }
.btn-success { background: var(--color-accent); color: #0d2018; font-weight: 700; }
.btn-success:hover { background: var(--color-accent-hover); }
.btn-danger  { background: var(--color-danger); color: var(--color-white); }
.btn-danger:hover { background: #dc2626; }
.btn-outline-light {
  background: transparent; color: rgba(255,255,255,0.80);
  border: 1px solid rgba(255,255,255,0.30);
  padding: 6px 14px; font-size: 13px; border-radius: var(--radius-sm);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.12); color: var(--color-white); }
.btn-full { width: 100%; }
.btn:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; }


/* ─────────────────────────────────────────
   5. ★ 헤더 & 내비게이션 (화이트 배경)
───────────────────────────────────────── */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--header-height);

  /* ★ 화이트 배경 고정 */
  background: var(--header-bg);
  /* ★ 하단 경계선 */
  border-bottom: 1px solid var(--header-border);
  /* 미세한 그림자로 깊이감 */
  box-shadow: 0 1px 6px rgba(0,0,0,0.05);

  transition: box-shadow var(--tx-base), height var(--tx-base);
}

/* 스크롤 시 그림자 강화 (배경은 흰색 유지) */
#site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.10);
  height: 64px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
}


/* ── ★ 로고 조합: 심볼(크롭) + 두 줄 텍스트 ──────────── */
.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
  transition: opacity var(--tx-fast);
}
.logo-link:hover { opacity: 0.82; }

/* 왼쪽: 심볼 이미지 크롭 컨테이너 */
.logo-symbol-wrap {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--color-white); /* 흰 배경에 어울리도록 */
}

/*
  CSS 크롭 핵심 원리:
  · 원본 이미지(320×340px 추정): 상단 ~65%가 심볼, 하단 ~35%가 한글 텍스트
  · object-fit: cover  → 비율 유지하며 컨테이너 채움
  · object-position    → 표시 기준점 조정 (top으로 심볼 상단부 노출)
  · transform: scale() → 심볼을 더 크게 확대해 한글 텍스트가 컨테이너 밖으로 밀려남
*/
.logo-symbol-img {
  width:  100%;
  height: 100%;
  object-fit: cover;
  object-position: center 5%; /* 상단 5% 위치부터 표시 */
  /* scale(1.75)로 확대 + 위로 10% 이동 → 심볼만 컨테이너에 노출 */
  transform: scale(1.75) translateY(-9%);
  transform-origin: top center;
}

/* 오른쪽: 두 줄 텍스트 (flex-direction: column) */
.logo-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1;
}

/* 첫째 줄: 영문 대문자 DARO */
/* 다크 그린 또는 세련된 다크 그레이, 고급 자간 */
.logo-en {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 3.8px;        /* 고급스러운 자간 */
  color: var(--color-primary);   /* 다크 그린 #2c4a3e */
  text-transform: uppercase;
}

/* 둘째 줄: 국문 소형 텍스트 */
.logo-ko {
  display: block;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.4px;
  color: var(--color-accent-soft); /* 연한 민트 그린 톤 */
}


/* ── 내비게이션 (메뉴 리스트 + Workspace 버튼) ── */
#main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* 메뉴 리스트 */
.nav-list {
  display: flex;
  align-items: center;
  gap: 0;
}

/* ★ 메뉴 텍스트: 다크 그레이 (#222) → 민트 그린 호버 */
.nav-list li a {
  display: block;
  padding: 8px 15px;
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 500;
  /* ★ 화이트 배경 위에서 선명하게 보이는 다크 그레이 */
  color: var(--color-text);       /* #222222 */
  border-radius: var(--radius-sm);
  transition: color var(--tx-base), background var(--tx-base);
  position: relative;
  white-space: nowrap;
}

/* 마우스 오버 민트 그린 포인트 언더라인 */
.nav-list li a::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 50%; right: 50%;
  height: 2px;
  background: var(--color-accent);
  border-radius: var(--radius-full);
  transition: left var(--tx-base), right var(--tx-base);
}
.nav-list li a:hover::after,
.nav-list li a.active::after {
  left: 14px;
  right: 14px;
}

/* ★ 호버: 민트 그린으로 부드럽게 변화 */
.nav-list li a:hover {
  color: var(--color-accent);
  background: rgba(62,207,142,0.06);
}
.nav-list li a.active { color: var(--color-accent); }


/* ── ★ Workspace 임직원 전용 버튼 ────────────────── */
/*
  디자인 특징:
  · 은은한 민트 배경 + 민트 테두리 라운드 버튼
  · 다른 메뉴와 확실히 구별되는 독창적 스타일
  · 마우스 오버 시 민트 Glow 효과 (box-shadow)
*/
.workspace-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 14px;
  padding: 7px 18px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.2px;
  white-space: nowrap;

  /* 은은한 민트 배경 + 민트 테두리 */
  background: rgba(62,207,142,0.08);
  border: 1.5px solid rgba(62,207,142,0.55);
  color: var(--color-primary);

  transition: all var(--tx-base);
  text-decoration: none;
}

.workspace-arrow {
  font-size: 12px;
  transition: transform var(--tx-base);
  display: inline-block;
}

/* 마우스 오버: 민트 Glow 효과 */
.workspace-btn:hover {
  background: rgba(62,207,142,0.15);
  border-color: var(--color-accent);
  color: var(--color-primary);
  /* ★ Glow 효과 */
  box-shadow: 0 0 16px var(--color-accent-glow),
              0 0  6px rgba(62,207,142,0.20);
  transform: translateY(-1px);
}
.workspace-btn:hover .workspace-arrow {
  transform: translate(2px, -2px); /* 오른쪽 위로 살짝 이동 */
}


/* ── 모바일 햄버거 버튼 ── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  border-radius: var(--radius-sm);
  transition: background var(--tx-fast);
}
.hamburger:hover { background: var(--color-gray-100); }

.ham-line {
  display: block;
  width: 24px; height: 2px;
  /* ★ 화이트 헤더에서는 어두운 색 선 */
  background: var(--color-text);
  border-radius: 2px;
  transition: transform var(--tx-base), opacity var(--tx-base);
}

.hamburger.open .ham-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open .ham-line:nth-child(2) { opacity: 0; }
.hamburger.open .ham-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ─────────────────────────────────────────
   6. ★ 히어로 섹션 (밝은 소프트 민트-그레이 배경)
───────────────────────────────────────── */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  padding: 0;
  /* 헤더 높이만큼 앵커 위치 보정 */
  margin-top: 0;
}

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

.hero-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 0.85s ease;
  pointer-events: none;
}
.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

/* 슬라이드 배경 */
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  transition: transform 7s ease;
}
.hero-slide.active .hero-bg { transform: scale(1); }

/*
  ★ 밝은 소프트 민트-그레이 그라데이션 배경
  → 너무 어둡지 않고 로고의 그린 톤이 은은하게 섞인 밝은 톤
  → 텍스트는 어두운 색 또는 흰색으로 처리
*/
.hero-bg-1 {
  background:
    linear-gradient(135deg,
      hsl(158, 28%, 22%) 0%,    /* 다크 그린 (로고 색) */
      hsl(158, 35%, 30%) 45%,
      hsl(165, 30%, 26%) 100%
    );
}

.hero-bg-2 {
  background:
    linear-gradient(135deg,
      hsl(162, 32%, 20%) 0%,
      hsl(158, 40%, 28%) 50%,
      hsl(168, 28%, 24%) 100%
    );
}

.hero-bg-3 {
  background:
    linear-gradient(135deg,
      hsl(155, 25%, 18%) 0%,
      hsl(158, 32%, 26%) 40%,
      hsl(162, 38%, 30%) 100%
    );
}

/* 배경 텍스처 오버레이 (미세 격자 패턴) */
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle, rgba(62,207,142,0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

/* 하단 그라디언트 (콘텐츠 가독성 향상) */
.hero-bg-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.08) 0%,
    rgba(0,0,0,0.20) 60%,
    rgba(0,0,0,0.40) 100%
  );
}

/* 히어로 콘텐츠 위치 */
.hero-content {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  /* 헤더 높이 보정으로 정확한 수직 중앙 */
  padding-top: calc(var(--header-height) / 2);
}

/* 텍스트 블록: 왼쪽 정렬 */
.hero-text-block { max-width: 680px; }

/* 서브 레이블 (작은 민트 배지) */
.hero-sub {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-accent);
  background: rgba(62,207,142,0.12);
  border: 1px solid rgba(62,207,142,0.30);
  border-radius: var(--radius-full);
  padding: 5px 16px;
  margin-bottom: 24px;
  opacity: 0; transform: translateY(20px);
}
.hero-slide.active .hero-sub {
  animation: fadeSlideUp 0.6s 0.18s forwards;
}

/* 메인 카피: 크고 선명한 흰색 */
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5.5vw, 72px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -1.5px;
  color: var(--color-white);
  margin-bottom: 20px;
  opacity: 0; transform: translateY(24px);
}
.hero-slide.active .hero-title {
  animation: fadeSlideUp 0.6s 0.35s forwards;
}

/* 강조 민트 컬러 */
.hero-title .accent { color: var(--color-accent); }

/* 설명 텍스트 */
.hero-desc {
  font-size: clamp(15px, 1.6vw, 17.5px);
  font-weight: 300;
  line-height: 1.88;
  color: rgba(255,255,255,0.80);
  margin-bottom: 36px;
  opacity: 0; transform: translateY(18px);
}
.hero-slide.active .hero-desc {
  animation: fadeSlideUp 0.6s 0.52s forwards;
}

/* 버튼 그룹 */
.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  opacity: 0; transform: translateY(14px);
}
.hero-slide.active .hero-btns {
  animation: fadeSlideUp 0.6s 0.68s forwards;
}

/* 슬라이드 인디케이터 도트 */
.slider-dots {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 9px;
  z-index: 10;
}
.dot {
  width: 9px; height: 9px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.35);
  border: 2px solid rgba(255,255,255,0.50);
  transition: all var(--tx-base);
  cursor: pointer;
}
.dot.active { width: 26px; background: var(--color-accent); border-color: var(--color-accent); }
.dot:hover  { background: rgba(255,255,255,0.70); }

/* ─────────────────────────────────────────
   ★ 슬라이드 화살표 버튼 — 완벽 정중앙 정렬
───────────────────────────────────────── */
/*
  핵심 원칙:
  · display: flex + justify-content: center + align-items: center
    → 컨테이너 내에서 SVG 아이콘이 정확히 수평·수직 중앙에 위치
  · SVG 방식 사용 → 텍스트 문자('<', '>') 대비 렌더링 일관성 보장
  · 버튼 자체는 완벽한 정사각형(width = height)
*/
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;

  /* ★ 정확한 정사각형 원형 버튼 */
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);

  /* ★ flexbox 완벽 정중앙 정렬 */
  display: flex;
  justify-content: center;
  align-items: center;

  /* 배경 & 테두리 */
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.32);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  /* 색상 & 전환 */
  color: var(--color-white);
  cursor: pointer;
  transition: all var(--tx-base);

  /* 내부 패딩 없음 (flexbox가 중앙 정렬 담당) */
  padding: 0;
}

/* SVG 아이콘 크기 (부모 버튼 안에서 중앙 정렬됨) */
.slider-arrow svg {
  width: 20px;
  height: 20px;
  /* SVG는 기본 inline 특성이 있으므로 block으로 정규화 */
  display: block;
  flex-shrink: 0;
}

/* 화살표 호버 효과 */
.slider-arrow:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #0d2018;
  box-shadow: 0 0 20px rgba(62,207,142,0.40);
  transform: translateY(-50%) scale(1.08);
}

.arrow-prev { left: 28px; }
.arrow-next { right: 28px; }


/* ─────────────────────────────────────────
   7. 섹션 헤더 공통
───────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 60px; }

.section-label {
  font-size: 11px; font-weight: 700;
  letter-spacing: 4px; text-transform: uppercase;
  color: var(--color-accent); margin-bottom: 10px;
  display: block;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 700; color: var(--color-primary);
  letter-spacing: -0.5px; line-height: 1.22;
  margin-bottom: 14px;
}

.section-desc {
  font-size: 15.5px; color: var(--color-text-muted);
  max-width: 540px; margin: 0 auto; line-height: 1.82;
}

/* 다크 배경 섹션용 변형 */
.section-header.light .section-title { color: var(--color-white); }
.section-header.light .section-desc  { color: rgba(255,255,255,0.60); }


/* ─────────────────────────────────────────
   8. 핵심 사업 카드 섹션
───────────────────────────────────────── */
.business-section { background: var(--color-gray-50); }

.biz-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.biz-card {
  position: relative;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-gray-100);
  transition: transform var(--tx-base), box-shadow var(--tx-base), border-color var(--tx-base);
  overflow: hidden;
}

/* 카드 상단 포인트 라인 (호버 시 등장) */
.biz-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--tx-slow);
}
.biz-card:hover::before { transform: scaleX(1); }
.biz-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

/* 주력 카드 */
.biz-card.featured {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: transparent;
}
.biz-card.featured::before { transform: scaleX(1); }
.biz-card.featured:hover {
  background: #243e32;
  transform: translateY(-6px);
}

.biz-card-badge {
  display: inline-block;
  background: var(--color-accent); color: #0d2018;
  font-size: 10.5px; font-weight: 700; letter-spacing: 1px;
  padding: 4px 12px; border-radius: var(--radius-full);
  text-transform: uppercase; margin-bottom: 12px;
}

.biz-card-icon-wrap { width: 68px; height: 68px; margin-bottom: 20px; }
.biz-card-icon-wrap svg { width: 68px; height: 68px; }

.biz-card-title {
  font-family: var(--font-heading);
  font-size: 19.5px; font-weight: 700;
  color: var(--color-primary); margin-bottom: 10px; line-height: 1.3;
}
.biz-card.featured .biz-card-title { color: var(--color-white); }

.biz-card-desc {
  font-size: 13.5px; line-height: 1.84;
  color: var(--color-text-muted); margin-bottom: 18px;
}
.biz-card.featured .biz-card-desc { color: rgba(255,255,255,0.72); }

.biz-card-list { margin-bottom: 22px; }
.biz-card-list li {
  font-size: 13.5px; padding: 4px 0;
  color: var(--color-text-mid);
  display: flex; align-items: center; gap: 8px;
}
.biz-card-list li::before {
  content: '';
  display: block; width: 5px; height: 5px;
  border-radius: 50%; background: var(--color-accent); flex-shrink: 0;
}
.biz-card.featured .biz-card-list li { color: rgba(255,255,255,0.82); }

.biz-card-link {
  font-size: 13.5px; font-weight: 600;
  color: var(--color-primary);
  transition: color var(--tx-fast), gap var(--tx-fast);
}
.biz-card-link:hover { color: var(--color-accent); }
.biz-card.featured .biz-card-link { color: var(--color-accent); }


/* ─────────────────────────────────────────
   9. 실적 통계 띠
───────────────────────────────────────── */
.stats-section {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-mid) 100%);
  padding: 64px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-item {
  text-align: center; padding: 26px 18px;
  border-right: 1px solid rgba(255,255,255,0.12);
}
.stat-item:last-child { border-right: none; }

.stat-row {
  display: flex; align-items: baseline;
  justify-content: center; gap: 2px; margin-bottom: 8px;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 900; color: var(--color-accent);
  line-height: 1; letter-spacing: -1px;
}
.stat-unit {
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 700; color: rgba(255,255,255,0.65);
}
.stat-label {
  font-size: 13px; color: rgba(255,255,255,0.70);
  letter-spacing: 0.4px;
}


/* ─────────────────────────────────────────
   10. 제품 소개 섹션
───────────────────────────────────────── */
.products-section { background: var(--color-white); }

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.product-card {
  background: var(--color-gray-50);
  border-radius: var(--radius-md);
  padding: 28px 16px; text-align: center;
  border: 1px solid var(--color-gray-100);
  transition: all var(--tx-base);
}
.product-card:hover {
  background: var(--color-white); box-shadow: var(--shadow-md);
  transform: translateY(-4px); border-color: var(--color-accent-light);
}

.product-icon-wrap { width: 80px; height: 60px; margin: 0 auto 16px; }
.product-icon-wrap svg { width: 80px; height: 60px; transition: transform var(--tx-base); }
.product-card:hover .product-icon-wrap svg { transform: scale(1.07); }

.product-name {
  font-size: 15px; font-weight: 700; color: var(--color-primary); margin-bottom: 5px;
}
.product-desc { font-size: 12.5px; color: var(--color-text-muted); line-height: 1.6; }


/* ─────────────────────────────────────────
   11. 공사현황 섹션
───────────────────────────────────────── */
.projects-section { background: var(--color-primary-deeper); }

.projects-list { display: flex; flex-direction: column; }

.project-item {
  display: flex; align-items: flex-start; gap: 30px;
  padding: 26px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: all var(--tx-fast);
}
.project-item:first-child { padding-top: 0; }
.project-item:last-child  { border-bottom: none; }

.project-date {
  min-width: 72px;
  font-family: var(--font-heading);
  font-size: 12px; font-weight: 600;
  color: var(--color-accent); letter-spacing: 0.8px; padding-top: 3px;
}

.project-title {
  font-size: 16px; font-weight: 600;
  color: var(--color-white); margin-bottom: 4px;
  transition: color var(--tx-fast);
}
.project-item:hover .project-title { color: var(--color-accent); }

.project-detail {
  font-size: 13px; color: rgba(255,255,255,0.48);
  margin-bottom: 8px; line-height: 1.7;
}

.project-tag {
  display: inline-block;
  font-size: 10.5px; font-weight: 700; letter-spacing: 1px;
  color: var(--color-accent);
  background: rgba(62,207,142,0.10);
  border: 1px solid rgba(62,207,142,0.22);
  padding: 3px 10px; border-radius: var(--radius-full);
  text-transform: uppercase;
}


/* ─────────────────────────────────────────
   12. 고객지원 섹션
───────────────────────────────────────── */
.support-section { background: var(--color-gray-50); }

.support-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px; align-items: start;
}

.support-info { display: flex; flex-direction: column; gap: 24px; }
.contact-item { display: flex; align-items: flex-start; gap: 15px; }

.contact-icon {
  width: 40px; height: 40px;
  background: var(--color-accent-light);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; padding: 9px;
}
.contact-icon svg { width: 22px; height: 22px; }

.contact-text { display: flex; flex-direction: column; gap: 3px; }
.contact-label {
  font-size: 11px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  color: var(--color-text-muted);
}
.contact-value {
  font-size: 14px; font-weight: 500;
  color: var(--color-text); line-height: 1.6;
  transition: color var(--tx-fast);
}
a.contact-value:hover { color: var(--color-primary); }

/* 문의 폼 */
.contact-form {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 38px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-gray-100);
}

.form-group { margin-bottom: 16px; }
.form-group label {
  display: block; font-size: 13.5px; font-weight: 600;
  color: var(--color-text-mid); margin-bottom: 6px;
}
.form-group label span { color: var(--color-accent); }

.form-group input,
.form-group textarea {
  width: 100%; padding: 10px 14px;
  border: 1.5px solid var(--color-gray-200);
  border-radius: var(--radius-sm);
  font-size: 13.5px; color: var(--color-text);
  background: var(--color-gray-50);
  transition: border-color var(--tx-fast), box-shadow var(--tx-fast), background var(--tx-fast);
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--color-gray-400); }
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-accent);
  background: var(--color-white);
  box-shadow: 0 0 0 3px rgba(62,207,142,0.12);
}
.form-group textarea { resize: vertical; }

.form-notice { font-size: 13px; margin-top: 9px; min-height: 18px; text-align: center; }
.form-notice.success { color: var(--color-success); }
.form-notice.error   { color: var(--color-danger); }


/* ─────────────────────────────────────────
   13. 푸터
───────────────────────────────────────── */
#site-footer {
  background: var(--color-primary-deeper);
  color: rgba(255,255,255,0.68);
}

.footer-top {
  padding: 62px 0 46px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 42px;
}

/* 푸터 로고 */
.footer-logo-link {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 16px; text-decoration: none;
}
.footer-symbol-wrap {
  width: 32px; height: 32px;
  border-radius: 6px; overflow: hidden; flex-shrink: 0;
  background: var(--color-white);
}
.footer-symbol-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 5%;
  transform: scale(1.75) translateY(-9%);
  transform-origin: top center;
}
.footer-logo-text { display: flex; flex-direction: column; gap: 1px; }
.footer-logo-en {
  font-family: 'Inter', sans-serif;
  font-size: 15px; font-weight: 800;
  letter-spacing: 3px; color: var(--color-white); line-height: 1;
}
.footer-logo-ko {
  font-size: 9.5px; color: var(--color-accent-soft); letter-spacing: 0.4px; line-height: 1;
}

.footer-tagline { font-size: 13px; color: rgba(255,255,255,0.52); line-height: 1.7; margin-bottom: 8px; }
.footer-corp    { font-size: 11px; color: rgba(255,255,255,0.30); line-height: 1.8; }

.footer-col-title {
  font-size: 11.5px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--color-white); margin-bottom: 16px;
}

.footer-nav { display: flex; flex-direction: column; gap: 8px; }
.footer-nav li a {
  font-size: 13px; color: rgba(255,255,255,0.55);
  transition: color var(--tx-fast);
}
.footer-nav li a:hover { color: var(--color-accent); }

.footer-address { font-style: normal; display: flex; flex-direction: column; gap: 8px; }
.footer-address p,
.footer-address a { font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.7; transition: color var(--tx-fast); }
.footer-address a:hover { color: var(--color-accent); }

.footer-bottom { padding: 16px 0; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; }
.copyright { font-size: 12px; color: rgba(255,255,255,0.28); }

/* ★ 숨겨진 관리자 아이콘 (거의 투명) */
.admin-trigger-btn {
  font-size: 13px;
  color: rgba(255,255,255,0.05);
  background: none; border: none; cursor: pointer;
  padding: 4px 8px; border-radius: var(--radius-sm);
  transition: color var(--tx-base);
  user-select: none;
}
.admin-trigger-btn:hover { color: rgba(255,255,255,0.20); }


/* ─────────────────────────────────────────
   14. 관리자 인증 모달
───────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.modal-overlay[hidden] { display: none; }

.modal-box {
  position: relative;
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  max-width: 420px; width: 100%;
  box-shadow: 0 24px 80px rgba(0,0,0,0.18);
  animation: modalPop 0.28s ease forwards;
  text-align: center;
}
.modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 30px; height: 30px; border-radius: var(--radius-full);
  background: var(--color-gray-100); color: var(--color-text-muted);
  font-size: 18px; display: flex; align-items: center; justify-content: center;
  transition: background var(--tx-fast);
}
.modal-close:hover { background: var(--color-gray-200); }

.modal-icon  { font-size: 44px; margin-bottom: 12px; display: block; }
.modal-title { font-size: 20px; font-weight: 700; color: var(--color-primary); margin-bottom: 6px; }
.modal-desc  { font-size: 13.5px; color: var(--color-text-muted); margin-bottom: 20px; line-height: 1.6; }

.admin-error { font-size: 13px; color: var(--color-danger); margin-top: 6px; min-height: 18px; text-align: left; }


/* ─────────────────────────────────────────
   15. 관리자 편집 툴바
───────────────────────────────────────── */
.admin-toolbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 9998;
  background: linear-gradient(90deg, var(--color-primary-dark), #1e3828);
  border-bottom: 2px solid var(--color-accent);
  height: 52px;
}
.admin-toolbar[hidden] { display: none; }

.admin-toolbar-inner {
  height: 100%;
  display: flex; align-items: center; gap: 16px;
}
.admin-toolbar-badge { font-size: 13px; font-weight: 700; color: var(--color-accent); white-space: nowrap; }
.admin-toolbar-hint  { font-size: 12px; color: rgba(255,255,255,0.42); flex: 1; }
.admin-toolbar-actions { display: flex; align-items: center; gap: 8px; }

/* 편집 가능 영역 하이라이트 */
[contenteditable="true"] {
  outline: none; border-radius: 4px;
  background: rgba(62,207,142,0.08) !important;
  box-shadow: inset 0 0 0 2px var(--color-accent);
  cursor: text; min-width: 20px; min-height: 1em;
}
[contenteditable="true"]:focus {
  background: rgba(62,207,142,0.14) !important;
  box-shadow: inset 0 0 0 2px var(--color-accent), 0 0 0 4px rgba(62,207,142,0.12);
}


/* ─────────────────────────────────────────
   16. 애니메이션 키프레임
───────────────────────────────────────── */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0);    }
}

@keyframes modalPop {
  from { opacity: 0; transform: scale(0.93) translateY(-8px); }
  to   { opacity: 1; transform: scale(1)    translateY(0);    }
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%       { transform: translateX(-8px); }
  40%       { transform: translateX( 8px); }
  60%       { transform: translateX(-5px); }
  80%       { transform: translateX( 5px); }
}
.shake { animation: shake 0.38s ease; }

/* 스크롤 진입 애니메이션 */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.62s ease, transform 0.62s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }


/* ─────────────────────────────────────────
   17. 반응형 미디어 쿼리
───────────────────────────────────────── */

/* 태블릿 (≤ 1100px) */
@media (max-width: 1100px) {
  /* 메뉴 간격 축소 */
  .nav-list li a { padding: 8px 11px; font-size: 13.5px; }
  .workspace-btn { margin-left: 10px; padding: 6px 14px; font-size: 12.5px; }
}

/* 태블릿 (≤ 1024px) */
@media (max-width: 1024px) {
  :root { --section-py: 72px; }
  .biz-grid      { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid   { grid-template-columns: 1fr 1fr; gap: 30px; }
  .stats-grid    { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-right: 1px solid rgba(255,255,255,0.12); border-top: 1px solid rgba(255,255,255,0.08); }
  .stat-item:nth-child(4) { border-right: none; border-top: 1px solid rgba(255,255,255,0.08); }
}

/* 태블릿 세로 (≤ 768px) */
@media (max-width: 768px) {
  :root { --header-height: 60px; --section-py: 56px; }

  /* 햄버거 표시 */
  .hamburger { display: flex; }

  /* 드롭다운 모바일 메뉴 */
  #main-nav {
    position: fixed;
    top: var(--header-height); left: 0; right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--color-gray-100);
    padding: 12px 0 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    transform: translateY(-108%); opacity: 0;
    transition: transform var(--tx-slow), opacity var(--tx-slow);
    pointer-events: none; z-index: 800;
    box-shadow: 0 8px 24px rgba(0,0,0,0.10);
  }
  #main-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }

  .nav-list { flex-direction: column; gap: 0; }
  .nav-list li { width: 100%; }
  .nav-list li a {
    padding: 13px 24px; font-size: 15px;
    border-bottom: 1px solid var(--color-gray-100);
    border-radius: 0;
  }
  .nav-list li:last-child a { border-bottom: none; }
  .nav-list li a::after { display: none; }

  /* Workspace 모바일 */
  .workspace-btn {
    margin: 10px 24px 0;
    justify-content: center;
    border-radius: var(--radius-md);
  }

  /* 히어로 */
  .hero-text-block { text-align: center; }
  .hero-btns       { justify-content: center; }
  .hero-sub        { margin-left: auto; margin-right: auto; }
  .arrow-prev { left: 10px; }
  .arrow-next { right: 10px; }
  .slider-arrow { width: 42px; height: 42px; }
  .slider-arrow svg { width: 17px; height: 17px; }

  /* 카드 1열 */
  .biz-grid { grid-template-columns: 1fr; }

  /* 지원 1열 */
  .support-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-form { padding: 24px 16px; }

  /* 푸터 */
  .footer-grid  { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-about { grid-column: 1 / -1; }
  .footer-top   { padding: 44px 0 30px; }

  .admin-toolbar-hint { display: none; }
}

/* 모바일 (≤ 480px) */
@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stats-grid    { grid-template-columns: 1fr 1fr; }
  .footer-grid   { grid-template-columns: 1fr; }
  .hero-btns     { flex-direction: column; align-items: center; }
  .hero-btns .btn { width: 200px; }
  .modal-box     { padding: 32px 20px; }
  .project-item  { flex-direction: column; gap: 8px; }
  .logo-en { font-size: 16px; letter-spacing: 3px; }
}
