/* ================================================================
   S1 Security — main.css
   컬러: #C0392B(레드), #1A1A2E(다크 네이비), #F8F9FA(라이트)
================================================================ */

/* ── 0. CSS 변수 ─────────────────────────────────────── */
:root {
  --red:        #C0392B;
  --red-dark:   #962d22;
  --red-light:  #e74c3c;
  --navy:       #1A1A2E;
  --navy-mid:   #16213e;
  --navy-light: #0f3460;
  --dark:       #1a1a1a;
  --gray:       #6c757d;
  --light-gray: #adb5bd;
  --bg-light:   #f8f9fa;
  --white:      #ffffff;
  --font-base:  'Noto Sans KR', sans-serif;
  --shadow-sm:  0 2px 8px rgba(0,0,0,.08);
  --shadow-md:  0 8px 24px rgba(0,0,0,.12);
  --shadow-lg:  0 16px 48px rgba(0,0,0,.16);
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --transition: all .3s ease;
}

/* ── 1. 전역 리셋 ────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-base);
  font-size: 1rem;
  color: var(--dark);
  line-height: 1.7;
  overflow-x: hidden;
  max-width: 100vw;
}

a { color: inherit; text-decoration: none; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; padding: 0; margin: 0; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-base); }

/* ── 2. 공통 유틸 ────────────────────────────────────── */
.section-pad   { padding: 80px 0; }
.bg-light      { background: var(--bg-light); }
.bg-dark-navy  { background: var(--navy); }
.text-red      { color: var(--red); }
.text-white    { color: var(--white) !important; }
.text-light-gray { color: var(--light-gray) !important; }

.section-header  { max-width: 620px; margin: 0 auto 10px; }
.section-label   {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--dark);
}
.section-header p {
  font-size: .95rem;
  color: var(--gray);
  margin-top: 10px;
}

/* ── 3. HEADER ───────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; width: 100%;
  z-index: 1000;
  background: transparent;
  transition: background .3s, box-shadow .3s;
}
.site-header.scrolled {
  background: var(--navy);
  box-shadow: 0 2px 20px rgba(0,0,0,.3);
}

.navbar { padding: 18px 0; }
.site-header.scrolled .navbar { padding: 12px 0; }

/* 로고 */
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--white) !important;
}
.logo-icon {
  width: 38px; height: 38px;
  background: var(--red);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  color: var(--white);
  flex-shrink: 0;
}
.logo-text span { color: var(--red); }

/* 네비게이션 링크 */
.navbar-nav .nav-link {
  color: rgba(255,255,255,.85) !important;
  font-weight: 500;
  font-size: .95rem;
  padding: 8px 14px !important;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active { color: var(--white) !important; background: rgba(255,255,255,.1); }

/* 드롭다운 */
.dropdown-menu {
  border: none;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 8px;
  margin-top: 8px;
}
.dropdown-item {
  border-radius: var(--radius-sm);
  font-size: .9rem;
  padding: 9px 14px;
  color: var(--dark);
  font-weight: 500;
}
.dropdown-item:hover { background: #fdeded; color: var(--red); }
.dropdown-item i { color: var(--red); }

/* 견적 신청 버튼 */
.btn-inquiry {
  background: var(--red);
  color: var(--white) !important;
  font-weight: 700;
  font-size: .9rem;
  padding: 10px 22px;
  border-radius: 30px;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-inquiry:hover { background: var(--red-dark); transform: translateY(-1px); box-shadow: 0 4px 15px rgba(192,57,43,.4); }

/* 모바일 토글 */
.toggler-icon { color: var(--white); font-size: 1.3rem; }
.navbar-toggler { border: none; padding: 4px 8px; }
.navbar-toggler:focus { box-shadow: none; }

/* 모바일 메뉴 */
@media (max-width: 991px) {
  .navbar-collapse {
    background: var(--navy);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-top: 12px;
  }
  .navbar-nav .nav-link { padding: 10px 14px !important; }
  .dropdown-menu { position: static !important; box-shadow: none; background: rgba(255,255,255,.05); }
  .dropdown-item { color: rgba(255,255,255,.8); }
  .dropdown-item:hover { background: rgba(255,255,255,.1); color: var(--white); }
  .btn-inquiry { display: block; text-align: center; margin-top: 8px; }
}

/* ── 4. HERO SLIDER ──────────────────────────────────── */
.hero-section { position: relative; }

.hero-swiper { height: 100vh; min-height: 580px; max-height: 860px; }

.hero-slide {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex; align-items: center;
}

/* 슬라이드별 배경 이미지 (Unsplash CDN) */
.slide-1 {
  background-image: linear-gradient(to right, rgba(0,0,0,.72) 0%, rgba(0,0,0,.35) 100%),
    url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?w=1600&q=80&auto=format&fit=crop');
  background-size: cover; background-position: center;
}
.slide-2 {
  background-image: linear-gradient(to right, rgba(0,0,0,.72) 0%, rgba(0,0,0,.35) 100%),
    url('https://images.unsplash.com/photo-1557597774-9d273605dfa9?w=1600&q=80&auto=format&fit=crop');
  background-size: cover; background-position: center;
}
.slide-3 {
  background-image: linear-gradient(to right, rgba(0,0,0,.72) 0%, rgba(0,0,0,.35) 100%),
    url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?w=1600&q=80&auto=format&fit=crop');
  background-size: cover; background-position: center;
}

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,.75) 0%, rgba(0,0,0,.3) 100%);
}

.hero-content {
  position: relative; z-index: 2;
  width: 100%; padding-top: 80px;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(192,57,43,.85);
  color: var(--white);
  font-size: .8rem; font-weight: 600; letter-spacing: 1px;
  padding: 6px 18px;
  border-radius: 30px;
  margin-bottom: 20px;
  backdrop-filter: blur(4px);
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 20px;
}
.hero-content h1 .text-red { color: #e74c3c; }

.hero-content p {
  font-size: clamp(.9rem, 1.8vw, 1.1rem);
  color: rgba(255,255,255,.8);
  margin-bottom: 32px;
}
.hero-content p strong { color: #e74c3c; font-weight: 700; }

.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; }

.btn-hero-primary {
  display: inline-flex; align-items: center;
  background: var(--red);
  color: var(--white) !important;
  font-weight: 700; font-size: 1rem;
  padding: 14px 28px;
  border-radius: 30px;
  transition: var(--transition);
}
.btn-hero-primary:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(192,57,43,.5); }

.btn-hero-secondary {
  display: inline-flex; align-items: center;
  background: rgba(255,255,255,.12);
  border: 2px solid rgba(255,255,255,.4);
  color: var(--white) !important;
  font-weight: 600; font-size: 1rem;
  padding: 12px 26px;
  border-radius: 30px;
  backdrop-filter: blur(4px);
  transition: var(--transition);
}
.btn-hero-secondary:hover { background: rgba(255,255,255,.22); border-color: var(--white); }

/* 슬라이더 컨트롤 */
.hero-swiper .swiper-button-prev,
.hero-swiper .swiper-button-next {
  color: var(--white);
  width: 44px; height: 44px;
  background: rgba(255,255,255,.12);
  border-radius: 50%;
  backdrop-filter: blur(4px);
}
.hero-swiper .swiper-button-prev::after,
.hero-swiper .swiper-button-next::after { font-size: 1rem; font-weight: 700; }

.hero-swiper .swiper-pagination-bullet { background: rgba(255,255,255,.5); width: 10px; height: 10px; }
.hero-swiper .swiper-pagination-bullet-active { background: var(--red); width: 28px; border-radius: 5px; }

/* 신뢰 배지 바 */
.hero-trust {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 5;
  background: rgba(26,26,46,.92);
  backdrop-filter: blur(8px);
  border-top: 2px solid rgba(192,57,43,.4);
}
.trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  padding: 14px 0;
}
.trust-item {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 24px;
  font-size: .9rem;
  color: rgba(255,255,255,.85);
}
.trust-item i { color: var(--red); font-size: 1.1rem; }
.trust-item strong { color: var(--white); font-weight: 700; }
.trust-divider { width: 1px; height: 28px; background: rgba(255,255,255,.15); }

@media (max-width: 767px) {
  .trust-divider { display: none; }
  .trust-item { padding: 4px 12px; font-size: .8rem; }
  .hero-swiper { max-height: 640px; }
}

/* ── 5. SERVICE CARDS ────────────────────────────────── */
.services-section { background: var(--white); }

.service-card {
  border: 1px solid #eee;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
  display: flex; flex-direction: column;
  position: relative;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--red);
}
.service-card.featured {
  border-color: var(--red);
  box-shadow: 0 8px 30px rgba(192,57,43,.15);
}
.featured-badge {
  position: absolute; top: 16px; right: 16px;
  background: var(--red); color: var(--white);
  font-size: .75rem; font-weight: 700;
  padding: 4px 12px; border-radius: 30px;
  z-index: 3;
}

.service-icon-wrap {
  position: absolute; top: 20px; left: 20px;
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; z-index: 3;
}
.icon-red { background: var(--red); color: var(--white); }

/* 서비스 이미지 (Unsplash CDN) */
.service-img {
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.service-img-1 {
  background-image: url('https://images.unsplash.com/photo-1582139329536-e7284fece509?w=600&q=80&auto=format&fit=crop');
}
.service-img-2 {
  background-image: url('https://images.unsplash.com/photo-1557597774-9d273605dfa9?w=600&q=80&auto=format&fit=crop');
}
.service-img-3 {
  background-image: url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?w=600&q=80&auto=format&fit=crop');
}
.service-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.3), transparent);
}

.service-body {
  padding: 24px;
  flex: 1;
  display: flex; flex-direction: column;
}
.service-body h3 {
  font-size: 1.2rem; font-weight: 700;
  color: var(--dark); margin-bottom: 10px;
}
.service-body p {
  font-size: .9rem; color: var(--gray);
  line-height: 1.7; margin-bottom: 16px;
}
.service-features { margin-bottom: 20px; }
.service-features li {
  font-size: .875rem; color: var(--dark);
  padding: 4px 0;
  display: flex; align-items: center; gap: 8px;
}
.service-features li i { color: var(--red); font-size: .8rem; }
.service-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--red); font-weight: 700; font-size: .9rem;
  margin-top: auto;
  transition: var(--transition);
}
.service-link:hover { gap: 10px; }

/* ── 6. STATS ────────────────────────────────────────── */
.stats-section {
  background: var(--navy);
  padding: 0;
}
.stats-row { min-height: 140px; }
.stat-item {
  border-right: 1px solid rgba(255,255,255,.1);
  position: relative;
}
.stat-item:last-child { border-right: none; }
.stat-inner {
  padding: 36px 24px;
  text-align: center;
}
.stat-number {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-unit { font-size: 1.4rem; color: var(--red); }
.stat-label {
  font-size: .85rem; color: rgba(255,255,255,.6);
  font-weight: 500;
}

@media (max-width: 767px) {
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.1); }
}

/* ── 7. PROCESS ──────────────────────────────────────── */
.process-row { position: relative; }
.process-card {
  background: var(--white);
  border: 2px solid #eee;
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  position: relative;
  transition: var(--transition);
  height: 100%;
}
.process-card:hover,
.process-card.active {
  border-color: var(--red);
  box-shadow: var(--shadow-md);
}
.process-card.active .process-number { background: var(--red); color: var(--white); }
.process-card.active .process-icon i { color: var(--red); }

.process-number {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  background: var(--bg-light);
  border-radius: 50%;
  font-size: .85rem; font-weight: 700; color: var(--gray);
  margin-bottom: 16px;
  transition: var(--transition);
}
.process-icon {
  font-size: 2rem;
  margin-bottom: 14px;
}
.process-icon i { color: var(--navy); transition: var(--transition); }
.process-card:hover .process-icon i { color: var(--red); }
.process-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.process-card p  { font-size: .875rem; color: var(--gray); line-height: 1.6; }

.process-arrow {
  position: absolute;
  top: 50%; right: -18px;
  transform: translateY(-50%);
  z-index: 2;
  color: var(--red);
  font-size: 1.1rem;
  background: var(--white);
  border-radius: 50%;
  width: 32px; height: 32px;
  align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
}

/* ── 8. INDUSTRY ─────────────────────────────────────── */
.industry-card {
  background: var(--white);
  border: 1px solid #eee;
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  transition: var(--transition);
  height: 100%;
}
.industry-card:hover {
  border-color: var(--red);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.industry-card i {
  font-size: 2rem; color: var(--red);
  margin-bottom: 12px; display: block;
}
.industry-card h5 { font-size: .95rem; font-weight: 700; margin-bottom: 6px; }
.industry-card p  { font-size: .8rem; color: var(--gray); line-height: 1.5; margin: 0; }

/* ── 9. WHY US ───────────────────────────────────────── */
.why-visual {
  position: relative;
  height: 380px;
  display: flex; align-items: center; justify-content: center;
}
.why-main-card {
  width: 200px; height: 200px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  border-radius: 50%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  color: var(--white);
  box-shadow: 0 12px 40px rgba(192,57,43,.35);
  z-index: 2;
}
.why-main-card i  { font-size: 2.8rem; margin-bottom: 8px; }
.why-main-card span { font-size: .85rem; font-weight: 700; }

.why-badge {
  position: absolute;
  background: var(--white);
  border-radius: 30px;
  padding: 8px 16px;
  font-size: .8rem; font-weight: 600;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 6px;
  white-space: nowrap;
}
.why-badge i { color: var(--red); }
.badge-1 { top: 30px; left: 0; }
.badge-2 { top: 30px; right: 0; }
.badge-3 { bottom: 60px; left: 50%; transform: translateX(-50%); }

.why-section h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700; line-height: 1.3;
}
.why-list { display: flex; flex-direction: column; gap: 20px; }
.why-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 20px;
  border: 1px solid #eee;
  border-radius: var(--radius-md);
  transition: var(--transition);
}
.why-item:hover { border-color: var(--red); box-shadow: var(--shadow-sm); }
.why-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  background: #fdeded;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: var(--red);
}
.why-content h5 { font-size: .95rem; font-weight: 700; margin-bottom: 4px; }
.why-content p  { font-size: .875rem; color: var(--gray); margin: 0; }

/* ── 10. REVIEWS ─────────────────────────────────────── */
.reviews-section { padding: 80px 0 100px; }
.reviews-swiper  { padding-bottom: 48px !important; }
.review-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  backdrop-filter: blur(4px);
  height: 100%;
}
.review-stars { display: flex; align-items: center; gap: 3px; margin-bottom: 16px; }
.review-stars i { color: #f1c40f; font-size: .9rem; }
.review-rate { font-size: .85rem; font-weight: 700; color: var(--white); margin-left: 6px; }
.review-card blockquote {
  font-size: .95rem; color: rgba(255,255,255,.85);
  line-height: 1.8; margin-bottom: 24px;
  font-style: normal;
  quotes: "\201C" "\201D";
}
.review-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 44px; height: 44px;
  background: rgba(192,57,43,.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--red); font-size: 1rem;
  flex-shrink: 0;
}
.review-author strong { display: block; color: var(--white); font-size: .9rem; }
.review-author span  { font-size: .8rem; color: rgba(255,255,255,.5); }
.reviews-swiper .swiper-pagination-bullet { background: rgba(255,255,255,.3); }
.reviews-swiper .swiper-pagination-bullet-active { background: var(--red); }

/* ── 11. QUICK INQUIRY ───────────────────────────────── */
.quick-inquiry-section h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700; line-height: 1.3;
}
.quick-inquiry-section p { color: var(--gray); font-size: .95rem; }
.inquiry-benefits { display: flex; flex-direction: column; gap: 10px; }
.inquiry-benefits li {
  display: flex; align-items: center; gap: 10px;
  font-size: .9rem; font-weight: 500;
}
.inquiry-benefits li i { color: var(--red); }

.quick-form-card {
  background: var(--white);
  border: 2px solid #eee;
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-md);
}
.quick-form-card h4 {
  font-size: 1.1rem; font-weight: 700;
  color: var(--dark); margin-bottom: 4px;
}
.form-sub { font-size: .85rem; color: var(--gray); margin-bottom: 20px; }

.form-label { font-size: .875rem; font-weight: 600; color: var(--dark); margin-bottom: 6px; }
.required    { color: var(--red); }

.form-control, .form-select {
  border: 1.5px solid #ddd;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-family: var(--font-base);
  font-size: .9rem;
  color: var(--dark);
  transition: border-color .2s;
}
.form-control:focus, .form-select:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(192,57,43,.1);
  outline: none;
}

/* 서비스 체크 버튼 */
.service-checks { display: flex; flex-wrap: wrap; gap: 8px; }
.check-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  border: 1.5px solid #ddd;
  border-radius: 30px;
  font-size: .85rem; font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  user-select: none;
}
.check-btn input[type="checkbox"] { display: none; }
.check-btn i { color: var(--gray); transition: var(--transition); }
.check-btn:hover            { border-color: var(--red); color: var(--red); }
.check-btn:hover i          { color: var(--red); }
.check-btn.checked          { border-color: var(--red); background: #fdeded; color: var(--red); font-weight: 700; }
.check-btn.checked i        { color: var(--red); }

/* 개인정보 동의 */
.privacy-agree {
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
}
.privacy-agree a { color: var(--red); text-decoration: underline; }
.form-check-input:checked { background-color: var(--red); border-color: var(--red); }

/* 제출 버튼 */
.btn-submit {
  display: flex; align-items: center; justify-content: center;
  width: 100%;
  background: var(--red); color: var(--white);
  font-weight: 700; font-size: 1rem;
  padding: 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  border: none;
  font-family: var(--font-base);
}
.btn-submit:hover { background: var(--red-dark); transform: translateY(-1px); box-shadow: 0 4px 15px rgba(192,57,43,.35); }

/* 폼 메시지 */
.form-message { font-size: .875rem; text-align: center; }
.form-message.success { color: #27ae60; }
.form-message.error   { color: var(--red); }

/* ── 12. CTA SECTION ─────────────────────────────────── */
.cta-section {
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, var(--red-dark) 100%);
  padding: 64px 0;
  overflow: hidden;
}
.cta-overlay {
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-section h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; color: var(--white); }
.cta-section p  { color: rgba(255,255,255,.75); font-size: 1rem; margin-top: 8px; }

.btn-cta-white {
  display: inline-flex; align-items: center;
  background: var(--white); color: var(--red) !important;
  font-weight: 700; font-size: .95rem;
  padding: 12px 24px; border-radius: 30px;
  transition: var(--transition);
}
.btn-cta-white:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,255,255,.25); }

.btn-cta-outline {
  display: inline-flex; align-items: center;
  background: transparent;
  border: 2px solid rgba(255,255,255,.6);
  color: var(--white) !important;
  font-weight: 600; font-size: .95rem;
  padding: 10px 22px; border-radius: 30px;
  transition: var(--transition);
}
.btn-cta-outline:hover { background: rgba(255,255,255,.1); border-color: var(--white); }

/* ── 13. FOOTER ──────────────────────────────────────── */
.site-footer { background: #111; }

.footer-top { padding: 64px 0 48px; }

.footer-logo {
  font-size: 1.3rem; font-weight: 700; color: var(--white);
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 14px;
}
.footer-logo i { color: var(--red); }

.footer-brand p { font-size: .875rem; color: rgba(255,255,255,.5); line-height: 1.7; margin-bottom: 16px; }

.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.08);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6);
  font-size: 1rem;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--red); color: var(--white); }

.footer-links h5 { font-size: .9rem; font-weight: 700; color: var(--white); margin-bottom: 14px; }
.footer-links ul li { margin-bottom: 8px; }
.footer-links ul li a {
  font-size: .85rem; color: rgba(255,255,255,.5);
  transition: var(--transition);
}
.footer-links ul li a:hover { color: var(--red); }

.footer-contact h5 { font-size: .9rem; font-weight: 700; color: var(--white); margin-bottom: 14px; }
.footer-contact ul li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .85rem; color: rgba(255,255,255,.5);
  margin-bottom: 8px;
}
.footer-contact ul li i { color: var(--red); margin-top: 3px; flex-shrink: 0; }
.footer-contact ul li strong { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 18px 0;
}
.footer-bottom p   { font-size: .8rem; color: rgba(255,255,255,.3); }
.footer-bottom a   { font-size: .8rem; color: rgba(255,255,255,.4); transition: var(--transition); }
.footer-bottom a:hover { color: var(--red); }

/* ── 14. FLOATING BUTTONS ────────────────────────────── */
.floating-buttons {
  position: fixed;
  right: 24px; bottom: 32px;
  z-index: 999;
  display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
}
.float-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 16px;
  border-radius: 30px;
  font-size: .85rem; font-weight: 700;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
.float-btn:hover { transform: translateY(-2px); }

.float-btn.kakao  { background: #fee500; color: #3c1e1e; }
.float-btn.inquiry { background: var(--red); color: var(--white); }
.float-btn.top-btn {
  background: rgba(26,26,46,.9);
  color: var(--white);
  padding: 11px 14px;
  border-radius: 50%;
  width: 44px; height: 44px;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, transform .3s;
}
.float-btn.top-btn.visible { opacity: 1; pointer-events: auto; }

.float-btn span { display: none; }
@media (min-width: 768px) {
  .float-btn span { display: inline; }
}

/* ── 15. 스크롤바 ────────────────────────────────────── */
::-webkit-scrollbar       { width: 6px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 3px; }

/* ── 16. AOS 오버라이드 ──────────────────────────────── */
[data-aos] { pointer-events: none !important; }
[data-aos].aos-animate { pointer-events: auto !important; }

/* ── 17. 모바일 가로 오버플로 방지 ──────────────────────── */
@media (max-width: 767.98px) {
  /* 공통 */
  .container, .container-fluid { padding-left: 16px; padding-right: 16px; }
  .section-pad { padding: 52px 0; }
  .row { --bs-gutter-x: 1rem; }

  /* 히어로 */
  .hero-section { min-height: 480px; }
  .hero-title   { font-size: 1.8rem !important; }
  .hero-buttons { flex-direction: column; align-items: flex-start; gap: 10px; }
  .hero-buttons .btn { width: 100%; justify-content: center; }

  /* 통계 */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  /* 서비스 카드 */
  .service-card { padding: 24px 18px; }

  /* 플로팅 버튼 */
  .floating-buttons { right: 14px; bottom: 20px; gap: 8px; }
  .float-btn { padding: 10px 13px; font-size: .8rem; }
  .float-btn.top-btn { width: 40px; height: 40px; }

  /* 푸터 */
  .footer-top { padding: 40px 0 28px; }

  /* 헤더 */
  .navbar-brand .logo-text { font-size: 1.1rem; }

  /* 공통 버튼 */
  .btn-cta-white, .btn-cta-outline { padding: 10px 18px; font-size: .88rem; }

  /* 프로세스 */
  .process-steps { flex-direction: column; }
  .process-step-arrow { display: none; }

  /* 업종 카드 */
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 575.98px) {
  /* 섹션 헤더 */
  .section-header { padding: 0 4px; }

  /* 통계 */
  .stat-item { padding: 16px 10px; }
  .stat-number { font-size: 2rem; }

  /* Why us */
  .why-grid { grid-template-columns: 1fr; }

  /* 리뷰 */
  .review-card { padding: 20px; }

  /* 퀵 문의 폼 */
  .quick-form-card { padding: 24px 16px; }

  /* CTA */
  .cta-section .row { text-align: center; }
  .cta-section .col-lg-4 { margin-top: 16px; }
}
