/*
 * SPICY WEB - Design System
 * 프리미엄 + 강렬 + 차별화
 * Primary: #E53935 | Dark: #0F0F0F | Accent: #FF6F00 | Gray: #777
 */

:root {
  --primary: #E53935;
  --primary-hover: #c62828;
  --dark: #0F0F0F;
  --light: #FFFFFF;
  --accent: #FF6F00;
  --gray: #777;
  --gray-light: #999;
  --gray-bg: #1a1a1a;
  --max-width: 1280px;
  --section-gap: 140px;
  --element-gap: 24px;
  --element-gap-lg: 40px;
  --header-height: 80px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 18px;
  --radius-xl: 20px;
  --shadow-soft: 0 8px 32px rgba(0,0,0,0.12);
  --shadow-hover: 0 16px 48px rgba(229,57,53,0.15);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 0.6s var(--ease);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html, * { scroll-behavior: auto !important; animation: none !important; }
}

body {
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--light);
  background: var(--dark);
  overflow-x: hidden;
  word-break: keep-all;
  overflow-wrap: break-word;
  hyphens: none;
}

/* Typography - 줄바꿈·문장 끊김 방지 */
h1, .h1, h2, .h2, h3, .h3, h4, .h4, p, li, span, a, label {
  word-break: keep-all;
  overflow-wrap: break-word;
}

h1, .h1 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  text-wrap: balance;
}

h2, .h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.5px;
  text-wrap: balance;
}

h3, .h3 {
  font-size: 28px;
  font-weight: 600;
  text-wrap: balance;
}

/* 그리드/플렉스 자식 텍스트 오버플로우 방지 */
.sw-problem-card, .sw-solution-item, .sw-solution-item > div,
.sw-premium-feature-card, .sw-pricing-card, .sw-review-card,
.sw-portfolio-overlay, .sw-include-item, .sw-footer-col,
.sw-section-title, .sw-page-hero div, .plan-card {
  min-width: 0;
}

/* Layout */
.sw-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 768px) {
  .sw-container { padding: 0 16px; }
}

/* 모바일: br 제거하여 텍스트 자연스럽게 흐르게 */
@media (max-width: 480px) {
  .sw-hero-text h1 br,
  .sw-hero-sub br,
  .sw-section-title h2 br,
  .sw-cta-section h2 br,
  .sw-footer-brand p br {
    display: none;
  }
}

/* ========== HEADER ========== */
.sw-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 9999;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  max-width: var(--max-width);
  margin: 0 auto;
  transition: background 0.3s, backdrop-filter 0.3s;
}

.sw-header::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 100%;
  background: rgba(15, 15, 15, 0.55);
  z-index: -1;
  pointer-events: none;
  transition: background 0.3s var(--ease);
}

.sw-header.scrolled::before {
  background: rgba(15, 15, 15, 0.92);
}

.sw-header.scrolled {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.sw-logo {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--light);
  text-decoration: none;
  transition: color 0.3s;
}

.sw-logo:hover {
  color: var(--primary);
}

.sw-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.sw-nav a {
  color: var(--light);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.3s;
}

.sw-nav a:hover,
.sw-nav a.active {
  color: var(--primary);
}

.sw-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 28px;
  background: var(--primary);
  color: var(--light) !important;
  font-weight: 600;
  font-size: 15px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  position: relative;
  overflow: hidden;
}

.sw-cta-btn:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 28px rgba(229, 57, 53, 0.45);
  background: var(--primary-hover);
}

/* Mobile menu */
.sw-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.sw-mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--light);
  transition: 0.3s;
}

.sw-mobile-toggle.is-open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.sw-mobile-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.sw-mobile-toggle.is-open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 1024px) {
  .sw-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 24px;
    background: rgba(15, 15, 15, 0.98);
    backdrop-filter: blur(20px);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    gap: 24px;
  }

  .sw-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .sw-mobile-toggle {
    display: flex;
  }
}

/* ========== HERO ========== */
.sw-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.sw-hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.sw-hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.sw-hero-text .sw-hero-kicker {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--primary);
  margin-bottom: 16px;
  opacity: 0;
  transform: scale(0.95);
  animation: swHeroTextIn 0.8s var(--ease) 0.2s forwards;
}

.sw-hero-text h1 {
  margin-bottom: 24px;
  opacity: 0;
  transform: scale(0.95) translateY(10px);
  animation: swHeroTextIn 0.8s var(--ease) 0.35s forwards;
}

.sw-hero-text .sw-hero-sub {
  font-size: 18px;
  color: var(--gray-light);
  margin-bottom: 40px;
  line-height: 1.7;
  opacity: 0;
  transform: scale(0.98);
  animation: swHeroTextIn 0.8s var(--ease) 0.5s forwards;
}

.sw-hero-btns {
  display: flex;
  gap: 16px;
  opacity: 0;
  animation: swHeroTextIn 0.8s var(--ease) 0.7s forwards;
}

.sw-hero-btns .sw-btn {
  height: 56px;
  padding: 0 36px;
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  position: relative;
  overflow: hidden;
}

.sw-hero-btns .sw-btn-primary {
  background: var(--primary);
  color: var(--light);
  border: none;
}

.sw-hero-btns .sw-btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 0 32px rgba(229, 57, 53, 0.5), 0 12px 32px rgba(229, 57, 53, 0.4);
  background: var(--primary-hover);
}

.sw-hero-btns .sw-btn-secondary {
  background: transparent;
  color: var(--light);
  border: 2px solid rgba(255,255,255,0.3);
}

.sw-hero-btns .sw-btn-secondary:hover {
  border-color: var(--light);
  transform: scale(1.05);
  box-shadow: 0 0 24px rgba(255,255,255,0.15);
}

@keyframes swHeroTextIn {
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@media (max-width: 1024px) {
  .sw-hero-text {
    text-align: center;
  }

  .sw-hero-btns {
    justify-content: center;
  }
}

/* ========== SECTIONS COMMON ========== */
.sw-section {
  padding: var(--section-gap) 0;
}

.sw-section-title {
  text-align: center;
  margin-bottom: 48px;
}

.sw-section-title h2 {
  margin-bottom: 16px;
}

.sw-section-title p {
  font-size: 16px;
  color: var(--gray);
  max-width: 560px;
  margin: 0 auto;
}

/* Scroll reveal */
.sw-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.sw-reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Word-by-word title reveal */
.sw-word-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  display: inline-block;
}

.sw-word-reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.sw-word-reveal .sw-word {
  opacity: 0;
  transform: translateY(40px);
  display: inline-block;
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.sw-word-reveal.in-view .sw-word {
  opacity: 1;
  transform: translateY(0);
}

/* ========== PROBLEM SECTION ========== */
.sw-problem {
  background: var(--gray-bg);
  overflow: visible;
}

.sw-problem-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* 이미지 배경 카드 - flex로 호버 시 커지면서 옆 카드 밀어냄 */
.sw-problem-card-img {
  position: relative;
  flex: 1 1 200px;
  min-width: 200px;
  min-height: 280px;
  transition: flex 0.45s var(--ease), min-height 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s, transform 0.45s var(--ease);
  border-radius: var(--radius-md);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255,255,255,0.06);
}

.sw-problem-card-img:hover {
  flex: 3 1 380px;
  min-height: 340px;
  transform: translateY(-12px);
  box-shadow: 0 24px 48px rgba(229, 57, 53, 0.2), 0 12px 24px rgba(0,0,0,0.3);
  border-color: rgba(229, 57, 53, 0.4);
  z-index: 2;
}

.sw-problem-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.7) 100%);
  transition: background 0.45s var(--ease);
}

.sw-problem-card-img:hover .sw-problem-overlay {
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.88) 100%);
}

.sw-problem-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 24px;
  transition: transform 0.45s var(--ease);
}

.sw-problem-card-img:hover .sw-problem-content {
  transform: translateY(-4px);
}

.sw-problem-num {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}

.sw-problem-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--light);
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.sw-problem-summary {
  color: rgba(255,255,255,0.9);
  font-size: 14px;
  line-height: 1.6;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

.sw-problem-detail {
  color: rgba(255,255,255,0.78);
  font-size: 13px;
  line-height: 1.65;
  margin-top: 12px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
  transition: max-height 0.45s var(--ease), opacity 0.4s var(--ease), margin-top 0.45s var(--ease);
}

.sw-problem-card-img:hover .sw-problem-detail {
  max-height: 150px;
  opacity: 1;
  margin-top: 12px;
}

.sw-problem-card p {
  margin: 0;
}

/* 2줄 고정 (두 번째 줄 끊김 방지) */
.sw-line-2 {
  white-space: nowrap;
}

@media (max-width: 400px) {
  .sw-line-2 {
    white-space: normal;
  }
}

.sw-card-inner {
  transition: transform 0.35s var(--ease);
}

@media (max-width: 1024px) {
  .sw-problem-card-img {
    flex: 1 1 100%;
    min-height: 260px;
  }
  .sw-problem-card-img:hover {
    flex: 1 1 100%;
  }
}

/* 제작 포함 사항 그리드 */
.sw-include-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.sw-include-item {
  padding: 28px;
  background: var(--dark);
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}

.sw-include-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(229, 57, 53, 0.12);
  border-color: rgba(229, 57, 53, 0.25);
}

.sw-include-icon {
  display: block;
  font-size: 32px;
  margin-bottom: 16px;
}

.sw-include-item h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--light);
}

.sw-include-item p {
  color: var(--gray);
  font-size: 14px;
  line-height: 1.6;
}

/* 모바일 원클릭 상담 버튼 (모바일에서만 표시) */
.sw-mobile-contact {
  display: none;
  position: fixed;
  bottom: 24px;
  right: 16px;
  z-index: 999;
  flex-direction: column;
  gap: 10px;
}

@media (max-width: 768px) {
  .sw-mobile-contact {
    display: flex;
  }
}

.sw-mobile-contact-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  text-decoration: none;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}

.sw-mobile-contact-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.sw-mobile-contact-btn > span:last-child {
  display: none;
}

.sw-mobile-contact-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(0,0,0,0.4);
}

.sw-mobile-call {
  background: var(--primary);
}

.sw-mobile-sms {
  background: #22c55e;
}

.sw-mobile-kakao {
  background: #FEE500;
  color: #191919;
}

/* ========== PREMIUM FEATURES (기본이 아니라, 차이를 만듭니다) ========== */
.sw-premium-features {
  padding: 140px 0;
  background: linear-gradient(180deg, var(--dark) 0%, #0a0a0a 50%, var(--dark) 100%);
  position: relative;
  overflow: hidden;
}

.sw-premium-features::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(229, 57, 53, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.sw-premium-features-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.sw-premium-features-header {
  text-align: center;
  margin-bottom: 72px;
}

.sw-premium-features-header h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  color: var(--light);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.sw-premium-features-header p {
  font-size: 16px;
  color: var(--gray-light);
  max-width: 560px;
  margin: 0 auto;
  letter-spacing: 0.01em;
}

.sw-premium-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.sw-premium-feature-card {
  padding: 40px;
  background: linear-gradient(145deg, #ffffff 0%, #fafafa 100%);
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04), 0 8px 48px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
  will-change: transform;
  opacity: 0;
  transform: translateY(40px);
  position: relative;
  overflow: hidden;
}

.sw-premium-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.sw-premium-features-grid.is-visible .sw-premium-feature-card[data-delay="0"] { animation: swPremiumCardReveal 0.6s var(--ease) 0s forwards; }
.sw-premium-features-grid.is-visible .sw-premium-feature-card[data-delay="1"] { animation: swPremiumCardReveal 0.6s var(--ease) 0.1s forwards; }
.sw-premium-features-grid.is-visible .sw-premium-feature-card[data-delay="2"] { animation: swPremiumCardReveal 0.6s var(--ease) 0.2s forwards; }
.sw-premium-features-grid.is-visible .sw-premium-feature-card[data-delay="3"] { animation: swPremiumCardReveal 0.6s var(--ease) 0.3s forwards; }
.sw-premium-features-grid.is-visible .sw-premium-feature-card[data-delay="4"] { animation: swPremiumCardReveal 0.6s var(--ease) 0.4s forwards; }
.sw-premium-features-grid.is-visible .sw-premium-feature-card[data-delay="5"] { animation: swPremiumCardReveal 0.6s var(--ease) 0.5s forwards; }

@keyframes swPremiumCardReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .sw-premium-feature-card {
    opacity: 1;
    transform: translateY(0);
    animation: none !important;
  }
}

.sw-premium-feature-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.08), 0 16px 32px rgba(229, 57, 53, 0.06);
  border-color: rgba(229, 57, 53, 0.2);
}

.sw-premium-feature-card:hover::before {
  opacity: 1;
  transform: scaleX(1);
}

.sw-premium-feature-icon {
  width: 48px;
  height: 48px;
  color: var(--primary);
  transition: transform 0.4s var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(229, 57, 53, 0.06);
  border-radius: 14px;
}

.sw-premium-feature-icon svg {
  width: 44px;
  height: 44px;
}

.sw-premium-feature-icon.sw-icon-orange {
  color: var(--accent);
  background: rgba(255, 111, 0, 0.06);
}

.sw-premium-feature-card:hover .sw-premium-feature-icon {
  transform: scale(1.08);
}

.sw-premium-feature-card h3 {
  margin-top: 20px;
  font-size: 20px;
  font-weight: 700;
  color: #0F0F0F;
  line-height: 1.35;
  letter-spacing: -0.5px;
}

.sw-premium-feature-card p {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.65;
  color: #555;
  word-break: keep-all;
  overflow-wrap: break-word;
}

@media (max-width: 1024px) {
  .sw-premium-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .sw-premium-features {
    padding: 80px 0;
  }

  .sw-premium-features-inner {
    padding: 0 20px;
  }

  .sw-premium-features-header {
    margin-bottom: 48px;
  }

  .sw-premium-features-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .sw-premium-feature-card {
    padding: 32px;
  }
}

/* ========== SOLUTION SECTION ========== */
.sw-solution-items {
  display: flex;
  flex-wrap: wrap;
  gap: var(--element-gap-lg);
  justify-content: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.sw-solution-item {
  flex: 1;
  min-width: 300px;
  max-width: 420px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 36px;
  background: var(--gray-bg);
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s, border-color 0.35s;
  overflow: hidden;
}

.sw-solution-item > div:not(.sw-solution-icon) {
  min-width: 0;
  overflow-wrap: break-word;
  word-break: keep-all;
  text-align: center;
}

.sw-solution-item > .sw-solution-icon {
  flex-shrink: 0;
}

.sw-solution-item .sw-line-2 {
  white-space: normal;
}

.sw-solution-item:hover {
  transform: translateY(-8px);
  background: rgba(229, 57, 53, 0.08);
  box-shadow: 0 20px 56px rgba(229, 57, 53, 0.12);
  border-color: rgba(229, 57, 53, 0.25);
}

.sw-solution-item:hover h3,
.sw-solution-item:hover p {
  transform: translateY(-2px);
}

.sw-solution-item h3,
.sw-solution-item p {
  transition: transform 0.35s var(--ease);
}

.sw-solution-icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  background: rgba(229, 57, 53, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 28px;
}

.sw-solution-item h3 {
  font-size: 20px;
  margin-bottom: 8px;
  overflow-wrap: break-word;
  word-break: keep-all;
}

.sw-solution-item p {
  color: var(--gray);
  font-size: 15px;
  line-height: 1.6;
  overflow-wrap: break-word;
  word-break: keep-all;
}

.sw-solution-item .sw-card-inner {
  transition: transform 0.35s var(--ease);
}

/* ========== SERVICE GUIDE ========== */
/* 고추 배경 (서비스 안내 + 스파이시웹은 다르게 만듭니다) */
.sw-chilli-bg-section {
  position: relative;
  background-image: url(/images/dried-red-chilli-background.jpg);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  overflow: hidden;
}

.sw-chilli-bg-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.55) 50%, rgba(0,0,0,0.6) 100%);
  pointer-events: none;
  z-index: 0;
}

.sw-chilli-bg-section .sw-section-title,
.sw-chilli-bg-section .sw-solution-items,
.sw-chilli-bg-section .sw-service-guide,
.sw-chilli-bg-section .sw-container {
  position: relative;
  z-index: 1;
}

.sw-chilli-bg-section .sw-section-title h2,
.sw-chilli-bg-section .sw-section-title p {
  text-shadow: 0 2px 12px rgba(0,0,0,0.6), 0 1px 4px rgba(0,0,0,0.5);
}

.sw-chilli-bg-section .sw-solution-item,
.sw-chilli-bg-section .sw-service-guide-item {
  background: rgba(26, 26, 26, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  transition: background 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
}

.sw-chilli-bg-section .sw-solution-item:hover,
.sw-chilli-bg-section .sw-service-guide-item:hover {
  background: rgba(26, 26, 26, 0.25);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.sw-chilli-bg-section .sw-solution-item:hover h3,
.sw-chilli-bg-section .sw-solution-item:hover p,
.sw-chilli-bg-section .sw-service-guide-item:hover h3,
.sw-chilli-bg-section .sw-service-guide-item:hover p {
  text-shadow: 0 2px 8px rgba(0,0,0,0.6), 0 1px 4px rgba(0,0,0,0.5);
}

.sw-chilli-bg-section .sw-solution-item h3,
.sw-chilli-bg-section .sw-solution-item p,
.sw-chilli-bg-section .sw-service-guide-item h3,
.sw-chilli-bg-section .sw-service-guide-item p {
  text-shadow: 0 1px 6px rgba(0,0,0,0.5), 0 1px 3px rgba(0,0,0,0.4);
}

.sw-chilli-bg-section .sw-service-guide-item p {
  color: var(--gray-light);
}

.sw-service-guide {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.sw-service-guide-item {
  padding: 28px;
  background: var(--gray-bg);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
  min-width: 0;
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s var(--ease);
}

.sw-service-guide-item:hover {
  transform: translateY(-4px);
  border-color: rgba(229, 57, 53, 0.2);
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

.sw-service-guide-item h3 {
  font-size: 17px;
  margin-bottom: 12px;
  color: var(--light);
  overflow-wrap: break-word;
  word-break: keep-all;
}

.sw-service-guide-item p {
  color: var(--gray);
  font-size: 14px;
  line-height: 1.7;
  overflow-wrap: break-word;
  word-break: keep-all;
}

@media (max-width: 600px) {
  .sw-service-guide {
    grid-template-columns: 1fr;
  }
}

/* ========== PORTFOLIO SECTION ========== */
.sw-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.sw-portfolio-card {
  height: 300px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.sw-portfolio-card {
  perspective: 1000px;
  transform-style: preserve-3d;
}

.sw-portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease), filter 0.5s var(--ease);
}


.sw-portfolio-card .sw-portfolio-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--gray-bg) 0%, #252525 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--gray);
}

.sw-portfolio-card .sw-portfolio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  color: var(--light);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}

.sw-portfolio-card:hover img {
  transform: scale(1.1);
  filter: brightness(0.6);
}

.sw-portfolio-card:hover .sw-portfolio-overlay {
  opacity: 1;
}

.sw-portfolio-overlay h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--light);
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.45s var(--ease), opacity 0.45s var(--ease);
}

.sw-portfolio-card:hover .sw-portfolio-overlay h3 {
  transform: translateY(0);
  opacity: 1;
}

.sw-portfolio-overlay span {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.45s var(--ease) 0.05s, opacity 0.45s var(--ease) 0.05s;
}

.sw-portfolio-card:hover .sw-portfolio-overlay span {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 1024px) {
  .sw-portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .sw-portfolio-grid {
    grid-template-columns: 1fr;
  }

  .sw-portfolio-card {
    height: 260px;
  }
}

/* ========== PROCESS SECTION ========== */
.sw-process-timeline {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

.sw-process-timeline::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: rgba(229, 57, 53, 0.2);
  z-index: 0;
}

.sw-process-timeline::after {
  content: '';
  position: absolute;
  top: 40px;
  left: 10%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  z-index: 0;
  transform-origin: left center;
  transition: width 0.9s var(--ease);
}

.sw-process-timeline.is-visible::after {
  width: 80%;
}

.sw-process-step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
}

.sw-process-step-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  color: var(--light);
  transition: transform 0.3s;
}

.sw-process-step:hover .sw-process-step-icon {
  transform: scale(1.1);
}

.sw-process-step h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.sw-process-step p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .sw-process-timeline {
    flex-direction: column;
    gap: 40px;
  }

  .sw-process-timeline::before {
    top: 0;
    left: 40px;
    right: auto;
    width: 2px;
    height: 100%;
  }

  .sw-process-timeline::after {
    top: 0;
    left: 40px;
    width: 2px;
    height: 0;
    background: linear-gradient(180deg, var(--primary), var(--accent));
  }

  .sw-process-timeline.is-visible::after {
    width: 2px;
    height: 100%;
  }

  .sw-process-step {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    text-align: left;
  }

  .sw-process-step-icon {
    margin: 0;
    flex-shrink: 0;
  }
}

/* ========== PRICING SECTION ========== */
.sw-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  align-items: stretch;
}

.sw-pricing-card {
  padding: 44px;
  background: var(--gray-bg);
  border-radius: var(--radius-xl);
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
  position: relative;
}

.sw-pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 56px rgba(229, 57, 53, 0.15);
  border-color: rgba(229, 57, 53, 0.3);
}

.sw-pricing-card.sw-premium {
  transform: scale(1.07);
  background: linear-gradient(180deg, rgba(229, 57, 53, 0.15) 0%, var(--gray-bg) 100%);
  border: 2px solid var(--primary);
}

.sw-pricing-card.sw-premium:hover {
  transform: scale(1.07) translateY(-4px);
}

.sw-pricing-card h3 {
  font-size: 24px;
  margin-bottom: 8px;
}

.sw-pricing-card .sw-price {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 24px;
}

.sw-pricing-card ul {
  list-style: none;
  margin-bottom: 32px;
}

.sw-pricing-card li {
  padding: 8px 0;
  color: var(--gray);
  font-size: 15px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.sw-pricing-card .sw-pricing-cta {
  display: block;
  width: 100%;
  height: 52px;
  line-height: 52px;
  text-align: center;
  background: var(--primary);
  color: var(--light);
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  position: relative;
  overflow: hidden;
}

.sw-pricing-card .sw-pricing-cta:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 28px rgba(229, 57, 53, 0.45);
  background: var(--primary-hover);
}

.sw-pricing-card.sw-premium .sw-pricing-cta {
  background: var(--accent);
}

@media (max-width: 1024px) {
  .sw-pricing-grid {
    grid-template-columns: 1fr;
  }

  .sw-pricing-card.sw-premium {
    transform: none;
  }

  .sw-pricing-card.sw-premium:hover {
    transform: translateY(-4px);
  }
}

/* ========== PLAN SECTION (프리미엄 가격표) ========== */
.plan-section {
  padding: 140px 0;
  background: #0f0f0f;
}

.plan-section-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.plan-section .sw-section-title {
  margin-bottom: 56px;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.plan-card {
  position: relative;
  background: #161616;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  display: flex;
  flex-direction: column;
}

.plan-card:hover {
  transform: translateY(-12px) scale(1.02);
  border-color: var(--primary);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5), 0 0 40px rgba(229, 57, 53, 0.15);
}

/* 카드 상단 red glow */
.plan-card-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 120px;
  background: radial-gradient(ellipse 80% 100% at 50% 0%, rgba(229, 57, 53, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

/* 스캔 효과 (hover 시 좌→우) */
.plan-card-scan {
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(229, 57, 53, 0.06), transparent);
  pointer-events: none;
  transition: left 0.6s var(--ease);
}

.plan-card:hover .plan-card-scan {
  left: 100%;
}

/* BEST 배지 */
.plan-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, var(--primary), #c62828);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  z-index: 2;
}

/* 헤더 (gradient #E53935 → #8E0000) */
.plan-card-header {
  padding: 32px 28px 24px;
  background: linear-gradient(135deg, #E53935 0%, #8E0000 100%);
  position: relative;
  z-index: 1;
}

.plan-card-header h3 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.plan-card-header p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}

.plan-card-tagline {
  font-size: 13px !important;
  color: rgba(255, 255, 255, 0.9) !important;
  margin-top: 8px;
  font-style: italic;
}

/* 카드 본문 */
.plan-card-body {
  padding: 24px 28px;
  flex: 1;
}

.plan-table {
  width: 100%;
  border-collapse: collapse;
}

.plan-table th,
.plan-table td {
  padding: 12px 0;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.plan-table th {
  width: 80px;
  font-size: 13px;
  font-weight: 600;
  color: #888;
  background: #141414;
  padding: 12px 12px 12px 0;
}

.plan-table td {
  font-size: 14px;
  color: #ddd;
  line-height: 1.6;
  word-break: keep-all;
}

.plan-table tr:last-child th,
.plan-table tr:last-child td {
  border-bottom: none;
}

/* 가격 강조 */
.plan-card-price-wrap {
  padding: 0 28px 20px;
}

.plan-card-price {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
}

.plan-card-total {
  display: block;
  font-size: 12px;
  color: #777;
  margin-top: 4px;
}

/* 푸터 */
.plan-card-footer {
  padding: 0 28px 28px;
}

.plan-card-footer p {
  font-size: 12px;
  color: #888;
  margin-bottom: 16px;
  line-height: 1.5;
}

.plan-cta {
  display: block;
  width: 100%;
  height: 48px;
  line-height: 48px;
  text-align: center;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  border-radius: 10px;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.plan-cta:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(229, 57, 53, 0.4);
  background: var(--primary-hover);
}

/* 추천 카드 (고급형 3년 - 핵심) */
.plan-card-highlight {
  transform: scale(1.08);
  border: 2px solid #E53935;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5), 0 0 60px rgba(229, 57, 53, 0.2);
  z-index: 2;
}

.plan-card-highlight:hover {
  transform: translateY(-12px) scale(1.08);
  box-shadow: 0 36px 80px rgba(0, 0, 0, 0.5), 0 0 80px rgba(229, 57, 53, 0.25);
}

.plan-card-highlight .plan-card-glow {
  background: radial-gradient(ellipse 80% 100% at 50% 0%, rgba(229, 57, 53, 0.35) 0%, transparent 70%);
}

/* ========== 타입별 섹션 차별화 (주황·빨강 계열) ========== */

/* 기본형 - 연한 코랄/연한 레드 */
.plan-card-basic .plan-card-header {
  background: linear-gradient(135deg, #ef5350 0%, #c62828 100%);
}

.plan-card-basic .plan-card-glow {
  background: radial-gradient(ellipse 80% 100% at 50% 0%, rgba(239, 83, 80, 0.25) 0%, transparent 70%);
}

.plan-card-basic .plan-card-scan {
  background: linear-gradient(90deg, transparent, rgba(239, 83, 80, 0.08), transparent);
}

.plan-card-basic:hover {
  border-color: #ef5350;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5), 0 0 40px rgba(239, 83, 80, 0.25);
}

.plan-card-basic .plan-cta {
  background: linear-gradient(135deg, #ef5350 0%, #e53935 100%);
}

.plan-card-basic .plan-cta:hover {
  box-shadow: 0 8px 24px rgba(239, 83, 80, 0.4);
}

/* 고급형 - 메인 레드 */
.plan-card-premium .plan-card-header {
  background: linear-gradient(135deg, #E53935 0%, #8E0000 100%);
}

.plan-card-premium .plan-card-glow {
  background: radial-gradient(ellipse 80% 100% at 50% 0%, rgba(229, 57, 53, 0.25) 0%, transparent 70%);
}

.plan-card-premium:hover {
  border-color: var(--primary);
}

/* 최고급형 - 주황/앰버 */
.plan-card-top .plan-card-header {
  background: linear-gradient(135deg, #FF6F00 0%, #E65100 100%);
}

.plan-card-top .plan-card-glow {
  background: radial-gradient(ellipse 80% 100% at 50% 0%, rgba(255, 111, 0, 0.3) 0%, transparent 70%);
}

.plan-card-top .plan-card-scan {
  background: linear-gradient(90deg, transparent, rgba(255, 111, 0, 0.08), transparent);
}

.plan-card-top:hover {
  border-color: #FF6F00;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5), 0 0 50px rgba(255, 111, 0, 0.2);
}

.plan-card-top .plan-cta {
  background: linear-gradient(135deg, #FF6F00 0%, #E65100 100%);
}

.plan-card-top .plan-cta:hover {
  box-shadow: 0 8px 24px rgba(255, 111, 0, 0.45);
}

/* 쇼핑몰 - 다크 레드 */
.plan-card-shop .plan-card-header {
  background: linear-gradient(135deg, #b71c1c 0%, #8B0000 100%);
}

.plan-card-shop .plan-card-glow {
  background: radial-gradient(ellipse 80% 100% at 50% 0%, rgba(183, 28, 28, 0.3) 0%, transparent 70%);
}

.plan-card-shop .plan-card-scan {
  background: linear-gradient(90deg, transparent, rgba(183, 28, 28, 0.08), transparent);
}

.plan-card-shop:hover {
  border-color: #b71c1c;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5), 0 0 50px rgba(183, 28, 28, 0.2);
}

.plan-card-shop .plan-cta {
  background: linear-gradient(135deg, #b71c1c 0%, #8B0000 100%);
}

.plan-card-shop .plan-cta:hover {
  box-shadow: 0 8px 24px rgba(183, 28, 28, 0.4);
}


/* 반응형 */
@media (max-width: 1024px) {
  .plan-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .plan-card-highlight {
    transform: scale(1.03);
  }

  .plan-card-highlight:hover {
    transform: translateY(-12px) scale(1.03);
  }
}

@media (max-width: 768px) {
  .plan-section {
    padding: 80px 0;
  }

  .plan-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* 모바일: 고급형 3년 가장 먼저 보이게 */
  .plan-card-highlight {
    order: -1;
  }

  .plan-card-header {
    padding: 24px 20px 20px;
  }

  .plan-card-body {
    padding: 20px;
  }

  .plan-card-footer,
  .plan-card-price-wrap {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* ========== REVIEWS SECTION ========== */
.sw-reviews-marquee {
  overflow: hidden;
  padding: 0;
}

.sw-reviews-row {
  overflow: hidden;
  margin-bottom: 24px;
  padding: 20px 0;
}

.sw-reviews-row:last-child {
  margin-bottom: 0;
}

.sw-reviews-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation-timing-function: linear;
}

.sw-reviews-row1 .sw-reviews-track {
  animation: swReviewsMarquee1 40s linear infinite;
}

.sw-reviews-row2 .sw-reviews-track {
  animation: swReviewsMarquee2 45s linear infinite;
  animation-delay: -15s;
}

@keyframes swReviewsMarquee1 {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes swReviewsMarquee2 {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.sw-review-card {
  flex: 0 0 340px;
  padding: 36px;
  background: var(--gray-bg);
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
  position: relative;
}

.sw-review-card:hover {
  transform: translateY(-16px) scale(1.02);
  box-shadow: 0 24px 64px rgba(0,0,0,0.5), 0 12px 32px rgba(229, 57, 53, 0.25);
  border-color: rgba(229, 57, 53, 0.4);
  z-index: 10;
}

.sw-review-card p,
.sw-review-card .sw-review-author {
  transition: transform 0.35s var(--ease);
}

.sw-review-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  color: var(--accent);
  font-size: 18px;
}

.sw-review-card p {
  color: var(--gray-light);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.sw-review-author {
  font-weight: 600;
  font-size: 15px;
  color: var(--light);
}

.sw-review-role {
  font-size: 13px;
  color: var(--gray);
}

@media (max-width: 600px) {
  .sw-review-card {
    flex: 0 0 280px;
  }

  .sw-reviews-track {
    gap: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sw-reviews-row1 .sw-reviews-track,
  .sw-reviews-row2 .sw-reviews-track {
    animation: none;
  }
}

/* ========== CTA SECTION ========== */
.sw-cta-section {
  padding: 120px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.sw-cta-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.sw-cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.75) 100%);
  pointer-events: none;
  z-index: 1;
}

.sw-cta-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 40% at 50% 50%, rgba(229, 57, 53, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.sw-cta-section h2,
.sw-cta-section p,
.sw-cta-section .sw-cta-btn-lg {
  position: relative;
  z-index: 2;
}

.sw-cta-section h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 24px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.sw-cta-section p {
  color: var(--gray);
  margin-bottom: 40px;
  font-size: 18px;
}

.sw-cta-section .sw-cta-btn-lg {
  height: 64px;
  padding: 0 56px;
  font-size: 18px;
  font-weight: 700;
  background: var(--primary);
  color: var(--light);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  position: relative;
  overflow: hidden;
  animation: swCtaPulse 2.5s ease-in-out infinite;
}

.sw-cta-section .sw-cta-btn-lg:hover {
  transform: scale(1.05);
  box-shadow: 0 0 40px rgba(229, 57, 53, 0.5), 0 16px 48px rgba(229, 57, 53, 0.5);
  background: var(--primary-hover);
  animation: none;
}

@keyframes swCtaPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

/* ========== FOOTER ========== */
.sw-footer {
  background: var(--gray-bg);
  padding: 80px 24px 40px;
}

.sw-footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.sw-footer-brand .sw-logo {
  font-size: 24px;
  margin-bottom: 16px;
  display: inline-block;
}

.sw-footer-brand p {
  color: var(--gray);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 24px;
}

.sw-footer-social {
  display: flex;
  gap: 16px;
}

.sw-footer-social a {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light);
  transition: background 0.3s, color 0.3s;
}

.sw-footer-social a:hover {
  background: var(--primary);
  color: var(--light);
}

.sw-footer-col h4 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--gray);
  margin-bottom: 20px;
}

.sw-footer-col ul {
  list-style: none;
}

.sw-footer-col li {
  margin-bottom: 12px;
}

.sw-footer-col a {
  color: var(--gray-light);
  text-decoration: none;
  font-size: 15px;
  transition: color 0.3s;
}

.sw-footer-col a:hover {
  color: var(--primary);
}

.sw-footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.sw-footer-bottom p {
  color: var(--gray);
  font-size: 14px;
}

.sw-footer-legal {
  display: flex;
  gap: 24px;
}

.sw-footer-legal a {
  color: var(--gray);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.3s;
}

.sw-footer-legal a:hover {
  color: var(--light);
}

@media (max-width: 1024px) {
  .sw-footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .sw-footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .sw-footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ========== SUBPAGE HERO ========== */
.sw-page-hero {
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.sw-page-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.sw-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.75) 100%);
  pointer-events: none;
  z-index: 1;
}

.sw-page-hero > div {
  position: relative;
  z-index: 2;
}

.sw-page-hero h1 {
  font-size: clamp(36px, 5vw, 52px);
  margin-bottom: 12px;
}

.sw-page-hero p {
  color: var(--gray);
  font-size: 16px;
}

/* ========== CONTACT FORM ========== */
.sw-form-group {
  margin-bottom: 24px;
}

.sw-form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--light);
}

.sw-form-input,
.sw-form-textarea {
  width: 100%;
  height: 56px;
  padding: 0 20px;
  background: var(--gray-bg);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  color: var(--light);
  font-size: 16px;
  font-family: inherit;
  transition: border-color 0.3s;
}

.sw-form-input:focus,
.sw-form-textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.sw-form-textarea {
  height: 160px;
  padding: 20px;
  resize: vertical;
}

.sw-form-submit {
  width: 100%;
  height: 56px;
  background: var(--primary);
  color: var(--light);
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  position: relative;
  overflow: hidden;
}

.sw-form-submit:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 28px rgba(229, 57, 53, 0.45);
  background: var(--primary-hover);
}

.sw-contact-buttons {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.sw-contact-btn {
  flex: 1;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s;
}

.sw-contact-btn:hover {
  transform: scale(1.02);
}

.sw-contact-btn-kakao {
  background: #FEE500;
  color: #191919;
}

.sw-contact-btn-phone {
  background: var(--gray-bg);
  color: var(--light);
  border: 1px solid rgba(255,255,255,0.2);
}

/* ========== FILTER BUTTONS ========== */
.sw-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 40px;
}

.sw-filter-btn {
  padding: 12px 24px;
  background: var(--gray-bg);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  color: var(--gray-light);
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s;
}

.sw-filter-btn:hover,
.sw-filter-btn.active {
  background: var(--primary);
  color: var(--light);
  border-color: var(--primary);
}

/* ========== ANIMATIONS ========== */
@keyframes swFadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Parallax */
.sw-parallax-slow {
  will-change: transform;
}

/* Mouse tilt (3D card) */
.sw-tilt-card {
  transform-style: preserve-3d;
  transition: transform 0.2s ease-out;
}

.sw-tilt-card .sw-tilt-inner {
  transform: translateZ(20px);
}

/* Ripple effect */
.sw-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transform: scale(0);
  animation: swRipple 0.5s ease-out;
  pointer-events: none;
}

@keyframes swRipple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Page transition */
.sw-page-transition {
  animation: swPageIn 0.4s ease-out;
}

@keyframes swPageIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Loading splash */
.sw-loading-splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.sw-loading-splash.is-done {
  opacity: 0;
  visibility: hidden;
}

.sw-loading-splash .sw-loading-logo {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--light);
  opacity: 0;
  animation: swLoadingLogo 0.8s ease-out 0.1s forwards;
}

@keyframes swLoadingLogo {
  to { opacity: 1; transform: scale(1); }
}

