/* ===================================
   매직블루 나노코팅 - 프리미엄 스타일시트
   ================================== */

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

:root {
    /* Primary Blue Colors - 더 현대적인 톤 */
    --primary-blue: #0066FF;
    --primary-blue-dark: #0052CC;
    --primary-blue-light: #4D94FF;
    --secondary-blue: #00A3FF;
    --accent-blue: #0099FF;

    /* Neutral Colors - 더 밝고 깨끗한 톤 */
    --white: #FFFFFF;
    --off-white: #FAFBFC;
    --light-gray: #F0F4F8;
    --gray: #94A3B8;
    --dark-gray: #475569;
    --black: #0F172A;

    /* Accent Colors */
    --gold: #FFC107;
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;

    /* Gradient Colors */
    --gradient-primary: linear-gradient(135deg, #0066FF 0%, #00A3FF 100%);
    --gradient-secondary: linear-gradient(135deg, #667EEA 0%, #764BA2 100%);
    --gradient-gold: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    --gradient-soft: linear-gradient(180deg, #FAFBFC 0%, #F0F4F8 100%);

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);

    /* Shadows - 더 부드럽고 자연스러운 그림자 */
    --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.05);
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.08);
    --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.12);
    --shadow-lg: 0 8px 32px rgba(15, 23, 42, 0.16);
    --shadow-xl: 0 16px 64px rgba(15, 23, 42, 0.2);
    --shadow-2xl: 0 24px 80px rgba(15, 23, 42, 0.24);

    /* Glow Effects */
    --glow-blue: 0 0 20px rgba(0, 102, 255, 0.3);
    --glow-gold: 0 0 20px rgba(255, 215, 0, 0.3);

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Typography */
    --font-primary: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --spacing-section: 120px;
    --spacing-section-sm: 80px;
}

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

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===================================
   Navigation - 글래스모피즘 디자인
   ================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-lg);
    background: rgba(255, 255, 255, 0.95);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    max-width: 1280px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    font-size: 1.625rem;
    font-weight: 800;
    color: var(--primary-blue);
    text-decoration: none;
    transition: var(--transition);
    letter-spacing: -0.5px;
}

.logo:hover {
    opacity: 0.8;
    transform: translateY(-1px);
}

.logo-image {
    height: 45px;
    width: auto;
    object-fit: contain;
}

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

.logo i {
    font-size: 1.75rem;
}

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

.nav-link {
    color: var(--dark-gray);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

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

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

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

.nav-link-special {
    color: var(--primary-blue);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.nav-link-special i {
    font-size: 0.9rem;
}

.nav-link-event {
    color: #F59E0B;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.nav-link-event i {
    font-size: 0.9rem;
}

.nav-link-event:hover {
    color: #D97706;
}

.nav-link-cta {
    background: var(--primary-blue);
    color: var(--white) !important;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-weight: 600;
}

.nav-link-cta:hover {
    background: var(--primary-blue-dark);
    transform: translateY(-2px);
}

.nav-link-cta::after {
    display: none;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-blue);
    cursor: pointer;
}

/* ===================================
   Promotion Banners
   ================================== */
.promo-banners {
    padding: 100px 0 1rem;
    background: var(--off-white);
}

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

.promo-banner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--white);
    padding: 1.5rem 2rem;
    border-radius: 15px;
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid transparent;
}

.promo-banner:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.promo-event {
    border-left: 4px solid #F59E0B;
}

.promo-event:hover {
    border-color: #F59E0B;
    background: linear-gradient(to right, #FFF7ED, var(--white));
}

.promo-knowledge {
    border-left: 4px solid var(--primary-blue);
}

.promo-knowledge:hover {
    border-color: var(--primary-blue);
    background: linear-gradient(to right, #EFF6FF, var(--white));
}

.promo-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    flex-shrink: 0;
}

.promo-event .promo-icon {
    background: linear-gradient(135deg, #F59E0B, #D97706);
}

.promo-knowledge .promo-icon {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
}

.promo-icon i {
    font-size: 1.75rem;
    color: var(--white);
}

.promo-content {
    flex: 1;
}

.promo-content h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 0.5rem;
}

.promo-content p {
    font-size: 0.9rem;
    color: var(--gray);
    margin: 0;
}

.promo-arrow {
    color: var(--gray);
    font-size: 1.25rem;
    transition: var(--transition);
}

.promo-banner:hover .promo-arrow {
    transform: translateX(5px);
}

.promo-event:hover .promo-arrow {
    color: #F59E0B;
}

.promo-knowledge:hover .promo-arrow {
    color: var(--primary-blue);
}

/* ===================================
   Hero Section
   ================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../images/hero-bg.jpg') center center / cover no-repeat;
    overflow: hidden;
    padding-top: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 30, 60, 0.65) 0%, rgba(0, 60, 120, 0.55) 100%);
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
    padding: 2rem 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 215, 0, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 2rem;
    animation: fadeInUp 0.6s ease-out;
    color: #003366;
}

.hero-badge i {
    font-size: 1.25rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero-title .highlight {
    display: block;
    color: var(--gold);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.hero-subtitle strong {
    color: var(--gold);
    font-weight: 700;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease-out 0.6s both;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.5rem 2rem;
    border-radius: 20px;
    transition: var(--transition);
}

.stat-item:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-5px);
}

.stat-item i {
    font-size: 2.5rem;
    color: var(--primary-blue);
}

.stat-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--primary-blue);
}

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

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease-out 0.8s both;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.hero-scroll i {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ===================================
   Buttons
   ================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    font-family: var(--font-primary);
}

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

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

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: var(--white);
    transform: translateY(-3px);
}

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

.btn-outline:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ===================================
   Section Styles
   ================================== */
section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.section-header h2 {
    font-size: 2.75rem;
    font-weight: 900;
    color: var(--black);
    margin-bottom: 1rem;
}

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

.highlight-text {
    color: var(--primary-blue);
    font-weight: 700;
}

/* ===================================
   Trust Section
   ================================== */
.trust-section {
    background: var(--off-white);
}

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

@media (max-width: 992px) {
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .trust-grid {
        grid-template-columns: 1fr;
    }
}

.trust-item {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.trust-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.trust-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.trust-item h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 1rem;
}

.trust-item p {
    color: var(--gray);
    line-height: 1.6;
}

.premium-features {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    color: var(--white);
}

.premium-features h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.premium-features h3 i {
    color: var(--gold);
}

.feature-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.feature-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* ===================================
   Service Areas
   ================================== */
.service-areas {
    background: var(--white);
}

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

.area-card {
    background: var(--white);
    border: 2px solid var(--light-gray);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

.area-card:hover {
    border-color: var(--primary-blue);
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.area-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-blue-light), var(--primary-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.area-icon i {
    font-size: 2rem;
    color: var(--white);
}

.area-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 1.5rem;
}

.area-list {
    list-style: none;
    text-align: left;
    margin-bottom: 1.5rem;
}

.area-list li {
    padding: 0.5rem 0;
    color: var(--dark-gray);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.area-list i {
    color: var(--success);
    font-size: 0.875rem;
}

.area-price {
    display: inline-block;
    background: var(--primary-blue);
    color: var(--white);
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-size: 1.25rem;
    font-weight: 700;
}

/* ===================================
   Apartment Brands Section
   ================================== */
.apartment-brands-section {
    background: #F7F8FA;
    padding: 5rem 0;
    overflow: hidden;
}

.brands-slider-wrapper {
    position: relative;
    overflow: hidden;
    margin-top: 3rem;
}

.brands-slider {
    display: flex;
    animation: brandSlide 30s linear infinite;
    will-change: transform;
}

.brands-slider:hover {
    animation-play-state: paused;
}

@keyframes brandSlide {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.brand-item {
    flex: 0 0 auto;
    width: 200px;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.brand-item:hover {
    transform: scale(1.05);
}

.brand-logo {
    text-align: center;
    width: 100%;
}

.brand-text {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: #6c757d;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.brand-item:hover .brand-text {
    color: var(--primary-blue);
}

.brand-name {
    font-size: 0.875rem;
    color: #adb5bd;
    margin: 0;
}

/* 특정 브랜드 스타일링 */
.brand-item[data-brand="xi"] .brand-text {
    font-family: 'Georgia', serif;
    font-style: italic;
    font-size: 2rem;
}

.brand-item[data-brand="epenhan"] .brand-text {
    font-size: 1.5rem;
}

.brand-item[data-brand="raemian"] .brand-text {
    font-family: 'Georgia', serif;
}

/* ===================================
   Gallery Section
   ================================== */
.gallery-section {
    background: var(--off-white);
}

.gallery-filters {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.filter-btn {
    background: var(--white);
    color: var(--dark-gray);
    border: 2px solid var(--light-gray);
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-primary);
}

.filter-btn:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.filter-btn.active {
    background: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.gallery-item {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.gallery-image-container {
    position: relative;
    height: 300px;
    overflow: hidden;
    background: var(--light-gray);
}

/* Before/After hover compare (used by /portfolio) */
.gallery-compare {
    position: relative;
    width: 100%;
    height: 100%;
}

.gallery-compare img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-compare .gallery-image-before {
    opacity: 1;
}

.gallery-compare .gallery-image-after {
    opacity: 1;
}

.gallery-item:hover .gallery-compare .gallery-image-after {
    opacity: 0;
}

.gallery-compare-labels {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    pointer-events: none;
}

.gallery-compare-label {
    background: rgba(0, 0, 0, 0.55);
    color: var(--white);
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    backdrop-filter: blur(10px);
}

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

.gallery-item:hover .gallery-image {
    transform: scale(1.1);
}

.gallery-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-blue);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
}

.gallery-content {
    padding: 1.5rem;
}

.gallery-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 0.5rem;
}

.gallery-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--gray);
}

.gallery-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* ===================================
   Differentiation Section
   ================================== */
.differentiation {
    background: var(--white);
}

.diff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.diff-card {
    position: relative;
    background: var(--white);
    border: 2px solid var(--light-gray);
    border-radius: 20px;
    padding: 3rem 2rem 2rem;
    transition: var(--transition);
}

.diff-card:hover {
    border-color: var(--primary-blue);
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.diff-number {
    position: absolute;
    top: -1.5rem;
    left: 2rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: var(--shadow-md);
}

.diff-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--off-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.diff-icon i {
    font-size: 2rem;
    color: var(--primary-blue);
}

.diff-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 1rem;
    text-align: center;
    line-height: 1.4;
}

.diff-card>p {
    text-align: center;
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.diff-features {
    list-style: none;
}

.diff-features li {
    padding: 0.75rem 0;
    color: var(--dark-gray);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-top: 1px solid var(--light-gray);
}

.diff-features li:first-child {
    border-top: none;
}

.diff-features i {
    color: var(--success);
    flex-shrink: 0;
}

/* ===================================
   Pricing Section
   ================================== */
.pricing-section {
    background: var(--off-white);
}

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

.pricing-card {
    background: var(--white);
    border: 2px solid var(--light-gray);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
}

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

.pricing-card.featured {
    border-color: var(--primary-blue);
    border-width: 3px;
    background: linear-gradient(to bottom, var(--white), var(--off-white));
}

.popular-badge {
    position: absolute;
    top: -1rem;
    right: 2rem;
    background: var(--gold);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    box-shadow: var(--shadow-md);
}

.pricing-header {
    margin-bottom: 1.5rem;
}

.pricing-header h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 1rem;
}

.pricing-price {
    margin-bottom: 2rem;
}

.price-amount {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.price-range {
    font-size: 1rem;
    color: var(--gray);
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.75rem 0;
    color: var(--dark-gray);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pricing-features i {
    color: var(--success);
    flex-shrink: 0;
}

.pricing-calculator {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    color: var(--white);
}

.pricing-calculator h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.pricing-calculator>p {
    margin-bottom: 2rem;
    opacity: 0.95;
}

.calculator-form {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto 2rem;
}

.calculator-input {
    flex: 1;
    min-width: 200px;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-family: var(--font-primary);
}

.calculator-result {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    margin-top: 2rem;
    font-size: 1.5rem;
    font-weight: 700;
}

/* ===================================
   Reviews Section
   ================================== */
.reviews-section {
    background: var(--white);
}

.review-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    color: var(--gold);
    margin-top: 1rem;
}

.rating-number {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--black);
    margin-left: 0.5rem;
}

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

.review-card {
    background: var(--off-white);
    border-radius: 20px;
    padding: 2rem;
    transition: var(--transition);
    border: 2px solid transparent;
}

.review-card:hover {
    border-color: var(--primary-blue);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.reviewer-info {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
}

.reviewer-info h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 0.25rem;
}

.reviewer-info p {
    font-size: 0.875rem;
    color: var(--gray);
}

.review-stars {
    display: flex;
    gap: 0.25rem;
    color: var(--gold);
}

.review-text {
    color: var(--dark-gray);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.review-date {
    font-size: 0.875rem;
    color: var(--gray);
}

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

.review-cta p {
    color: var(--gray);
    margin-bottom: 1.5rem;
}

/* ===================================
   About Section
   ================================== */
.about-section {
    background: var(--off-white);
}

.about-quote {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--dark-gray);
    margin-top: 1rem;
}

.about-quote strong {
    color: var(--primary-blue);
}

.about-content>div {
    margin-bottom: 4rem;
}

.about-content>div:last-child {
    margin-bottom: 0;
}

.about-content h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.about-content h3 i {
    color: var(--primary-blue);
}

.about-content p {
    color: var(--dark-gray);
    line-height: 1.8;
    margin-bottom: 1rem;
}

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

.mission-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 2px solid var(--light-gray);
    transition: var(--transition);
}

.mission-item:hover {
    border-color: var(--primary-blue);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.mission-item i {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.mission-item h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 0.5rem;
}

.mission-item p {
    color: var(--gray);
    margin: 0;
}

.team-members {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.team-member {
    background: var(--white);
    border: 2px solid var(--light-gray);
    border-radius: 20px;
    padding: 0;
    overflow: hidden;
    transition: var(--transition);
}

.team-member:hover {
    border-color: var(--primary-blue);
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.member-photo {
    width: 100%;
    height: 350px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #e0e0e0 0%, #f5f5f5 100%);
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.team-member:hover .member-photo img {
    transform: scale(1.05);
}

.photo-placeholder {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.photo-placeholder i {
    font-size: 3.5rem;
    color: var(--white);
}

.member-info {
    text-align: center;
    padding: 2rem;
}

.member-info h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 0.5rem;
}

.member-role {
    display: inline-block;
    background: var(--primary-blue);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.member-stats {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.member-stats span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray);
    font-size: 0.875rem;
}

.member-stats i {
    color: var(--primary-blue);
}

.member-desc {
    color: var(--dark-gray);
    line-height: 1.7;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.member-specialty {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.specialty-tag {
    background: var(--off-white);
    color: var(--primary-blue);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid var(--light-gray);
}

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

.team-feature {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    color: var(--white);
}

.team-feature i {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.team-feature h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.team-feature p {
    opacity: 0.95;
    margin: 0;
}

.cert-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.cert-badge {
    background: var(--white);
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.cert-badge:hover {
    background: var(--primary-blue);
    color: var(--white);
}

/* 인증서 슬라이더 */
.cert-slider-container {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--light-gray);
}

.cert-slider-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 1.5rem;
    text-align: center;
}

/* 인증서 이미지 슬라이더 */
.cert-image-slider-wrapper {
    position: relative;
    max-width: 450px;
    margin: 0 auto 2rem;
    padding: 0 60px;
}

.cert-image-slider {
    display: flex;
    overflow: hidden;
    position: relative;
    border-radius: 20px;
    background: white;
    box-shadow: var(--shadow-lg);
}

.cert-image-slide {
    min-width: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.5s ease;
    position: relative;
}

.cert-slide-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px 20px 0 0;
    background: white;
}

.cert-pdf-placeholder {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cert-pdf-placeholder::before {
    content: '\f1c1';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 3rem;
    color: #E74C3C;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.cert-slide-caption {
    background: white;
    padding: 1rem 1.5rem;
    text-align: center;
    border-radius: 0 0 20px 20px;
}

.cert-slide-caption h5 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 0.5rem;
}

.cert-slide-caption p {
    color: var(--gray);
    font-size: 0.875rem;
    margin: 0;
}

.cert-image-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: white;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    font-size: 0.875rem;
}

.cert-image-slider-btn:hover {
    background: var(--primary-blue);
    color: white;
    box-shadow: var(--shadow-lg);
}

.cert-image-slider-prev {
    left: 0;
}

.cert-image-slider-next {
    right: 0;
}

.cert-image-slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.cert-image-dot {
    width: 8px;
    height: 8px;
    background: var(--light-gray);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.cert-image-dot.active {
    background: var(--primary-blue);
    width: 20px;
    border-radius: 4px;
}

.cert-slider-actions {
    display: flex;
    gap: 0.75rem;
    max-width: 450px;
    margin: 0 auto;
}

.cert-view-btn-large,
.cert-download-btn-large {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    border: none;
}

.cert-view-btn-large {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: white;
    box-shadow: var(--shadow-md);
}

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

.cert-download-btn-large {
    background: white;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.cert-download-btn-large:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-3px);
}

.cert-slider-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 50px;
}

.cert-slider {
    display: flex;
    overflow: hidden;
    position: relative;
    scroll-behavior: smooth;
}

.cert-slide {
    min-width: 100%;
    display: flex;
    justify-content: center;
    padding: 1rem;
    transition: transform 0.5s ease;
}

.cert-card {
    background: white;
    border: 2px solid var(--light-gray);
    border-radius: 15px;
    padding: 2.5rem;
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.cert-card:hover {
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.cert-image {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.cert-image i {
    font-size: 3rem;
    color: white;
}

.cert-info h5 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 0.75rem;
}

.cert-info p {
    color: var(--gray);
    font-size: 1rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.cert-number {
    display: inline-block;
    background: var(--off-white);
    color: var(--primary-blue);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.cert-view-btn,
.cert-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    margin: 0.5rem 0.25rem;
    border: none;
}

.cert-view-btn {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: white;
    box-shadow: var(--shadow-sm);
}

.cert-view-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.cert-download-btn {
    background: white;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.cert-download-btn:hover {
    background: var(--primary-blue);
    color: white;
}

.cert-image i.fa-file-pdf {
    color: #E74C3C;
}

/* PDF 모달 */
.cert-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.cert-modal.active {
    display: flex;
}

.cert-modal-content {
    background: white;
    width: 90%;
    max-width: 1200px;
    height: 90vh;
    border-radius: 15px;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.cert-modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 2px solid var(--light-gray);
    background: var(--off-white);
    border-radius: 15px 15px 0 0;
}

.cert-modal-header h3 {
    margin: 0;
    color: var(--black);
    font-size: 1.5rem;
}

.cert-modal-body {
    flex: 1;
    padding: 0;
    overflow: hidden;
}

.cert-modal-body iframe {
    border: none;
    width: 100%;
    height: 100%;
}

.cert-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10001;
}

.cert-modal-close:hover {
    background: var(--primary-blue-dark);
    transform: rotate(90deg);
}

.cert-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: white;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

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

.cert-slider-prev {
    left: 0;
}

.cert-slider-next {
    right: 0;
}

.cert-slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.cert-dot {
    width: 12px;
    height: 12px;
    background: var(--light-gray);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.cert-dot.active {
    background: var(--primary-blue);
    width: 30px;
    border-radius: 6px;
}

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

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--black);
    line-height: 1.4;
    margin-bottom: 2rem;
}

.contact-benefits {
    margin-bottom: 3rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
}

.benefit-item i {
    color: var(--success);
    font-size: 1.25rem;
}

.benefit-item span {
    color: var(--dark-gray);
    font-weight: 500;
}

.contact-details {
    background: var(--off-white);
    padding: 2rem;
    border-radius: 15px;
}

.detail-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--light-gray);
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-item i {
    font-size: 1.75rem;
    color: var(--primary-blue);
}

.detail-item h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 0.25rem;
}

.detail-item p {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.detail-item small {
    color: var(--gray);
    font-size: 0.875rem;
}

.contact-form-container {
    background: var(--off-white);
    padding: 3rem;
    border-radius: 20px;
    border: 2px solid var(--light-gray);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: var(--black);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group label i {
    color: var(--primary-blue);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem 1.5rem;
    border: 2px solid var(--light-gray);
    border-radius: 10px;
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: var(--transition);
}

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

.form-group small {
    color: var(--gray);
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin-top: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: 500;
}

.checkbox-label input {
    width: auto;
    cursor: pointer;
}

.form-notice {
    text-align: center;
    color: var(--gray);
    font-size: 0.875rem;
    margin-top: 1rem;
}

.form-notice i {
    color: var(--success);
}

/* ===================================
   Footer
   ================================== */
.footer {
    background: var(--black);
    color: var(--white);
    padding: 4rem 0 2rem;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-logo-image {
    height: 35px;
    width: auto;
    object-fit: contain;
}

.footer-logo i {
    color: var(--primary-blue);
}

.footer-desc {
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

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

.footer-section h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-links,
.footer-contact {
    list-style: none;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--gray);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-blue);
}

.footer-contact li {
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-contact i {
    color: var(--primary-blue);
}

.footer-partner-desc {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-partner-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 1rem;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.footer-partner-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.footer-partner-btn i {
    font-size: 1rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: var(--gray);
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: var(--gray);
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--primary-blue);
}

/* ===================================
   Floating Buttons
   ================================== */
.floating-buttons {
    position: fixed;
    right: 2rem;
    bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 999;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--white);
    font-size: 1.5rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.floating-btn:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.floating-quote {
    background: var(--primary-blue);
}

.floating-quote span {
    font-size: 0.625rem;
    font-weight: 600;
    line-height: 1.2;
    margin-top: 0.25rem;
}

.floating-chat {
    background: #10B981;
    color: white;
}

.floating-phone {
    background: #0066CC;
    color: white;
}

.floating-top {
    background: var(--dark-gray);
    opacity: 0;
    pointer-events: none;
}

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

/* ===================================
   Animations
   ================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ===================================
   Responsive Design
   ================================== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-header h2 {
        font-size: 2.25rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .footer-section:first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .promo-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .promo-banner {
        padding: 1.25rem 1.5rem;
    }

    .promo-content h3 {
        font-size: 1rem;
    }

    .promo-content p {
        font-size: 0.85rem;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-md);
        transition: var(--transition);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: block;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .stat-item {
        flex-direction: column;
        text-align: center;
        padding: 1rem 1.5rem;
    }

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

    .btn-large {
        width: 100%;
    }

    .section-header h2 {
        font-size: 1.875rem;
    }

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

    .diff-grid,
    .areas-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .calculator-form {
        flex-direction: column;
    }

    .calculator-input {
        width: 100%;
    }

    .contact-form-container {
        padding: 2rem;
    }

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

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

    .floating-buttons {
        right: 1rem;
        bottom: 1rem;
    }

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

    .cert-slider-wrapper {
        padding: 0 35px;
    }

    .cert-slider-btn {
        width: 35px;
        height: 35px;
        font-size: 0.875rem;
    }

    .cert-card {
        padding: 2rem 1.5rem;
    }

    .cert-image {
        width: 90px;
        height: 90px;
    }

    .cert-image i {
        font-size: 2.25rem;
    }

    .cert-info h5 {
        font-size: 1.25rem;
    }

    .cert-slider-title {
        font-size: 1.25rem;
    }

    .team-members {
        grid-template-columns: 1fr;
    }

    .member-photo {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .checkbox-group {
        grid-template-columns: 1fr;
    }

    .cert-card {
        padding: 1.5rem 1rem;
    }

    .member-photo {
        height: 250px;
    }

    .member-info {
        padding: 1.5rem;
    }

    .member-info h4 {
        font-size: 1.25rem;
    }

    .member-desc {
        font-size: 0.875rem;
    }

    .cert-info h5 {
        font-size: 1.125rem;
    }

    .cert-info p {
        font-size: 0.875rem;
    }

    .cert-number {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }

    .cert-view-btn,
    .cert-download-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }

    .cert-modal-content {
        width: 95%;
        height: 85vh;
    }

    .cert-modal-header h3 {
        font-size: 1.125rem;
    }

    .cert-image-slider-wrapper {
        padding: 0 35px;
    }

    .cert-image-slider-btn {
        width: 32px;
        height: 32px;
        font-size: 0.75rem;
    }

    .cert-slide-caption h5 {
        font-size: 1rem;
    }

    .cert-slide-caption p {
        font-size: 0.8rem;
    }

    .cert-slider-title {
        font-size: 1.125rem;
    }

    .cert-slider-actions {
        flex-direction: column;
        padding: 0 1rem;
    }

    .cert-view-btn-large,
    .cert-download-btn-large {
        width: 100%;
    }

    .cert-pdf-placeholder {
        min-height: 400px;
    }

    .cert-pdf-placeholder::before {
        font-size: 3.5rem;
    }

    /* 모바일: 브랜드 2개씩 표시 */
    .apartment-brands-section {
        padding: 3rem 0;
    }

    .brands-slider-wrapper {
        margin-top: 2rem;
    }

    .brands-slider {
        animation-duration: 20s;
    }

    .brand-item {
        width: calc(50vw - 2rem);
        min-width: 120px;
        padding: 0 1rem;
    }

    .brand-text {
        font-size: 1.25rem;
    }

    .brand-item[data-brand="xi"] .brand-text {
        font-size: 1.5rem;
    }

    .brand-item[data-brand="epenhan"] .brand-text {
        font-size: 1rem;
    }

    .brand-name {
        font-size: 0.75rem;
    }

    .brand-item[data-brand="xi"] .brand-text {
        font-size: 1.75rem;
    }

    .brand-item[data-brand="epenhan"] .brand-text {
        font-size: 1.25rem;
    }
}