/*
Theme Name: CleanDay Boiler
Theme URI: https://cleandday.com
Author: CleanDay
Author URI: https://cleandday.com
Description: 수원 보일러 교체 전문 업체 클린디데이 테마 - 전문적이고 신뢰감 있는 보일러 교체 서비스 홈페이지
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cleanday-boiler
Tags: one-column, custom-menu, featured-images, translation-ready, responsive-layout
*/

/* ============================================
   CSS 변수 및 기본 설정
   ============================================ */
:root {
    /* 메인 컬러 팔레트 */
    --primary-color: #1e3a5f;
    --primary-dark: #0d2240;
    --primary-light: #2d5a8a;
    --secondary-color: #f39c12;
    --secondary-dark: #d68910;
    --secondary-light: #f5b041;
    --accent-color: #27ae60;
    --accent-dark: #1e8449;
    --danger-color: #e74c3c;

    /* 중성 컬러 */
    --white: #ffffff;
    --off-white: #f8f9fa;
    --light-gray: #ecf0f1;
    --medium-gray: #bdc3c7;
    --dark-gray: #7f8c8d;
    --charcoal: #2c3e50;
    --black: #1a1a2e;

    /* 그라데이션 */
    --gradient-primary: linear-gradient(135deg, #1e3a5f 0%, #2d5a8a 100%);
    --gradient-secondary: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    --gradient-hero: linear-gradient(135deg, rgba(30, 58, 95, 0.95) 0%, rgba(45, 90, 138, 0.9) 100%);
    --gradient-dark: linear-gradient(180deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);

    /* 타이포그래피 */
    --font-primary: 'Pretendard', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Pretendard', 'Noto Sans KR', sans-serif;

    /* 그림자 */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.15);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.2);

    /* 간격 */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 5rem;

    /* 반응형 브레이크포인트 */
    --bp-mobile: 480px;
    --bp-tablet: 768px;
    --bp-desktop: 1024px;
    --bp-wide: 1200px;

    /* 트랜지션 */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* 반경 */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 50%;
}

/* ============================================
   리셋 및 기본 스타일
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--charcoal);
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
    list-style: none;
}

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

button {
    cursor: pointer;
    background: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary-dark);
}

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

.container-narrow {
    max-width: 900px;
}

.container-wide {
    max-width: 1400px;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }
.mt-4 { margin-top: var(--spacing-xl); }

.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }
.mb-4 { margin-bottom: var(--spacing-xl); }

.section-padding {
    padding: var(--spacing-xxl) 0;
}

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

.text-primary { color: var(--primary-color); }
.text-secondary { color: var(--secondary-color); }
.text-accent { color: var(--accent-color); }
.text-white { color: var(--white); }
.text-muted { color: var(--dark-gray); }

/* ============================================
   버튼 스타일
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
    cursor: pointer;
    border: 2px solid transparent;
    text-transform: none;
    letter-spacing: 0;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(30, 58, 95, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(30, 58, 95, 0.4);
}

.btn-secondary {
    background: var(--gradient-secondary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(243, 156, 18, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

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

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

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-large {
    padding: 18px 42px;
    font-size: 1.125rem;
}

.btn-small {
    padding: 10px 20px;
    font-size: 0.875rem;
}

.btn-icon {
    width: 50px;
    height: 50px;
    padding: 0;
    border-radius: var(--radius-full);
}

/* ============================================
   헤더 스타일
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

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

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-logo img {
    height: 45px;
    width: auto;
}

.site-logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

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

/* 네비게이션 */
.main-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-nav a {
    padding: 10px 18px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--charcoal);
    border-radius: var(--radius-sm);
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition-fast);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 60%;
}

.main-nav a:hover {
    color: var(--primary-color);
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.header-phone i {
    color: var(--secondary-color);
}

/* 모바일 메뉴 토글 */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: var(--transition-fast);
}

/* ============================================
   히어로 슬라이더
   ============================================ */
.hero-section {
    position: relative;
    margin-top: 80px;
    height: 55vh;
    min-height: 400px;
    max-height: 550px;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.7);
}

.hero-slide-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: 20px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    color: var(--white);
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    opacity: 0.95;
    margin-bottom: 25px;
    max-width: 600px;
}

.hero-cta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

/* 슬라이더 네비게이션 */
.slider-nav {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 12px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition-fast);
    border: 2px solid transparent;
}

.slider-dot.active {
    background: var(--secondary-color);
    border-color: var(--white);
    transform: scale(1.2);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition-fast);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.slider-arrow:hover {
    background: var(--secondary-color);
}

.slider-arrow.prev {
    left: 20px;
}

.slider-arrow.next {
    right: 20px;
}

/* ============================================
   퀵 액션 바
   ============================================ */
.quick-action-bar {
    background: var(--gradient-primary);
    padding: 25px 0;
}

.quick-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.quick-action-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--white);
    transition: var(--transition-normal);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.quick-action-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.quick-action-icon {
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.quick-action-text h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 3px;
    color: var(--white);
}

.quick-action-text p {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* ============================================
   신뢰 지표 섹션
   ============================================ */
.trust-section {
    background: var(--off-white);
    padding: 40px 0;
}

.trust-items {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.trust-icon {
    width: 60px;
    height: 60px;
    background: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

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

.trust-text h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.trust-text p {
    font-size: 0.9rem;
    color: var(--dark-gray);
}

/* ============================================
   섹션 타이틀
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-label {
    display: inline-block;
    background: var(--primary-light);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--dark-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   가격 계산기 섹션
   ============================================ */
.calculator-section {
    padding: var(--spacing-xxl) 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--off-white) 100%);
}

.calculator-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.calculator-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.calculator-card h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.calculator-card h3 i {
    color: var(--secondary-color);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--charcoal);
}

.form-group label span {
    color: var(--dark-gray);
    font-weight: 400;
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 15px 18px;
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: var(--transition-fast);
    background: var(--white);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1);
}

.form-control::placeholder {
    color: var(--medium-gray);
}

select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%237f8c8d' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 45px;
}

.range-slider {
    position: relative;
    margin-top: 10px;
}

.range-slider input[type="range"] {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: var(--light-gray);
    appearance: none;
    cursor: pointer;
}

.range-slider input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: var(--radius-full);
    background: var(--primary-color);
    cursor: pointer;
    box-shadow: var(--shadow-md);
}

.range-value {
    position: absolute;
    right: 0;
    top: -30px;
    background: var(--primary-color);
    color: var(--white);
    padding: 5px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
}

/* 결과 카드 */
.result-card {
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    position: sticky;
    top: 100px;
}

.result-card h3 {
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.result-item:last-of-type {
    border-bottom: none;
}

.result-label {
    font-size: 0.95rem;
    opacity: 0.9;
}

.result-value {
    font-size: 1.1rem;
    font-weight: 700;
}

.result-total {
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    padding: 25px;
    margin-top: 25px;
    text-align: center;
}

.result-total-label {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 5px;
}

.result-total-value {
    font-size: 2.5rem;
    font-weight: 800;
}

.result-total-value small {
    font-size: 1rem;
    font-weight: 400;
}

.result-note {
    font-size: 0.85rem;
    opacity: 0.8;
    margin-top: 20px;
    line-height: 1.6;
}

.result-cta {
    margin-top: 25px;
}

.result-cta .btn {
    width: 100%;
}

/* ============================================
   서비스 섹션
   ============================================ */
.services-section {
    padding: var(--spacing-xxl) 0;
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 35px 30px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    border: 1px solid var(--light-gray);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-secondary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-normal);
}

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

.service-card:hover::before {
    transform: scaleX(1);
}

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

.service-card:hover .service-icon {
    background: var(--primary-color);
    color: var(--white);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--dark-gray);
    font-size: 0.95rem;
    line-height: 1.7;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
}

.service-link i {
    transition: var(--transition-fast);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* ============================================
   브랜드 비교 섹션
   ============================================ */
.brands-section {
    padding: var(--spacing-xxl) 0;
    background: var(--off-white);
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.brand-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    border: 2px solid transparent;
}

.brand-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.brand-logo {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.brand-logo img {
    max-height: 100%;
    max-width: 140px;
    object-fit: contain;
}

.brand-name {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary-dark);
}

.brand-feature {
    display: inline-block;
    background: var(--off-white);
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.brand-desc {
    font-size: 0.9rem;
    color: var(--dark-gray);
    line-height: 1.6;
}

.brand-price {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--light-gray);
}

.brand-price span {
    font-size: 0.85rem;
    color: var(--dark-gray);
}

.brand-price strong {
    display: block;
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-top: 5px;
}

/* ============================================
   정보글 (블로그) 섹션
   ============================================ */
.articles-section {
    padding: var(--spacing-xxl) 0;
    background: var(--white);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.article-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

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

.article-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

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

.article-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--secondary-color);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.article-content {
    padding: 25px;
}

.article-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-excerpt {
    font-size: 0.9rem;
    color: var(--dark-gray);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 15px;
}

.article-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--dark-gray);
}

.article-date {
    display: flex;
    align-items: center;
    gap: 5px;
}

.article-readmore {
    color: var(--primary-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.article-readmore:hover {
    color: var(--secondary-color);
}

/* ============================================
   보조금 안내 섹션
   ============================================ */
.subsidy-section {
    padding: var(--spacing-xxl) 0;
    background: var(--gradient-primary);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.subsidy-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(243, 156, 18, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.subsidy-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.subsidy-content h2 {
    font-size: 2.2rem;
    color: var(--white);
    margin-bottom: 20px;
}

.subsidy-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
    line-height: 1.8;
}

.subsidy-amount {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.subsidy-amount-label {
    font-size: 1rem;
    margin-bottom: 10px;
}

.subsidy-amount-value {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--secondary-color);
}

.subsidy-amount-value span {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
}

.subsidy-list {
    margin-bottom: 30px;
}

.subsidy-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 1rem;
}

.subsidy-list li i {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-top: 3px;
}

.subsidy-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    color: var(--charcoal);
}

.subsidy-card h3 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.subsidy-card h3 i {
    color: var(--secondary-color);
}

.eligibility-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--light-gray);
    font-size: 0.95rem;
}

.eligibility-list li:last-child {
    border-bottom: none;
}

.eligibility-list li i {
    width: 30px;
    height: 30px;
    background: var(--off-white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
}

.subsidy-note {
    background: var(--off-white);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-top: 25px;
    font-size: 0.9rem;
    color: var(--dark-gray);
    display: flex;
    gap: 12px;
}

.subsidy-note i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

/* ============================================
   CTA 섹션
   ============================================ */
.cta-section {
    padding: var(--spacing-xxl) 0;
    background: var(--off-white);
}

.cta-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 60px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.cta-card h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.cta-card p {
    font-size: 1.1rem;
    color: var(--dark-gray);
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.cta-phone-icon {
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    animation: pulse-ring 1.5s infinite;
}

@keyframes pulse-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(39, 174, 96, 0.5);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(39, 174, 96, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(39, 174, 96, 0);
    }
}

.cta-phone-text strong {
    display: block;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.cta-phone-text span {
    font-size: 0.9rem;
    color: var(--dark-gray);
}

/* ============================================
   FAQ 섹션
   ============================================ */
.faq-section {
    padding: var(--spacing-xxl) 0;
    background: var(--white);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.faq-item {
    background: var(--off-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-normal);
}

.faq-question {
    padding: 20px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
}

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

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

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

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

.faq-answer-inner {
    padding: 0 25px 20px;
    font-size: 0.95rem;
    color: var(--dark-gray);
    line-height: 1.7;
}

/* ============================================
   푸터 스타일
   ============================================ */
.site-footer {
    background: var(--primary-dark);
    color: var(--white);
}

.footer-main {
    padding: 60px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
}

.footer-brand .site-logo-text {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.footer-brand p {
    font-size: 0.95rem;
    opacity: 0.8;
    line-height: 1.8;
    margin-bottom: 25px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

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

.footer-social a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--white);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 0.95rem;
    opacity: 0.8;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
}

.footer-contact-item i {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.footer-contact-item div {
    font-size: 0.9rem;
}

.footer-contact-item strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 3px;
}

.footer-contact-item span {
    opacity: 0.8;
}

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

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-copyright {
    font-size: 0.9rem;
    opacity: 0.7;
}

.footer-info {
    font-size: 0.85rem;
    opacity: 0.7;
}

.footer-info span {
    margin: 0 10px;
}

/* ============================================
   플로팅 버튼
   ============================================ */
.floating-buttons {
    position: fixed;
    right: 25px;
    bottom: 100px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--white);
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
    position: relative;
}

.floating-btn:hover {
    transform: scale(1.1);
}

.floating-btn-phone {
    background: var(--accent-color);
    animation: pulse-ring 2s infinite;
}

.floating-btn-blog {
    background: #03C75A;
}

.floating-btn-youtube {
    background: #FF0000;
}

.floating-btn-top {
    background: var(--primary-color);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-normal);
}

.floating-btn-top.visible {
    opacity: 1;
    pointer-events: all;
}

.floating-btn-label {
    position: absolute;
    right: 70px;
    background: var(--charcoal);
    color: var(--white);
    padding: 8px 15px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
}

.floating-btn:hover .floating-btn-label {
    opacity: 1;
    visibility: visible;
}

.floating-btn-label::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-left: 6px solid var(--charcoal);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

/* ============================================
   페이지 헤더 (서브페이지용)
   ============================================ */
.page-header {
    margin-top: 80px;
    padding: 80px 0;
    background: var(--gradient-primary);
    color: var(--white);
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 15px;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 0.95rem;
    opacity: 0.9;
}

.breadcrumb a:hover {
    color: var(--secondary-color);
}

.breadcrumb span {
    opacity: 0.6;
}

/* ============================================
   반응형 스타일
   ============================================ */
@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 1024px) {
    .calculator-wrapper {
        grid-template-columns: 1fr;
    }

    .result-card {
        position: static;
    }

    .subsidy-wrapper {
        grid-template-columns: 1fr;
    }

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

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

    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    .header-inner {
        height: 70px;
    }

    .main-nav {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-lg);
        gap: 0;
    }

    .main-nav.active {
        display: flex;
    }

    .main-nav a {
        padding: 15px;
        border-bottom: 1px solid var(--light-gray);
        width: 100%;
    }

    .main-nav a::after {
        display: none;
    }

    .header-cta .btn {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-section {
        margin-top: 70px;
        height: 50vh;
        min-height: 350px;
    }

    .slider-arrow {
        display: none;
    }

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

    .trust-items {
        gap: 30px;
    }

    .services-grid,
    .articles-grid,
    .brands-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }

    .floating-buttons {
        right: 15px;
        bottom: 80px;
    }

    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .floating-btn-label {
        display: none;
    }

    .cta-card {
        padding: 40px 25px;
    }

    .calculator-card,
    .result-card {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .quick-actions {
        grid-template-columns: 1fr;
    }

    .trust-items {
        flex-direction: column;
        gap: 25px;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
        padding: 0 20px;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .subsidy-amount-value {
        font-size: 2.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cta-buttons .btn {
        width: 100%;
    }
}

/* ============================================
   애니메이션
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* 로딩 애니메이션 */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--light-gray);
    border-top-color: var(--primary-color);
    border-radius: var(--radius-full);
    animation: spin 1s linear infinite;
}

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

/* ============================================
   상세 페이지 스타일
   ============================================ */
.single-article {
    padding: var(--spacing-xxl) 0;
}

.article-single-content {
    max-width: 800px;
    margin: 0 auto;
}

.article-single-content h2 {
    font-size: 1.8rem;
    margin: 40px 0 20px;
    padding-top: 20px;
    border-top: 1px solid var(--light-gray);
}

.article-single-content h3 {
    font-size: 1.4rem;
    margin: 30px 0 15px;
}

.article-single-content p {
    margin-bottom: 20px;
    line-height: 1.9;
}

.article-single-content ul,
.article-single-content ol {
    margin: 20px 0;
    padding-left: 25px;
}

.article-single-content li {
    margin-bottom: 10px;
    line-height: 1.8;
    list-style: disc;
}

.article-single-content ol li {
    list-style: decimal;
}

.article-single-content blockquote {
    background: var(--off-white);
    border-left: 4px solid var(--primary-color);
    padding: 25px 30px;
    margin: 30px 0;
    font-style: italic;
}

.article-single-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
}

.article-single-content th,
.article-single-content td {
    padding: 15px;
    text-align: left;
    border: 1px solid var(--light-gray);
}

.article-single-content th {
    background: var(--primary-color);
    color: var(--white);
    font-weight: 600;
}

.article-single-content tr:nth-child(even) {
    background: var(--off-white);
}

/* 관련 글 */
.related-articles {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--light-gray);
}

.related-articles h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

/* ============================================
   가격표 페이지
   ============================================ */
.price-table-section {
    padding: var(--spacing-xxl) 0;
}

.price-table {
    width: 100%;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.price-table thead {
    background: var(--gradient-primary);
}

.price-table th {
    padding: 20px;
    color: var(--white);
    font-weight: 600;
    text-align: center;
}

.price-table td {
    padding: 18px 20px;
    text-align: center;
    border-bottom: 1px solid var(--light-gray);
}

.price-table tr:hover {
    background: var(--off-white);
}

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

/* ============================================
   문의 폼
   ============================================ */
.contact-form-section {
    padding: var(--spacing-xxl) 0;
    background: var(--off-white);
}

.contact-form {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 50px;
    box-shadow: var(--shadow-lg);
    max-width: 700px;
    margin: 0 auto;
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-align: center;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.form-submit {
    margin-top: 30px;
    text-align: center;
}

.form-submit .btn {
    min-width: 200px;
}

/* ============================================
   추가 유틸리티
   ============================================ */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.clearfix::after {
    content: '';
    display: table;
    clear: both;
}

/* 프린트 스타일 */
@media print {
    .site-header,
    .floating-buttons,
    .site-footer {
        display: none;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
    }
}
