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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
}

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

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px var(--shadow-medium);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo-text:hover {
    color: var(--primary-dark);
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
}

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

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

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

.nav-shop {
    background: var(--primary-color) !important;
    color: #ffffff !important;
    padding: 0.5rem 1rem !important;
    border-radius: 6px;
    font-weight: 600;
    margin-left: 0.5rem;
    pointer-events: auto;
    cursor: pointer;
    z-index: 100;
    position: relative;
}

.nav-shop:hover {
    background: var(--primary-dark) !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

.nav-shop::after {
    display: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

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

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Color Variables */
:root {
    --primary-color: #2563eb;      /* 메인 블루 */
    --primary-dark: #1d4ed8;       /* 진한 블루 */
    --primary-light: #3b82f6;      /* 밝은 블루 */
    --secondary-color: #64748b;    /* 그레이 */
    
    /* 배경 색상 - 화이트 테마 */
    --bg-primary: #ffffff;         /* 흰색 배경 */
    --bg-secondary: #f8fafc;       /* 밝은 그레이 */
    --bg-tertiary: #f1f5f9;        /* 연한 그레이 */
    --bg-light: #e2e8f0;           /* 중간 그레이 */
    
    /* 텍스트 색상 - 다크 텍스트 */
    --text-primary: #1e293b;       /* 진한 검정 텍스트 */
    --text-secondary: #475569;     /* 중간 회색 텍스트 */
    --text-tertiary: #64748b;      /* 밝은 회색 텍스트 */
    --text-muted: #94a3b8;         /* 가장 밝은 회색 텍스트 */
    
    /* 기타 */
    --white: #ffffff;
    --pure-white: #ffffff;
    --border-color: #e2e8f0;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.15);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
    letter-spacing: -0.025em;
}

h1 {
    font-size: 2.75rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Buttons */
.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
    letter-spacing: -0.01em;
}

.cta-btn.primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.cta-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.cta-btn.secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
}

.cta-btn.secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

/* 컴팩트한 CTA 스타일 */
.hero-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}

.cta-btn-compact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #ffffff;
    text-decoration: none;
    border-radius: 12px;
    padding: 1rem 2rem;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
    transition: all 0.3s ease;
}

.cta-btn-compact:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(37, 99, 235, 0.4);
}

.cta-phone-compact {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Section Base */
section {
    padding: 80px 0;
}

/* 네비게이션 높이만큼 첫 번째 섹션 패딩 조정 */
section:first-of-type {
    padding-top: 140px;
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.025em;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

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

/* Hero Section */
.hero-section {
    background-image: url('https://page.gensparksite.com/v1/base64_upload/730b9aa1d87e8ba4f4d62ed66919a802');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: #ffffff;
    padding: 140px 0 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    pointer-events: none;
    z-index: 1;
}



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

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-title strong {
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-title strong::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 2px;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    font-weight: 400;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-subtitle strong {
    color: #ffffff;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* 통계 정보 (참조 사이트 스타일) */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

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

.hero-stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
}

.hero-stat-label {
    font-size: 0.95rem;
    opacity: 0.8;
    font-weight: 500;
}

/* About Section - 축약된 버전 */
.about-section {
    background: var(--bg-secondary);
    position: relative;
    padding: 80px 0;
}

.about-brief {
    max-width: 1000px;
    margin: 0 auto;
}

.about-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.about-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 20px var(--shadow-light);
    transition: all 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px var(--shadow-medium);
}

.about-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.about-card h3 {
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.about-card p {
    color: var(--text-secondary);
    line-height: 1.5;
    font-size: 0.95rem;
}

.about-promise {
    background: var(--white);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 20px var(--shadow-light);
}

.about-promise h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.about-promise p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.about-gallery {
    margin: 3rem 0;
}

.about-gallery h3 {
    color: var(--text-primary);
    font-size: 1.4rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.gallery-item {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow-light);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--shadow-medium);
}

.gallery-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.gallery-item p {
    padding: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
    margin: 0;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .about-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .about-card {
        padding: 1.5rem;
    }
    
    .about-promise {
        padding: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .gallery-item img {
        height: 150px;
    }
}

.about-subtitle {
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
}

.about-letter {
    max-width: 900px;
    margin: 0 auto;
}

.letter-content {
    background: var(--white);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 8px 30px var(--shadow-light);
    border: 1px solid var(--border-color);
    margin-bottom: 2rem;
    position: relative;
}

.letter-content::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 40px;
    font-size: 6rem;
    color: var(--primary-color);
    opacity: 0.2;
    font-family: serif;
}

.letter-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.letter-content strong {
    color: var(--primary-color);
    font-weight: 700;
}

.problem-list {
    background: rgba(37, 99, 235, 0.05);
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 8px;
}

.problem-list p {
    margin-bottom: 0.75rem;
    color: var(--primary-color);
    font-weight: 500;
}

.problem-list p:last-child {
    margin-bottom: 0;
}

.point-arrow {
    font-size: 1.2rem;
    margin-right: 0.5rem;
}

.decision-box {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #ffffff !important;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    margin: 2rem 0;
}

.decision-box h3 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.decision-box p {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 0;
}

.promise-box {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #ffffff !important;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    margin: 2rem 0 0 0;
}

.promise-box p {
    color: #ffffff;
    margin-bottom: 1rem;
}

.promise-box h3 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    text-align: center;
}

.promise-box p:last-child {
    font-size: 1.1rem;
    margin-bottom: 0;
    color: #ffffff;
}

/* 파란색 배경 박스들의 모든 텍스트 하얀색 강제 적용 */
.decision-box *,
.promise-box *,
.keypoint-solution * {
    color: #ffffff !important;
}

.decision-box strong,
.promise-box strong,
.keypoint-solution strong {
    color: #ffffff !important;
}

.about-notice {
    background: var(--white);
    border: 2px solid var(--border-color);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    margin-top: 2rem;
}

.material-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.material-link:hover {
    text-decoration: underline;
}

/* Service Section - 강조된 핵심 섹션 */
.service-section {
    background: var(--bg-primary);
    position: relative;
    padding: 120px 0;
    border-top: 3px solid var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
}

.service-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(37, 99, 235, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(37, 99, 235, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.service-hero {
    text-align: center;
    margin-bottom: 4rem;
}

.service-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #ffffff;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.service-hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.service-promise {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 500;
    background: rgba(37, 99, 235, 0.1);
    padding: 1rem 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    display: inline-block;
    margin-top: 1rem;
}

/* 새로운 2x2 그리드 레이아웃 */
.service-main-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.service-card {
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    padding: 2rem;
    box-shadow: 0 4px 20px var(--shadow-light);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px var(--shadow-medium);
    border-color: var(--primary-color);
}

.service-header {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.service-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.service-item {
    background: var(--bg-secondary);
    padding: 1rem;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px var(--shadow-light);
}

.service-name {
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.service-price {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.service-note {
    background: rgba(37, 99, 235, 0.05);
    border-left: 4px solid var(--primary-color);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.service-note p {
    font-size: 0.9rem;
    color: var(--primary-color);
    margin: 0.25rem 0;
    font-weight: 500;
}

/* 탈거 섹션 */
.service-removal {
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

.removal-card {
    background: var(--bg-secondary);
    border: 2px solid var(--primary-color);
}

.removal-card .service-header {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}

.removal-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .service-main-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .service-header {
        font-size: 1.2rem;
    }
    
    .service-name {
        font-size: 0.9rem;
    }
    
    .service-price {
        font-size: 1rem;
    }
    
    .removal-content {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
}

/* Key Point Section */
.keypoint-section {
    background: var(--bg-secondary);
}

.section-header .highlight {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.3rem;
}

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

.keypoint-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 20px var(--shadow-light);
    border-top: 4px solid var(--primary-color);
}

/* Key Point 아이콘 제거됨 */

.keypoint-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.keypoint-solution {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #ffffff !important;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.keypoint-solution h3 {
    color: #ffffff;
    margin-bottom: 1rem;
    text-align: center;
}

.keypoint-solution p {
    color: #ffffff;
    font-size: 1.1rem;
}

/* Portfolio Section */
.portfolio-section {
    background: var(--bg-primary);
}

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

.portfolio-item {
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 20px var(--shadow-light);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.portfolio-link-wrapper {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.portfolio-item:hover {
    transform: translateY(-5px);
}

.portfolio-image {
    height: 200px;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.05);
}

.portfolio-content {
    padding: 1.5rem;
}

.portfolio-content h4 {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.portfolio-review {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.portfolio-link {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    cursor: pointer;
}

.portfolio-link-wrapper:hover .portfolio-link {
    text-decoration: underline;
}

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

.contact-content {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 800px;
}

.contact-item {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 20px var(--shadow-light);
    text-align: center;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px var(--shadow-medium);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.contact-item h3 {
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.contact-btn {
    display: block;
    width: 100%;
    padding: 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
    border: 2px solid transparent;
}

.phone-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.phone-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.kakao-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.kakao-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.btn-number {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    letter-spacing: 0.5px;
}

.btn-text {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
}

.btn-sub {
    display: block;
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 0.25rem;
}

.contact-sub {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.8;
}

/* Contact Form */
.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 20px var(--shadow-light);
}

.contact-form h3 {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: var(--white);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.file-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.3s ease;
    color: var(--text-secondary);
}

.file-label:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.form-group input[type="file"] {
    display: none;
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

/* Mobile Fixed CTA */
.mobile-cta-fixed {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: none;
    z-index: 1000;
    background: var(--white);
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -4px 20px var(--shadow-medium);
    padding: 1rem;
    gap: 0.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.mobile-cta-fixed.visible {
    transform: translateY(0);
}

.mobile-cta-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.mobile-cta-btn.call-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
}

.mobile-cta-btn.kakao-btn {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

/* Footer */
.footer {
    background: var(--bg-tertiary);
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-info h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.footer-info p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.footer-contact h4 {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.footer-contact p {
    color: var(--text-secondary);
    margin: 0 0 0.5rem 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.footer-contact a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.footer-contact a:hover {
    text-decoration: underline;
}

.material-link {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: #ffffff !important;
    border-radius: 6px;
    font-size: 0.85rem;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.material-link:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-tertiary);
    font-size: 0.8rem;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 60px 0;
    }
    
    section:first-of-type {
        padding-top: 100px;
    }
    
    /* 모바일 네비게이션 */
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        border-top: 1px solid var(--border-color);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 2rem;
        padding-top: 2rem;
        transition: left 0.3s ease;
        box-shadow: 0 4px 20px var(--shadow-medium);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-link {
        font-size: 1.2rem;
        padding: 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .hero-stat-number {
        font-size: 2rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-cta .cta-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .service-category {
        padding: 2rem;
    }
    
    .letter-content {
        padding: 2rem;
    }
    
    .letter-content::before {
        font-size: 4rem;
        top: -5px;
        left: 20px;
    }
    
    .decision-box,
    .promise-box {
        padding: 1.5rem;
    }
    
    .promise-box h3 {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
    }
    
    .keypoint-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .portfolio-item {
        min-height: 280px;
    }
    
    .portfolio-content {
        padding: 1rem;
    }
    
    .portfolio-review {
        font-size: 0.95rem;
    }
    
    .contact-content {
        gap: 2rem;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-item {
        padding: 2rem;
    }
    
    .contact-btn {
        padding: 1.25rem;
    }
    
    .btn-number {
        font-size: 1.2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    /* Mobile CTA 활성화 */
    .mobile-cta-fixed {
        display: flex !important;
    }
    
    /* 모바일에서 본문 하단 여백 확보 */
    body {
        padding-bottom: 80px;
    }
    
    /* 포트폴리오 그리드 간격 조정 */
    .portfolio-grid {
        gap: 1rem;
    }
    
    .portfolio-item {
        border-radius: 8px;
    }
    
    .portfolio-content {
        padding: 1rem;
    }
    
    .portfolio-content h4 {
        font-size: 1rem;
    }
    
    .portfolio-review {
        font-size: 0.9rem;
        line-height: 1.4;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.125rem;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .hero-stats {
        margin-top: 2rem;
        padding-top: 2rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-item {
        min-height: 250px;
    }
    
    .cta-btn {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}

/* 스크롤 애니메이션을 위한 기본 클래스 */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}