/* ===================================================
   HUMEN - 파묘 서비스 메인 스타일시트
   =================================================== */

/* --- 기본 리셋 및 변수 --- */
:root {
  --color-primary: #2c3e50;
  --color-secondary: #8b7355;
  --color-gold: #c9a84c;
  --color-gold-light: #e8d5a3;
  --color-green: #27ae60;
  --color-green-light: #2ecc71;
  --color-dark: #1a1a2e;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-bg: #ffffff;
  --color-bg-gray: #f8f9fa;
  --color-bg-dark: #1a1a2e;
  --font-primary: 'Noto Sans KR', 'Noto Sans', sans-serif;
  --font-heading: 'Raleway', 'Noto Sans KR', sans-serif;
  --transition: all 0.3s ease;
  --shadow: 0 4px 20px rgba(0,0,0,0.1);
  --shadow-hover: 0 8px 30px rgba(0,0,0,0.15);
  --border-radius: 8px;
  --max-width: 1200px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

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

ul, ol {
  list-style: none;
}

/* --- 공통 유틸리티 --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-sm {
  padding: 50px 0;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
  line-height: 1.3;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--color-text-light);
  margin-bottom: 48px;
  font-weight: 400;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header .divider {
  width: 60px;
  height: 3px;
  background: var(--color-gold);
  margin: 16px auto 20px;
  border-radius: 2px;
}

.text-center { text-align: center; }
.text-gold { color: var(--color-gold); }
.text-green { color: var(--color-green); }
.text-white { color: #fff; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  font-family: var(--font-primary);
}

.btn-primary {
  background: var(--color-gold);
  color: #fff;
  border-color: var(--color-gold);
}

.btn-primary:hover {
  background: #b8943e;
  border-color: #b8943e;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 168, 76, 0.4);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.7);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
}

.btn-dark {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.btn-dark:hover {
  background: #1a2a3a;
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge-gold {
  background: rgba(201, 168, 76, 0.15);
  color: var(--color-gold);
  border: 1px solid rgba(201, 168, 76, 0.3);
}

.badge-green {
  background: rgba(39, 174, 96, 0.15);
  color: var(--color-green);
  border: 1px solid rgba(39, 174, 96, 0.3);
}

/* --- 헤더 & 네비게이션 --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1001;
}

.logo img {
  height: 50px;
  width: auto;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}

/* 모바일 기본: nav 숨김 (jQuery가 제어) */
.main-nav {
  /* 모바일 기본 숨김 상태 - jQuery .show()/.hide() 사용 */
  display: none;
  flex-direction: column;
  align-items: stretch;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255,255,255,0.98);
  padding: 20px;
  gap: 4px;
  overflow-y: auto;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

/* 데스크톱: nav 표시, 햄버거 숨김 */
@media (min-width: 769px) {
  .main-nav {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    position: static;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    background: transparent;
    padding: 0;
    gap: 4px;
    overflow-y: visible;
    z-index: auto;
    box-shadow: none;
  }

  .menu-toggle {
    display: none !important;
  }
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
  border-radius: 6px;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-gold);
  background: rgba(201, 168, 76, 0.08);
}

.nav-link .arrow {
  font-size: 0.7rem;
  transition: transform 0.2s;
}

.nav-item:hover .arrow {
  transform: rotate(180deg);
}

/* 드롭다운 메뉴 */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 200px;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  border: 1px solid rgba(0,0,0,0.06);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: var(--transition);
  z-index: 100;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 10px 16px;
  font-size: 0.875rem;
  color: var(--color-text);
  border-radius: 4px;
  transition: var(--transition);
}

.dropdown-item:hover {
  background: rgba(201, 168, 76, 0.08);
  color: var(--color-gold);
  padding-left: 20px;
}

.dropdown-item:first-child {
  margin-top: 4px;
}

.dropdown-item:last-child {
  margin-bottom: 4px;
}

/* 모바일 메뉴 토글 - 기본 표시 */
.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: none;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- 히어로 섹션 --- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-dark);
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  background-size: cover;
  background-position: center;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 26, 46, 0.75) 0%,
    rgba(26, 26, 46, 0.4) 60%,
    rgba(26, 26, 46, 0.2) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(201, 168, 76, 0.2);
  border: 1px solid rgba(201, 168, 76, 0.5);
  border-radius: 20px;
  color: var(--color-gold-light);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-title .highlight {
  color: var(--color-gold);
}

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
  line-height: 1.8;
}

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

/* 슬라이더 인디케이터 */
.slider-indicators {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: 8px;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.slider-dot.active {
  background: var(--color-gold);
  width: 28px;
  border-radius: 4px;
}

/* --- 서비스 카드 섹션 --- */
.services-section {
  background: var(--color-bg-gray);
}

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

.service-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

.service-card-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-card-image img {
  transform: scale(1.05);
}

.service-card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
}

.service-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.service-card-icon.gold {
  background: rgba(201, 168, 76, 0.12);
}

.service-card-icon.green {
  background: rgba(39, 174, 96, 0.12);
}

.service-card-icon.blue {
  background: rgba(44, 62, 80, 0.12);
}

.service-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.service-card-desc {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 20px;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-gold);
  transition: var(--transition);
}

.service-card-link:hover {
  gap: 10px;
}

/* --- 특징 섹션 --- */
.features-section {
  background: var(--color-bg);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  align-items: center;
}

.features-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

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

.features-content .section-title {
  text-align: left;
}

.feature-list {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.feature-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(201, 168, 76, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.feature-text h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.feature-text p {
  font-size: 0.875rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* --- 기술 섹션 --- */
.tech-section {
  background: var(--color-bg-dark);
  color: #fff;
}

.tech-section .section-title {
  color: #fff;
}

.tech-section .section-subtitle {
  color: rgba(255,255,255,0.65);
}

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

.tech-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
  transition: var(--transition);
}

.tech-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(201, 168, 76, 0.4);
  transform: translateY(-4px);
}

.tech-card-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: block;
}

.tech-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-gold);
  margin-bottom: 10px;
}

.tech-card-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
}

/* --- 제품 섹션 --- */
.products-section {
  background: var(--color-bg-gray);
}

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

.product-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.product-card-image {
  height: 200px;
  overflow: hidden;
  background: var(--color-bg-gray);
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-card-image img {
  transform: scale(1.05);
}

.product-card-body {
  padding: 20px;
}

.product-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.product-card-desc {
  font-size: 0.875rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* --- 실적 섹션 --- */
.stats-section {
  background: linear-gradient(135deg, var(--color-primary) 0%, #1a2a3a 100%);
  color: #fff;
  padding: 64px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item {
  padding: 24px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--color-gold);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  font-weight: 500;
}

/* --- 뉴스/보도자료 섹션 --- */
.news-section {
  background: var(--color-bg);
}

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

.news-card {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.08);
  transition: var(--transition);
}

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

.news-card-image {
  height: 180px;
  overflow: hidden;
  background: var(--color-bg-gray);
}

.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card-body {
  padding: 20px;
}

.news-card-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.news-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.5;
  margin-bottom: 8px;
}

.news-card-date {
  font-size: 0.8rem;
  color: var(--color-text-light);
}

/* --- CTA 섹션 --- */
.cta-section {
  background: linear-gradient(135deg, #c9a84c 0%, #8b7355 100%);
  padding: 80px 0;
  text-align: center;
  color: #fff;
}

.cta-section .section-title {
  color: #fff;
  font-size: 2.4rem;
}

.cta-section p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 36px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- 문의 섹션 --- */
.contact-section {
  background: var(--color-bg-gray);
}

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

.contact-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.contact-info p {
  color: var(--color-text-light);
  margin-bottom: 32px;
  line-height: 1.8;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(201, 168, 76, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item-text h5 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 2px;
}

.contact-item-text p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin: 0;
}

/* 문의 폼 */
.contact-form {
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.form-label .required {
  color: #e74c3c;
  margin-left: 2px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid rgba(0,0,0,0.12);
  border-radius: var(--border-radius);
  font-size: 0.9rem;
  font-family: var(--font-primary);
  color: var(--color-text);
  background: var(--color-bg);
  transition: var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-radio-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.form-radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1.5px solid rgba(0,0,0,0.1);
  border-radius: var(--border-radius);
  cursor: pointer;
  font-size: 0.85rem;
  transition: var(--transition);
}

.form-radio-label:hover {
  border-color: var(--color-gold);
  background: rgba(201, 168, 76, 0.05);
}

.form-radio-label input[type="radio"] {
  accent-color: var(--color-gold);
}

.form-radio-label input[type="radio"]:checked + span {
  color: var(--color-gold);
  font-weight: 600;
}

.form-submit {
  width: 100%;
  padding: 16px;
  font-size: 1rem;
  font-weight: 700;
}

/* --- 푸터 --- */
.site-footer {
  background: var(--color-dark);
  color: rgba(255,255,255,0.75);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .logo img {
  height: 44px;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}

.social-link:hover {
  background: var(--color-gold);
  color: #fff;
}

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}

.footer-link:hover {
  color: var(--color-gold);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
}

/* --- 페이지 헤더 (서브 페이지) --- */
.page-header {
  padding: 120px 0 60px;
  background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-primary) 100%);
  color: #fff;
  text-align: center;
}

.page-header-badge {
  margin-bottom: 16px;
}

.page-header h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 16px;
  color: #fff;
}

.page-header p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  margin: 0 auto;
}

/* --- 브레드크럼 --- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  justify-content: center;
  margin-top: 20px;
}

.breadcrumb a {
  color: rgba(255,255,255,0.6);
}

.breadcrumb a:hover {
  color: var(--color-gold);
}

.breadcrumb .sep {
  font-size: 0.7rem;
}

/* --- 서비스 상세 페이지 --- */
.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.service-detail-grid.reverse {
  direction: rtl;
}

.service-detail-grid.reverse > * {
  direction: ltr;
}

.service-detail-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.service-detail-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.service-detail-content .section-title {
  text-align: left;
  font-size: 1.8rem;
}

.service-detail-content p {
  color: var(--color-text-light);
  line-height: 1.9;
  margin-bottom: 16px;
}

.service-features {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  background: var(--color-bg-gray);
  border-radius: var(--border-radius);
  border-left: 3px solid var(--color-gold);
}

.service-feature-item .check {
  color: var(--color-gold);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.service-feature-item p {
  margin: 0;
  font-size: 0.9rem;
}

/* --- 프로세스 섹션 --- */
.process-section {
  background: var(--color-bg-gray);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(to right, var(--color-gold), var(--color-green));
  z-index: 0;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.process-step-number {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-gold);
  margin: 0 auto 20px;
  box-shadow: 0 4px 15px rgba(201, 168, 76, 0.2);
}

.process-step-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.process-step-desc {
  font-size: 0.85rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* --- 스크롤 탑 버튼 --- */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-gold);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 15px rgba(201, 168, 76, 0.4);
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  z-index: 999;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: #b8943e;
  transform: translateY(-3px);
}

/* --- 반응형 --- */
@media (max-width: 1024px) {
  .services-grid,
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

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

  .process-steps::before {
    display: none;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 1.8rem;
  }

  /* 모바일 nav-link 스타일 */
  .nav-link {
    padding: 14px 16px;
    font-size: 1rem;
  }

  /* 모바일 드롭다운 */
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: var(--color-bg-gray);
    border-radius: var(--border-radius);
    margin-top: 4px;
    display: none;
  }

  .nav-item.open .dropdown-menu {
    display: block;
  }

  .services-grid,
  .products-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .features-grid,
  .service-detail-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .service-detail-grid.reverse {
    direction: ltr;
  }

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

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

  .stat-number {
    font-size: 2rem;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .form-radio-group {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 24px;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

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

  .hero-title {
    font-size: 1.8rem;
  }
}

/* --- 애니메이션 --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeInUp 0.6s ease forwards;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }

/* --- 탭 컴포넌트 --- */
.tabs {
  margin-bottom: 40px;
}

.tab-nav {
  display: flex;
  gap: 4px;
  border-bottom: 2px solid rgba(0,0,0,0.08);
  margin-bottom: 32px;
  overflow-x: auto;
}

.tab-btn {
  padding: 12px 24px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-light);
  background: none;
  border: none;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: var(--transition);
  white-space: nowrap;
  font-family: var(--font-primary);
}

.tab-btn:hover {
  color: var(--color-gold);
}

.tab-btn.active {
  color: var(--color-gold);
  border-bottom-color: var(--color-gold);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* --- 아코디언 --- */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.accordion-item {
  border: 1.5px solid rgba(0,0,0,0.08);
  border-radius: var(--border-radius);
  overflow: hidden;
}

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  cursor: pointer;
  background: #fff;
  transition: var(--transition);
  font-weight: 600;
  color: var(--color-primary);
}

.accordion-header:hover {
  background: rgba(201, 168, 76, 0.05);
}

.accordion-header.active {
  background: rgba(201, 168, 76, 0.08);
  color: var(--color-gold);
}

.accordion-icon {
  font-size: 1.2rem;
  transition: transform 0.3s;
  flex-shrink: 0;
}

.accordion-header.active .accordion-icon {
  transform: rotate(45deg);
}

.accordion-body {
  display: none;
  padding: 16px 20px;
  background: var(--color-bg-gray);
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.8;
}

.accordion-body.open {
  display: block;
}

/* --- 이미지 갤러리 --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-item {
  border-radius: var(--border-radius);
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item::after {
  content: '🔍';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover::after {
  opacity: 1;
}

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