/* ============================================================
   style.css - 토탈지원 홈페이지 메인 스타일
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;600;700&display=swap');

/* ── CSS 변수 ── */
:root {
  --primary: #0F2B5B;
  --primary-dark: #091D3E;
  --secondary: #2563EB;
  --secondary-light: #3B82F6;
  --accent: #F59E0B;
  --accent-light: #FCD34D;
  --bg: #F0F4F8;
  --bg-white: #FFFFFF;
  --text: #1F2937;
  --text-light: #6B7280;
  --text-muted: #9CA3AF;
  --border: #E5E7EB;
  --card-shadow: 0 2px 12px rgba(0,0,0,.08);
  --card-shadow-hover: 0 8px 30px rgba(0,0,0,.15);
  --radius: 10px;
  --radius-lg: 16px;
  --max-width: 1200px;
  --header-height: 70px;
  --transition: .3s ease;
}

/* ── 리셋 ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Noto Sans KR', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  word-break: keep-all;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; font-family: inherit; }
ul, ol { list-style: none; }

/* ── 공통 유틸 ── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }

.section-header { text-align: center; margin-bottom: 3rem; }
.section-label {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--secondary);
  text-transform: uppercase;
  background: #EFF6FF;
  padding: .3rem .85rem;
  border-radius: 999px;
  margin-bottom: .75rem;
}
.section-title {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: .75rem;
}
.section-desc {
  font-size: .95rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

.bg-white { background: var(--bg-white); }
.bg-gray { background: var(--bg); }
.bg-primary { background: var(--primary); }

/* ── 버튼 ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .7rem 1.5rem;
  border-radius: 8px;
  font-size: .92rem;
  font-weight: 600;
  transition: all var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary { background: var(--secondary); color: #fff; border-color: var(--secondary); }
.btn-primary:hover { background: #1D4ED8; border-color: #1D4ED8; transform: translateY(-1px); box-shadow: 0 4px 15px rgba(37,99,235,0.35); }

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

.btn-accent { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-accent:hover { background: #D97706; border-color: #D97706; transform: translateY(-1px); }

.btn-lg { padding: .9rem 2rem; font-size: 1rem; }
.btn-sm { padding: .45rem 1rem; font-size: .82rem; }

/* ── 헤더 / 내비게이션 ── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-height);
  background: rgba(15,43,91,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  transition: box-shadow var(--transition);
}

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

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  flex-shrink: 0;
}

.nav-logo img { height: 36px; object-fit: contain; }

.nav-logo-text .sub { font-size: .65rem; font-weight: 400; opacity: .75; display: block; line-height: 1; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: .25rem;
}

.nav-menu > li > a {
  display: flex;
  align-items: center;
  gap: .35rem;
  padding: .5rem .9rem;
  font-size: .88rem;
  color: rgba(255,255,255,0.85);
  border-radius: 6px;
  transition: all .2s;
  position: relative;
  white-space: nowrap;
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active {
  color: #fff;
  background: rgba(255,255,255,0.12);
}

/* 드롭다운 */
.has-dropdown { position: relative; }

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  padding: .5rem;
  padding-top: 1rem;
  margin-top: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity .2s ease, transform .2s ease;
  z-index: 200;
}

/* 메뉴와 드롭다운 사이 gap을 투명 영역으로 채워 마우스가 벗어나지 않게 함 */
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu,
.has-dropdown.dropdown-open .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: .5rem .85rem;
  font-size: .85rem;
  color: var(--text);
  border-radius: 6px;
  transition: background .15s;
  white-space: nowrap;
}

.dropdown-menu a:hover { background: #F0F4F8; color: var(--secondary); }

.nav-cta {
  background: var(--accent) !important;
  color: #fff !important;
  border-radius: 7px !important;
  font-weight: 600 !important;
}

.nav-cta:hover { background: #D97706 !important; }

.nav-admin-link {
  color: rgba(255,255,255,0.5) !important;
  font-size: .78rem !important;
}

/* 모바일 메뉴 토글 */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.3rem;
  padding: .4rem;
  line-height: 1;
}

/* 모바일 드로어 */
.mobile-drawer {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0; right: 0;
  background: var(--primary);
  padding: 1rem 1.5rem 2rem;
  max-height: calc(100vh - var(--header-height));
  overflow-y: auto;
  z-index: 999;
  transform: translateY(-100%);
  transition: transform .3s ease;
}

.mobile-drawer.open { transform: translateY(0); }

.mobile-nav-item > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .85rem 0;
  color: rgba(255,255,255,0.85);
  font-size: .95rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.mobile-sub-menu { padding: .25rem 0 .75rem 1rem; display: none; }
.mobile-sub-menu.open { display: block; }
.mobile-sub-menu a {
  display: block;
  padding: .45rem 0;
  color: rgba(255,255,255,0.65);
  font-size: .87rem;
}

/* ── 히어로 슬라이더 ── */
.hero {
  position: relative;
  height: 600px;
  min-height: 600px;
  overflow: hidden;
  margin-top: 0;
  padding-top: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .9s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-slide-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.25) 0%, rgba(0,0,0,.55) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 0 1.5rem;
  max-width: 800px;
  animation: heroIn .8s ease both;
}

@keyframes heroIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-slide.active .hero-content { animation: heroIn .8s ease .3s both; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(245,158,11,0.9);
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  padding: .35rem .9rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
  letter-spacing: .05em;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
  text-shadow: 0 2px 12px rgba(0,0,0,.3);
}

.hero-subtitle {
  font-size: clamp(.9rem, 2vw, 1.15rem);
  opacity: .9;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* 슬라이더 컨트롤 */
.hero-controls {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 10;
}

.hero-dots { display: flex; gap: .5rem; }

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.45);
  cursor: pointer;
  transition: all .3s;
  border: none;
  padding: 0;
}

.hero-dot.active { background: #fff; width: 24px; }

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s;
  font-size: 1rem;
}

.hero-arrow:hover { background: rgba(255,255,255,0.3); }
.hero-arrow-prev { left: 1.5rem; }
.hero-arrow-next { right: 1.5rem; }

/* 스크롤 힌트 */
.scroll-hint {
  position: absolute;
  bottom: 1.5rem;
  right: 2rem;
  z-index: 10;
  color: rgba(255,255,255,0.7);
  font-size: .75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ── 퀵 메뉴 ── */
.quick-menu {
  background: var(--primary);
  padding: 0;
}

.quick-menu-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.quick-menu-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  padding: 1.5rem 1rem;
  color: rgba(255,255,255,0.75);
  transition: all .2s;
  border-right: 1px solid rgba(255,255,255,0.1);
  cursor: pointer;
}

.quick-menu-item:last-child { border-right: none; }

.quick-menu-item:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
}

.quick-menu-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: background .2s;
}

.quick-menu-item:hover .quick-menu-icon { background: var(--accent); }

.quick-menu-label { font-size: .78rem; font-weight: 500; text-align: center; }

/* ── 강점 섹션 ── */
.strengths-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.strength-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.strength-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  opacity: 0;
  transition: opacity .3s;
}

.strength-card:hover { transform: translateY(-4px); box-shadow: var(--card-shadow-hover); }
.strength-card:hover::before { opacity: 1; }

.strength-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, #EFF6FF, #DBEAFE);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--secondary);
  margin: 0 auto 1.25rem;
  transition: transform .3s;
}

.strength-card:hover .strength-icon { transform: scale(1.1); }

.strength-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: .5rem;
}

.strength-desc { font-size: .87rem; color: var(--text-light); line-height: 1.7; }

/* ── 통계 바 ── */
.stats-bar {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  padding: 3rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.stat-item {
  text-align: center;
  color: #fff;
  padding: 1rem;
}

.stat-value {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: .35rem;
}

.stat-value span { font-size: 1rem; font-weight: 400; opacity: .8; }

.stat-label { font-size: .85rem; opacity: .8; }

/* ── 제품 카테고리 ── */
.category-tabs {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.category-tab {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .6rem 1.25rem;
  border: 2px solid var(--border);
  border-radius: 999px;
  font-size: .87rem;
  font-weight: 500;
  color: var(--text-light);
  cursor: pointer;
  transition: all .2s;
  background: #fff;
}

.category-tab:hover { border-color: var(--secondary); color: var(--secondary); }
.category-tab.active { background: var(--secondary); color: #fff; border-color: var(--secondary); }

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}

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

.product-thumb {
  position: relative;
  padding-top: 65%;
  background: linear-gradient(135deg, #F0F4F8, #E8F0FE);
  overflow: hidden;
}

.product-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}

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

.product-thumb-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--text-muted);
}

.product-badge {
  position: absolute;
  top: .75rem;
  left: .75rem;
  padding: .2rem .65rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  z-index: 1;
}

.product-badge.popular { background: var(--accent); color: #fff; }
.product-badge.new { background: var(--secondary); color: #fff; }

.product-info { padding: 1.25rem; }

.product-category-tag {
  font-size: .73rem;
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: .35rem;
}

.product-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: .4rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-desc {
  font-size: .82rem;
  color: var(--text-light);
  margin-bottom: .75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.6;
}

.product-price {
  font-size: .85rem;
  color: var(--accent);
  font-weight: 600;
}

.product-card-footer {
  border-top: 1px solid var(--border);
  padding: .75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-card-footer a {
  font-size: .82rem;
  color: var(--secondary);
  font-weight: 500;
  transition: gap .2s;
  display: flex;
  align-items: center;
  gap: .35rem;
}

.product-card-footer a:hover { gap: .55rem; }

/* ── 시공사례 ── */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.case-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}

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

.case-thumb {
  position: relative;
  background: linear-gradient(135deg, #F0F4F8, #E8F0FE);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
}

.case-thumb img {
  width: 100%;
  height: auto;          /* 원본 비율 유지 */
  display: block;
  object-fit: contain;
  transition: transform .4s;
}

.case-card:hover .case-thumb img { transform: scale(1.03); }

.case-thumb-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--text-muted);
}

.case-tags {
  position: absolute;
  bottom: .75rem;
  left: .75rem;
  display: flex;
  gap: .35rem;
  flex-wrap: wrap;
}

.case-tag {
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: .72rem;
  padding: .2rem .6rem;
  border-radius: 999px;
  font-weight: 500;
}

.case-info { padding: 1.25rem; }

.case-meta {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: .6rem;
}

.case-meta span {
  font-size: .75rem;
  color: var(--secondary);
  background: #EFF6FF;
  padding: .2rem .6rem;
  border-radius: 4px;
  font-weight: 500;
}

.case-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: .4rem;
}

.case-desc {
  font-size: .85rem;
  color: var(--text-light);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.6;
}

/* ── 프로세스 ── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  position: relative;
}

.process-step {
  text-align: center;
  padding: 2rem 1.5rem;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
  position: relative;
  transition: transform var(--transition);
}

.process-step:hover { transform: translateY(-4px); }

.process-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  color: #fff;
  font-size: .9rem;
  font-weight: 800;
  margin: 0 auto 1rem;
}

.process-icon {
  font-size: 1.75rem;
  color: var(--secondary);
  margin-bottom: .75rem;
}

.process-title {
  font-size: .98rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: .5rem;
}

.process-desc { font-size: .84rem; color: var(--text-light); line-height: 1.7; }

/* ── CTA 배너 ── */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  padding: 4rem 1.5rem;
  text-align: center;
}

.cta-banner h2 {
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}

.cta-banner p {
  color: rgba(255,255,255,0.85);
  margin-bottom: 2rem;
  font-size: .95rem;
  line-height: 1.7;
}

.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── 팝업 공지사항 ── */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}

.popup-overlay.show { opacity: 1; pointer-events: auto; }

.popup-box {
  background: #fff;
  border-radius: 14px;
  width: 100%;
  max-width: 500px;
  max-height: 85vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
}

.popup-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.popup-title { font-size: 1rem; font-weight: 700; color: var(--primary); }

.popup-close-btn {
  background: none;
  border: none;
  font-size: 1.2rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: .25rem;
  line-height: 1;
}

.popup-body {
  padding: 1.5rem;
  font-size: .9rem;
  color: var(--text);
  line-height: 1.8;
  white-space: pre-wrap;
  word-break: keep-all;
}

.popup-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
}

.popup-no-show {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .85rem;
  color: var(--text-light);
  cursor: pointer;
}

.popup-no-show input { cursor: pointer; }

/* ── 푸터 ── */
.site-footer {
  background: #0A1929;
  color: rgba(255,255,255,0.65);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand {}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-brand-logo img { height: 30px; }

.footer-brand-desc { font-size: .85rem; line-height: 1.8; margin-bottom: 1.25rem; }

.footer-contact-info { font-size: .85rem; line-height: 2; }
.footer-contact-info i { width: 16px; margin-right: .4rem; color: var(--accent); }

.footer-section-title {
  font-size: .85rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.25rem;
  padding-bottom: .6rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-links { display: flex; flex-direction: column; gap: .5rem; }
.footer-links a { font-size: .85rem; transition: color .2s; }
.footer-links a:hover { color: #fff; }

.footer-social { display: flex; gap: .75rem; margin-top: 1rem; }
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  transition: background .2s, color .2s;
}
.footer-social a:hover { background: var(--accent); color: #fff; }

.footer-bottom {
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
  font-size: .8rem;
}

.footer-bottom-links { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer-bottom-links a { transition: color .2s; }
.footer-bottom-links a:hover { color: #fff; }

/* ── 애니메이션 ── */
.fade-up {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity .6s ease, transform .6s ease;
}

.fade-up.visible { opacity: 1; transform: translateY(0); }

.fade-up:nth-child(2) { transition-delay: .1s; }
.fade-up:nth-child(3) { transition-delay: .2s; }
.fade-up:nth-child(4) { transition-delay: .3s; }

/* ── 스크롤 탑 버튼 ── */
.scroll-top-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--secondary);
  color: #fff;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(37,99,235,0.4);
  opacity: 0;
  pointer-events: none;
  transition: all .3s;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-top-btn.show { opacity: 1; pointer-events: auto; }
.scroll-top-btn:hover { background: #1D4ED8; transform: translateY(-3px); }

/* ── 반응형 ── */
@media (max-width: 1024px) {
  :root { --header-height: 64px; }

  .nav-menu { display: none; }
  .mobile-menu-toggle { display: flex; align-items: center; justify-content: center; }
  .mobile-drawer { display: block; }

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

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

  .quick-menu-grid { grid-template-columns: repeat(3, 1fr); }
}

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

  .hero { height: 600px; min-height: 600px; }
  .hero-title { font-size: clamp(1.75rem, 6vw, 2.5rem); }
  .hero-arrow { display: none; }

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

  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .cases-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .quick-menu-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 560px) {
  .products-grid { grid-template-columns: 1fr; }
  .strengths-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .quick-menu-grid { grid-template-columns: repeat(3, 1fr); }
  .process-steps { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 420px) {
  .container { padding: 0 1rem; }
  .quick-menu-grid { grid-template-columns: repeat(3, 1fr); }
  .process-steps { grid-template-columns: 1fr; }
}
