/* 전역 스타일 */
body {
    font-family: "Pretendard", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

/* 폰트 스타일 - 성능 최적화: 실제 사용되는 웨이트만 로드 */
@font-face {
    font-family: "Pretendard";
    src: url("../fonts/Pretendard-Regular.woff2") format("woff2");
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Pretendard";
    src: url("../fonts/Pretendard-Medium.woff2") format("woff2");
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: "Pretendard";
    src: url("../fonts/Pretendard-SemiBold.woff2") format("woff2");
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: "Pretendard";
    src: url("../fonts/Pretendard-Bold.woff2") format("woff2");
    font-weight: 700;
    font-display: swap;
}

/* CSS 변수 */
:root {
    /* Colors */
    --color-primary-100: #d8e8ff;
    --color-primary-500: #0166ff;
    --color-primary-50: #f0f6ff;
    --color-primary-25: #f8fbff;
    --color-subcolor-500: #facc15;
    --color-neutral-white: #ffffff;
    --color-neutral-black: #121212;
    --color-neutral-gray-500: #6b7280;
    --color-neutral-gray-600: #4b5563;
    --color-neutral-gray-700: #374151;
    --color-neutral-gray-800: #1f2937;

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;

    /* Typography */
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-base: all 0.3s ease;
    --transition-fast: all 0.2s ease;
    --transition-slow: all 0.4s ease;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);

    /* Breakpoints - 집잘알 표준 4단계 반응형 */
    --breakpoint-xs: 360px;  /* 초소형 모바일 */
    --breakpoint-sm: 481px;  /* 표준 모바일 → 태블릿 */
    --breakpoint-md: 769px;  /* 태블릿 → 데스크탑 소형 */
    --breakpoint-lg: 1024px; /* 데스크탑 */
    
    /* Consistent gradients */
    --gradient-primary: linear-gradient(135deg, #0166ff 0%, #0052cc 100%);
    --gradient-hero: linear-gradient(135deg, #3b82f6 0%, #2563eb 50%, #0166ff 100%);
}



/* Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    letter-spacing: -0.02em;
    background-color: var(--color-neutral-white);
    color: var(--color-neutral-black);
    line-height: 1.5;
    overflow-x: hidden;
}

/* 접근성: 화면 비노출용(sr-only) 유틸리티 */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}


/*공통 컴포넌트*/
.page-section {
    background: var(--bg-secondary);
    padding: 32px 16px;
    min-height: 100dvh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
  }

/* 600px 이상에서만 조정 */
@media (min-width: 481px) {
    .page-section {
      padding: 40px 20px;
    }
 }

 /* 600px 이하에서 전체 화면 활용 */
 @media (max-width: 480px) {
    .page-section {
      padding: 0;
    }
  }

.app-container {
  width: min(100%, var(--container-max));
  margin: 0 auto;
  background: var(--bg-primary);
  padding: 0;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(1, 102, 255, 0.08);
  border: 1px solid rgba(1, 102, 255, 0.1);
  /* bleed 요소가 둥근 모서리 안에서 깔끔히 잘리도록 */
  overflow: hidden;
}


/* 🔄 Divider 컴포넌트 (공용) - 피그마 디자인 기반 */
.divider {
    width: 100vw;
    max-width: 100vw;
    height: 8px;
    background: #F0F4F6;
    box-shadow: inset 0px 4px 4px 0px rgba(177, 184, 192, 0.07);
    margin: 24px 0;
    margin-left: calc(-50vw + 50%);
    border: none;
    border-radius: 0;
  }

/* 데스크탑에서 컨테이너 최대 너비에 맞춰 제한 */
@media (min-width: 481px) {
  .divider {
    width: var(--container-max);
    max-width: var(--container-max);
    margin-left: calc(-1 * var(--container-max) / 2 + 50%);
  }
}

/* ═══ 🧩 NAVBAR COMPONENT ═══ */
/* 유연한 네비게이션 바 컴포넌트 - 3-slot 구조 */
/* 
 * 📚 자주 사용할 Heroicons:
 * 
 * 뒤로가기: <path d="M15 19l-7-7 7-7"/>
 * 메뉴: <path d="M4 6h16M4 12h16M4 18h16"/>  
 * 검색: <path d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"/>
 * 설정: <path d="M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 002.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 001.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 00-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 00-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 00-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 00-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 001.066-2.573c-.94-1.543.826-3.31 2.37-2.37.996.608 2.296.07 2.572-1.065z M15 12a3 3 0 11-6 0 3 3 0 016 0z"/>
 * 닫기: <path d="M6 18L18 6M6 6l12 12"/>
 * 체크: <path d="M5 13l4 4L19 7"/>
 * 더보기: <path d="M12 5v.01M12 12v.01M12 19v.01M12 6a1 1 0 110-2 1 1 0 010 2zM12 13a1 1 0 110-2 1 1 0 010 2zM12 20a1 1 0 110-2 1 1 0 010 2z"/>
 * 편집: <path d="M11 5H6a2 2 0 00-2 2v11a2 2 0 002 2h11a2 2 0 002-2v-5m-1.414-9.414a2 2 0 112.828 2.828L11.828 15H9v-2.828l8.586-8.586z"/>
 */

.as-navbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-light);
    padding: var(--space-8-12) var(--space-16-30);
}

.as-navbar-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    height: 44px;
    gap: 8px;
}

/* 왼쪽 슬롯 */
.as-navbar-left {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-self: start;
}

/* 중앙 슬롯 */
.as-navbar-center {
    display: flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
}

/* 우측 슬롯 */
.as-navbar-right {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-self: end;
}

/* 네비바 요소들 */
.as-navbar-title {
    font-size: var(--fs-16-20);
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    white-space: nowrap;
}

.as-navbar-button {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 16px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
    white-space: nowrap;
}

.as-navbar-button:hover {
    background: var(--bg-tertiary);
}

.as-navbar-button.primary {
    color: var(--primary);
}

.as-navbar-icon {
    width: 24px;
    height: 24px;
    color: var(--text-secondary);
    cursor: pointer;
    background: none;
    border-radius: 4px;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.as-navbar-icon:hover {
    color: var(--text-primary);
}









.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-16-20);
}

/* 전문가 상세 페이지는 별도 컨테이너 사용 - match_result.php와 동일한 구조 */
.vendor-detail-page .container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    background: #ffffff;
    position: relative;
}

/* 헤더 스타일 */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(to right, #3b82f6, #2563eb);
    z-index: 1000;
    transition: width 0.3s ease;
}

/* 실시간 알림 바 */
.notification-bar {
    background: linear-gradient(to right, #3b82f6, #2563eb);
    color: white;
    padding: 0.5rem 1rem;
    text-align: center;
    font-size: 0.875rem;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.notification-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    z-index: 10;
}

.live-indicator {
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.live-count {
    font-weight: 700;
    animation: bounce 1s infinite;
}


/* 헤더 및 모바일 메뉴 스타일은 header-footer.css로 이동되었습니다. */



/* 서비스 섹션 간단 카피 스타일 */
.service-simple-copy {
    text-align: center;
    margin: 32px 0 var(--space-24-32);
}

.service-copy-line {
    font-weight: 700;
    color: var(--bg-primary);
    line-height: 1.35;
}

.service-copy-line.sub {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
    margin-top: 30px;
}


.service-simple-copy .service-copy-line {
    font-size: var(--fs-22-28);
}

.service-simple-copy .service-copy-line.sub {
    font-size: var(--fs-13-17);
}


.hero-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    border: none;
    border-radius: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    outline: none;
    gap: 12px;
}

.hero-trendy-btn {
    background: linear-gradient(135deg, #FDE047 0%, #FACC15 100%);
    color: #1a1a1a;
    padding: 16px 24px;
    font-size: 16px;
    min-width: 240px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 12px rgba(250, 204, 21, 0.25);
}

.hero-trendy-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.hero-trendy-btn:hover::before {
    opacity: 1;
}

.hero-trendy-btn:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 0, 0, 0.12);
    box-shadow: 0 8px 25px rgba(250, 204, 21, 0.4);
    background: linear-gradient(135deg, #FACC15 0%, #EAB308 100%);
}

.hero-trendy-btn:active {
    transform: translateY(-1px);
}

.btn-text {
    font-weight: 600;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 2;
    flex: 1;
    text-align: center;
    white-space: nowrap;
    margin-bottom: 3px;
}

.btn-arrow {
    color: #1f2937;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
    opacity: 0.8;
}

.hero-action-btn:hover .btn-arrow {
    transform: translateX(3px);
    opacity: 1;
}

/* 모바일 반응형 */
@media (max-width: 480px) {
    .hero-action-buttons {
        bottom: 60px;
    }
    
    .hero-trendy-btn {
        width: 95%;
        max-width: 320px;
        padding: 16px 24px;
        font-size: 20px;
        min-width: auto;
        gap: 12px;
    }
    
    .btn-text {
        font-size: 20px;
        font-weight: 600;
    }
    
    .btn-arrow img {
        width: 24px;
        height: 24px;
    }
}

/* 데스크톱 */
@media (min-width: 481px) {
    .hero-trendy-btn {
        padding: 18px 20px 18px 28px;
        font-size: 20px;
    }
    
    .btn-text {
        font-size: 24px;
    }
    
    .btn-arrow img {
        width: 32px;
        height: 32px;
    }
    /* masthead 전용 CTA 높이 미세 조정(데스크탑) */
    .service-section.masthead .hero-trendy-btn {
        padding-top: 16px;
        padding-bottom: 16px;
    }
}

.hero-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 5rem;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.1), transparent);
}

/* 서비스 소개 섹션 */
.intro-section {
    padding: 100px 0;
    background-color: #ffffff;
}

.intro-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    gap: 48px;
}

.intro-top-text {
    width: 100%;
}

.intro-main-title {
    font-size: 40px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
    margin: 0;
}

.intro-visual {
    width: 100%;
    display: flex;
    justify-content: center;
}

.intro-image {
    max-width: 280px;
    width: 100%;
    height: auto;
}

.intro-bottom-text {
    width: 100%;
}

.intro-description {
    font-size: 22px;
    line-height: 1.45;
    margin: 0;
    font-weight: 600;
    word-break: keep-all;
}

.intro-highlight {
    color: #2563eb;
}

.intro-connection {
    color: #374151;
    font-weight: 500;
}

/* 모바일 대응 */
@media (max-width: 768px) {
    .intro-section {
        padding: 80px 20px;
    }
    
    .intro-content {
        gap: 40px;
    }
    
    .intro-main-title {
        font-size: 34px;
    }
    
    .intro-image {
        max-width: 240px;
    }
    
    .intro-description {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .intro-section {
        padding: 60px 16px;
    }
    
    .intro-content {
        gap: 30px;
    }
    
    .intro-main-title {
        font-size: 26px;
        line-height: 1.4;
    }
    
    .intro-image {
        max-width: 200px;
    }
    
    .intro-description {
        font-size: 16px;
        line-height: 1.5;
    }
}

/* ========================================
   SERVICE SECTION - 통합 스타일
   Mobile-First 반응형 디자인
   ======================================== */

/* 1. 서비스 섹션 기본 컨테이너 */
.service-section {
    background: linear-gradient(to bottom, #3b82f6, #2563eb);
    padding: 40px 0 40px 0;
    margin-top: 70px;
}

/* 2. 서비스 헤더 */
.service-header {
    text-align: center;
    margin-bottom: 30px;
}

/* 3. 서비스 메인 타이틀 */
.service-main-title {
    text-align: center;
    color: white;
    font-size: clamp(22px, 5vw, 36px);
    font-weight: 700;
    margin-bottom: clamp(30px, 6vw, 56px);
    line-height: 1.42;
}

/* 4. 하이라이트 텍스트 (노란색) */
.service-highlight-yellow {
    color: #FDE047;
    font-weight: 700;
    font-size: clamp(24px, 6vw, 40px);
}

/* 5. 견적 비교 이유 섹션 */
.service-reasons-section {
    text-align: center;
    margin-bottom: 45px;
}

/* 5-1. 구분선 */
.service-divider {
    width: 85%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.4);
    margin: 0 auto 45px auto;
}

.service-reasons-title {
    font-size: 20px;
    font-weight: 700;
    color: white;
    margin-bottom: 24px;
    line-height: 1.35;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    padding: 10px 16px;
    display: inline-block;
}

.service-reasons-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    max-width: 290px;
    margin: 0 auto;
}

.service-reason-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    width: 100%;
}

.service-reason-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reason-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.service-reason-text {
    font-size: 16px;
    font-weight: 400;
    color: white;
    line-height: 1.4;
    text-align: left;
    margin: 0;
}

.service-reason-text br {
    display: none;
}

/* 6. 하단 메시지 */
.service-bottom-message {
    text-align: center;
    margin-bottom: 26px;
}

.service-bottom-text {
    font-size: 22px;
    font-weight: 700;
    color: white;
    margin: 0;
}

/* 7. 서비스 타이틀 (그리드 위) */
.service-title {
    text-align: center;
    color: white;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 24px;
}

/* 2-1. 퍼스트뷰 H1 헤더 (히어로 제거 대체 카피) */
.service-simple-header {
    text-align: center;
    margin-bottom: 24px;
}

.service-h1 {
    color: #ffffff;
    font-size: clamp(24px, 6vw, 44px);
    font-weight: 800;
    line-height: 1.25;
    margin: 0 0 8px 0;
    word-break: keep-all;
}

/* =======================
   Masthead modifier
   ======================= */
.service-section.masthead {
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-60) 100%);
    min-height: clamp(72vh, 76vh, 84vh);
}

.service-section.masthead .service-h1 {
    color: #FFFFFF;
    font-size: clamp(28px, 8vw, 40px);
    line-height: 1.35;
    text-align: center; /* 모바일/태블릿 기본: 중앙 정렬 */
}

.service-section.masthead .service-sub {
    margin: 10px 0 28px 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(14px, 3.8vw, 18px);
}

/* Masthead 2-컬럼 레이아웃 */
.masthead-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 0;
    align-items: center;
    margin-bottom: 60px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.masthead-left {
    display: block;
}

.masthead-right {
    display: flex;
    justify-content: center;
    margin: 32px 24px 0 0 ;
}

/* .masthead-visual-img: 현재 masthead에서 이미지 블록을 사용하지 않으므로 제거 */

/* 데스크탑 기본 스타일(>1024px) 위주로 선언, 하단에서 1024/600 이하 대응 */
.service-section.masthead .service-h1 { font-size: clamp(28px, 4.5vw, 40px); text-align: left; margin: 0 0 8px 36px; }
.masthead-left .masthead-cta { justify-content: flex-start; margin-left: 36px; }
.service-section.masthead .service-card-title { font-size: 18px; line-height: 1.2; }
/* .masthead-visual-img: 현재 미사용 */

.service-section.masthead .service-grid {
    max-width: 640px;
    gap: clamp(10px, 1.2vw, 16px);
}

.service-section.masthead .service-card {
    /* 크기 소폭 축소 + 반투명 글래스 스타일 */
    padding: 12px;
    background-color: rgba(255, 255, 255, 0.4);
    border: 1px solid #e4e4e4;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.service-section.masthead .service-card-title {
    color: var(--text-primary);
}

.service-section.masthead .service-card:hover {
    transform: translateY(-6px);
    background-color: rgba(255, 255, 255, 0.7);
}

.service-section.masthead .service-image {
    width: 56px;
    height: 56px;
}

@media (min-width: 769px) {
    /* 데스크탑: 서비스 아이콘/이미지 소폭 확대 */
    .service-section.masthead .service-icon {
        width: 96px;
        height: 96px;
    }
    .service-section.masthead .service-image {
        width: 80px;
        height: 80px;
    }
}

/* 모바일(<=768px): 카드가 가로폭을 채우되 최대 250px로 제한 */
@media (max-width: 768px) {
    .service-section.masthead .service-grid {
        max-width: 100%;
        width: 100%;
        /* 2열 고정 + 트랙 최대 250px (가로폭 줄면 축소, 늘면 250px 초과 금지) */
        grid-template-columns: repeat(2, minmax(0, 220px));
        justify-content: center; /* 그리드 자체 중앙 고정 */
        justify-items: stretch;  /* 각 카드가 트랙 너비를 채우도록 */
        gap: 14px;
        margin-left: auto;
        margin-right: auto;
    }
    .service-section.masthead .service-card {
        width: 100%;     /* 트랙 너비에 맞춤 */
        max-width: none; /* 개별 max 제한 해제(트랙이 제어) */
    }
    /* 모바일: 아이콘/이미지 약간 확대 + 반응형 */
    .service-section.masthead .service-icon {
        width: clamp(80px, 26vw, 120px);
        height: clamp(80px, 26vw, 120px);
    }
    .service-section.masthead .service-image {
        width: clamp(72px, 24vw, 112px);
        height: clamp(72px, 24vw, 112px);
    }
}

/* 마스트헤드 CTA 배치 */
.masthead-cta {
    display: flex;
    justify-content: center;
    margin: 18px 0 12px 0;
}

/* masthead 전용 CTA 높이 미세 조정 */
.service-section.masthead .hero-trendy-btn {
    padding-top: 14px;
    padding-bottom: 14px;
}

/* 8. 서비스 그리드 */
.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    max-width: 320px;
    margin: 0 auto;
}

.service-card {
    background-color: rgba(96, 165, 250, 0.4);
    backdrop-filter: blur(4px);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.service-card:hover {
    transform: translateY(-8px);
    background-color: rgba(96, 165, 250, 0.6);
    text-decoration: none;
}

.service-card:focus {
    text-decoration: none;
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

.service-icon {
    width: 60px;
    height: 60px;
    margin-top: -10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-image {
    width: 60px;
    height: 60px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

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

.service-card-title {
    font-size: var(--fs-18-22);
    font-weight: 600;
    margin-bottom: 10px;
    color: white;
    line-height: 1.2;
    text-decoration: none;
}

.service-card-desc {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.3;
    margin: 0;
}

/* 9. 기타 서비스 요소들 */
.service-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border-radius: 20px;
    padding: 6px 14px;
    margin-bottom: 16px;
}

.service-badge-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    font-weight: 500;
    margin: 0;
}

.service-intro {
    color: rgba(255, 255, 255, 0.80);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.4;
    margin-bottom: 24px;
}

.service-intro-highlight {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.service-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.125rem;
    line-height: 1.5;
    margin-bottom: 2rem;
}

/* ========================================
   RESPONSIVE BREAKPOINTS - Mobile First
   ======================================== */

/* 초소형 모바일 (360px 이하) */
@media (max-width: 360px) {
    .service-section {
        padding: 40px 0 40px 0;
    }
    
    .service-header {
        margin-bottom: 25px;
    }
    
    /* service-main-title은 clamp()로 통합됨 */
    
    /* service-highlight-yellow는 clamp()로 통합됨 */
    
    .service-reasons-section {
        margin-bottom: 35px;
    }
    
    .service-divider {
        width: 85%;
        margin: 0 auto 35px auto;
    }
    
    .service-reasons-title {
        font-size: 17px;
        margin-bottom: 20px;
        padding: 9px 14px;
        border-radius: 10px;
    }
    
    .service-reasons-grid {
        gap: 12px;
        max-width: 255px;
    }
    
    .service-reason-item {
        gap: 8px;
    }
    
    .service-reason-icon {
        width: 18px;
        height: 18px;
    }
    
    .service-reason-text {
        font-size: 14px;
    }
    
    .service-bottom-message {
        margin-bottom: 20px;
    }
    
    .service-bottom-text {
        font-size: 20px;
    }
    
    .service-title {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .service-badge {
        padding: 6px 14px;
        margin-bottom: 16px;
    }
    
    .service-badge-text {
        font-size: 13px;
    }
    
    .service-intro {
        font-size: 15px;
        line-height: 1.4;
    }
    
    .service-grid {
        gap: 8px;
        max-width: 320px;
        margin: 0 10px;
    }

}

/* 태블릿 → 데스크탑 소형 (769px 이상) */
@media (min-width: 769px) {
    .service-section {
        padding: 40px 0 60px 0;
    }
    
    .service-header {
        margin-bottom: 40px;
    }
    
    /* service-main-title은 clamp()로 통합됨 */
    
    /* service-highlight-yellow는 clamp()로 통합됨 */
    
    /* 태블릿/데스크탑에서는 br 태그 숨기기 */
    .mobile-break {
        display: none;
    }
    
    .service-reasons-section {
        margin-bottom: 56px;
    }
    
    .service-divider {
        width: 85%;
        margin: 0 auto 56px auto;
    }
    
    .service-reasons-title {
        font-size: 23px;
        margin-bottom: 36px;
        padding: 12px 20px;
        border-radius: 14px;
    }
    
    .service-reasons-grid {
        flex-direction: row;
        justify-content: center;
        align-items: flex-start;
        gap: 12px;
        max-width: 800px;
    }
    
    .service-reason-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 16px;
        flex: 1;
        max-width: 200px;
    }
    
    .service-reason-icon {
        width: 30px;
        height: 30px;
    }
    
    .service-reason-text {
        font-size: 17px;
        text-align: center;
    }
    
    .service-reason-text br {
        display: inline;
    }
    
    .service-bottom-message {
        margin-bottom: 30px;
    }
    
    .service-bottom-text {
        font-size: 26px;
    }
    
    .service-title {
        font-size: 26px;
        margin-bottom: 28px;
    }
    
    .service-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
        max-width: 650px;
    }
    
    .service-card {
        padding: 20px;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
    }
    
    .service-image {
        width: 70px;
        height: 70px;
    }
    
    .service-card-desc {
        font-size: 13px;
        line-height: 1.3;
    }
    
    .service-badge {
        padding: 8px 16px;
        margin-bottom: 20px;
    }
    
    .service-badge-text {
        font-size: 14px;
    }
    
    .service-intro {
        font-size: 18px;
        line-height: 1.5;
    }
}

/* 데스크탑 (1024px 이상) */
@media (min-width: 1024px) {
    .service-section {
        padding: 40px 0 60px 0;
    }
    
    .service-header {
        margin-bottom: 50px;
    }
    
    /* service-main-title은 clamp()로 통합됨 */
    
    /* service-highlight-yellow는 clamp()로 통합됨 */
    
    .service-reasons-section {
        margin-bottom: 60px;
    }
    
    .service-divider {
        width: 80%;
        margin: 0 auto 60px auto;
    }
    
    .service-reasons-title {
        font-size: 28px;
        margin-bottom: 40px;
        padding: 12px 24px;
        border-radius: 16px;
    }

    .service-reasons-grid {
        gap: 28px;
    }
    
    .service-reason-icon {
        width: 32px;
        height: 32px;
    }
    
    .service-reason-text {
        font-size: 18px;
    }
    
    .service-bottom-message {
        margin-bottom: 36px;
    }
    
    .service-bottom-text {
        font-size: 28px;
    }
    
    .service-title {
        font-size: 30px;
        margin-bottom: 36px;
    }
    
    .service-grid {
        grid-template-columns: repeat(4, 1fr);
        max-width: 700px;
        gap: 16px;
    }
    
    .service-card {
        padding: 24px;
    }
    
    .service-icon {
        width: 80px;
        height: 80px;
    }
    
    .service-image {
        width: 80px;
        height: 80px;
    }

    
    .service-card-desc {
        font-size: 14px;
        line-height: 1.3;
    }
    
    .service-badge {
        padding: 10px 18px;
        margin-bottom: 24px;
    }
    
    .service-badge-text {
        font-size: 15px;
    }
    
    .service-intro {
        font-size: 20px;
        line-height: 1.5;
    }
}

/* ========================================
   END OF SERVICE SECTION
   ======================================== */

/* ========================================
   Masthead Revamp (피그마 맞춤 오버라이드)
   ======================================== */
/* 배경/컨테이너 (외부 기본 규칙보다 높은 특이도) */
.service-section.masthead.masthead-revamp {
    background: linear-gradient(180deg, #E2EEFF 0%, #F3F8FF 100%);
}

.masthead-revamp .container {
    padding-top: 0;
    padding-bottom: 0;
}

/* 타이틀 컬러 오버라이드 */
.service-section.masthead.masthead-revamp .service-h1 {
    color: var(--text-primary);
}

.service-section.masthead.masthead-revamp .service-h1 .highlight-blue {
    color: var(--primary);
}

/* 레이아웃 보정 */
.masthead-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 24px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}
.masthead-grid .masthead-left {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

@media (max-width: 1024px) {
    .masthead-grid { grid-template-columns: 1fr; gap: 20px; }
}

.masthead-copy { margin-bottom: 8px; }
.masthead-copy .service-h1 { font-size: 40px; line-height: 1.3; letter-spacing: -0.02em; font-weight: 800; }
.masthead-desc { margin: 8px 0 0 36px; font-size: 20px; line-height: 1.4; color: #374151; opacity: .9; letter-spacing: -0.02em; text-align: left; }
.masthead-sub { margin-top: 16px; text-align: center; }
.masthead-sub .service-copy-line.sub { font-size: 24px; line-height: 1.4; color: var(--text-primary); font-weight: 600; }
.masthead-sub .service-copy-line.sub strong { color: #0166ff; font-weight: 600; }
/* 타이틀 내 주요 문구 하이라이트 */
.highlight-primary { color: var(--primary); }

/* Masthead 상단 장식 이미지 */
.masthead-top { display:flex; justify-content:flex-start; margin: 0 0 8px 36px; }
.masthead-top img { width: clamp(260px, 44vw, 520px); height: auto; display:block; filter: drop-shadow(0 6px 18px rgba(1,102,255,0.18)); opacity: 0.7; }

/* 서비스 카드 스타일 (피그마 2427:2965) */
.masthead-services { max-width: 780px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; justify-content: center; align-items: start; }
.masthead-services .service-card { background: rgba(255,255,255,0.12); border: 0.75px solid rgba(110,110,110,0.22); border-radius: 8px; padding: 16px 12px; box-shadow: none; transition: border-color .2s ease, background-color .2s ease; }
.masthead-services .service-card { display: flex; flex-direction: column; align-items: center; justify-content: center; height: auto; aspect-ratio: auto; }

/* 전역 .service-card { aspect-ratio:1/1 } 무력화 (마스트헤드 한정) */
#main.home .service-section.masthead .masthead-services .service-card { aspect-ratio: auto; height: auto; }
.masthead-services .service-card:hover { background: rgba(255,255,255,0.18); border-color: rgba(110,110,110,0.30); }
.masthead-services .service-card-title { color: var(--text-primary); font-size: 17px; font-weight: 500; letter-spacing: -0.02em; }
.masthead-services .service-image { width: 50px; height: 50px; filter: drop-shadow(0 2px 6px rgba(2,44,114,0.12)); }
.masthead-services .service-image { filter: drop-shadow(0 2px 6px rgba(2,44,114,0.12)); }

/* 768px 이상: 카드 높이를 내용물에 맞춤 (남는 세로 공간 제거) */
@media (min-width: 768px) {
  .masthead-services .service-card { height: auto; padding-top: 14px; padding-bottom: 14px; }
}

.masthead-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 20px 0 6px; justify-content: center; }
.masthead-chips .chip { appearance: none; background: #E4EBF7; color: var(--text-secondary); border: 0; border-radius: 999px; padding: 8px 14px; font-weight: 400; font-size: 15px; cursor: pointer; }
.masthead-chips .chip:hover { background: #cbd5e1; }
.masthead-chips .chip:focus-visible { outline: 2px solid #0166ff; outline-offset: 2px; }

/* Masthead 배너 슬라이더 */
.masthead-banner-slider { position: relative; width: clamp(300px, 30vw, 370px); aspect-ratio: 1 / 1; height: auto; margin-right: 24px;}
.mbs-viewport { position: relative; width: 100%; height: 100%; perspective: 1000px; }
.mbs-card { position: absolute; inset: 0; border-radius: 16px; overflow: hidden; box-shadow: 0 8px 24px rgba(1,102,255,.12), 0 2px 8px rgba(0,0,0,.06); transform-origin: left center; transition: transform .5s ease, opacity .5s ease; background: #fff; }
.mbs-card img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mbs-card.is-active { transform: translateX(0) scale(1); z-index: 3; }
.mbs-card.is-next { transform: translateX(40px) scale(.93); z-index: 2; }
.mbs-card.is-after { transform: translateX(80px) scale(.86); z-index: 1; opacity: .98; filter: saturate(.96); }
.mbs-card.is-hidden { transform: translateX(124px) scale(.80); z-index: 0; opacity: 0; pointer-events: none; }

/* .mbs-nav 및 글로벌 .mbs-prev/.mbs-next 버튼 스타일은 현재 구조에서 사용하지 않으므로 제거 */

/* 배너 카운터 (좌상단 배지) */
.mbs-counter {
    position: absolute;
    top: 16px;
    left: 16px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: rgba(0,0,0,0.35);
    border: 1px solid rgba(255,255,255,0.18);
    color: #fff ;
    font-size: 14px;
    border-radius: 999px;
    box-shadow: 0 6px 16px rgba(0,0,0,.12);
    z-index: 5;
    backdrop-filter: blur(4px);
}
.mbs-counter .mbs-prev, .mbs-counter .mbs-next {
    width: 12px;
    height: 12px;
    background: none;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.mbs-counter .mbs-prev .pi, .mbs-counter .mbs-next .pi { font-size: 14px; color: #ffffff; }
.mbs-counter .mbs-current { font-weight: 800; color: #ffffff; }
.mbs-counter .mbs-sep { opacity: .8; }
.mbs-counter .mbs-total { opacity: .9; color: #e5ecff; font-weight: 700; }

@media (max-width: 1024px) {
  .masthead-revamp .container { padding-bottom: 0; }
  .masthead-layout { grid-template-columns: 1fr; gap: 20px; }
  .masthead-right { margin: 0; order: -1; }
  .masthead-left { margin-left: auto; margin-right: auto; }
  /* 모바일 스타일을 1024 이하로 확장 */
  #main.home .service-section.masthead .service-h1 { text-align: center; margin: 0 0 8px 0; }
  .masthead-copy .service-h1, .masthead-sub { text-align: center; }
  .masthead-desc { text-align: center; margin: 8px 0 0 0; font-size: 18px; }
  .masthead-cta { justify-content: center; }
  .masthead-left .masthead-cta { justify-content: center; margin-left: 0; }
  .masthead-banner-slider { margin: 0 auto; width: 370px; height: auto; }
  .masthead-services { margin: 0 auto; }
  .masthead-chips { justify-content: center; }
  /* 서비스 그리드/카드도 모바일 구성과 동일 적용 */
  .service-section.masthead .service-grid { max-width: 780px; width: 100%; grid-template-columns: repeat(4, minmax(0, 1fr)); justify-content: center; justify-items: stretch; gap: 10px; margin-left: auto; margin-right: auto; }
  .service-section.masthead .service-card { width: 100%; max-width: none; }
  .service-section.masthead .service-icon { width: clamp(80px, 26vw, 120px); height: clamp(80px, 26vw, 120px); }
  .service-section.masthead .service-image { width: clamp(72px, 24vw, 112px); height: clamp(72px, 24vw, 112px); }
}

/* 600px 이하로 모바일 기준 통합 */
@media (max-width: 600px) {
    .masthead-revamp .container { padding-top: 0;}

  .masthead-banner-slider { width: 100%; max-width: 720px; height: auto; aspect-ratio: 14 / 5; margin: 0 auto 16px; }
  .mbs-viewport { border-radius: 16px; overflow: hidden; }
  .mbs-counter { display: none; }

  .mbs-dots { position: absolute; left: 0; right: 0; bottom: var(--space-12-16); display: flex; justify-content: center; gap: 6px; }
  .mbs-dots .mbs-dot { width: 6px; height: 6px; border-radius: 999px; background: rgba(255,255,255,0.6); border: none; padding: 0; }
  .mbs-dots .mbs-dot.is-active { width: 16px; background: #ffffff; }
  .masthead-desc { text-align: center; }
  .service-section.masthead .service-h1 { font-size: var(--fs-22-28); }
  .masthead-desc { font-size: var(--fs-14-18); }

  .mbs-card.is-next { transform: translateX(32px) scale(.93); }
  .mbs-card.is-after { transform: translateX(64px) scale(.86); }
  .mbs-card.is-hidden { transform: translateX(104px) scale(.80); }
  .masthead-layout { margin-bottom: 40px; }

  .service-section.masthead .service-grid { max-width: none; width: 100%; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
  .service-section.masthead .service-card { width: 100%; max-width: none; padding: 8px; border-radius: 8px; }
  .service-section.masthead .service-image { width: clamp(50px, 14.5vw, 80px); height: auto; }
  .service-section.masthead .service-icon { height: clamp(60px, 18vw, 80px); }
  .service-section.masthead .service-card-title { font-size: var(--fs-13-17); margin-bottom: 4px; }

  .masthead-chips { display: none; }

  .masthead-desc .br-600 { display: block; }
  .masthead-sub .service-copy-line.sub { font-size: var(--fs-16-20); margin-top: 20px; }

  .masthead-top { margin: 0 0 20px 0; justify-content: center;}
  .masthead-top img { width: clamp(260px, 80vw, 540px); margin-left: 20px; opacity: 0.7;}
}


/* 601–1024px: H1 크기 36px */
@media (min-width: 601px) and (max-width: 1024px) {
  #main.home .service-section.masthead .service-h1 { font-size: 36px; }

  .masthead-top { margin: 0 0 20px 0; justify-content: center;}
  .masthead-top img { width: clamp(450px, 65vw, 540px); margin-left: 20px; opacity: 0.7;}
}

/* 최저가 견적 받기 버튼 - 피그마(2420:7879) 스타일 오버라이드 */
.service-section.masthead.masthead-revamp .hero-trendy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    border: none;
    border-radius: 8px;
    background: #0166FF;
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(1,102,255,0.25);
    transition: all 0.2s ease;
}

.service-section.masthead.masthead-revamp .hero-trendy-btn .btn-text {
    font-size: 24px;
    font-weight: 500;
    letter-spacing: -0.02em;
}

.service-section.masthead.masthead-revamp .hero-trendy-btn .btn-arrow .pi {
    font-size: 20px;
    color: #ffffff;
    line-height: 1;
}

/* PrimeIcons 화살표 사용 시 아이콘 크기/색 보정 */
/* masthead 카운터 내 화살표는 흰색으로 통일 */
.mbs-counter .mbs-prev .pi, .mbs-counter .mbs-next .pi { font-size: 14px; color: #ffffff; }
/* 리뷰/기타 전역 아이콘은 기본 컬러 유지 */
.review-arrow .pi { font-size: 16px; color: #334155; }
.floating-cta-btn .floating-btn-arrow .pi { font-size: 20px; color: #ffffff; }

.service-section.masthead.masthead-revamp .hero-trendy-btn:hover {
    background: #0053D0; /* hover: 조금 더 진한 블루 */
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(1,102,255,0.32);
}

.service-section.masthead.masthead-revamp .hero-trendy-btn:hover .btn-arrow {
    transform: translateX(4px);
}

.service-section.masthead.masthead-revamp .hero-trendy-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(1,102,255,0.2);
    filter: brightness(0.98);
}

.service-section.masthead.masthead-revamp .hero-trendy-btn:focus-visible {
    outline: 2px solid #93c5fd; /* focus ring */
    outline-offset: 2px;
}

/* 480px 이하 전용 규칙은 600px 이하 블록으로 통합됨 */

/* USP 섹션 */
.usp-section {
    padding: 160px 0;
    background-color: var(--color-neutral-white);
    overflow: hidden;
}

.usp-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.usp-column {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.usp-column.right-column {
    margin-top: -180px;
}

.usp-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.usp-label {
    display: inline-block;
    font-size: 26px;
    font-weight: 600;
    color: #0166ff;
    margin-bottom: 16px;
    text-align: left;
}

.usp-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-neutral-black);
    margin-bottom: 32px;
    text-align: left;
}

.usp-description {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.6;
    color: #6b7280;
    text-align: left;
    margin-right: 100px;
}

.usp-image {
    width: 100%;
    max-width: 377px;
}

.usp-img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* 태블릿 반응형 */
@media (max-width: 1024px) {
    .usp-section {
        padding: 100px 0;
    }

    .usp-grid {
        gap: 30px;
    }

    .usp-column {
        gap: 30px;
    }

    .usp-column.right-column {
        margin-top: -120px;
    }

    .usp-content {
        margin-left: 50px;
    }

    .usp-title {
        font-size: 40px;
    }

    .usp-description {
        font-size: 18px;
    }
}

/* 모바일 반응형 */
@media (max-width: 640px) {
    .usp-section {
        padding: 80px 0;
    }

    .usp-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .usp-column {
        gap: 24px;
    }

    .usp-column.right-column {
        margin-top: 0;
    }

    .usp-content {
        align-items: center;
        text-align: center;
    }

    .usp-label {
        font-size: 18px;
        margin-bottom: 16px;
        text-align: center;
    }

    .usp-title {
        font-size: 28px;
        margin-bottom: 24px;
        text-align: center;
    }

    .usp-description {
        font-size: 16px;
        text-align: center;
        margin-right: 0;
        line-height: 1.5;
    }

    .usp-image {
        max-width: 115%;
        margin: 0 auto;
        transform: translateX(-7%);
    }
}

.usp-title .highlight {
    color: var(--color-primary-500);
}

.usp-cta-button {
  background: #0166FF;
  color: white;
  border: none;
  padding: 16px 24px;
  border-radius: 12px;
  font-weight: 500;
  font-size: 1.25rem;

  cursor: pointer;
  display: inline-block;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.usp-cta-button:hover {
  background: #0053D0;
  transform: translateY(-2px);
}

.usp-image {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.usp-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

@media (max-width: 640px) {
    .usp-image img {
        width: 125%;
        height: auto;
        border-radius: 12px;
    }
}

@media (min-width: 481px) {
    .usp-image {
      align-items: flex-start;
    }
  }


/* 전문가 검증 섹션 */
.expert-section {
    padding: 40px 0 140px 0;
    background: #ffffff;
}

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

@media (min-width: 481px) and (max-width: 1024px) {
    .expert-section {
        padding: 100px 0;
    }
}

.expert-header {
    text-align: center;
    margin-bottom: 80px;
}

@media (max-width: 640px) {
    .expert-header {
        margin-bottom: 60px;
    }
}

/* Expert Badge Component */
.expert-badge {
    font-size: 18px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--color-primary-500);
    margin-bottom: 20px;
}

@media (min-width: 481px) {
    .expert-badge {
        font-size: var(--font-size-lg);
    }
}

.shield_line-icon {
    width: 20px;
    height: 20px;
    margin-left: 4px;
    display: block;
    object-fit: contain;
}

.expert-title {
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 20px;
    line-height: 1.3;
}

@media (min-width: 481px) {
    .expert-title {
        font-size: 36px;
    }
}

@media (min-width: 1024px) {
    .expert-title {
        font-size: 40px;
    }
}

/* 모든 화면에서 줄바꿈 적용 */
.expert-title br {
    display: block;
}

.expert-title .highlight {
    color: #0166FF;
}

.expert-description {
    font-size: 16px;
    color: #6b7280;
    line-height: 1.5;
}

/* 모바일에서 줄바꿈 추가 */
@media (max-width: 480px) {
    .expert-description br {
        display: block;
    }
}

@media (min-width: 481px) {
    .expert-description br {
        display: none;
    }
}

.expert-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    max-width: 1048px;
    margin: 0 auto;
}

@media (min-width: 481px) {
    .expert-grid {
        gap: 24px;
    }
}

.expert-card {
    background: #EEF5FF;
    border-radius: 16px;
    padding: 16px 16px 24px 16px;
    text-align: center;
    transition: all 0.2s ease;
}

.expert-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.expert-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.expert-image {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.expert-card-title {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.4;
}

.highlight-blue {
    color: #0166FF;
}

@media (min-width: 481px) {
    .expert-description {
        font-size: 18px;
    }
    
    .expert-card-title {
        font-size: 20px;
    }
    .expert-image {
        width: 50px;
        height: 50px;
    }
    .expert-card {
        padding: 24px 32px;
    }
    .expert-card br {
        display: block;
    }
}

@media (min-width: 1024px) {
    .expert-description {
        font-size: 20px;
    }
}

/* 견적 비교 섹션 (리디자인된 장점 섹션) */
.cmp-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-color: #F9FBFF;
    padding: 80px 0 80px;
}

@media (min-width: 481px) {
    .cmp-section {
        padding: 100px 0 100px;
    }
}

@media (min-width: 1024px) {
    .cmp-section {
        padding: 140px 0 140px;
        min-height: 120vh;
    }
}

/* Container */
.cmp-container {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 16px;
}

@media (min-width: 481px) {
    .cmp-container {
        padding: 0 40px;
    }
}

@media (min-width: 1024px) {
    .cmp-container {
        max-width: 1600px;
        padding: 0 60px;
    }
}

/* Main Title */
.cmp-title {
    text-align: center;
    font-weight: 700;
    font-size: 28px;
    line-height: 1.35;
    margin-bottom: 40px;
    color: #1f2937;
}

@media (min-width: 481px) {
    .cmp-title {
        font-size: 36px;
        margin-bottom: 50px;
    }
}

@media (min-width: 1024px) {
    .cmp-title {
        font-size: 40px;
        margin-bottom: 80px;
    }
}

.cmp-title .highlight-blue {
    background: linear-gradient(90deg, #64A2FF 0%, #0166FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 모바일에서만 줄바꿈 처리 */
.mobile-only {
    display: inline;
}

@media (min-width: 481px) {
    .mobile-only {
        display: none;
    }
}

/* Cards Wrapper */
.cmp-cards {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
}

@media (min-width: 481px) {
    .cmp-cards {
        gap: 30px;
    }
}

@media (min-width: 1024px) {
    .cmp-cards {
        flex-direction: row;
        justify-content: center;
        gap: 28px;
    }
}

/* Card containers */
.cmp-card {
    position: relative;
    width: 100%;
    max-width: none;
    height: auto;
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0px 2px 8px 0px rgba(99, 99, 99, 0.2);
    overflow: hidden;
    padding: 28px 22px 28px;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
    display: flex;
    flex-direction: column;
}

@media (min-width: 481px) {
    .cmp-card {
        max-width: none;
        padding: 36px 28px 36px;
    }
}

@media (min-width: 1024px) {
    .cmp-card {
        max-width: 480px;
        padding: 44px 35px 44px;
    }
}

.cmp-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Card header text */
.cmp-header {
    position: relative;
    font-weight: 600;
    font-size: 18px;
    text-align: center;
    line-height: 1.35;
    margin-bottom: 2px;
}

@media (min-width: 481px) {
    .cmp-header {
        font-size: 22px;
        margin-bottom: 2px;
    }
}

@media (min-width: 1024px) {
    .cmp-header {
        font-size: 22px;
        margin-bottom: 2px;
    }
}

.cmp-header.cmp-gray {
    color: #888888;
}

.cmp-header.cmp-blue {
    color: #0166ff;
    margin-bottom: 20px;
}

@media (min-width: 481px) {
    .cmp-header.cmp-blue {
        margin-bottom: 24px;
    }
}

@media (min-width: 1024px) {
    .cmp-header.cmp-blue {
        margin-bottom: 30px;
    }
}

/* Card main text */
.cmp-text {
    font-weight: 700;
    font-size: 24px;
    text-align: center;
    color: #121212;
    line-height: 1.4;
    margin-bottom: 0px;
}

@media (min-width: 481px) {
    .cmp-text {
        font-size: 32px;
        margin-bottom: 0px;
    }
}

@media (min-width: 1024px) {
    .cmp-text {
        font-size: 32px;
        margin-bottom: 6px;
    }
}



/* Personal (Right card illustration) */
.cmp-personal {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
    order: -1;
}

@media (min-width: 481px) {
    .cmp-personal {
        margin-bottom: 20px;
    }
}

@media (min-width: 1024px) {
    .cmp-personal {
        margin-bottom: 24px;
    }
}

.cmp-personal-img {
    width: 100%;
    max-width: 235px;
    height: auto;
    object-fit: contain;
}

@media (min-width: 481px) {
    .cmp-personal-img {
        max-width: 260px;
    }
}

@media (min-width: 1024px) {
    .cmp-personal-img {
        max-width: 290px;
    }
}

/* Charge (Left card illustration) */
.cmp-charge {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
    order: -1;
}

@media (min-width: 481px) {
    .cmp-charge {
        margin-bottom: 20px;
    }
}

@media (min-width: 1024px) {
    .cmp-charge {
        margin-bottom: 24px;
    }
}

.cmp-charge-img {
    width: 100%;
    max-width: 220px;
    height: auto;
    object-fit: contain;
}

@media (min-width: 481px) {
    .cmp-charge-img {
        max-width: 260px;
    }
}

@media (min-width: 1024px) {
    .cmp-charge-img {
        max-width: 290px;
    }
}

/* Arrow down */
.cmp-arrow {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto 25px;
}

@media (min-width: 481px) {
    .cmp-arrow {
        margin: 25px auto 30px;
    }
}

@media (min-width: 1024px) {
    .cmp-arrow {
        margin: 30px auto 35px;
    }
}

.cmp-arrow-img {
    width: 22px;
    height: 22px;
    animation: bounce 2s infinite;
}

@media (min-width: 481px) {
    .cmp-arrow-img {
        width: 26px;
        height: 26px;
    }
}

@media (min-width: 1024px) {
    .cmp-arrow-img {
        width: 30px;
        height: 30px;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-2px); }
    60% { transform: translateY(-1px); }
}

/* Process section */
.cmp-process {
    position: relative;
    background-color: #f2f7ff;
    border-radius: 0 0 20px 20px;
    padding: 32px 22px;
    margin: 0 -22px -28px -22px;
}

@media (min-width: 481px) {
    .cmp-process {
        padding: 40px 28px;
        margin: 0 -28px -36px -28px;
    }
}

@media (min-width: 1024px) {
    .cmp-process {
        padding: 45px 35px;
        margin: 0 -35px -44px -35px;
    }
}

/* Process detail image */
.cmp-process-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 22px;
}

@media (min-width: 481px) {
    .cmp-process-image {
        margin-bottom: 28px;
    }
}

@media (min-width: 1024px) {
    .cmp-process-image {
        margin-bottom: 36px;
    }
}

.cmp-process-detail-img {
    width: 70%;
    max-width: 250px;
    height: auto;
    object-fit: contain;
}

@media (min-width: 481px) {
    .cmp-process-detail-img {
        max-width: 290px;
    }
}

@media (min-width: 1024px) {
    .cmp-process-detail-img {
        max-width: 330px;
    }
}

@media (max-width: 480px) {
    .cmp-process-detail-img {
        width: 80%;
    }
}

/* Process steps container (for left card) */
.cmp-steps {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

@media (min-width: 481px) {
    .cmp-steps {
        gap: 25px;
        margin-bottom: 32px;
        flex-wrap: nowrap;
    }
}

@media (min-width: 1024px) {
    .cmp-steps {
        gap: 30px;
        margin-bottom: 35px;
    }
}

.cmp-step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    min-width: 80px;
}

.cmp-step-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 18px;
}

@media (min-width: 481px) {
    .cmp-step-icon {
        width: 42px;
        height: 42px;
        margin-bottom: 22px;
    }
}

@media (min-width: 1024px) {
    .cmp-step-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 25px;
    }
}

.cmp-step-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cmp-check {
    position: absolute;
    width: 16px;
    height: 16px;
    top: 52px;
    left: 50%;
    transform: translateX(-50%);
}

@media (min-width: 481px) {
    .cmp-check {
        width: 18px;
        height: 18px;
        top: 62px;
    }
}

@media (min-width: 1024px) {
    .cmp-check {
        width: 20px;
        height: 20px;
        top: 70px;
    }
}

.cmp-check-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cmp-step-text {
    position: absolute;
    top: 68px;
    left: 50%;
    transform: translateX(-50%);
    font-weight: 500;
    font-size: 13px;
    color: #0166ff;
    line-height: 1.35;
    text-align: center;
    white-space: nowrap;
}

@media (min-width: 481px) {
    .cmp-step-text {
        top: 78px;
        font-size: 15px;
    }
}

@media (min-width: 1024px) {
    .cmp-step-text {
        top: 88px;
        font-size: 16px;
    }
}

.cmp-arrow-right {
    display: block;
    width: 16px;
    height: 6px;
    flex-shrink: 0;
}

@media (min-width: 481px) {
    .cmp-arrow-right {
        width: 18px;
        height: 7px;
    }
}

@media (min-width: 1024px) {
    .cmp-arrow-right {
        width: 20px;
        height: 8px;
    }
}

.cmp-arrow-right .cmp-arrow-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: rotate(90deg);
}

/* Process steps for right card */
.cmp-process-step {
    position: relative;
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 18px;
    text-align: left;
}

@media (min-width: 481px) {
    .cmp-process-step {
        gap: 22px;
        margin-bottom: 22px;
    }
}

@media (min-width: 1024px) {
    .cmp-process-step {
        gap: 25px;
        margin-bottom: 25px;
    }
}

.cmp-process-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

@media (min-width: 481px) {
    .cmp-process-icon {
        width: 44px;
        height: 44px;
    }
}

@media (min-width: 1024px) {
    .cmp-process-icon {
        width: 52px;
        height: 52px;
    }
}

.cmp-process-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cmp-process-text {
    font-weight: 500;
    font-size: 14px;
    color: #0166ff;
    line-height: 1.35;
}

@media (min-width: 481px) {
    .cmp-process-text {
        font-size: 16px;
    }
}

@media (min-width: 1024px) {
    .cmp-process-text {
        font-size: 18px;
    }
}



/* Process description */
.cmp-desc {
    font-weight: 400;
    font-size: 14px;
    color: #666666;
    line-height: 1.45;
    text-align: center;
    margin-top: 18px;
}

@media (min-width: 481px) {
    .cmp-desc {
        font-size: 16px;
        margin-top: 22px;
    }
}

@media (min-width: 1024px) {
    .cmp-desc {
        font-size: 16px;
        margin-top: 25px;
    }
}



/* CTA Section */
/*
.cmp-cta {
    text-align: center;
    margin-top: 45px;
}

@media (min-width: 481px) {
    .cmp-cta {
        margin-top: 55px;
    }
}

@media (min-width: 1024px) {
    .cmp-cta {
        margin-top: 70px;
    }
}

.cmp-cta-btn {
    background: #0166FF;
    color: white;
    border: none;
    padding: 15px 22px;
    border-radius: 12px;
    font-weight: 500;
    font-size: 1.125rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    display: inline-block;
}

@media (min-width: 481px) {
    .cmp-cta-btn {
        padding: 16px 28px;
        font-size: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .cmp-cta-btn {
        padding: 18px 32px;
        font-size: 1.375rem;
    }
}

.cmp-cta-btn:hover {
    background: #0053D0;
    transform: translateY(-2px);
    box-shadow: 0 12px 20px -3px rgba(0, 0, 0, 0.15);
}
*/

/* 애니메이션 */
@keyframes slideInFromLeft {
    0% { opacity: 0; transform: translateX(-50px); }
    100% { opacity: 1; transform: translateX(0); }
}

@keyframes slideInFromRight {
    0% { opacity: 0; transform: translateX(50px); }
    100% { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInScale {
    0% { opacity: 0; transform: scale(0.8); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes slideInFromBottom {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}



.cmp-card-left {
    animation: slideInFromLeft 1s ease 0.3s both;
}

.cmp-card-right {
    animation: slideInFromRight 1s ease 0.5s both;
}

.cmp-title {
    animation: fadeInUp 1s ease 0.1s both;
}

.cmp-charge-img,
.cmp-personal-img {
    animation: fadeInScale 0.8s ease 0.4s both;
}

.cmp-step,
.cmp-process-step {
    animation: fadeInUp 0.8s ease both;
}

.cmp-step:nth-child(1) { animation-delay: 0.2s; }
.cmp-step:nth-child(3) { animation-delay: 0.4s; }
.cmp-step:nth-child(5) { animation-delay: 0.6s; }

.cmp-process-step:nth-child(1) { animation-delay: 0.2s; }
.cmp-process-step:nth-child(2) { animation-delay: 0.4s; }

/*
.cmp-cta-btn {
    animation: fadeInUp 1s ease 0.8s both;
}
*/

/* 개인정보 안심 서비스 섹션 */
.privacy-section {
    padding: 40px 0;
    overflow: hidden;
    background: #F6F9FF;
}

@media (max-width: 1024px) {
    .privacy-section {
        padding: 100px 0;
    }
}

@media (max-width: 640px) {
    .privacy-section {
        padding: 80px 0;
    }
}

.privacy-top {
  padding: 0px 0 60px;
}

.privacy-bottom {
  padding: 40px 0 20px;
}

.privacy-header {
    text-align: center;
    margin-bottom: 40px;
}

.privacy-label {
    font-size: 20px;
    font-weight: 600;
    color: #0166ff;
    margin-bottom: 6px;
}

.privacy-title {
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.3;
}

.privacy-alert {
    background-color: #ffe7e7;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 600px;
    margin: 0 auto 0px;
}

.alert-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 16px;
}

.alert-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.alert-text {
    font-size: 16px;
    color: #ef4444;
    font-weight: 600;
    margin-bottom: 8px;
}

.alert-highlight {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.4;
    margin-bottom: 6px;
}

@media (min-width: 481px) {
    .alert-highlight {
        font-size: 24px;
    }

    .alert-highlight br {
        display: none;
    }
}

.privacy-promise {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1048px;
    margin: 0 auto;
}

.promise-title {
    font-size: 24px;
    font-weight: 700;
    color: #0166FF;
    margin-bottom: 16px;
    text-align: center;
}

.promise-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-bottom: 20px;
}

.promise-tag {
    background-color: #FFFFFF;
    border-radius: 50px;
    padding: 8px 24px;
}

.tag-text {
    font-size: 20px;
    font-weight: 500;
    color: #1f2937;
}

@media (max-width: 640px) {
    .tag-text {
        font-size: 18px;
    }
}

.tag-text strong {
    color: #0166ff;
    font-weight: 700;
}

.privacy-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    width: 100%;
    margin-top: 24px;
}

.privacy-card {
    background-color:#FFFFFF;
    border-radius: 20px;
    padding: clamp(16px, 4vw, 40px);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.2s ease;
}

.privacy-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.card-image {
    width: clamp(80px, 15vw, 120px);
    height: clamp(80px, 15vw, 120px);
    margin-bottom: clamp(16px, 3vw, 24px);
    display: flex;
    justify-content: center;
    align-items: center;
}

.privacy-icon {
    width: 80%;
    height: 80%;
    object-fit: contain;
}

.card-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.card-subtitle {
    font-size: clamp(14px, 2.5vw, 16px);
    color: #6b7280;
}

.card-title {
    font-size: clamp(16px, 4vw, 24px);
    font-weight: 700;
    color: #1f2937;
    line-height: 1.4;
    word-break: keep-all;
    word-wrap: break-word;
}

.highlight-blue {
    color: #0166ff;
}

/* 반응형 디자인 */
@media (min-width: 481px) and (max-width: 1023px) {
    .privacy-alert {
        flex-direction: row;
        text-align: left;
        justify-content: center;
        padding: 32px;
        gap: 24px;
    }

    .alert-text br {
        display: block;
    }
    
    .alert-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 0;
    }
    
    .privacy-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        margin-top: 40px;
    }
    
    .privacy-title {
        font-size: 36px;
    }
    
    .promise-title {
        font-size: 32px;
    }
    
    .promise-tags {
        gap: 24px;
    }
}

@media (min-width: 1024px) {

    .privacy-top {
    padding: 100px 0 60px;
    }

    .privacy-bottom {
    padding: 40px 0 120px;
    }

    .privacy-alert {
        flex-direction: row;
        text-align: left;
        justify-content: center;
        padding: 40px;
        gap: 32px;
    }
    
    .alert-text {
        font-size: 16px;
        margin-bottom: 0px;
    }

    .alert-text br {
        display: block;
    }

    .alert-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 0;
    }

    .privacy-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        margin-top: 40px;
    }
    
    .privacy-title {
        font-size: 42px;
    }
    
    .promise-title {
        font-size: 36px;
    }
    
    .promise-tags {
        gap: 24px;
    }
    
    .card-title {
        font-size: clamp(22px, 4.5vw, 28px);
    }
}

/* 수치 강조 섹션 */
.stats-section {
    padding: 140px 0 120px 0;
    background: #F9F9F9;
    position: relative;
}

.stats-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.stats-main-text {
    margin-bottom: 80px;
}

.stats-main-title {
    font-size: 48px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
    margin-bottom: 24px;
  
}

.stats-highlight {
    color: #0166FF;
    font-weight: 700;
}

.stats-main-description {
    font-size: 20px;
    color: #666666;
    line-height: 1.6;
    margin: 0;
}

.stats-numbers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    margin-bottom: 40px;
}

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

.stats-number {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 16px;
}

.number-value {
    font-size: 64px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1;
  
}

.number-unit {
    font-size: 32px;
    font-weight: 700;
    color: #0166FF;
}

.stats-label {
    font-size: 18px;
    font-weight: 500;
    color: #666666;
    margin: 0;
    line-height: 1.4;
}

.stats-note {
    text-align: center;
}

.stats-note p {
    font-size: 14px;
    color: #999999;
    margin: 0;
}

@media (max-width: 640px) {
    .stats-note p {
        font-size: 12px;
        color: #999999;
        margin-top: 8px;
    }
}

.number-value.counting {
    color: #0166FF;
}

/* 반응형 디자인 */
@media (max-width: 1024px) {
    .stats-section {
        padding: 100px 0;
    }

    .stats-main-title {
        font-size: 40px;
    }

    .stats-main-description {
        font-size: 18px;
    }

    .stats-numbers {
        gap: 40px;
    }

    .number-value {
        font-size: 56px;
    }

    .number-unit {
        font-size: 28px;
    }
}

@media (max-width: 640px) {
    .stats-section {
        padding: 80px 0;
    }

    .stats-main-text {
        margin-bottom: 60px;
    }

    .stats-main-title {
        font-size: 32px;
    }

    .stats-main-description {
        font-size: 16px;
    }

    .stats-numbers {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 32px;
    }

    .stats-number {
        margin-bottom: 8px;
    }

    .number-value {
        font-size: 40px;
    }

    .number-unit {
        font-size: 20px;
    }

    .stats-label {
        font-size: 14px;
  }
}

/* 리뷰 섹션 */
.review-section {
  background: #ffffff;
  padding: 80px 0;
  overflow: hidden;
}

.review-header {
  text-align: center;
  margin-bottom: 60px;
}

.review-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  margin-bottom: 24px;
  transition: all 0.3s ease;
}

.review-badge-icon {
  width: 24px;
  height: 24px;
}

.review-badge-text {
  color: #F59E0B;
  font-size: 20px;
  font-weight: 600;
}

.review-title {
  font-size: 36px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 20px;
  line-height: 1.2;
}

.review-description {
  font-size: 18px;
  color: #6b7280;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
}

@media (max-width: 640px) {
    .review-header {
      margin-bottom: 40px;
    }

    .review-badge {
      margin-bottom: 12px;
    }

    .review-badge-text {
      font-size: 18px;
    }
  
    .review-badge-icon {
      width: 20px;
      height: 20px;
    }

    .review-title {
      font-size: 32px;
      margin-bottom: 16px;
    }

    .review-description {
      font-size: 18px;
    }
}

.review-slider-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
}

.review-arrow {
  border: none;
  background: none;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
  z-index: 10;
}

.review-arrow:hover {
  color: #0166ff;
  transform: scale(1.2);
}

.review-arrow:active {
  transform: scale(0.95);
}

.review-slider {
  flex: 1;
  overflow: hidden;
  border-radius: 20px;
  position: relative;
}

.review-slider::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.review-slides {
  display: flex;
  transition: transform 0.5s ease;
  cursor: grab;
  will-change: transform;
}

.review-slides:active {
  cursor: grabbing;
}

.review-slides.no-transition {
  transition: none;
}

.review-slide {
  min-width: 100%;
  flex-shrink: 0;
}

.review-card {
  background: #F9FAFB;
  border-radius: 20px;
  padding: 40px 0;
  position: relative;
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.review-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.review-img {
  width: auto;
  height: 200px;
  object-fit: contain;
  border-radius: 12px;

  /* 이미지 드래그 방지 */
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-user-drag: none;
}

.review-cta {
  text-align: center;
  margin-top: 60px;
}

.review-cta-button {
  background: white;
  color: #0166ff;
  border: 2px solid #0166ff;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.review-cta-button:hover {
  background: #0166ff;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(1, 102, 255, 0.3);
}

/* 반응형 디자인 */
@media (max-width: 480px) {
  .review-arrow {
    display: none;
  }

  .review-cta {
    margin-top: 40px;
  }
}

@media (min-width: 481px) {
  .review-section {
    padding: 100px 0;
  }

  .review-title {
    font-size: 32px;
  }

  .review-card {
    height: 400px;
  }

  .review-img {
    width: auto;
    height: 260px;
  }
}

@media (min-width: 1024px) {
  .review-section {
    padding: 120px 0;
  }

  .review-title {
    font-size: 36px;
  }

  .review-description {
    font-size: 20px;
  }
}

/* 모바일 전용 스타일 */
@media (max-width: 768px) {
  .review-slide {
    min-width: 100%;
  }

  .review-card {
    padding: 20px;
    height: auto;
  }
}

/* 프로세스 섹션 스타일 */
.process-section {
    padding: 140px 0;
    overflow: hidden;
}

.process-header {
    text-align: center;
    margin-bottom: 40px;
}

.process-subtitle {
    font-size: 20px;
    font-weight: 600;
    color: #0166ff;
    margin-bottom: 6px;
}

.process-title {
    font-size: 36px;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.3;
}

.process-cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 48px;
}

.process-cards-row {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    width: 100%;
}

.process-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    position: relative;
    width: calc(33.333% - 16px);
    min-width: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

.process-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: #0166ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    font-weight: 700;
    transition: all 0.2s ease;
}

.process-card:hover .step-number {
    transform: translateX(-50%) scale(1.1);
    box-shadow: 0 4px 8px rgba(1, 102, 255, 0.2);
}

.process-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
}

.process-card-image {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    transition: all 0.2s ease;
}

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

.process-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

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

.process-card-title {
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.4;
    margin-bottom: 4px;
    transition: all 0.2s ease;
}

.process-card:hover .process-card-title {
    color: #0166ff;
}

.process-card-description {
    font-size: 16px;
    color: #6b7280;
    line-height: 1.5;
}

.process-card-tip-container {
    position: relative;
    width: 100%;
    margin-top: 8px;
}

.process-card-tip-toggle {
    background: none;
    border: none;
    padding: 8px 16px;
    font-size: 14px;
    color: #0166ff;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
}

.process-card-tip-toggle:hover {
    color: #0052cc;
    text-decoration: underline;
}

.process-card-tip {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #0166ff;
    color: white;
    padding: 16px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.5;
    width: max-content;
    max-width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 10;
}

.process-card:hover .process-card-tip,
.process-card-tip.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(8px);
}

.process-card:hover .process-card-tip-toggle,
.process-card-tip-container.active .process-card-tip-toggle {
    color: #0052cc;
}

.process-card-wide {
    background: white;
    border-radius: 20px;
    padding: 40px;
    position: relative;
    width: 100%;
    max-width: 1048px;
    margin: 24px auto 0;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

.process-card-wide:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.process-card-wide-content {
    display: flex;
    align-items: center;
    gap: 40px;
    width: 100%;
}

.process-card-wide-left {
    flex: 0 0 auto;
}

.process-card-wide-left .process-card-image {
    width: 160px;
    height: 160px;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.process-card-wide:hover .process-card-wide-left .process-card-image {
    transform: scale(1.05);
}

.process-card-wide-right {
    flex: 1;
}

.process-card-wide .process-card-title {
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.4;
    margin-bottom: 8px;
    text-align: left;
}

@media (min-width: 1125px) {
    .process-card-wide .process-card-title {
        font-size: 32px;
        font-weight: 700;
        color: #1f2937;
        line-height: 1.4;
        margin-bottom: 8px;
    }
    
    .process-card-wide .process-card-title br {
        display: none;
    }
}

.process-card-wide:hover .process-card-title {
    color: #0166ff;
}

.process-card-wide .process-card-description {
    font-size: 18px;
    color: #6b7280;
    line-height: 1.5;
    text-align: left;
    max-width: 480px;
}

@media (min-width: 1125px) {
    .process-card-wide .process-card-description {
        font-size: 20px;
        color: #6b7280;
        line-height: 1.5;
        text-align: left;
        max-width: 480px;
    }
    
    .process-card-wide .process-card-description br {
        display: none;
    }
}

.process-arrow {
    display: flex;
    align-items: center;
}

.process-cta {
    text-align: center;
    margin-top: 48px;
}

.process-cta-text {
    font-size: 20px;
    margin-bottom: 16px;
}

.highlight {
    color: #0166ff;
    font-weight: 700;
}

.process-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    background: #0166ff;
    color: white;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.process-cta-button:hover {
    background: #0052cc;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(1, 102, 255, 0.2);
}

@media (min-width: 481px) {

    .process-card-image {
        width: 120px;
        height: 120px;
    }

    .process-section {
        padding: 100px 0;
    }
}

@media (min-width: 1025px) {
    .process-cards-row {
        flex-wrap: nowrap;
    }
}

@media (max-width: 1124px) {
    .process-cards {
        margin-bottom: 32px;
    }
    
    .process-cards-row {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }
    
    .process-card {
        width: 100%;
        max-width: 400px;
    }
    
    .process-arrow {
        display: none;
    }
    
    .process-card-wide {
        max-width: 400px;
        padding: 32px;
    }
    
    .process-card-wide-content {
        flex-direction: column;
        gap: 24px;
    }
    
    .process-card-wide-right {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .process-section {
        padding: 80px 0;
    }
    
    .process-card {
        padding: 32px;
        min-width: auto;
    }
    
    .process-card-wide {
        margin-top: 40px;
    }
    
    .process-card-wide .step-number {
        display: none;
    }
}

@media (min-width: 481px) {
    .process-title {
        font-size: 40px;
    }
    
    .process-subtitle {
        font-size: 24px;
    }
}

/* 미니 배너 섹션 */
.mini-banner-section {
    position: relative;
    padding: 100px 0;
    background-image: url('../images/minibanner-image.png');
    background-size: auto;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mini-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 34, 73, 0.4) 100%;
    z-index: 1;
}

.mini-banner-section .container {
    position: relative;
    z-index: 2;
}

.mini-banner-content {
    text-align: center;
    color: white;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
}

.mini-banner-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

.mini-banner-title-main {
    display: block;
    font-size: 36px;
    margin-bottom: 8px;
    opacity: 0.95;
}

.mini-banner-title-sub {
    display: block;
    font-size: 42px;
}

.mini-banner-subtitle {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.4;
    opacity: 0.95;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    margin: 0;
}

/* 태블릿 반응형 */
@media (max-width: 1024px) {
    .mini-banner-section {
        padding: 80px 0;
        min-height: 400px;
        background-attachment: scroll;
    }
    
    .mini-banner-title {
        font-size: 36px;
    }
    
    .mini-banner-title-main {
        font-size: 32px;
    }
    
    .mini-banner-title-sub {
        font-size: 36px;
    }
    
    .mini-banner-subtitle {
        font-size: 18px;
    }
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .mini-banner-section {
        padding: 60px 0;
        min-height: 400px;
        background-size: 1080px auto;
        background-position: center center;
    }
    
    .mini-banner-content {
        padding: 0 30px;
    }
    
    .mini-banner-title {
        font-size: 32px;
        margin-bottom: 24px;
    }
    
    .mini-banner-title-main {
        font-size: 28px;
        margin-bottom: 10px;
    }
    
    .mini-banner-title-sub {
        font-size: 32px;
        line-height: 1.1;
    }
    
    .mini-banner-subtitle {
        font-size: 16px;
        line-height: 1.5;
    }

}

/* 메인 CTA 섹션 */
.main-cta-section {
    padding: 100px 0;
    background-color: #ffffff;
    text-align: center;
}

.main-cta-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.main-cta-icon {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-cta-icon-img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(59, 130, 246, 0.15));
    transition: transform 0.3s ease;
}

.main-cta-icon-img:hover {
    transform: translateY(-5px) scale(1.05);
}

.main-cta-title {
    font-size: 42px;
    font-weight: 700;
    color: #3b82f6;
    line-height: 1.2;
    margin-bottom: 20px;
}

@media (min-width: 639px) {
    .main-cta-title br {
        display: none;
    }
}

.main-cta-subtitle {
    font-size: 20px;
    font-weight: 500;
    color: #64748b;
    line-height: 1.4;
    margin-bottom: 50px;
}

.main-cta-button-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: none;
    position: relative;
    overflow: hidden;
}

.main-cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.main-cta-button:hover::before {
    left: 100%;
}

.main-cta-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

.main-cta-button:active {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
}

.main-cta-button-text {
    position: relative;
    z-index: 2;
}

.main-cta-button-arrow {
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.main-cta-button:hover .main-cta-button-arrow {
    transform: translateX(4px);
}

/* 태블릿: 640px ~ 1023px */
@media (min-width: 481px) and (max-width: 1023px) {
    .main-cta-section {
        padding: 80px 0;
    }
    
    .main-cta-icon-img {
        width: 100px;
        height: 100px;
    }
    
    .main-cta-title {
        font-size: 36px;
    }
    
    .main-cta-subtitle {
        font-size: 18px;
        margin-bottom: 40px;
    }
    
    .main-cta-button {
        padding: 16px 32px;
        font-size: 17px;
    }
}

/* 모바일: ~639px */
@media (max-width: 480px) {
    .main-cta-section {
        padding: 60px 0;
    }
    
    .main-cta-content {
        padding: 0 20px;
    }
    
    .main-cta-icon {
        margin-bottom: 30px;
    }
    
    .main-cta-icon-img {
        width: 80px;
        height: 80px;
    }
    
    .main-cta-title {
        font-size: 32px;
        margin-bottom: 16px;
        line-height: 1.3;
    }
    
    .main-cta-subtitle {
        font-size: 18px;
        margin-bottom: 35px;
    }
    
    .main-cta-button {
        padding: 15px 24px;
        font-size: 18px;
        gap: 10px;
    }
    
    .main-cta-button-arrow {
        width: 18px;
        height: 18px;
    }
}

/* 애니메이션 */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0, 0, 0);
    }
    40%, 43% {
        transform: translate3d(0, -30px, 0);
    }
    70% {
        transform: translate3d(0, -15px, 0);
    }
    90% {
        transform: translate3d(0, -4px, 0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 반응형 디자인 */
@media (min-width: 800px) {
    .container {
        padding: 0 1.5rem;
    }

    
    .hero-title {
        line-height: 1.4;
    }

    .hero-title .title-main {   
        font-size: 40px;
    }
    .hero-title .title-sub {
        margin-top: 8px;
        font-size: 32px;
    }
    
    /* 서비스 그리드 관련 규칙은 통합 서비스 섹션에서 관리됨 */
    


    .usp-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        align-items: center;
    }
    
    .usp-content {
        text-align: center;
        justify-self: center;
        align-self: center;
    }
    
    .usp-image {
        max-width: none;
        justify-self: center;
        align-self: center;
    }
    
    .usp-label {
        font-size: 20px;
    }
    
    .usp-title {
        font-size: 2.25rem;
    }
    
    .usp-description {
        font-size: 1.125rem;
    }
    
    .mobile-break {
        display: none;
    }
    
    .cta-buttons {
        flex-direction: row;
        justify-content: center;
    }
    
    .app-content {
        flex-direction: row;
        align-items: center;
    }
    
    .testimonial-profile {
        flex-direction: row;
    }
    
    .testimonial-card {
        flex-direction: row;
        align-items: center;
    }
    .section-title br { display: none; }
}

/* ===== Scoped button styles for mobile footer CTA (match design_comp) ===== */
.mobile-cta .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-8-12, 10px);
    font-family: inherit;
    font-size: var(--fs-14-18, 16px);
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
    outline: none;
}

.mobile-cta .btn-md { padding: var(--space-8-12, 10px) var(--space-16-20, 16px); }
.mobile-cta .btn-inline { width: 100%; }

.mobile-cta .btn-secondary {
    background: var(--primary-10);
    color: var(--primary);
    border-color: var(--primary-10);
}

.mobile-cta .btn-secondary:hover { background: var(--primary-20); border-color: var(--primary-20); transform: translateY(-1px); }
.mobile-cta .btn-secondary:active { transform: translateY(0); }
.mobile-cta .btn:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

@media (min-width: 1024px) {
    .container {
        padding: 0 2.5rem;
    }
    
    .hero-title {
        line-height: 1.5;
    }

    .hero-title .title-main {   
        font-size: 48px;
    }
    .hero-title .title-sub {
        font-size: 36px;
    }

    .service-simple-copy .service-copy-line {
        font-size: 32px;
    }
    
    .service-simple-copy .service-copy-line.sub {
        font-size: 24px;
    }
    
    /* 서비스 그리드 관련 규칙은 통합 서비스 섹션에서 관리됨 */
    

    
    .section-title {
        font-size: 32px;
    }
    
    .usp-label {
        font-size: 20px;
    }

    .usp-grid {
        gap: 4rem;
    }
    
    .usp-title {
        font-size: 2.75rem; /* 48px - 데스크톱 */
    }
    
    .usp-description {
    font-size: 1.25rem; /* 20px - 데스크톱 */
    }

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

/* ============================================
   📱 MOBILE APP-STYLE ENHANCEMENTS
   ============================================ */

/* 모바일 전용 앱 스타일 변수 */
:root {
    --app-card-shadow: none;
    --app-card-shadow-hover: 0 4px 12px rgba(0, 0, 0, 0.05);
    --app-border-radius: 16px;
    --app-border-radius-small: 12px;
    --app-spacing: 1.5rem;
    --app-backdrop-filter: blur(20px);
    --app-glass-bg: rgba(255, 255, 255, 0.95);
    --app-glass-border: rgba(255, 255, 255, 0.3);
    --app-solid-bg: #ffffff;
}

/* 모바일에서만 적용되는 앱 스타일 */
@media (max-width: 768px) {
    

    
    /* ===== ENHANCED HEADER ===== */
    .header {
        background: var(--app-glass-bg);
        backdrop-filter: var(--app-backdrop-filter);
        border-bottom: 1px solid var(--app-glass-border);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    }
    
    /* ===== APP-STYLE CARDS (모바일에서만 적용) ===== */
    .service-section .service-card {
        background-color: rgba(96, 165, 250, 0.4);
        backdrop-filter: blur(4px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: var(--app-border-radius);
        transition: all 0.2s ease;
        overflow: hidden;
        position: relative;
        color: white;
    }
    

          
    
    /* ===== ENHANCED BUTTONS ===== */
    .cta-button, .hero-action-btn, .usp-cta-button, .benefits-cta-button {
        border-radius: var(--app-border-radius-small);
        box-shadow: var(--app-card-shadow);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        overflow: hidden;
    }
    
    .cta-button::after, .hero-action-btn::after, .usp-cta-button::after, .benefits-cta-button::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        background: rgba(255, 255, 255, 0.3);
        border-radius: 50%;
        transition: all 0.4s ease;
        transform: translate(-50%, -50%);
    }
    
    .cta-button:active::after, .hero-action-btn:active::after, 
    .usp-cta-button:active::after, .benefits-cta-button:active::after {
        width: 200px;
        height: 200px;
    }
    

    
    /* ===== SWIPE INDICATORS ===== */
    .swipe-indicator {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 30px;
        height: 30px;
        background: rgba(255, 255, 255, 0.9);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        transition: all 0.3s ease;
        pointer-events: none;
        z-index: 10;
    }
    
    .swipe-indicator.left {
        left: 10px;
        animation: slideInLeft 0.5s ease;
    }
    
    .swipe-indicator.right {
        right: 10px;
        animation: slideInRight 0.5s ease;
    }
    
    .swipe-indicator.show {
        opacity: 1;
    }
    
    /* ===== PULL TO REFRESH ===== */
    .pull-to-refresh {
        position: fixed;
        top: -60px;
        left: 50%;
        transform: translateX(-50%);
        width: 40px;
        height: 40px;
        background: var(--app-glass-bg);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        backdrop-filter: var(--app-backdrop-filter);
        box-shadow: var(--app-card-shadow);
        transition: all 0.3s ease;
        z-index: 1001;
        opacity: 0;
    }
    
    .pull-to-refresh.visible {
        opacity: 1;
        top: 20px;
    }
    
    .pull-to-refresh.loading {
        animation: spin 1s linear infinite;
    }
    
    .pull-to-refresh.loading img {
        animation: spin 1.5s linear infinite;
    }
    
    /* ===== LOADING STATES ===== */
    .skeleton {
        background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
        background-size: 200% 100%;
        animation: loading 1.5s infinite;
        border-radius: var(--app-border-radius-small);
    }
    
    .skeleton-text {
        height: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .skeleton-avatar {
        width: 60px;
        height: 60px;
        border-radius: 50%;
    }
    
    /* ===== ENHANCED STATS SECTION ===== */
    .stats-card {
        background: var(--app-solid-bg);
        border: 1px solid rgba(0, 0, 0, 0.08);
        border-radius: var(--app-border-radius);
        box-shadow: var(--app-card-shadow);
    }
    
    /* ===== ENHANCED REVIEW SECTION ===== */
    .review-slide {
        border-radius: var(--app-border-radius);
        overflow: hidden;
    }
    
    .review-card {
        background: #F6F6F6;
        border-radius: 6px;
        padding: 40px 20px;
    }
    
    /* ===== NOTIFICATION STYLE ===== */
    .app-notification {
        position: fixed;
        top: 80px;
        left: 1rem;
        right: 1rem;
        background: var(--app-solid-bg);
        border: 1px solid rgba(0, 0, 0, 0.08);
        border-radius: var(--app-border-radius-small);
        padding: 1rem;
        box-shadow: var(--app-card-shadow);
        transform: translateY(-100px);
        opacity: 0;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1002;
    }
    
    .app-notification.show {
        transform: translateY(0);
        opacity: 1;
    }
    
    .app-notification.success {
        border-left: 4px solid #10b981;
    }
    
    .app-notification.error {
        border-left: 4px solid #ef4444;
    }
    
    .app-notification.info {
        border-left: 4px solid #3b82f6;
    }
    
    .app-notification .notification-content {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
    
    .app-notification .notification-text {
        font-size: 0.9rem;
        font-weight: 500;
        color: var(--color-neutral-gray-800);
    }
    
    /* ===== ENHANCED TOUCH INTERACTIONS ===== */
    .touch-feedback {
        position: relative;
        overflow: hidden;
    }
    
    .touch-feedback::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        background: rgba(255, 255, 255, 0.3);
        border-radius: 50%;
        transition: all 0.3s ease;
        transform: translate(-50%, -50%);
        pointer-events: none;
    }
    
    .touch-feedback:active::after {
        transform: translate(-50%, -50%) scale(50);
    }
    
    /* ===== SMOOTH SCROLLING ENHANCEMENTS ===== */
    html {
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }
    
    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
    

}

/* ===== ANIMATIONS ===== */
@keyframes slideInLeft {
    from {
        transform: translateX(-20px) translateY(-50%);
        opacity: 0;
    }
    to {
        transform: translateX(0) translateY(-50%);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(20px) translateY(-50%);
        opacity: 0;
    }
    to {
        transform: translateX(0) translateY(-50%);
        opacity: 1;
    }
}

@keyframes loading {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

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

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



/* ===== ACCESSIBILITY ENHANCEMENTS ===== */
@media (max-width: 768px) {
    /* 포커스 스타일 개선 */
    .cta-button:focus, .hero-action-btn:focus, .service-card:focus {
        outline: 2px solid var(--color-primary-500);
        outline-offset: 2px;
    }
    
    /* 터치 타겟 최소 크기 보장 */
    .cta-button, .hero-action-btn, .service-card {
        min-height: 44px;
    }
    
    /* 고대비 모드 지원 */
    @media (prefers-contrast: high) {
        .service-card, .review-card, .stats-card {
            border: 2px solid var(--color-neutral-black);
        }
    }
}

/* ===== 기존 스타일과의 호환성 보장 ===== */
@media (max-width: 768px) {
    /* 기존 모바일 스타일을 앱 스타일로 점진적 향상 */
    
    .hero-section {
        min-height: 60vh;
        height: 75vh;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    
    .hero-video {
        object-fit: cover;
        object-position: center;
    }
    

    
        /* 레거시 중복 규칙 제거됨 - 통합 서비스 섹션에서 관리 */

}

/* ===== DESKTOP MODAL STYLES (웹뷰 최적화) ===== */




/* 집잘알 서비스 소개 섹션 리디자인 (최적화, as- 접두어) */
.as-section {
  padding: 120px 12px 140px 12px;
  background: #F6F7F9;
}

@media (max-width: 768px) {
  .as-section {
    padding: 100px 8px 100px 8px;
  }
}

@media (max-width: 480px) {
    .as-section {
      padding: 80px 0px 80px 0px;
    }
  }

.as-title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  color: #222;
  margin-bottom: 60px;
  line-height: 1.32;
  word-break: keep-all;
}

@media (max-width: 640px) {
  .as-title {
    margin-bottom: 40px;
    font-size: 28px;
  }
}

.as-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 1152px;
  margin: 0 auto;
}
.as-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 3px 14px rgba(3, 40, 93, 0.10);
  padding: 2.2rem 0 0 0;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  height: auto;
  transition: box-shadow 0.2s;
  justify-content: flex-start;
  position: relative;
  overflow: hidden;
}
.as-card .as-title {
  font-size: 24px;
  font-weight: 700;
  color: #222;
  margin-bottom: 1rem;
  line-height: 1.3;
  word-break: keep-all;
}
.as-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0;
  border-radius: 0 0 28px 28px;
  background: transparent;
  box-shadow: none;
  position: relative;
  left: 0;
  right: 0;
  margin-top: 0;
}
@media (min-width: 481px) {
  .as-cards {
    flex-direction: row;
    gap: 20px;
  }
  .as-card {
    min-height: 340px;
    padding: 2.2rem 0 0 0;
  }
  .as-title {
    font-size: 40px;
  }
  .as-card .as-title {
    font-size: 28px;
  }

  .as-img {
    margin-top: auto;
  }
}

/* 네비게이션 전문가 메뉴 강조 및 구분선 */
.nav-divider {
  display: inline-block;
  width: 1px;
  height: 24px;
  background: #e5e7eb;
  margin: 0 10px;
  vertical-align: middle;
}
@media (max-width: 768px) {
  .nav-divider {
    display: block;
    width: 100%;
    height: 1px;
    background: #e5e7eb;
    margin: 0px 0;
  }
}
.nav-expert {
  font-weight: 600;
  color: #0166FF !important;
  background: rgba(1,102,255,0.07);
  border-radius: 8px;
  padding: 0.3em 1em;
  margin-left: 0.5em;
  transition: background 0.2s;
}
.nav-expert:hover {
  background: #0166FF;
  color: #fff !important;
}
.nav-expert-label {
  font-weight: 500;
  color: inherit;
  letter-spacing: -0.01em;
}

@media (min-width: 481px) {
  #pull-to-refresh, .pull-to-refresh {
    display: none !important;
  }
}

/* USP 모바일 레이아웃 */
.usp-mobile-layout {
    display: none;
}

.usp-mobile-header {
    text-align: center;
    margin-bottom: 20px;
}

.usp-mobile-slider {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-bottom: 2rem;
    overflow-x: hidden; /* 수동 스크롤 방지 */
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    position: relative;
    pointer-events: none; /* 터치/마우스 이벤트 방지 */
}

.usp-mobile-slider::-webkit-scrollbar {
    display: none;
}

.usp-mobile-image-container {
    width: 640px; /* 이미지 실제 너비에 맞춤 */
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
    flex-shrink: 0;
    pointer-events: none; /* 터치/마우스 이벤트 방지 */
}

.usp-mobile-img {
    width: 640px; /* 이미지 실제 너비 */
    height: auto;
    border-radius: 12px;
    object-fit: contain;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
}

.usp-mobile-description {
    text-align: center;
    padding: 0 1rem;
}

/* 모바일에서 데스크탑 레이아웃 숨기기 */
@media (max-width: 640px) {
    .usp-grid {
        display: none;
    }
    
    .usp-mobile-layout {
        display: block;
    }
}

/* 데스크탑에서 모바일 레이아웃 숨기기 */
@media (min-width: 481px) {
    .usp-mobile-layout {
        display: none;
    }

    .usp-grid {
        display: grid;
    }
}

/* USP 이미지 교체 - 태블릿/데스크탑 */
@media (min-width: 481px) {
    .usp-img-1 {
        content: url("../images/USP-mu-2.png");
    }

    .usp-img-2 {
        content: url("../images/USP-mu-1.png");
    }
}

/* Icons */
.icon-check {
    width: 16px;
    height: 16px;
    display: block;
    object-fit: contain;
}

@media (min-width: 481px) {
    .icon-check {
        width: 20px;
        height: 20px;
    }
}

/* 🚀 Floating CTA Button */
.floating-cta {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none;
}

.floating-cta.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.floating-cta a {
    text-decoration: none;
}

.floating-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #FDE047 0%, #FACC15 100%);
    color: #1a1a1a;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    outline: none;
    gap: 12px;
    box-shadow: 0 8px 32px rgba(250, 204, 21, 0.3), 0 4px 12px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.floating-cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.floating-cta-btn:hover::before {
    opacity: 1;
}

.floating-cta-btn:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 0, 0, 0.12);
    box-shadow: 0 12px 40px rgba(250, 204, 21, 0.4), 0 8px 20px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #FACC15 0%, #EAB308 100%);
}

.floating-cta-btn:active {
    transform: translateY(-1px);
}

.floating-btn-text {
    font-weight: 600;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 2;
    flex: 1;
    text-align: center;
    white-space: nowrap;
}

.floating-btn-arrow {
    color: #1f2937;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
    opacity: 0.8;
}

.floating-cta-btn:hover .floating-btn-arrow {
    transform: translateX(3px);
    opacity: 1;
}

/* 모바일 스타일 */
@media (max-width: 480px) {
    .floating-cta {
        bottom: 40px; /* 모바일에서 하단 여백 더 확보 */
        left: 50%;
        right: auto;
        width: calc(100% - 40px);
        max-width: 320px;
    }
    
    .floating-cta-btn {
        width: 100%;
        padding: 16px 24px;
        font-size: 18px;
        gap: 12px;
    }
    
    .floating-btn-text {
        font-size: 20px;
        font-weight: 600;
    }
    
    .floating-btn-arrow img {
        width: 24px;
        height: 24px;
    }
}

/* 데스크톱 스타일 */
@media (min-width: 481px) {
    .floating-cta {
        bottom: 30px;
    }
    
    .floating-cta-btn {
        padding: 18px 20px 18px 28px;
        font-size: 20px;
        min-width: 300px;
    }
    
    .floating-btn-text {
        font-size: 24px;
        font-weight: 600;
    }
    
    .floating-btn-arrow img {
        width: 32px;
        height: 32px;
    }
}

/* ===== 전문가 모집 섹션 ===== */
.expert-recruit-section {
    padding: 80px 0;
    background: #fff;
    border-top: 1px solid rgba(59, 130, 246, 0.1);
}

.expert-recruit-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
    text-align: center;
}

.expert-recruit-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.expert-recruit-image {
    width: 240px;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.expert-recruit-image:hover {
    transform: translateY(-5px) scale(1.05);
}

.expert-recruit-text-area {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    text-align: center;
    width: 100%;
}

.expert-recruit-text {
    text-align: center;
}

.expert-recruit-title {
    font-size: 36px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.2;
    margin-bottom: 16px;
}

.expert-recruit-subtitle {
    font-size: 18px;
    font-weight: 500;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 0;
}

.expert-recruit-action {
    display: flex;
    justify-content: center;
    align-items: center;
}

.expert-recruit-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: rgba(1,102,255,0.07);
    color: #0166FF;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: none;
    position: relative;
    overflow: hidden;
}



.expert-recruit-button:hover {
    background: #0166FF;
    color: #fff;
}

.expert-recruit-button:active {
    transform: scale(0.98);
}

.expert-recruit-button-text {
    position: relative;
    z-index: 2;
}

.expert-recruit-button-arrow {
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.expert-recruit-button:hover .expert-recruit-button-arrow {
    opacity: 0.8;
}

/* ===== 태블릿 반응형: 640px ~ 1023px ===== */
@media (min-width: 481px) and (max-width: 1023px) {
    .expert-recruit-section {
        padding: 70px 0;
    }
    
    .expert-recruit-content {
        flex-direction: row;
        gap: 10px;
        align-items: center;
        text-align: left;
    }
    
    .expert-recruit-visual {
        flex: 0 0 45%;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-left: 40px;
    }
    
    .expert-recruit-image {
        width: 100%;
        max-width: 300px;
        height: auto;
    }
    
    .expert-recruit-text-area {
        flex: 1;
        align-items: flex-start;
        text-align: left;
        gap: 25px;
    }
    
    .expert-recruit-text {
        text-align: left;
    }
    
    .expert-recruit-title {
        font-size: 32px;
    }
    
    .expert-recruit-subtitle {
        font-size: 17px;
    }
    
    .expert-recruit-action {
        justify-content: flex-start;
    }
    
    .expert-recruit-button {
        padding: 14px 28px;
        font-size: 15px;
    }
}

/* ===== 데스크톱 반응형: 1024px+ ===== */
@media (min-width: 1024px) {
    .expert-recruit-section {
        padding: 90px 0;
    }
    
    .expert-recruit-content {
        flex-direction: row;
        gap: 10px;
        align-items: center;
        text-align: left;
        max-width: 1200px;
    }
    
    .expert-recruit-visual {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-left: 100px;
    }
    
    .expert-recruit-image {
        width: 100%;
        max-width: 400px;
        height: auto;
    }
    
    .expert-recruit-text-area {
        flex: 1;
        align-items: flex-start;
        text-align: left;
        gap: 32px;
    }
    
    .expert-recruit-text {
        text-align: left;
    }
    
    .expert-recruit-title {
        font-size: 40px;
        margin-bottom: 20px;
    }
    
    .expert-recruit-subtitle {
        font-size: 19px;
    }
    
    .expert-recruit-action {
        justify-content: flex-start;
    }
    
    .expert-recruit-button {
        padding: 18px 36px;
        font-size: 17px;
        gap: 12px;
    }
}

/* ===== 모바일 반응형: ~639px ===== */
@media (max-width: 480px) {
    .expert-recruit-section {
        padding: 60px 0;
    }
    
    .expert-recruit-content {
        gap: 30px;
    }
    
    .expert-recruit-image {
        width: 200px;
    }
    
    .expert-recruit-text-area {
        gap: 25px;
    }
    
    .expert-recruit-title {
        font-size: 32px;
        margin-bottom: 12px;
    }
    
    .expert-recruit-subtitle {
        font-size: 17px;
    }
    
    .expert-recruit-button {
        padding: 14px 24px;
        font-size: 16px;
        gap: 8px;
    }
}

/* ===== 절약 증명 섹션 (savings-proof-section) ===== */
.savings-proof-section {
    padding: 120px 0;
    background: #F9F9F9;
    position: relative;
}

.savings-header {
    text-align: center;
    margin-bottom: 80px;
}

.savings-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.savings-badge-icon {
    width: 24px;
    height: 24px;
}

.savings-badge-text {
    color: #0166FF;
    font-size: 20px;
    font-weight: 600;
}

.savings-title {
    font-size: 42px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 20px;
    line-height: 1.2;
}

.savings-description {
    font-size: 20px;
    color: #6b7280;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== 막대 그래프 가격 비교 섹션 ===== */
.bar-chart-comparison {
    max-width: 800px;
    margin: 0 auto 80px auto;
    padding: 0 20px;
}

/* 헤더 */
.chart-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 0;
    background: transparent;
}

.header-icon {
    font-size: 32px;
    margin-bottom: 12px;
    display: block;
}

.header-title {
    font-size: 26px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 6px;
    line-height: 1.4;
    letter-spacing: -0.025em;
}

.header-subtitle {
    font-size: 13px;
    color: #949aa5;
    margin: 0;
    font-weight: 400;
    letter-spacing: -0.025em;
}

/* 차트 컨테이너 */
.chart-container {
    display: flex;
    align-items: end;
    justify-content: center;
    gap: 80px;
    margin-bottom: 24px;
    padding: 50px 20px;
    background: #ffffff;
    border-radius: 12px;
    min-height: 420px;
}

/* 차트 컬럼 */
.chart-column {
    flex: 1;
    max-width: 220px;
    text-align: center;
}

.chart-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 24px;
    color: #374151;
    letter-spacing: -0.025em;
}

/* 막대 래퍼 */
.bar-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 16px;
    position: relative;
}

/* 추가요금 영역 (일반업체만) - 위쪽 배치 */
.additional-area {
    width: 180px;
    height: 85px;
    background: #f3f4f6;
    border: 2px solid #d1d5db;
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: -2px;
}

.additional-area::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #d1d5db;
    margin-bottom: -6px;
}

.additional-text {
    font-size: 20px;
    font-weight: 600;
    color: #9ca3af;
    margin-bottom: -4px;
}

.additional-label {
    font-size: 16px;
    color: #6b7280;
    font-weight: 500;
}

/* 가격 막대 */
.price-bar {
    width: 180px;
    border-radius: 0 0 8px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    position: relative;
    transition: all 0.6s ease;
}

/* 일반 업체 막대 (48만원 기준) */
.regular-bar {
    height: 240px; /* 48만원 → 240px */
    background: #ef4444;
    border: 2px solid #dc2626;
    border-top: none;
}

/* 집잘알 막대 (35만원 기준) */
.zibjalal-bar {
    height: 175px; /* 35만원 → 175px */
    background: #0166ff;
    border: 2px solid #0052cc;
    border-radius: 8px;
}

/* 막대 내 텍스트 */
.bar-top-text {
    font-size: 20px;
    font-weight: 700;
    color: white;
    text-align: center;
}

.bar-bottom-text {
    font-size: 17px;
    font-weight: 500;
    color: white;
    text-align: center;
}

/* 차트 노트 */
.chart-note {
    font-size: 11px;
    color: #6b7280;
    margin-top: 12px;
    font-weight: 500;
}

/* 절약 결과 */
.savings-result {
    text-align: center;
    padding: 24px;
    background: #ffffff;
    border-radius: 12px;
}

.savings-highlight {
    margin-bottom: 4px;
}

.savings-amount {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0;
}

.savings-percentage {
    display: block;
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
    letter-spacing: -0.025em;
}

.result-message {
    font-size: 14px;
    color: #374151;
    margin: 0;
    line-height: 1.5;
    letter-spacing: -0.025em;
}

.result-message strong {
    color: #111827;
    font-weight: 600;
}

/* ===== 모바일 반응형 (막대 그래프 비교) ===== */
@media (max-width: 768px) {
    .bar-chart-comparison {
        padding: 0 16px;
    }

    .chart-header {
        margin-bottom: 32px;
    }

    .header-icon {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .header-title {
        font-size: 24px;
        margin-bottom: 5px;
    }

    .header-subtitle {
        font-size: 12px;
    }

    .chart-container {
        flex-direction: row;
        align-items: end;
        gap: 40px;
        padding: 40px 20px;
        margin-bottom: 16px;
        min-height: auto;
    }

    .chart-column {
        flex: 1;
        max-width: 160px;
    }

    .chart-title {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .price-bar {
        width: 140px;
        padding: 12px 16px;
    }

    .regular-bar {
        height: 140px;
    }

    .zibjalal-bar {
        height: 105px;
    }

    .additional-area {
        width: 140px;
        height: 60px;
    }

    .bar-top-text {
        font-size: 18px;
        font-weight: 700;
    }

    .bar-bottom-text {
        font-size: 14px;
    }

    .additional-text {
        font-size: 14px;
    }

    .additional-label {
        font-size: 12px;
    }

    .chart-note {
        font-size: 10px;
    }

    .savings-result {
        padding: 20px;
    }

    .savings-amount {
        font-size: 24px;
    }

    .savings-percentage {
        font-size: 13px;
    }

    .result-message {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .bar-chart-comparison {
        padding: 0 12px;
    }

    .chart-header {
        margin-bottom: 24px;
    }

    .header-icon {
        font-size: 26px;
        margin-bottom: 8px;
    }

    .header-title {
        font-size: 20px;
        margin-bottom: 4px;
    }

    .header-subtitle {
        font-size: 11px;
    }

    .chart-container {
        flex-direction: row;
        align-items: end;
        gap: 20px;
        padding: 32px 16px;
        margin-bottom: 12px;
    }

    .chart-column {
        flex: 1;
        max-width: 140px;
    }

    .chart-title {
        font-size: 14px;
        margin-bottom: 16px;
    }

    .price-bar {
        width: 120px;
    }

    .regular-bar {
        height: 120px;
    }

    .zibjalal-bar {
        height: 90px;
    }

    .additional-area {
        width: 120px;
        height: 50px;
    }

    .bar-top-text {
        font-size: 16px;
        font-weight: 700;
    }

    .bar-bottom-text {
        font-size: 12px;
    }

    .additional-text {
        font-size: 14px;
    }

    .additional-label {
        font-size: 12px;
    }

    .chart-note {
        font-size: 9px;
    }

    .savings-result {
        padding: 18px;
    }

    .savings-amount {
        font-size: 20px;
    }

    .savings-percentage {
        font-size: 12px;
    }

    .result-message {
        font-size: 12px;
    }
}

/* 초소형 화면 (320px 이하) */
@media (max-width: 320px) {
    .chart-container {
        gap: 16px;
        padding: 24px 12px;
    }

    .chart-column {
        max-width: 120px;
    }

    .chart-title {
        font-size: 13px;
        margin-bottom: 14px;
    }

    .price-bar {
        width: 100px;
    }

    .regular-bar {
        height: 100px;
    }

    .zibjalal-bar {
        height: 75px;
    }

    .additional-area {
        width: 100px;
        height: 45px;
    }

    .bar-top-text {
        font-size: 12px;
        font-weight: 700;
    }

    .bar-bottom-text {
        font-size: 9px;
    }

    .additional-text {
        font-size: 10px;
    }

    .additional-label {
        font-size: 8px;
    }

    .chart-note {
        font-size: 8px;
    }
}

/* ===== 애니메이션 키프레임 (가격 비교 그래프) ===== */
@keyframes wiggle {
    0%, 7% {
        transform: rotateZ(0);
    }
    15% {
        transform: rotateZ(-15deg);
    }
    20% {
        transform: rotateZ(10deg);
    }
    25% {
        transform: rotateZ(-10deg);
    }
    30% {
        transform: rotateZ(6deg);
    }
    35% {
        transform: rotateZ(-4deg);
    }
    40%, 100% {
        transform: rotateZ(0);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(1, 102, 255, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 16px rgba(1, 102, 255, 0.4);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(1, 102, 255, 0.3);
    }
}

/* 막대 그래프 자연스러운 애니메이션 */
@keyframes barGrowUp {
    0% {
        transform: scaleY(0);
        opacity: 0;
    }
    15% {
        opacity: 1;
    }
    100% {
        transform: scaleY(1);
        opacity: 1;
    }
}

@keyframes additionalGrowUp {
    0% {
        transform: scaleY(0);
        opacity: 0;
    }
    25% {
        opacity: 1;
    }
    100% {
        transform: scaleY(1);
        opacity: 1;
    }
}

@keyframes textSlideIn {
    0% {
        opacity: 0;
        transform: translateY(8px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 간단한 호버 효과 */
.comparison-card:hover .card-title {
    transform: scale(1.05);
    transition: transform 0.2s ease;
}

.comparison-card:hover .price-value {
    transform: scale(1.02);
    transition: transform 0.2s ease;
}

.savings-summary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(1, 102, 255, 0.15);
    transition: all 0.3s ease;
}

.savings-summary:hover .amount-text {
    color: #0052cc;
    transform: scale(1.05);
    transition: all 0.2s ease;
}

.savings-guarantee {
    background: #f8fafc;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 60px;
}

.guarantee-title {
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
    text-align: center;
    margin-bottom: 32px;
}

.guarantee-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.guarantee-item {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
}

.guarantee-icon {
    width: 28px;
    height: 28px;
    background: rgba(1, 102, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.guarantee-text {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
}

.savings-cta {
    text-align: center;
}

.savings-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    background: #0166ff;
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(1, 102, 255, 0.3);
    text-decoration: none;
}

.savings-cta-button:hover {
    background: #0052cc;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(1, 102, 255, 0.4);
}

.savings-cta-arrow {
    transition: transform 0.3s ease;
}

.savings-cta-button:hover .savings-cta-arrow {
    transform: translateX(4px);
}

/* 반응형 디자인 - 태블릿 */
@media (min-width: 481px) {
    .savings-comparison-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
    
    .savings-card {
        padding: 40px;
    }
    
    .guarantee-features {
        flex-direction: row;
        justify-content: center;
        gap: 40px;
    }
}

/* 반응형 디자인 - 데스크톱 */
@media (min-width: 1024px) {
    .savings-proof-section {
        padding: 140px 0;
    }
    
    .savings-comparison-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .savings-header {
        margin-bottom: 100px;
    }
    
    .savings-title {
        font-size: 48px;
    }
    
    .savings-description {
        font-size: 22px;
    }
    
    .guarantee-title {
        font-size: 32px;
    }
}

/* 모바일 반응형 */
@media (max-width: 480px) {
    .savings-proof-section {
        padding: 80px 0;
    }
    
    .savings-header {
        margin-bottom: 60px;
    }
    
    .savings-title {
        font-size: 32px;
    }
    
    .savings-description {
        font-size: 18px;
    }
    
    .savings-comparison-grid {
        gap: 20px;
        margin-bottom: 60px;
    }
    
    .savings-card {
        padding: 24px;
    }
    
    .price-comparison {
        flex-direction: column;
        gap: 16px;
    }
    
    .comparison-arrow {
        transform: rotate(90deg);
    }
    
    .before-price, .after-price {
        width: 100%;
    }
    
    .savings-guarantee {
        padding: 32px 24px;
        margin-bottom: 40px;
    }
    
    .guarantee-title {
        font-size: 24px;
        margin-bottom: 24px;
    }
    
    .guarantee-features {
        gap: 16px;
    }
    
    .guarantee-item {
        justify-content: center;
    }
    
    .guarantee-text {
        font-size: 16px;
    }
    
    .savings-cta-button {
        padding: 16px 32px;
        font-size: 16px;
    }
}

/* ==================================================
   AS 상세 프로세스 섹션 (통일된 네이밍)
   ================================================== */

/* AS 프로세스 섹션 */
.as-process-section,
.as-process-section * {
    box-sizing: border-box;
}

.as-process-section {
    background: transparent;
    padding: 0px 20px 20px 20px;
    position: relative;
    overflow: hidden;
}

.as-process-card {
    background: #ffffff;
    border-radius: 48px;
    max-width: 1048px;
    width: 100%;
    height: auto;
    margin: 0 auto 60px auto;
 /*   box-shadow: -5px 6px 15px 0px rgba(0, 0, 0, 0.1); */
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    padding: 60px 60px 0 60px;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
    gap: 40px;
}

.as-process-card.animate {
    opacity: 1;
    transform: translateY(0);
}

/* 호버 효과 (데스크탑만) */
@media (hover: hover) {
    .as-process-card:hover {
        transform: translateY(-8px);
        box-shadow: -6px 14px 40px 0px rgba(0, 0, 0, 0.1);
    }
}

.as-process-card-3 {
    margin-bottom: 0;
}

.as-process-content {
    background: rgba(18, 18, 18, 0);
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
    justify-content: center;
    width: 50%;
    max-width: 482px;
    padding:0 0px 60px 40px;
}

.as-process-title {
    color: #0166ff;
    text-align: left;
    font-family: "Pretendard", sans-serif;
    font-size: 36px;
    line-height: 1.35;
  
    font-weight: 700;
    position: relative;
}

.as-process-description {
    color: #4b5563;
    text-align: left;
    font-family: "Pretendard", sans-serif;
    font-size: 20px;
    line-height: 1.4;
  
    font-weight: 400;
    position: relative;
}

.as-process-highlight {
    white-space: nowrap;
}

/* 태블릿 이하에서는 줄바꿈 허용 */
@media (max-width: 1024px) {
    .as-process-highlight {
        white-space: normal;
    }
}

.as-process-image {
    width: 40%;
    max-width: 450px;
    height: auto;
    object-fit: contain;
}

/* 태블릿 대응 */
@media (max-width: 1024px) {
    .as-process-section {
        padding: 40px 0px 100px 0px;
    }
    
    .as-process-card {
        max-width: 90%;
        padding: 40px 40px 0 40px;
        margin-bottom: 40px;
        align-items: center;
    }
    
    .as-process-content {
        width: 55%;
        padding: 0 0px 40px 12px;
        justify-content: center;
    }
    
    .as-process-title {
        font-size: 32px;
    }
    
    .as-process-description {
        font-size: 16px;
    }
    
    .as-process-image {
        width: 45%;
        max-width: 400px;
    }
}

/* 모바일 대응 */
@media (max-width: 768px) {
    .as-process-section {
        padding: 24px 0px 0px 0px;
    }
    
    .as-process-card {
        flex-direction: column;
        padding: 60px 24px 0 24px;
        margin: 0 0 32px 0;
        max-width: 100%;
        width: 100%;
        border-radius: 24px;
        align-items: center;
    }
    
    .as-process-content {
        width: 100%;
        padding: 0;
        margin-bottom: 0px;
        text-align: center;
        align-items: center;
        justify-content: center;
    }
    
    .as-process-title {
        text-align: center;
        font-size: 32px;
    }
    
    .as-process-description {
        text-align: center;
        font-size: 18px;
    }
    
    .as-process-image {
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
        position: relative;
        bottom: auto;
        right: auto;
    }
}

/* 작은 모바일 대응 */
@media (max-width: 480px) {
    .as-process-section {
        padding: 12px 0px 0px 0px;
    }
    
    .as-process-card {
        padding: 48px 16px 0 16px;
        margin: 0 0 28px 0;
        max-width: 100%;
        width: 100%;
        border-radius: 20px;
        gap: 28px;
    }
    
    .as-process-content {
        gap: 16px;
        justify-content: center;
    }
    
    .as-process-title {
        font-size: 24px;
    }
    
    .as-process-description {
        font-size: 16px;
        line-height: 1.5;
    }
    
    .as-process-image {
        width: 95%;
        max-width: 300px;
    }
}


/* ==================================================
   끝 - AS 상세 프로세스 섹션
   ================================================== */

/* CTA 폰트 사이즈 1024px 이하 오버라이드 */
@media (max-width: 1024px) {
  #main.home .service-section.masthead.masthead-revamp .hero-trendy-btn .btn-text { font-size: 20px; }
  #main.home .service-section.masthead.masthead-revamp .hero-trendy-btn .btn-arrow .pi { font-size: 18px; }
}

@media (max-width: 600px) {
  #main.home .service-section.masthead.masthead-revamp .hero-trendy-btn .btn-text { font-size: 18px; }
  #main.home .service-section.masthead.masthead-revamp .hero-trendy-btn .btn-arrow .pi { font-size: 16px; }
}

/* ==================================================
   SEO 소개 블록 (seo-intro)
   - 브랜드 블루 그라디언트 배경
   - 가독성 높은 타이포그래피와 링크 칩 스타일
   - 반응형 간격 시스템 적용
   ================================================== */
.seo-intro {
    background: #edf2f6;
    color: var(--text-primary);
}

.seo-intro .container {
    display: block;
    padding: 50px var(--space-16-20) 60px var(--space-16-20);
    max-width: 1160px;
    margin-left: auto;
    margin-right: auto;
}

.seo-intro .seo-paragraph {
    margin: 0;
    color: var(--text-primary);
    font-size: var(--fs-14-18);
    line-height: 1.5;
    max-width: 100%;
    text-align: center;
    word-break: keep-all;
}

/* 섹션 타이틀 - masthead 톤 정렬 */
.seo-intro .section-title {
    margin: 0 0 var(--space-16-20) 0;
    text-align: center;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    line-height: 1.3;
}

/* SEO 소개 문단 강조 텍스트 컬러 */
.seo-intro .seo-paragraph strong {
    color: var(--primary);
}

/* 두 번째 문단의 strong은 기본 텍스트 색 유지 */
.seo-intro .seo-paragraph + .seo-paragraph strong {
    color: inherit;
}

/* 두 번째 문단 변형: 더 작게 + 옅은 회색 라운드 박스 배경 */
.seo-intro .seo-paragraph + .seo-paragraph {
    font-size: var(--fs-14-18);
    color: var(--text-secondary);
    background: var(--bg-tertiary);
    border: 1px solid var(--border-medium);
    border-radius: 12px;
    padding: var(--space-12-16) var(--space-16-20);
    box-shadow: var(--shadow-xs);
    margin-top: var(--space-12-16);
    width: 100%;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.seo-intro .seo-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 0;
    margin: var(--space-16-24) 0 0 0;
    width: max-content;
    max-width: none;
    align-items: center;
    overflow-x: visible;
    flex-wrap: nowrap;
}
.seo-intro .seo-links li { flex: 0 0 auto; }

.seo-intro .seo-links li {
    margin: 0;
    padding: 0;
    flex: 0 0 auto;
}

.seo-intro .seo-links a {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    border: 1px solid #dfe2e6;
    border-radius: 999px;
    text-decoration: none;
    color: #0f172a;
    background: #e0e4e9;
    white-space: nowrap;
    gap: 6px;
    font-size: var(--fs-12-16);
    box-shadow: none;
    transition: border-color .2s ease, box-shadow .2s ease, color .2s ease, background-color .2s ease;
}

.seo-intro .seo-links a:hover { border-color: #0166ff; box-shadow: 0 2px 10px rgba(1, 102, 255, 0.08); background: #ffffff; }

.seo-intro .seo-links a:focus-visible { outline: none; box-shadow: 0 0 0 2px rgba(1,102,255,.35); }

.seo-intro .seo-links a:active {
    box-shadow: var(--shadow-xs);
}

/* 아이콘 제거: 태그 느낌만 유지 */
.seo-intro .seo-links a::before { display: none; }

.seo-intro .seo-bullets {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 0;
    margin: var(--space-16-24) auto;
    max-width: 700px;
    list-style: none;
    justify-content: center;
    box-sizing: border-box;
    margin-bottom: 32px;
  }
.seo-intro .seo-bullets li {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: var(--fs-14-18);
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 16px 8px;
    box-shadow: none;
    min-height: 56px;
    box-sizing: border-box;
    flex: 0 0 calc(50% - 6px);
    width: calc(50% - 6px);
    color: var(--text-secondary);
}
.seo-intro .seo-bullet-icon {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    box-shadow: none;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 48px 40px;
}
.seo-intro .seo-bullet-icon-1 { background-image: url("../images/seo-bullets-icon-1.svg"); }
.seo-intro .seo-bullet-icon-2 { background-image: url("../images/seo-bullets-icon-2.svg"); }
.seo-intro .seo-bullet-icon-3 { background-image: url("../images/seo-bullets-icon-3.svg"); }
.seo-intro .seo-bullet-icon-4 { background-image: url("../images/seo-bullets-icon-4.svg"); }
/* 강조 텍스트를 타이틀처럼 보이게 */
.seo-intro .seo-bullet-phrase { display: block; line-height: 1.5; align-self: center; }
.seo-intro .seo-bullet-strong { color: var(--text-primary); font-weight: 700; }

@media (max-width: 600px) {
  .seo-intro .seo-bullets { padding: 0 12px; gap: 10px; margin-bottom: 24px; }
  .seo-intro .seo-bullets li { flex: 0 0 auto; width: auto; padding-top: 10px; padding-bottom: 10px; font-size: var(--fs-14-18); min-height: unset; }
  .seo-intro .seo-bullet-icon { width: 52px; height: 52px; flex-basis: 52px; background-size: 32px 32px; }
}

/* 작은 화면: 너비 축소만, 래핑은 유지 */
@media (max-width: 1024px) {
    .seo-intro .seo-links { max-width: 760px; justify-content: center; margin-left: auto; margin-right: auto; }
}

@media (max-width: 600px) {
    .seo-intro .seo-paragraph { padding: 0 16px; }
    .seo-intro .seo-paragraph br { display: none; }
    .seo-intro .seo-paragraph + .seo-paragraph { display: none; }
    .seo-intro .seo-bullets { display: inline-flex; flex-wrap: wrap; gap: 8px; padding: 0 12px; width: auto; max-width: none; justify-content: center; margin-left: auto; margin-right: auto; }
    .seo-intro .seo-links { margin: var(--space-24-32) 0 0 0; padding: 0 0; display: none; }
}

.seo-intro .seo-links a i.pi {
    color: var(--text-secondary);
    font-size: 12px;
    margin-left: 8px;
}

/* 카드별 아이콘 적용 */
.seo-intro .seo-links li:nth-child(1) a::before { background-image: url("../images/seo_links_icon%20-1.svg"); }
.seo-intro .seo-links li:nth-child(2) a::before { background-image: url("../images/seo_links_icon%20-2.svg"); }
.seo-intro .seo-links li:nth-child(3) a::before { background-image: url("../images/seo_links_icon%20-3.svg"); }
.seo-intro .seo-links li:nth-child(4) a::before { background-image: url("../images/seo_links_icon%20-4.svg"); }

@media (min-width: 600px) {
    .seo-intro .container {
        grid-template-columns: 1fr;
        gap: var(--space-20-24);
        padding-top: 64px;
        padding-bottom: 64px;
    }
    .seo-intro .seo-paragraph {
        font-size: 18px;
    }
    .seo-intro .seo-paragraph + .seo-paragraph {
        font-size: 15px;
    }
    .seo-intro .seo-links a {
        font-size: 16px;
    }
    .seo-intro .seo-links a::before { display: none; }
    .seo-intro .seo-links a i.pi {
        font-size: 12px;
        margin-left: 4px;
    }
}

/* 데스크탑: 좌 텍스트 / 우 카드 2열 */
@media (min-width: 1024px) {
    .seo-intro .container {
        display: block;
    }
    .seo-intro .seo-bullets { grid-template-columns: repeat(2, 1fr); }
    .seo-intro .seo-links { justify-content: center; margin: var(--space-16-24) auto 0 auto; overflow-x: visible; flex-wrap: nowrap; gap: 12px; max-width: none; }
    .seo-intro .seo-paragraph {
        font-size: 18px;
    }
    .seo-intro .seo-paragraph + .seo-paragraph {
        font-size: 15px;
    }
}

/* SEO Cards - masthead 톤에 맞춘 카드형 UI */
.seo-intro .seo-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: var(--space-20-24) auto 0 auto;
    max-width: 1120px;
    justify-content: center;
}
.seo-intro .seo-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 14px;
    padding: 18px 18px;
    box-shadow: var(--shadow-xs);
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
    flex: 1 1 230px;
    max-width: 520px;
}
.seo-intro .seo-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
    border-color: rgba(1,102,255,0.18);
}
.seo-intro .seo-card-icon-wrapper {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: linear-gradient(180deg, #EAF2FF 0%, #DCE9FF 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 0 1px rgba(1,102,255,0.12);
}
.seo-intro .seo-card-icon { width: 28px; height: 28px; }
.seo-intro .seo-card-title { font-size: 18px; font-weight: 700; color: var(--text-primary); margin: 0; }
.seo-intro .seo-card-desc { font-size: 15px; color: var(--text-secondary); line-height: 1.5; margin: 0; }
.seo-intro .seo-card-link { display: inline-flex; align-items: center; gap: 6px; color: var(--primary); text-decoration: none; font-weight: 600; margin-top: auto; }
.seo-intro .seo-card-link:hover { text-decoration: underline; }

@media (max-width: 1024px) {
  .seo-intro .seo-cards { max-width: 750px; }
  .seo-intro .seo-card { flex: 1 1 calc(50% - 7px); }
}
@media (max-width: 600px) {
  .seo-intro .seo-cards {
    gap: 10px;
    padding: 0;
    width: 100%;
    margin-top: 0;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    justify-content: flex-start;
    scroll-padding-left: 12px;
  }
  .seo-intro .seo-card {
    flex: 0 0 60%;
    min-width: 240px;
    max-width: none;
    scroll-snap-align: start;
  }
}

/* ===== Local Links (horizontal rolling) ===== */
.local-links {
  background: #e9ecf1;
  padding: 40px 0;
}
.local-links .container {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.local-links .local-links-desc {
  margin: 0 0 16px 0;
  font-size: 16px;
  color: var(--text-secondary);
  text-align: center;
  line-height: 1.5;
}
.local-links .local-grid {
  display: flex;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
  margin-left: auto;
  margin-right: auto;
  width: max-content;
  flex-wrap: nowrap;
  align-items: center;
  will-change: transform;
  animation: localLinksMarqueeLTR var(--marquee-duration, 30s) linear infinite;
}
.local-links .local-grid li { flex: 0 0 auto; }
.local-links .local-grid a {
  display: inline-flex;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  text-decoration: none;
  color: #0f172a;
  background: #ffffff;
  white-space: nowrap;
}
.local-links .local-grid a:hover {
  border-color: #0166ff;
  box-shadow: 0 2px 10px rgba(1, 102, 255, 0.08);
}

@keyframes localLinksMarqueeLTR {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-1 * var(--marquee-distance, 50%))); }
}

@media (prefers-reduced-motion: reduce) {
  .local-links .local-grid { animation: none; }
}
@media (min-width: 600px) {
  .local-links .local-grid br { display: none; }
}

/* ===== Home FAQ (merged from home-faq.css) ===== */
.home-faq { background: var(--primary-10); padding: 40px 0; }
.home-faq .faq-box { background: #FFFFFF; border: 1px solid #E9EBED; border-radius: 12px; }
.home-faq .faq-header { padding: 24px 20px 12px 20px; background: #F6F9FC; border-bottom: 1px solid #E9EBED; border-top-left-radius: 12px; border-top-right-radius: 12px; }
.home-faq .faq-header h2 { text-align: center; font-size: 28px; color: var(--text-primary); font-weight: 700; margin-bottom: 24px; }
.home-faq .faq-accordion { margin: 16px 0; padding: 0 20px 8px 20px; }
.home-faq .accordion-item { border-bottom: 1px solid #E9EBED; border-radius: 12px; background: #FFFFFF; padding: 20px 16px; }
.home-faq .accordion-item:last-child { border-bottom: none; }
.home-faq .accordion-header { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: transparent; border: 0; padding: 0; text-align: left; cursor: pointer; }
.home-faq .accordion-question { display: flex; align-items: center; gap: 10px; flex: 1; }
.home-faq .question-icon { font-size: var(--fs-14-18); color: #0166FF; font-weight: 700; }
.home-faq .accordion-question strong { color: #1A1E27; font-size: var(--fs-14-18); font-weight: 500; line-height: 1.4; }
.home-faq .accordion-icon { width: 20px; height: 20px; display: inline-flex; align-items: center; justify-content: center; color: #1A1E27; transition: transform .2s ease; }
.home-faq .accordion-item.active .accordion-icon { transform: rotate(180deg); }
.home-faq .accordion-content { max-height: 0; overflow: hidden; transition: max-height .3s ease-out, margin-top .2s ease; }
.home-faq .accordion-item.active .accordion-content { max-height: 2000px; margin-top: 12px; background: #EAF3FF; border-radius: 8px; padding: 16px; }
.home-faq .accordion-answer { padding: 0; color: #6D7788; font-size: var(--fs-12-16); line-height: 1.55; }

@media (min-width: 600px) { .home-faq .faq-box { box-shadow: 0 1px 3px rgba(0,0,0,.06); } .home-faq .faq-accordion { padding: 0 24px 16px 24px; } }

/* ===== Home FAQ media queries (aligned with Help page) ===== */
@media (min-width: 600px) {
  .home-faq { padding: 60px 0; }
  .home-faq .faq-box {
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,.06);
    border: 1px solid #E9EBED;
    margin-bottom: 24px;
    overflow: hidden;
  }
  .home-faq .faq-header {
    padding: 20px 20px 12px 20px;
    background: var(--bg-secondary, #F6F9FC);
    border-bottom: 1px solid #E9EBED;
  }
  .home-faq .faq-accordion {
    padding: 0 24px 16px 24px;
  }
  .home-faq .accordion-item { padding: 24px 24px; }
  .home-faq .accordion-item:first-child .accordion-header {
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
  }
  .home-faq .accordion-item:last-child {
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
  }
  .home-faq .accordion-icon { width: 22px; height: 22px; }
  .home-faq .faq-header h2 { font-size: 40px; margin-bottom: 32px; }
  .home-faq .accordion-item.active .accordion-content { padding: 16px 24px; }
  .home-faq .accordion-answer { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .home-faq * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (prefers-contrast: high) {
  .home-faq .faq-box,
  .home-faq .accordion-item { border-color: #000000; }
  .home-faq .accordion-answer { color: #000000; }
}

/* GPU acceleration for smoother accordion */
.home-faq .accordion-content {
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* ===== Home FAQ overrides: cmp-title-like header, separated item cards ===== */
.home-faq .faq-box {
  border: none;
  box-shadow: none;
  background: transparent;
  margin: 0;
  overflow: visible;
}
.home-faq .faq-header {
  background: transparent;
  border: none;
  padding: 0;
  margin: 0 0 16px 0;
}
.home-faq .faq-accordion {
  display: grid;
  gap: 12px;
  padding-left: 0;
  padding-right: 0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Each accordion item as its own card */

.home-faq .accordion-item:last-child {
  border: 1px solid #E9EBED;
}
/* Remove global list-style borders within home-faq */
.home-faq .accordion-item:hover,
.home-faq .accordion-item.active {
  background: #FFFFFF;
}
.home-faq .accordion-header { padding: 0; }

/* SEO Intro Section: HTML 유지하되 시각적으로 숨김 */
.seo-intro {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}


/* 푸터 스타일은 header-footer.css로 이동되었습니다. */

/* 모바일 반응형 */
@media (max-width: 768px) {
  .scroll-to-top { bottom: 15px; right: 15px; width: 45px; height: 45px; }
  .scroll-to-top svg { width: 20px; height: 20px; }
}

/* 상단으로 이동 버튼 */
.scroll-to-top { position: fixed; bottom: 20px; right: 20px; width: 50px; height: 50px; background: #3865FF; color: white; border: none; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 18px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); opacity: 0; visibility: hidden; transition: all 0.3s ease; z-index: 1000; }
.scroll-to-top.show { opacity: 1; visibility: visible; }
.scroll-to-top:hover { background: #2550E8; transform: translateY(-2px); }
.scroll-to-top svg { width: 24px; height: 24px; }
.scroll-to-top:hover svg { fill: white; }