/* ========================================
   Global Styles & Reset
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Primary Colors */
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --primary-light: #3b82f6;
    
    /* Secondary Colors */
    --secondary-color: #10b981;
    --secondary-dark: #059669;
    
    /* Neutral Colors */
    --dark: #1f2937;
    --gray-dark: #374151;
    --gray: #6b7280;
    --gray-light: #d1d5db;
    --light: #f3f4f6;
    --white: #ffffff;
    
    /* Accent Colors */
    --accent-blue: #3b82f6;
    --accent-green: #10b981;
    --accent-orange: #f59e0b;
    --accent-red: #ef4444;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    /* Typography */
    --font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

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

ul {
    list-style: none;
}

/* ========================================
   Typography
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }

/* ========================================
   Navigation
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary-color);
}

.logo i {
    font-size: 1.75rem;
}

.logo img {
    height: 32px;
    width: auto;
    display: block;
	filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.35));
}

@media (max-width: 768px) {
    .logo img {
        height: 28px;
    }
}

/* ===== Footer Logo ===== */
.footer-logo img {
    height: 28px;        /* 푸터 기준 최적 (24~32px 조절 가능) */
    width: auto;
    display: block;
    opacity: 0.9;        /* 살짝 눌러서 과하지 않게 */
}


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

.nav-link {
    color: var(--dark);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.btn-primary-nav {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.625rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
}

.btn-primary-nav::after {
    display: none;
}

.btn-primary-nav:hover {
    background: var(--primary-dark);
    color: var(--white);
}

/* 문의하기(버튼) 활성 섹션 도착 시에도 글씨가 보이도록 */
.btn-primary-nav.active {
    background: var(--primary-dark); /* 또는 var(--primary-color) 유지해도 됨 */
    color: var(--white) !important;
}

.btn-primary-nav.active::after {
    display: none;
}

.telegram-cta i{
  margin-right: 6px;
  font-size: 1.1em;
}

/* Mobile Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    cursor: pointer;
}

.hamburger span {
    width: 1.5rem;
    height: 0.125rem;
    background: var(--dark);
    border-radius: 0.125rem;
    transition: var(--transition-base);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(0.375rem, 0.375rem);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(0.375rem, -0.375rem);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    /*  background: url('https://sspark.genspark.ai/cfimages?u1=%2BnT9XalX5%2BEtg1iRDNaz9ileF6dmNEaZCNrjQez%2BJbQMcG1mYgQNeZmcKKUZm8aStxxnFLXRDCLQh77YWZUSRDQucdfeM911sSQqnf5aJVI7n7ep9qjVlnIYi01IQE%2FRlxR4Qre4GoTX%2FqzWudUB%2BZfmfhMC0T9qtnUMbRlaKhqu%2B%2BasDQXHTLKvwnbeu8uunJHUQ0w2ZCJU2gbS5o4QyL%2BdwORCfdksFlyFV3nAQlbthvAVAhhGtYa2KS%2BSwzgoLiEwE4BH4S4RFsvXFfeggcpWU5%2BqFIZQjg11hXydj4HNxqgNAaPiamemrbok1czbReA2isVBIdgC3IjZMXQ4bwm%2Fbndlz35yGAWtwJXJEd5S3XfVw5NJ6cjOfLYJz2QahnmASF4gB1c4b6jhm%2FKNIJsD0E4x2XXBNEveNWZ4DE7BhZC1BGb4dD0nUI4mPjAS7qEYbLvpKtN7qL%2B8D7%2Bjr1%2Bu1NUBdsZrYf5tE2XGbkfh4ZbCnuIP2HbbFX7LH6aHT5X8AvO6DPLBav3IMHVNykxfFYFQ1TdC9tHmP4U%2FLf%2B17g%3D%3D&u2=vqRs%2FV7YPL8MLvXp&width=2560') center/cover no-repeat; */
    position: relative;
    padding: 8rem 0 4rem;
    overflow: hidden;
}

/* Hero Background Slider (SLIDE) */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden; /* 슬라이드 잘림 처리 */
}

/* Hero Background Track Slider (REAL slide) */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-track {
  height: 100%;
  display: flex;
  transform: translateX(0);
  transition: transform 0.9s ease;
  will-change: transform;
}

.hero-slide {
  flex: 0 0 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* Hero headline (move with slide) */





/* 콘텐츠는 가장 위 */
.hero-content {
  z-index: 2;
}


/* 기존 overlay가 배경 위, 콘텐츠 아래로 오도록 */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}


/* Hero Text Slide Animation */
.hero-title,
.hero-subtitle {
  will-change: transform, opacity;
}






/* Hero Slider Controls */
.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(0,0,0,0.25);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  transition: 0.2s ease;
}
.hero-nav:hover {
  background: rgba(0,0,0,0.38);
  border-color: rgba(255,255,255,0.55);
}
.hero-prev { left: 18px; }
.hero-next { right: 18px; }

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}
.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.25);
  cursor: pointer;
  padding: 0;
}
.hero-dot.is-active {
  background: rgba(255,255,255,0.9);
}

@media (max-width: 640px) {
  .hero-nav { width: 40px; height: 40px; }
  .hero-prev { left: 10px; }
  .hero-next { right: 10px; }
}


.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-title .highlight {
    color: #60a5fa;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    opacity: 0.95;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.feature-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    font-weight: 600;
}

.feature-badge i {
    color: #fbbf24;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.stat-label {
    opacity: 0.9;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    font-size: 2rem;
    color: var(--white);
    opacity: 0.8;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}
/* ===== Hero BG Slider (HTML 클래스명에 맞춤) ===== */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-bg-track {
  height: 100%;
  display: flex;
  transform: translateX(0);
  transition: transform 0.9s ease;
  will-change: transform;
}

.hero-bg-slide {
  flex: 0 0 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* ===== Hero Content Slider (콘텐츠도 옆으로 같이 이동) ===== */
.hero-content-slider {
  position: relative;
  z-index: 2;
  width: 100%;
  overflow: hidden;
}

.hero-content-track {
  display: flex;
  width: 100%;
  transform: translateX(0);
  transition: transform 0.9s ease;
  will-change: transform;
}

.hero-content-slide {
  flex: 0 0 100%;
}

/* 기존 .hero-content는 슬라이드 내부 콘텐츠 블록 */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
}

/* ===============================
   Mobile Hero Override
   =============================== */
@media (max-width: 768px) {

  .hero-bg-slide:nth-child(1) {
    background-image: url('img/hero-1-mobile.jpg');
  }
  .hero-bg-slide:nth-child(2) {
    background-image: url('img/hero-2-mobile.jpg');
  }
  .hero-bg-slide:nth-child(3) {
    background-image: url('img/hero-3-mobile.jpg');
  }

}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.1rem;
    line-height: 1.25;	
  }

  .hero-title span.highlight {
    display: block; /* 줄바꿈 */
    margin-top: 0.3rem;
  }
}

@media (max-width: 768px) {
  .hero-subtitle {
    font-size: 0.8rem !important;   /* 기존 1rem → 더 축소 */
    line-height: 1.45 !important;
    max-width: 92%;
    margin-left: auto;
    margin-right: auto;
	margin-bottom: 5rem !important; /* 공간 확실히 확보 */
    opacity: 0.9;
  }
}

/* 기본: 데스크탑 문구 */
.subtitle-mobile {
  display: none;
}

/* 모바일: 짧은 문구 */
@media (max-width: 768px) {
  .subtitle-desktop {
    display: none;
  }
  .subtitle-mobile {
    display: inline;
  }
}


@media (max-width: 768px) {
  .hero-features {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero-cta {
    flex-wrap: nowrap;
    gap: 0.75rem;
  }

  .hero-cta .btn {
    flex: 1;
    padding: 0.9rem 0;
    font-size: 0.95rem;
  }
}

@media (max-width: 768px) {
  .hero-stats {
    gap: 0.75rem;
    margin-top: 2.5rem;
  }

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

  .stat-label {
    font-size: 0.75rem;
  }
}

/* ========================================
   Mobile Hero Fix (CTA 2열 고정 + Stats 3열 고정)
   파일 맨 끝에 추가
   ======================================== */
@media (max-width: 768px) {

  /* 5) CTA 버튼: 어떤 화면에서도 "가로 2열" 유지 (동일 폭) */
  .hero-cta{
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    align-items: stretch;
  }

  .hero-cta .btn{
    width: 100% !important;
    min-width: 0 !important;      /* 좁은 화면에서 줄바꿈 방지 */
    padding: 12px 10px !important; /* 폭 줄이기 */
    font-size: 0.92rem !important; /* 글씨 살짝 축소 */
    white-space: nowrap !important;/* 버튼 텍스트 줄바꿈 방지 */
  }

  /* 6) 스탯 3개: 모바일에서도 "가로 3열" 유지 */
  .hero-stats{
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  /* 스탯 내부 텍스트 더 압축 */
  .stat-number{
    font-size: 1.35rem !important;
    line-height: 1.1 !important;
    margin-bottom: 4px !important;
  }
  .stat-label{
    font-size: 0.78rem !important;
    line-height: 1.15 !important;
    word-break: keep-all;
  }
}

/* 아주 작은 폰(예: 360px)에서 버튼 텍스트가 길면 더 줄여서라도 2열 유지 */
@media (max-width: 390px) {
  .hero-cta .btn{
    font-size: 0.86rem !important;
    padding: 11px 8px !important;
    letter-spacing: -0.2px;
  }
  .stat-number{ font-size: 1.25rem !important; }
  .stat-label{ font-size: 0.72rem !important; }
}


/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition-base);
    text-decoration: none;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

.btn-block {
    width: 100%;
}

/* ========================================
   Sections
   ======================================== */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--gray);
}

/* ========================================
   Why Section
   ======================================== */
.why-section {
    background: #ffffff;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.why-card {
    text-align: center;
    padding: 3rem 2rem;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.why-card h4,
.why-card p{
  color: #1f2937; /* 기본 텍스트 */
}

.why-card:hover {
    background: #1e40af;
    color: #ffffff;
    border-color: #1e40af;
}

.why-card:hover h4,
.why-card:hover p{
  color: #ffffff;
}

.why-card:hover .why-icon{
  background: #ffffff;
  color: #1e40af;
}

.why-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: #2563eb; /* 사이트 내 이미 쓰는 네이비 톤과 일치 */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
	transition: background-color 0.25s ease, color 0.25s ease;
}

.why-card h4 {
    margin-bottom: 1.5rem;
}

.why-card p {
    color: var(--gray-dark);
}


@media (max-width: 768px) {

  /* why 섹션 헤더 전체 간격 */
  .why-section .section-header{
    margin-bottom: 2.8rem;
  }

  /* 타이틀 — 히어로급 */
  .why-section .section-title{
    font-size: 1.7rem;      /* 히어로와 체급 맞춤 */
    line-height: 1.22;
    font-weight: 900;
    letter-spacing: -0.4px;
  }

  /* 서브타이틀 — 히어로 서브와 동일 결 */
  .why-section .section-subtitle{
    font-size: 0.9rem;
    line-height: 1.2;
    margin-top: 0.9rem;
    max-width: 92%;
    margin-left: auto;
    margin-right: auto;
  }

}

@media (max-width: 768px) {

  .why-grid{
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem; /* 모바일이라 간격만 살짝 줄임 */
  }

}

@media (max-width: 768px) {

  .why-card{
    padding: 32px 10px;
  }

  .why-card h4{
    font-size: 1rem;
    line-height: 1.3;
  }

  .why-card p{
    font-size: 0.8rem;
    line-height: 1.4;
  }
  .why-icon {
	width: 40px;
    height: 40px;  
	font-size: 20px;
  }	  

}


/* ================================
   Showcase Hero (NO JS)
   목표:
   - 우측 배경 이미지는 화면 우측 끝까지 꽉
   - 좌측 흰 패널은 화면 2/3 지점까지만
================================ */

.showcase-hero {
  position: relative;
  overflow: hidden;
  padding: 150px 0;          /* 위아래 여백 */
  margin: 60px 0px 80px 0px ;
  background: #fff;
  min-height: 520px;
}

/* 우측 배경 이미지(전체 섹션을 덮되, 시각적으로 우측이 메인) */
.showcase-hero__bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 66.666vw;                 /* ✅ 화면의 1/3 */
  height: 100%;
  background-image: url("../img/service-showcase.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

/* 컨텐츠 레이어 */
.showcase-hero .container {
  position: relative;
  z-index: 1;
}

/* 좌측 흰 패널: 화면의 2/3까지만 차지하도록 max-width로 제한 */
.showcase-hero__panel {
  background: #fff;
  
  padding: 56px 56px 56px 0px;
  width: 50%;              /* ✅ 화면 절반 */
  max-width: 50%;
}

/* 타이포 */
.showcase-hero__kicker {
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 52px;
  margin: 0 0 12px;
}

.showcase-hero__title {
  font-weight: 700;
  font-size: 24px;
  margin: 0 0 18px;
  color: #222;
}

.showcase-hero__desc {
  margin: 0 0 28px;
  color: #555;
  line-height: 1.8;
  font-size: 15px;
}

/* 버튼 영역 */
.showcase-hero__actions {
  margin-top: 10px;
}

/* Showcase 영역 안의 버튼만 직각 처리 */
.showcase-hero .btn {
    border-radius: 0;
}


/* 모바일: 패널 폭을 넓히고 패딩 축소 */
@media (max-width: 768px) {
  .showcase-hero {
    padding: 56px 0;
  }
  .showcase-hero__panel {
    width: 100%;
    max-width: 100%;
    padding: 50px 22px;
  }
  .showcase-hero__kicker {
    font-size: 38px;
  }
  .showcase-hero__title {
    font-size: 18px;
  }
}

/* ========================================
   Showcase Hero Scroll Animation
   (ADD ONLY / 기존 스타일 유지)
======================================== */

/* 애니메이션 대상 */
.showcase-hero__panel,
.showcase-hero__bg {
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 1.2s ease;
  will-change: transform, opacity;
}

/* 준비 상태 */
.showcase-hero.is-prepare .showcase-hero__panel {
  transform: translateX(-60px);
  opacity: 0;
}

.showcase-hero.is-prepare .showcase-hero__bg {
  transform: translateX(60px);
  opacity: 0;
}

/* 진입 상태 */
.showcase-hero.is-in .showcase-hero__panel,
.showcase-hero.is-in .showcase-hero__bg {
  transform: translateX(0);
  opacity: 1;
}



/* ========================================
   Service Section
   ======================================== */
.service-intro {
    background: var(--light);
    padding: 2rem;
    border-radius: var(--radius-lg);
    margin-bottom: 3rem;
}

.intro-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.intro-content p {
    color: var(--gray-dark);
    line-height: 1.8;
}

.legal-notice {
    display: flex;
    gap: 1rem;
    align-items: start;
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: #1C3FAA;
    border-radius: var(--radius-md);
    border-left: 4px solid #60a5fa;
}

.legal-notice i {
    font-size: 1.5rem;
    color: #ffffff;
}

.legal-notice h4 {
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.legal-notice p {
    color: #ffffff;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

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

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--gray-dark);
    margin-bottom: 1rem;
}

.service-list {
    list-style: none;
}

.service-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--gray-dark);
}

.service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: 700;
}

.included-services {
    background: var(--light);
    padding: 2rem;
    border-radius: var(--radius-lg);
}

.included-services h3 {
    text-align: center;
    margin-bottom: 2rem;
}

.included-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.included-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.included-item i {
    font-size: 1.25rem;
    color: var(--primary-color);
}

/* ========================================
   Corporation Cards
   ======================================== */
.corporations-section {
    background: var(--light);
}

.filter-bar {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    align-items: flex-end;
}

.filter-item {
    flex: 1;
    min-width: 200px;
}

.filter-item label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark);
}

.filter-item select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-md);
    font-size: 1rem;
}

.search-box {
    flex: 1;
    min-width: 250px;
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-md);
    font-size: 1rem;
}

.search-box i {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
}

.corporations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.corporation-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    cursor: default;
}

.corporation-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.corp-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--light);
}

.corp-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0;
}

.corp-badge {
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
}

.corp-badge-available {
    background: #1C3FAA;
    color: var(--white);
}

.corp-badge-sold {
    background: #ef4444;
    color: var(--white);
}

.corp-info {
    margin-bottom: 1rem;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--light);
}

.info-label {
    font-weight: 500;
    color: var(--gray);
}

.info-value {
    font-weight: 600;
    color: var(--dark);
}

.corp-price {
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--primary-color);
    text-align: center;
    margin: 1rem 0;
}

.corp-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.feature-tag {
    padding: 0.375rem 0.75rem;
    background: var(--light);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    color: var(--gray-dark);
}

.corp-action {
    display: flex;
    gap: 0.5rem;
}

.cta-banner {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.cta-banner h3 {
    margin-bottom: 1rem;
}

.cta-banner p {
    color: var(--gray-dark);
    margin-bottom: 2rem;
}


/* ========================================
   Corporations "더보기" Toggle
   ======================================== */
.corp-more-wrap{
  display: flex;
  justify-content: center;
  margin: 0 0 2.5rem; /* 아래 CTA 배너와 간격 */
}

.btn-more{
  background: #fff;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  box-shadow: var(--shadow-sm);
}

.btn-more:hover{
  background: var(--primary-color);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* JS로 숨길 카드 */
.corp-hidden{
  display: none !important;
}

/* ===== 법인 더보기 박스 ===== */
.corp-more-wrap{
  display: flex;
  justify-content: center;
  margin: 0 0 3rem;
}

/* 박스 자체 */
.corp-more-box{
  width: 100%;
  max-width: 1280px;           /* 카드 그리드 폭과 맞춤 */
  padding: 1.25rem;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

/* 버튼은 박스 안에서 좌우 꽉 */
.corp-more-box .btn-more{
  width: 100%;
  padding: 1.1rem 0;
  font-size: 1.05rem;
  font-weight: 700;
}
.corp-more-box{
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

@media (max-width: 768px){
  .corporations-grid{
    margin-bottom: 0.75rem;
  }
}

/* 모바일에서 '법인 더보기' 버튼 높이 축소 */
@media (max-width: 768px){
  .corp-more-box .btn-more{
    padding: 0.75rem 0;   /* 위아래만 줄임 */
    font-size: 0.95rem;  /* 살짝 컴팩트하게 */
  }
}

/* 모바일 타이틀/서브타이틀을 WHY 섹션 비율에 맞춤 */
@media (max-width: 768px){

  /* 메인/섹션 타이틀 */
  .section-title,
  .hero-title{
    font-size: 1.6rem;        /* WHY 타이틀과 동일 스케일 */
    line-height: 1.3;
    letter-spacing: -0.01em;
  }

  /* 서브타이틀 */
  .section-subtitle,
  .hero-subtitle{
    font-size: 0.95rem;       /* WHY 설명 텍스트와 맞춤 */
    line-height: 1.6;
    margin-top: 0.5rem;       /* 타이틀과 간격 축소 */
  }

}

/* ===============================
   모바일 필터 영역을 데스크탑처럼 흰 박스로
   =============================== */
@media (max-width: 768px){

  .filter-bar{
    background: #ffffff;
    padding: 1.25rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.5rem;
  }

  /* 셀렉트 / 검색 인풋도 확실히 흰색 고정 */
  .filter-bar select,
  .filter-bar input{
    background: #ffffff;
  }

}


/* ========================================
   Process Section
   ======================================== */
.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.process-step {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    position: relative;
    transition: var(--transition-base);
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--white);
}

.step-icon {
    width: 70px;
    height: 70px;
    margin: 2rem auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--white);
}

.process-step h3 {
    text-align: center;
    margin-bottom: 1rem;
}

.process-step p {
    text-align: center;
    color: var(--gray-dark);
    margin-bottom: 1.5rem;
}

.step-details {
    list-style: none;
}

.step-details li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--gray-dark);
}

.step-details li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.step-duration {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid var(--light);
    text-align: center;
    font-weight: 600;
    color: var(--primary-color);
}

.process-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.info-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.info-box i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.info-box h4 {
    margin-bottom: 0.5rem;
}

.info-box p {
    color: var(--gray-dark);
}

/* ========================================
   Testimonials
   ======================================== */
.testimonials-section {
    background: var(--light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.rating i {
    color: #fbbf24;
}

.testimonial-text {
    color: var(--gray-dark);
    line-height: 1.8;
    
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
	margin-bottom: 1.5rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
}

.author-info h4 {
    margin-bottom: 0.25rem;
}

.author-info p {
    color: var(--gray);
    font-size: 0.875rem;
}

/* ========================================
   Testimonials Slider (infinite)
   ======================================== */

.testimonials-slider{
  position: relative;
}

.testimonials-viewport{
  overflow: hidden;
  width: 100%;
}

.testimonials-track{
  display: flex;
  gap: 2rem;               /* 기존 grid gap 느낌 유지 */
  will-change: transform;
  transform: translateX(0);
}

/* ✅ 데스크탑: 3개 고정 */
.testimonials-track .testimonial-card{
  flex: 0 0 calc((100% - (2rem * 2)) / 3); /* gap 2칸 고려 */
  min-width: 0;
}

/* ✅ 모바일: 1개 고정 */
@media (max-width: 768px){
  .testimonials-track{
    gap: 1rem;
  }
  .testimonials-track .testimonial-card{
    flex: 0 0 100%;
  }
}

/* 도트 */
.testimonials-dots{
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 50px;  /* ✅ 도트 위 여백 늘림 */
}

.testimonials-dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, 0.45);
  background: rgba(37, 99, 235, 0.18);
  cursor: pointer;
  padding: 0;
}

.testimonials-dot.is-active{
  background: rgba(37, 99, 235, 0.95);
  border-color: rgba(37, 99, 235, 0.95);
}


/* ========================================
   FAQ Section
   ======================================== */
.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius-lg);
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-item.active {
    box-shadow: var(--shadow-lg);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    background: var(--white);
    transition: var(--transition-base);
}

.faq-question:hover {
    background: var(--light);
}

.faq-question h3 {
    font-size: 1.125rem;
    margin: 0;
}

.faq-question i {
    color: var(--primary-color);
    transition: var(--transition-base);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: var(--gray-dark);
    line-height: 1.8;
}

/* 모바일 FAQ 질문 텍스트 겹침 방지 */
@media (max-width: 768px) {
    .faq-question h3 {
        /* 아이콘과 겹치지 않도록 오른쪽에 충분한 여백 확보 */
        padding-right: 35px; 
        /* 긴 질문이 들어와도 글자가 깨지지 않도록 설정 */
        line-height: 1.4;
        font-size: 1rem;
    }

    .faq-question {
        /* 아이콘 위치 고정을 위해 상대 위치 확인 */
        position: relative;
        padding: 1.25rem 1rem;
    }

    .faq-question i {
        /* 아이콘을 오른쪽 끝에 고정 */
        position: absolute;
        right: 15px;
        top: 1.5rem;
    }
}

/* ========================================
   Contact Section
   ======================================== */
.contact-section {
    background: var(--light);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}

.contact-info {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    height: fit-content;
}

.contact-info h3 {
    margin-bottom: 1rem;
}

.contact-info > p {
    color: var(--gray-dark);
    margin-bottom: 2rem;
}

.contact-methods {
    margin-bottom: 2rem;
}

.contact-method {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    margin-bottom: 1rem;
    background: var(--light);
    border-radius: var(--radius-md);
}

.contact-method i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.contact-method h4 {
    margin-bottom: 0.25rem;
}

.contact-method p {
    color: var(--dark);
    font-weight: 600;
}

.contact-method span {
    color: var(--gray);
    font-size: 0.875rem;
}

.consultation-benefits {
    background: var(--light);
    padding: 1.5rem;
    border-radius: var(--radius-md);
}

.consultation-benefits h4 {
    margin-bottom: 1rem;
}

.consultation-benefits ul {
    list-style: none;
}

.consultation-benefits li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-dark);
}

.consultation-benefits li i {
    color: var(--secondary-color);
}

.contact-form-wrapper {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.contact-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* 모바일에서 상담 안내 박스 숨기기 */
@media (max-width: 968px) {
    .contact-info {
        display: none; /* 상담 안내 박스 숨김 */
    }

    .contact-wrapper {
        grid-template-columns: 1fr; /* 폼이 전체 너비를 차지하도록 설정 */
        gap: 0; /* 불필요한 간격 제거 */
    }
}

/* 체크박스 전체 라벨 스타일 */
.checkbox-label {
    display: flex !important;
    align-items: center !important; /* 데스크탑: 체크박스와 텍스트 높이 중앙 정렬 */
    gap: 10px;
    cursor: pointer;
    margin-top: 10px;
}

/* 텍스트와 링크를 감싸는 박스 */
.agreement-text-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px; /* 데스크탑에서 텍스트와 '내용보기' 사이 간격 */
}

/* 모바일 대응 (768px 이하) */
@media (max-width: 768px) {
    .checkbox-label {
        align-items: flex-start !important; /* 모바일: 텍스트가 두 줄이 되므로 상단 정렬 */
    }

    .checkbox-label input[type="checkbox"] {
        margin-top: 3px; /* 모바일에서 체크박스가 첫 줄 텍스트와 높이가 맞도록 미세 조정 */
    }

    .mobile-br-link {
        display: inline-block !important;
        width: 100% !important;
        margin-top: 2px !important; /* 위아래 간격 축소 */
        margin-left: 0 !important;
        font-size: 1rem;
    }

    .agreement-text-wrap {
        gap: 0; /* 모바일은 줄바꿈이 되므로 gap 제거 */
    }

    .agreement-text-wrap span {
        line-height: 1.4;
        font-size: 1rem;
    }
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.footer-logo i {
    color: var(--primary-light);
}

.footer-section p {
    color: var(--gray-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition-fast);
}

.footer-social a:hover {
    background: var(--primary-color);
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--gray-light);
    transition: var(--transition-fast);
}

.footer-section ul li a:hover {
    color: var(--white);
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-light);
}

.footer-contact i {
    color: var(--primary-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    color: var(--gray-light);
    margin-bottom: 0.5rem;
}

.footer-disclaimer {
    font-size: 0.875rem;
    color: var(--gray);
}

/* ========================================
   Scroll to Top Button
   ======================================== */
.scroll-top-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
    z-index: 999;
    box-shadow: var(--shadow-lg);
}

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

.scroll-top-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* ========================================
   Telegram Floating Button
   ======================================== */
.telegram-float-btn{
  position: fixed;
  right: 2rem;
  bottom: 2rem;              /* ✅ 텔레그램을 아래로 */
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: #229ED9;
  color: #fff;
  cursor: pointer;

  opacity: 0;                /* ✅ 항상 보이게 */
  visibility: hidden;       /* ✅ 항상 보이게 */
  transition: var(--transition-base);
  z-index: 999;
  box-shadow: var(--shadow-lg);
}

.telegram-float-btn i{
  font-size: 18px;   /* ← 이 숫자만 키우면 됨 */
}

.telegram-float-btn.visible{
  opacity: 1;
  visibility: visible;
}

.telegram-float-btn:hover{
  transform: translateY(-3px);
}

/* 데스크탑에서는 숨김 
@media (min-width: 769px){
  .telegram-float-btn{ display: none; }
}
*/

/* 모바일에서 여백 조금 줄이기(선택) */
@media (max-width: 768px){
  .telegram-float-btn{
    right: 1.25rem;
    bottom: calc(1.25rem + 60px);
  }
  .scroll-top-btn{
    right: 1.25rem;
    bottom: 1.25rem;
  }
}

@media (min-width: 769px){
  .telegram-float-btn{
    right: 2.5rem;
    bottom: 2.5rem;
  }
  .scroll-top-btn{
    right: 2.5rem;
    bottom: calc(2.5rem + 60px);
  }
}


/* ========================================
   Modal
   ======================================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    overflow-y: auto;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal-content {
    background: var(--white);
    max-width: 800px;
    width: 100%;
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    color: var(--gray-dark);
    cursor: pointer;
    transition: var(--transition-fast);
}

.modal-close:hover {
    color: var(--primary-color);
}

/* ========================================
   Loading State
   ======================================== */
.loading {
    text-align: center;
    padding: 3rem;
    color: var(--gray);
}

.loading i {
    font-size: 2rem;
    margin-bottom: 1rem;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 968px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        max-width: 400px;
        background: var(--white);
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        box-shadow: var(--shadow-xl);
        transition: var(--transition-base);
        gap: 0;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        display: inline-block;   /* ✅ 밑줄 기준 안정 */
    width: auto;             /* ✅ 100% 제거 */
    border-bottom: none;     /* ✅ 모바일에선 border-bottom 제거 (선택) */
    padding: 14px 0;
    }
	/* 밑줄이 링크 바로 아래에 오도록 */
  .nav-link::after {
    left: 50%;
    transform: translateX(-50%);
    bottom: 6px;
  }
    
    .btn-primary-nav {
        margin: 12px auto 0;   /* 위만 띄우고 중앙 정렬 */
        padding: 14px 24px;    /* 버튼 내부 여백 조정 */
        width: auto;           /* 너무 커지지 않게 */
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-features {
        flex-direction: column;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn-lg {
        width: 100%;
    }
}
