* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'proxima-nova', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #030712;
    background-color: #FAFAFA;
    min-height: 100vh;
    font-display: swap;
}

/* Typekit 폰트 로딩 최적화 */
.wf-loading {
    visibility: hidden;
}

.wf-active {
    visibility: visible;
}

.wf-inactive {
    visibility: visible;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* 스무스 스크롤을 위한 기본 설정 */
html {
    scroll-behavior: smooth;
}

/* 폰트 로딩 최적화를 위한 기본 스타일 */
.hero-title {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #333333;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1rem;
    color: #6b7280;
    margin-bottom: 2rem;
    font-weight: 300;
}

/* 폰트 로딩 완료 후 부드러운 전환 */
.fonts-loaded .hero-title,
.fonts-loaded .hero-subtitle {
    transition: all 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: #FAFAFA;
    border-bottom: 1px solid #e5e7eb;
    position: fixed; /* sticky에서 fixed로 변경 */
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000; /* z-index 값 증가 */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease; /* 부드러운 전환 효과 */
}

.header-content {
    display: flex;
    align-items: center;
    padding: 0 1rem;
    height: 70px;
    gap: 5rem; /* 로고와 네비게이션 간격 */
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 2rem; /* 네비게이션과 버튼 간격을 넓게 */
    margin-left: auto; /* 오른쪽으로 밀어내기 */
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333333;
    letter-spacing: -0.5px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.logo:hover {
    color: #007bff;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: inherit;
    letter-spacing: -0.5px;
    margin: 0;
}

.nav {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav a {
    text-decoration: none;
    color: #374151;
    font-weight: 400;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: #333333;
}

/* 스무스 스크롤 링크 스타일 제거됨 - 더 이상 사용하지 않음 */

.consult-btn {
    background: #FAFAFA;
    color: #2C3E50;
    border: 1px solid #e5e7eb;
    padding: 0;
    border-radius: 8px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    width: 110px;
    height: 40px;
    font-size: 0.9rem;
}

.consult-btn:hover {
    background: #f8fafc;
    border-color: #3b82f6;
    color: #2C3E50;
}

.arrow {
    font-size: 1.2rem;
}

/* 햄버거 메뉴 버튼 */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-line {
    width: 20px;
    height: 2px;
    background-color: #000;
    margin: 2px 0;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* 모바일 메뉴 */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-menu.active {
    max-height: 300px;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    padding: 1rem 0;
    align-items: flex-end;
}

.mobile-nav-link {
    display: block;
    padding: 1rem 1.5rem;
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    font-size: 1.1rem;
    border-bottom: 1px solid #f3f4f6;
    transition: all 0.3s ease;
    text-align: right;
    width: 100%;
}

.mobile-nav-link:hover {
    background-color: #f9fafb;
    color: #000;
}

/* 모바일 스무스 스크롤 스타일 제거됨 */

.mobile-nav-link.active {
    background-color: #f3f4f6;
    color: #000;
    font-weight: 600;
}

.mobile-nav-link:last-child {
    border-bottom: none;
}

/* Main Hero Section */
.hero {
    background: #F7F1E9;
    padding: 1rem 3rem 1rem;
    text-align: left;
    margin-top: 70px; /* 헤더 높이만큼 마진 추가 */
}



.cta-button {
    background: #333333;
    color: #FAFAFA;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-button:hover {
    background: #374151;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Content Section */
.content {
    padding: 4rem 0;
    background: #F7F1E9;
}

.content-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333333;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #6b7280;
    font-weight: 500;
}


/* Articles Grid - 기존 아티클 그리드 (블로그 페이지용) */
.articles-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

/* === 3단계 반응형 브레이크포인트 === */

/* 1. 모바일 (기본) - 0px ~ 767px */
/* 모든 기본 스타일은 모바일에 맞춤 */

/* 2. 태블릿 - 768px 이상 */
@media (min-width: 768px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .header-content {
        gap: 5rem; /* 로고와 네비게이션 간격 유지 */
    }
    
    .header-actions {
        gap: 1.5rem; /* 태블릿에서 중간 간격 */
    }
    
    .desktop-nav {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: none;
    }
    
    .mobile-menu {
        display: none;
    }
}

/* 3. 데스크톱 - 1024px 이상 */
@media (min-width: 1024px) {
    .articles-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    
    .header-content {
        gap: 5rem; /* 로고와 네비게이션 간격 유지 */
    }
    
    .header-actions {
        gap: 2rem; /* 데스크톱에서 넓은 간격 */
    }
}

/* Article Cards - 기존 아티클 카드 (블로그 페이지용) */
.article-card {
    background: #FAFAFA;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #3b82f6;
}

.article-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.article-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.article-content {
    padding: 1.5rem;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tag {
    background: #f3f4f6;
    color: #374151;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.article-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #333333;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-excerpt {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-date {
    color: #9ca3af;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Load More Button */
.load-more-container {
    text-align: center;
    margin-top: 3rem;
}

.load-more-btn {
    width: 110px;
    height: 40px;
    background: #F7F1E9;
    color: #333333;
    border: 1px solid #333333;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.load-more-btn:hover {
    background: #d2b48c;
    color: #333333;
}

.load-more-btn:disabled {
    background: #F7F1E9;
    color: #666666;
    cursor: not-allowed;
    border-color: #666666;
}

.no-more-message {
    text-align: center;
    margin-top: 3rem;
    color: #6b7280;
    font-size: 1rem;
    font-weight: 500;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    padding: 4rem 0;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333333;
    margin-bottom: 2rem;
    line-height: 1.3;
}

.cta-buttons {
    margin-top: 2rem;
}

/* Footer */
.footer {
    background: #181D27;
    padding: 2.5rem 0;
    color: #dcdde1;
}

.footer-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-left-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.footer-logo {
    text-decoration: none;
    color: inherit;
}

.footer-logo h3 {
    color: #dcdde1;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #dcdde1;
}

.contact-phone a {
    color: #dcdde1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-phone a:hover {
    text-decoration: underline;
}

.company-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.company-details {
    font-size: 0.75rem;
    color: #b9b9b9;
    line-height: 1.4;
}

.company-details p {
    margin: 0;
}

.footer-right {
    display: flex;
    justify-content: flex-end;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
}



.link-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.link-group h4 {
    font-size: 0.87rem;
    font-weight: 700;
    color: #dcdde1;
    margin: 0 0 0.5rem 0;
}

.link-group a {
    color: #b9b9b9;
    text-decoration: none;
    font-size: 0.87rem;
    font-weight: 400;
    transition: color 0.3s ease;
}

.link-group a:hover {
    color: #b9b9b9;
    text-decoration: underline;
}

/* === 반응형 디자인 === */

/* 2. 태블릿 - 768px 이상 */
@media (min-width: 768px) {
    .header-content {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 3. 데스크톱 - 1024px 이상 */
@media (min-width: 1024px) {
    .container {
        max-width: 1200px;
    }
}

/* 모바일 전용 스타일 (0px ~ 770px) */
@media (max-width: 770px) {
    .header-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 5rem; /* 로고와 네비게이션 간격 유지 */
        padding: 0 1rem;
    }
    
    .header-actions {
        gap: 0.5rem; /* 화면이 작아질 때 버튼 간격 줄이기 */
        margin-left: auto;
    }
    
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .article-title {
        font-size: 1.25rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .footer-left-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .footer-logo h3 {
        color: #dcdde1;
        font-size: 1.2rem;
        font-weight: 600;
        margin: 0;
    }
    
    .contact-phone {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        font-size: 1rem;
        font-weight: 500;
        color: #dcdde1;
    }
    
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
}

/* 소형 모바일 최적화 (525px 이하) - 메인 페이지 전용 */
@media (max-width: 525px) {
    /* 메인 페이지 컨테이너 */
    .main-container .container {
        padding: 0 10px;
    }
    
    /* 히어로 섹션 */
    .hero .hero-title {
        font-size: 1.8rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    /* 아티클 그리드 */
    .articles-section .article {
        padding: 1rem 0;
        margin-bottom: 1rem;
    }
    
    .articles-section .article h3 {
        font-size: 1.1rem;
        line-height: 1.3;
        margin-bottom: 0.5rem;
    }
    
    .articles-section .article p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .articles-section .article:hover {
        margin: 0 -10px;
        padding: 1rem 10px;
    }
    
    /* 버튼 */
    .btn-primary, .btn-secondary {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
        border-radius: 6px;
    }
    
    /* 푸터 */
    .footer {
        padding: 1.5rem 0;
    }
    
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        gap: 1.5rem;
    }
    
    .footer-section h4 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .footer-section p, .footer-section a {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    .footer-left {
        display: flex;
        flex-direction: column;
        gap: 0.9rem;
    }
    
    .footer-left-content {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }
    
    .company-details {
        font-size: 0.7rem;
        color: #b9b9b9;
        line-height: 1.4;
    }
    
    .link-group a {
        color: #b9b9b9;
        text-decoration: none;
        font-size: 0.7rem;
        font-weight: 400;
        transition: color 0.3s ease;
    }
    
    .link-group h4 {
        font-size: 0.8rem;
        font-weight: 600;
        color: #dcdde1;
        margin: 0 0 0.5rem 0;
    }
    
    /* 서비스 섹션 */
    .services-section .service {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .services-section .service h3 {
        font-size: 1.1rem;
    }
    
    .services-section .service p {
        font-size: 0.85rem;
    }
}

/* ===== smaple_style에서 가져온 새로운 섹션 스타일 ===== */

/* 히어로 섹션 업데이트 */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #D2B48C 0%, #F5E6D3 100%);
    color: #8B4513;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* 히어로 버튼 스타일 제거됨 - 더 이상 사용하지 않음 */

.hero-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat-item {
    background: rgba(245, 230, 211, 0.8);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #8B4513;
}

.stat-label {
    font-size: 1rem;
    color: #8B4513;
    font-weight: 500;
}

/* 서비스 섹션 */
.services {
    background: #FAFAFA;
    padding: 4rem 0;
}

.services .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    color: #8B4513;
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid #f1f5f9;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: #8B4513;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-icon svg {
    color: white;
    width: 2.5rem;
    height: 2.5rem;
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
}

.service-card p {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 0rem;
    font-size: 0.95rem;
}

.service-link {
    display: inline-block;
    color: #8B4513;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    margin-top:1.5rem;
    border: 2px solid #8B4513;
    border-radius: 25px;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.service-link:hover {
    background: #8B4513;
    color: white;
}

/* 고객 후기 섹션 */
.reviews {
    background: #fafafa;
    padding: 4rem 0;
}

.reviews .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.reviews h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    color: #8B4513;
    margin-bottom: 3rem;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.review-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
}

.review-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.review-content p {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: #374151;
    font-size: 1rem;
    line-height: 1.6;
}

.review-author strong {
    color: #1f2937;
    font-weight: 600;
    font-size: 0.95rem;
}

.review-author span {
    color: #6b7280;
    margin-left: 0.5rem;
    font-size: 0.9rem;
}

/* 포스트 섹션 */
.posts {
    background: #F5E6D3;
    padding: 4rem 0;
}

.posts .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.posts h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    color: #8B4513;
    margin-bottom: 3rem;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.post-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.post-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.post-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-card:hover .post-image img {
    transform: scale(1.05);
}

.post-content {
    padding: 1.5rem;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.post-tag {
    background: #f3f4f6;
    color: #6b7280;
    padding: 0.25rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: 15px;
    display: inline-block;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.post-tag:hover {
    background: #8B4513;
    color: white;
    border-color: #8B4513;
}

.post-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0 0 0.75rem 0;
    color: #1f2937;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-card p {
    color: #6b7280;
    margin: 0 0 1rem 0;
    line-height: 1.6;
    font-size: 0.95rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.post-date {
    color: #9ca3af;
    font-size: 0.875rem;
    font-weight: 500;
}

.posts-more {
    text-align: center;
    margin-top: 3rem;
}

.posts-more-btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border: 2px solid #8B4513;
    background: transparent;
    color: #8B4513;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.posts-more-btn:hover {
    background: #8B4513;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 69, 19, 0.3);
}

/* FAQ 섹션 */
.faq {
    background: white;
    padding: 4rem 0;
}

.faq .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.faq h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 3rem;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 10px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    overflow: hidden;
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.12);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background: #f8fafc;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.faq-question i {
    color: #6b7280;
    transition: transform 0.3s;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 200px;
}

.faq-answer p {
    color: #6b7280;
    line-height: 1.6;
}

/* 반응형 디자인 업데이트 */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    /* 히어로 버튼 관련 스타일 제거됨 */
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 400px;
    }
    
    .reviews-grid,
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .services h2,
    .reviews h2,
    .posts h2,
    .faq h2 {
        font-size: 2rem;
    }
    
    .service-card,
    .review-card,
    .post-card {
        padding: 1.5rem;
    }
    
    .faq-question {
        padding: 1rem;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
}

/* 메인 페이지 히어로 섹션 - 480px 이하 */
@media (max-width: 480px) {
    .hero .hero-content h1 {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    .hero .hero-content p {
        font-size: 0.95rem;
        line-height: 1.4;
    }
    
    .hero .btn-primary, .hero .btn-secondary {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
}

/* ===== 블로그 페이지 헤더 스타일 (smaple_style 기반) ===== */

/* 블로그 히어로 섹션 */
.blog-hero {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #D2B48C 0%, #F5E6D3 100%);
    text-align: center;
    color: #8B4513;
    margin-top: 70px; /* 헤더 높이만큼 마진 추가 */
}

.blog-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.blog-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* 블로그 카테고리 필터 섹션 */
.blog-categories {
    padding: 40px 0;
    background: #f8fafc;
}

.category-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.category-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid #8B4513;
    background: transparent;
    color: #8B4513;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.category-btn:hover {
    background: #8B4513;
    color: white;
    transform: translateY(-2px);
}

.category-btn.active {
    background: #8B4513;
    color: white;
}

/* 블로그 검색 섹션 */
.blog-search {
    padding: 30px 0;
    background: #FAFAFA;
}

.search-container {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid #FAFAFA;
    border-radius: 25px;
    font-size: 1rem;
    transition: all 0.3s ease;
    padding-right: 3rem;
}

.search-input:focus {
    outline: none;
    border-color: #8B4513;
    box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.1);
}

.search-btn {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: #8B4513;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: #654321;
    transform: translateY(-50%) scale(1.05);
}

/* 계산기 페이지는 blog-hero 클래스 사용 */

/* 반응형 디자인 */
@media (max-width: 768px) {
    .blog-hero h1 {
        font-size: 2.5rem;
    }
    
    .blog-hero p {
        font-size: 1rem;
    }
    
    .category-filters {
        gap: 0.5rem;
    }
    
    .category-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .search-input {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .blog-hero h1 {
        font-size: 2rem;
    }
    
    .category-filters {
        flex-direction: column;
        align-items: center;
    }
    
    .category-btn {
        width: 200px;
        text-align: center;
    }
}

/* 아티클 관련 스타일은 article-styles.css에서 관리됩니다 */

/* 계산기 히어로 섹션 스타일 */
.calculator-hero {
    margin-top: 70px;
    padding-bottom: 16px;
    background: #F7F1E9;
}

.calculator-each-hero {
    margin-top: 70px;
    padding-bottom: 16px;
    background: #F7F1E9;
}