/* ==========================================================================
   바른하수구 프리미엄 모던 CSS 스타일시트 (Vanilla CSS)
   ========================================================================== */

/* 1. 디자인 시스템 토큰 & 초기화 */
:root {
    --primary-color: #0052e0;
    --primary-hover: #003db3;
    --secondary-color: #00b8ff;
    --accent-color: #ff6b00; /* 오렌지 포인트 컬러 */
    --accent-hover: #e05e00;
    --dark-color: #111625;
    --dark-bg: #0c0f1a;
    --light-bg: #f5f8ff;
    --white: #ffffff;
    --text-color: #333d4b;
    --text-muted: #6b7684;
    --border-color: #e5e8eb;
    
    /* 그라데이션 */
    --primary-gradient: linear-gradient(135deg, #0052e0 0%, #00b8ff 100%);
    --dark-gradient: linear-gradient(135deg, #111625 0%, #0c0f1a 100%);
    --glass-bg: rgba(255, 255, 255, 0.85);
    
    /* 폰트 */
    --font-primary: 'Noto Sans KR', sans-serif;
    --font-secondary: 'Montserrat', sans-serif;
    
    /* 그림자 */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 24px rgba(0, 82, 224, 0.08);
    --shadow-lg: 0 16px 48px rgba(0, 82, 224, 0.15);
    --shadow-hover: 0 20px 52px rgba(0, 82, 224, 0.22);
    
    /* 속도 */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 기본 스타일 초기화 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--text-color);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

ul, ol {
    list-style: none;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    border: none;
    outline: none;
    background: none;
}

/* 공통 클래스 및 유틸리티 */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
    position: relative;
}

.bg-light {
    background-color: var(--light-bg);
}

.bg-dark {
    background-color: var(--dark-bg);
    background-image: var(--dark-gradient);
}

.bg-blue {
    background-color: var(--primary-color) !important;
    background-image: var(--primary-gradient) !important;
}

.text-white { color: var(--white) !important; }
.text-blue { color: var(--primary-color) !important; }
.text-cyan { color: var(--secondary-color) !important; }
.text-orange { color: var(--accent-color) !important; }
.text-gray { color: var(--text-muted) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-center { text-align: center !important; }
.text-start { text-align: left !important; }

.font-bold { font-weight: 700 !important; }
.mt-10 { margin-top: 10px !important; }
.mt-15 { margin-top: 15px !important; }
.mt-20 { margin-top: 20px !important; }
.mt-30 { margin-top: 30px !important; }
.mt-40 { margin-top: 40px !important; }
.mt-50 { margin-top: 50px !important; }
.mt-60 { margin-top: 60px !important; }
.mt-80 { margin-top: 80px !important; }
.mb-10 { margin-bottom: 10px !important; }
.mb-20 { margin-bottom: 20px !important; }
.mb-30 { margin-bottom: 30px !important; }
.font-size-sm { font-size: 0.9rem !important; }
.text-xs { font-size: 0.8rem !important; }
.rounded { border-radius: 16px !important; }
.shadow-sm { box-shadow: var(--shadow-sm) !important; }
.shadow-lg { box-shadow: var(--shadow-lg) !important; }
.w-100 { width: 100% !important; }
.max-width-350 { max-width: 350px !important; }

/* 레이아웃 그리드 */
.grid {
    display: grid;
}

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

.col-gap-20 { column-gap: 20px; }
.col-gap-30 { column-gap: 30px; }
.col-gap-40 { column-gap: 40px; }
.row-gap-20 { row-gap: 20px; }
.row-gap-30 { row-gap: 30px; }

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.col-lg-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 15px;
}

.col-lg-5 {
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
    padding: 0 15px;
}

.col-lg-7 {
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
    padding: 0 15px;
}

.align-center {
    align-items: center;
}

.no-gutters {
    margin-right: 0;
    margin-left: 0;
}
.no-gutters > [class*="col-"] {
    padding-right: 0;
    padding-left: 0;
}

/* 2. 버튼 (Buttons) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 10px;
    font-weight: 700;
    letter-spacing: -0.3px;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.1rem;
    border-radius: 12px;
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 8px 20px rgba(0, 82, 224, 0.25);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(0, 82, 224, 0.35);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.15);
}

.btn-phone {
    background-color: var(--accent-color);
    color: var(--white);
    box-shadow: 0 8px 20px rgba(255, 107, 0, 0.25);
}

.btn-phone:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(255, 107, 0, 0.35);
}

.btn i {
    margin-right: 8px;
}

/* 리플 효과 및 기본 마이크로 인터랙션 */
.ripple {
    position: relative;
    overflow: hidden;
}

/* 3. 헤더 (Header) */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    transition: all var(--transition-normal);
}

#main-header.scrolled,
#main-header.menu-open {
    background-color: var(--glass-bg);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--border-color);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    transition: all var(--transition-normal);
}

#main-header.scrolled .header-container,
#main-header.menu-open .header-container {
    height: 70px;
}

.logo a {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--white); /* 기본 투명 헤더일 때 흰색 로고 */
    letter-spacing: -1.5px;
    display: flex;
    align-items: center;
    transition: color var(--transition-normal);
}

#main-header.scrolled .logo a,
#main-header.menu-open .logo a {
    color: var(--dark-color); /* 스크롤 또는 메뉴 오픈 시 어두운 로고 */
}

.logo-accent {
    color: var(--primary-color);
}

/* 네비게이션 메뉴 */
#nav-menu ul {
    display: flex;
}

#nav-menu ul li {
    margin: 0 15px;
}

#nav-menu ul li a {
    font-size: 0.95rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8); /* 기본 투명 헤더일 때 밝은 텍스트 */
    padding: 10px 0;
    position: relative;
    transition: color var(--transition-normal);
}

#main-header.scrolled #nav-menu ul li a,
#main-header.menu-open #nav-menu ul li a {
    color: var(--text-color); /* 스크롤 또는 메뉴 오픈 시 어두운 텍스트 */
}

#nav-menu ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--primary-color);
    transition: width var(--transition-normal);
    border-radius: 2px;
}

#nav-menu ul li a:hover::after,
#nav-menu ul li a.active::after {
    width: 100%;
}

#nav-menu ul li a:hover {
    color: var(--white);
}

#main-header.scrolled #nav-menu ul li a:hover,
#main-header.menu-open #nav-menu ul li a:hover {
    color: var(--primary-color);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--white); /* 기본 투명 헤더일 때 흰색 햄버거 */
    border-radius: 1px;
    transition: var(--transition-normal);
}

#main-header.scrolled .nav-toggle span,
#main-header.menu-open .nav-toggle span {
    background-color: var(--dark-color); /* 스크롤 또는 메뉴 오픈 시 어두운 햄버거 */
}

/* 4. 히어로 섹션 (Hero Section) */
#hero {
    min-height: 100vh;
    padding-top: 80px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: #050b1a;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(5, 11, 26, 0.7), rgba(5, 11, 26, 0.85)), url('바른하수구 이미지/plumber-8936817_1920.jpg');
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
    animation: slowZoom 20s infinite alternate ease-in-out;
}

@keyframes slowZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}

.hero-container {
    position: relative;
    z-index: 10;
}

.hero-content {
    max-width: 700px;
}

.hero-badge {
    display: inline-block;
    background-color: rgba(0, 184, 255, 0.15);
    color: var(--secondary-color);
    border: 1px solid rgba(0, 184, 255, 0.3);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1.25;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
}

.hero-content h1 .highlight {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-subtext {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 35px;
    line-height: 1.7;
}

.hero-features {
    display: flex;
    flex-direction: column;
    row-gap: 12px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
}

.feature-icon {
    width: 24px;
    height: 24px;
    background-color: rgba(0, 82, 224, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    color: var(--secondary-color);
    font-size: 0.75rem;
}

.feature-text {
    color: var(--white);
    font-weight: 500;
    font-size: 1.05rem;
}

.hero-actions {
    display: flex;
    column-gap: 20px;
    flex-wrap: wrap;
    row-gap: 15px;
}

/* 5. 섹션 헤더 (Section Headers) */
.section-header {
    margin-bottom: 60px;
}

.sub-title {
    font-family: var(--font-secondary);
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: 2px;
    display: block;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--dark-color);
    letter-spacing: -1px;
    line-height: 1.3;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-top: 18px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* 6. 카드 디자인 (Cards) */
.card {
    background-color: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-slow);
    border: 1px solid var(--border-color);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(0, 82, 224, 0.15);
}

.card-img {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.card-body {
    padding: 30px;
}

.card-body h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 12px;
}

.card-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    font-weight: 500;
}

.bullet-list li {
    display: flex;
    align-items: flex-start;
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: var(--text-color);
    line-height: 1.5;
}

.bullet-list li i {
    margin-right: 10px;
    margin-top: 4px;
}

/* 7. 배관막힘 진단 & 누수 탐지 섹션 (Clog & Leak Sections) */
.heading-block .sub-title {
    margin-bottom: 12px;
}

.heading-block h2 {
    font-size: 2.3rem;
    font-weight: 900;
    color: var(--dark-color);
    line-height: 1.35;
    letter-spacing: -1px;
}

.recommend-box {
    background-color: var(--light-bg);
    border-left: 5px solid var(--primary-color);
    padding: 30px;
    border-radius: 0 16px 16px 0;
    margin-top: 35px;
    box-shadow: var(--shadow-sm);
}

.recommend-box h3 {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.check-list li {
    display: flex;
    align-items: flex-start;
    font-size: 0.95rem;
    margin-bottom: 12px;
    color: var(--text-color);
    font-weight: 500;
}

.check-list li i {
    margin-right: 12px;
    margin-top: 3px;
    font-size: 1.1rem;
}

.keyword-badges {
    display: flex;
    gap: 10px;
}

.badge {
    background-color: rgba(0, 82, 224, 0.08);
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 5px 15px;
    border-radius: 20px;
}

.badge-outline {
    background-color: transparent;
    border: 1.5px solid rgba(0, 82, 224, 0.25);
    color: var(--primary-color);
}

.badge-accent {
    background-color: rgba(255, 107, 0, 0.1);
    color: var(--accent-color);
}

.content-box .lead-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 8px;
}

.content-box .body-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

.image-with-badge {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.image-with-badge img {
    transition: transform var(--transition-slow);
}

.image-with-badge:hover img {
    transform: scale(1.02);
}

.absolute-badge {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    padding: 24px;
    border-radius: 16px;
    background-color: rgba(0, 82, 224, 0.95);
    backdrop-filter: blur(5px);
    box-shadow: var(--shadow-lg);
}

.absolute-badge h4 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.absolute-badge p {
    font-size: 0.9rem;
    line-height: 1.6;
    opacity: 0.95;
}

.absolute-badge ul li {
    font-size: 0.85rem;
    margin-bottom: 6px;
    opacity: 0.95;
}

/* 테이블 스타일 (004.jpg 기반) */
.custom-table {
    background-color: var(--white);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.table-row {
    display: flex;
    border-bottom: 1px solid var(--border-color);
}

.table-row:last-child {
    border-bottom: none;
}

.table-header {
    background-color: var(--light-bg);
    color: var(--dark-color);
    font-weight: 700;
}

.table-cell {
    padding: 24px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cell-title {
    flex: 0 0 25%;
    max-width: 25%;
    border-right: 1px solid var(--border-color);
    background-color: rgba(0, 82, 224, 0.02);
    color: var(--dark-color);
    font-size: 1.05rem;
}

.cell-content {
    flex: 0 0 75%;
    max-width: 75%;
}

.cell-content ul li {
    font-size: 0.95rem;
    margin-bottom: 8px;
    color: var(--text-color);
}

.cell-content ul li:last-child {
    margin-bottom: 0;
}

/* 8. 4출동 및 선택 요건 (Why Choose Us) */
.why-item {
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 40px 30px;
    border-radius: 20px;
    transition: all var(--transition-normal);
}

.why-item:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 184, 255, 0.3);
    transform: translateY(-5px);
}

.why-icon {
    font-size: 2.2rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    display: inline-block;
}

.why-item h3 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.why-item p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* 예약 프로세스 플로우 */
.process-flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 50px;
}

.process-step {
    flex: 1;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 20px;
    border-radius: 16px;
    position: relative;
}

.step-num {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: var(--white);
    font-family: var(--font-secondary);
    font-size: 0.8rem;
    font-weight: 800;
    padding: 4px 14px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 82, 224, 0.3);
}

.process-step h4 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 8px;
    margin-top: 5px;
}

.process-step p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.5;
}

.process-arrow {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.25);
    padding: 0 15px;
}

/* 9. 배관 교체 및 신설 디테일 (Plumbing Replacement) */
.bg-light-blue {
    background-color: rgba(0, 82, 224, 0.03);
    border: 1px solid rgba(0, 82, 224, 0.08);
}

.p-30 {
    padding: 30px;
}

.border-left-title {
    border-left: 4px solid var(--primary-color);
    padding-left: 15px;
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.text-list li {
    font-size: 0.95rem;
    margin-bottom: 15px;
    line-height: 1.6;
}

.text-list li strong {
    color: var(--dark-color);
    font-size: 1.05rem;
}

.effect-card {
    background-color: var(--white);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}

.effect-card:hover {
    box-shadow: var(--shadow-sm);
    border-color: rgba(0, 82, 224, 0.1);
}

.effect-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.effect-card h4 {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 5px;
}

.effect-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* 배관교체 4단계 원형 프로세스 플로우 (008.jpg) */
.process-circle-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
}

.circle-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 10px;
}

.circle-num {
    width: 65px;
    height: 65px;
    background-color: var(--white);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-secondary);
    font-size: 1.35rem;
    font-weight: 900;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.circle-step:hover .circle-num {
    background-color: var(--secondary-color);
    color: var(--white);
    transform: scale(1.08);
}

.circle-step span {
    font-size: 0.9rem;
    font-weight: 700;
}

.flow-line {
    height: 2px;
    background-color: rgba(255, 255, 255, 0.3);
    flex: 0 0 100px;
    margin: -25px 15px 0 15px;
}

.mini-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.mini-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* 10. 고압세척 작업 진행 & 효과 (High-Pressure Jetting) */
.step-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 82, 224, 0.1);
}

.step-icon {
    width: 45px;
    height: 45px;
    background-color: rgba(0, 82, 224, 0.08);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-secondary);
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.step-card h4 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 12px;
}

.step-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.effects-list {
    display: flex;
    flex-direction: column;
    row-gap: 15px;
}

.effect-item {
    display: flex;
    align-items: flex-start;
}

.icon-circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: rgba(0, 82, 224, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    color: var(--primary-color);
    margin-right: 12px;
    margin-top: 3px;
    flex-shrink: 0;
}

.effect-item .desc {
    font-size: 0.95rem;
}

/* 11. 시공 사례 (Gallery) */
.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.filter-btn {
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    background-color: var(--light-bg);
    color: var(--text-color);
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 82, 224, 0.2);
}

.gallery-grid {
    transition: opacity 0.3s ease;
}

.gallery-item {
    background-color: var(--white);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: all var(--transition-slow);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.gallery-img {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.gallery-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 82, 224, 0.4);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
}

.zoom-icon {
    width: 50px;
    height: 50px;
    background-color: var(--white);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: var(--shadow-md);
    transform: scale(0.8);
    transition: all var(--transition-normal);
}

.gallery-item:hover .gallery-img img {
    transform: scale(1.06);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .zoom-icon {
    transform: scale(1);
}

.gallery-info {
    padding: 20px;
}

.gallery-info h4 {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 8px;
    line-height: 1.4;
}

.gallery-info .tag {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-color);
    background-color: rgba(0, 82, 224, 0.06);
    padding: 3px 8px;
    border-radius: 4px;
}

/* 12. FAQ 영역 (Accordion) */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.faq-question {
    width: 100%;
    padding: 24px 30px;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark-color);
    cursor: pointer;
    background: none;
    transition: all var(--transition-normal);
}

.faq-question:hover {
    color: var(--primary-color);
    background-color: rgba(0, 82, 224, 0.01);
}

.faq-icon {
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: transform var(--transition-normal);
}

.faq-item.active {
    border-color: rgba(0, 82, 224, 0.25);
    box-shadow: var(--shadow-md);
}

.faq-item.active .faq-question {
    color: var(--primary-color);
    background-color: rgba(0, 82, 224, 0.03);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--primary-color);
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all var(--transition-slow);
}

.faq-answer p {
    padding-bottom: 24px;
    padding-top: 5px;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.faq-trust-box h4 {
    font-size: 1.15rem;
    font-weight: 800;
}

/* 13. 연락 신청서 양식 (Contact Form Wrapper) */
.contact-box-wrapper {
    overflow: hidden;
    background-color: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.contact-quick-info {
    margin-bottom: 40px;
}

.quick-info-item {
    background-color: var(--light-bg);
    padding: 24px 20px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}

.quick-info-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
    border-color: rgba(0, 82, 224, 0.15);
}

.quick-icon {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.quick-info-item h4 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 6px;
}

.quick-info-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* 양식 입력 필드 */
.form-header h3 {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--dark-color);
}

.form-group {
    display: flex;
    flex-direction: column;
    row-gap: 8px;
}

.form-group label {
    font-size: 0.9rem;
    color: var(--text-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background-color: var(--light-bg);
    transition: all var(--transition-normal);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(0, 82, 224, 0.08);
}

.form-group textarea {
    resize: none;
}

/* 14. 푸터 (Footer) */
#main-footer {
    background-color: var(--dark-bg);
    color: rgba(255, 255, 255, 0.7);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 10;
}

.footer-top {
    padding: 60px 0 40px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--white);
    letter-spacing: -1px;
}

.footer-logo span {
    color: var(--secondary-color);
}

.footer-desc {
    font-size: 0.85rem;
    line-height: 1.6;
}

.footer-top h4 {
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 8px;
}

.footer-top h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-list li {
    font-size: 0.85rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.footer-list li i {
    margin-right: 8px;
    font-size: 0.9rem;
}

.footer-bottom {
    padding: 24px 0;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

/* 15. 모바일 플로팅 CTA 바 (Mobile Floating Call Bar) */
.mobile-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.15);
    display: none; /* 데스크톱 기본 비노출 */
    animation: slideUp CTA 0.4s ease-out;
}

@keyframes slideUpCTA {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.mobile-cta-link {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent-color);
    color: var(--white) !important;
    padding: 16px 20px;
    font-size: 1.15rem;
    font-weight: 900;
    letter-spacing: -0.5px;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-cta-link i {
    font-size: 1.35rem;
    margin-right: 10px;
    animation: ctaPulse 1.2s infinite;
}

@keyframes ctaPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

/* 16. 라이트박스 이미지 모달 (Lightbox Modal) */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 85%;
    max-height: 70vh;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    animation: modalZoom 0.3s ease-out;
}

@keyframes modalZoom {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 35px;
    color: var(--white);
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    user-select: none;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: var(--secondary-color);
    text-decoration: none;
}

.lightbox-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 15px 0;
    font-size: 1rem;
    font-weight: 700;
}

/* 17. 반응형 미디어 쿼리 (Responsive Media Queries) */

/* 태블릿 (1024px 이하) */
@media (max-width: 1024px) {
    .section {
        padding: 80px 0;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 30px;
    }
    
    .process-flow {
        flex-direction: column;
        row-gap: 20px;
    }
    
    .process-arrow {
        transform: rotate(90deg);
        padding: 10px 0;
    }
    
    .process-circle-flow {
        flex-wrap: wrap;
        row-gap: 20px;
    }
    
    .flow-line {
        display: none;
    }
    
    .circle-step {
        flex: 0 0 45%;
        max-width: 45%;
    }
}

/* 태블릿/모바일 공통 (991px 이하) */
@media (max-width: 991px) {
    /* 모바일 플로팅 CTA가 들어가는 경우 바닥 패딩 확보 */
    body {
        padding-bottom: 56px;
    }
    
    #main-footer {
        padding-bottom: 40px;
    }
    
    .mobile-cta-bar {
        display: block;
    }
    
    .col-lg-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .col-lg-5, .col-lg-7 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .order-2-tablet {
        order: 2;
    }
    
    .grid-3 {
        grid-template-columns: repeat(1, 1fr);
        row-gap: 30px;
    }
    
    .cell-title {
        flex: 0 0 100%;
        max-width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 15px 20px;
    }
    
    .cell-content {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 20px;
    }
    
    .table-row {
        flex-direction: column;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    #nav-menu {
        position: absolute;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--white);
        transition: left var(--transition-normal);
        border-top: 1px solid var(--border-color);
        box-shadow: var(--shadow-md);
    }
    
    #nav-menu.active {
        left: 0;
    }
    
    #nav-menu ul {
        flex-direction: column;
        padding: 30px;
    }
    
    #nav-menu ul li {
        margin: 15px 0;
    }
    
    #nav-menu ul li a {
        font-size: 1.15rem;
        display: block;
        color: var(--text-color) !important;
    }
    
    #nav-menu ul li a:hover {
        color: var(--primary-color) !important;
    }
    
    .d-desktop {
        display: none !important;
    }
    
    .contact-box-wrapper {
        padding: 40px 30px !important;
    }
}

/* 모바일 (576px 이하) */
@media (max-width: 576px) {
    .section {
        padding: 60px 0;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-subtext {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 1.85rem;
    }
    
    .section-desc {
        font-size: 0.95rem;
    }
    
    .grid-2 {
        grid-template-columns: repeat(1, 1fr);
        row-gap: 20px;
    }
    
    .grid-4 {
        grid-template-columns: repeat(1, 1fr);
    }
    
    .circle-step {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .contact-box-wrapper {
        padding: 30px 20px !important;
    }
    
    .absolute-badge {
        position: relative;
        left: 0;
        right: 0;
        bottom: 0;
        margin-top: 20px;
        background-color: var(--primary-color);
        border-radius: 12px;
    }
    
    .faq-question {
        padding: 20px;
        font-size: 0.95rem;
    }
    
    .faq-answer {
        padding: 0 20px;
    }
}
