@charset "utf-8";
/* ON9 Premium Design System - Robust Version with Mega Promo */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/variable/pretendardvariable.css');

/* 1. Global Reset & Base */
html { font-size: 16px !important; }
body {
    margin: 0; padding: 0;
    font-family: 'Pretendard Variable', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
    color: #111; background-color: #fff;
    line-height: 1.5; letter-spacing: -0.05em;
    overflow-x: hidden; width: 100%;
    -webkit-font-smoothing: antialiased;
    word-break: break-all;
}

#wrapper { min-width: 0 !important; width: 100% !important; }
#container_wr { width: 100% !important; max-width: 1400px !important; margin: 0 auto !important; }
#container { width: 100% !important; float: none !important; margin: 0 !important; padding: 0 !important; font-size: 16px !important; }
body { font-size: 16px !important; }

* { box-sizing: border-box; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; margin: 0; padding: 0; }
img { max-width: 100%; height: auto; display: block; margin: 0 auto; }

/* Device-specific Line Breaks */
.pc-br { display: inline; }
.mo-br { display: none; }
@media (max-width: 1024px) {
    .pc-br { display: none !important; }
    .mo-br { display: inline !important; }
}

/* 2. Layout Containers */
.on9-container {
    width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 40px; position: relative;
}
@media (max-width: 1024px) { .on9-container { padding: 0 24px; } }

/* 3. Typography */
.on9-h1 { font-size: 80px; font-weight: 800; line-height: 1.1; margin-bottom: 30px; word-break: keep-all; }
.on9-h2 { font-size: 56px; font-weight: 800; line-height: 1.2; margin-bottom: 30px; word-break: keep-all; }
.on9-h3 { font-size: 32px; font-weight: 700; word-break: keep-all; }
.on9-p { font-size: 24px; color: #666; font-weight: 500; line-height: 1.6; word-break: keep-all; }

@media (max-width: 1400px) { .on9-h1 { font-size: 64px; } .on9-h2 { font-size: 48px; } }
@media (max-width: 1024px) {
    .on9-h1 { font-size: 42px; } .on9-h2 { font-size: 32px; } .on9-h3 { font-size: 24px; } .on9-p { font-size: 18px; }
}
@media (max-width: 480px) { .on9-h1 { font-size: 32px; } .on9-h2 { font-size: 28px; } .on9-p { font-size: 16px; } }

.on9-red-text { color: #FF524D; }
.on9-blue-text { color: #43B4FB; }

/* 4. Header & Navigation */
.on9-header {
    position: fixed; top: 0; left: 0; width: 100%; height: 110px; background: transparent; z-index: 1000;
    transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); display: flex; align-items: center;
}
.on9-header.scrolled { height: 80px; background: rgba(255, 255, 255, 0.98); box-shadow: 0 4px 30px rgba(0,0,0,0.08); }
.on9-header-inner { display: flex; justify-content: space-between; align-items: center; width: 100%; height: 100%; max-width: 1400px; margin: 0 auto; padding: 0 40px; }
@media (max-width: 1024px) { .on9-header-inner { padding: 0 5px; } } /* Minimized padding for mobile */
.on9-logo { flex: 0 0 250px; display: flex; align-items: center; }
.on9-logo img { height: 48px; width: auto; transition: 0.3s; margin: 0; }
.on9-header.scrolled .on9-logo img { height: 36px; }

.on9-gnb { flex: 1; display: flex; justify-content: center; gap: 40px; height: 100%; }
.on9-gnb-item { display: flex; align-items: center; height: 100%; position: static; }
.on9-gnb-link { font-size: 20px; font-weight: 800; color: #fff; padding: 10px 0; white-space: nowrap; position: relative; }
.on9-header.scrolled .on9-gnb-link { color: #000; }
.on9-gnb-link::after { content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 4px; background: #FF524D; transition: 0.3s; }
.on9-gnb-item:hover .on9-gnb-link::after { width: 100%; }

.on9-header-right { flex: 0 0 auto; display: flex; justify-content: flex-end; align-items: center; gap: 10px; }
.on9-header .on9-btn-kakao { padding: 10px 25px !important; font-size: 16px !important; height: auto !important; background: #FFDE5A !important; color: #333 !important; border-radius: 100px !important; font-weight: 800 !important; }
.on9-header .on9-btn-tel { padding: 10px 20px !important; font-size: 15px !important; background: #f8fafc !important; color: #444 !important; border-radius: 100px !important; font-weight: 700 !important; border: 1px solid #e2e8f0 !important; }

/* Mega Menu */
.on9-mega-menu { position: absolute; top: 100%; left: 0; width: 100%; background: #fff; border-top: 1px solid #eee; padding: 60px 0; display: none; box-shadow: 0 30px 60px rgba(0,0,0,0.1); }
.on9-gnb-item:hover .on9-mega-menu { display: block; }
.on9-mega-inner { max-width: 1400px; margin: 0 auto; padding: 0 40px; display: grid; grid-template-columns: 1fr 1fr 2fr; gap: 60px; text-align: left; }
.on9-mega-column h4 { font-size: 20px; margin-bottom: 25px; font-weight: 800; color: #FF524D; }
.on9-mega-column ul li { margin-bottom: 12px; font-weight: 700; font-size: 16px; color: #555; line-height: 1.8; }
.on9-mega-column ul li a:hover { color: #FF524D; }

/* Navigation Event Badge */
.nav-event-badge {
    display: inline-block;
    background: linear-gradient(135deg, #FF6B35, #FF3D00);
    color: #fff !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    padding: 3px 8px;
    border-radius: 6px;
    margin-left: 6px;
    letter-spacing: 0;
    vertical-align: middle;
    animation: badgePulse 2s ease-in-out infinite;
    line-height: 1.4;
}
@keyframes badgePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Mega Menu Promo Section - RESTORED */
.on9-mega-promo { background: #f8f8f8; padding: 30px; border-radius: 24px; display: flex; gap: 20px; align-items: center; border: 1px solid #eee; }
.on9-mega-promo .promo-icon { width: 50px; height: 50px; background: #FF524D; color: #fff; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; flex-shrink: 0; }
.on9-mega-promo strong { display: block; font-size: 18px; font-weight: 800; color: #111; margin-bottom: 5px; }
.on9-mega-promo p { font-size: 14px; color: #666; margin: 0; }

/* 5. Quick Menu */
#side_lnk { position: fixed !important; right: 20px !important; bottom: 30px !important; z-index: 1500 !important; display: flex !important; flex-direction: column !important; gap: 12px !important; }
#side_lnk a, #side_lnk button, #side_lnk .d_btn { width: 60px !important; height: 60px !important; border-radius: 30px !important; display: flex !important; align-items: center !important; justify-content: center !important; background: #fff !important; box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important; border: none !important; transition: width 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), background 0.3s !important; overflow: hidden !important; padding: 0 !important; margin: 0 !important; position: relative !important; line-height: 1 !important; }
#side_lnk a:hover { width: 200px !important; justify-content: flex-end !important; padding-right: 17px !important; }
#side_lnk a span { position: absolute !important; left: 25px !important; top: 50% !important; transform: translateY(-50%) !important; font-size: 16px !important; font-weight: 800 !important; opacity: 0 !important; transition: 0.3s !important; white-space: nowrap !important; }
#side_lnk a:hover span { opacity: 1 !important; }
#side_lnk i, #side_lnk .icon, #side_lnk svg { position: static !important; width: 26px !important; height: 26px !important; display: block !important; margin: 0 !important; flex-shrink: 0 !important; stroke-width: 2px !important; }

#side_lnk .phone { background: #FF524D !important; }
#side_lnk .phone svg { color: #fff !important; stroke: #fff !important; }
#side_lnk .kakao { background: #FFDE5A !important; }
#side_lnk .kakao svg { color: #333 !important; stroke: #333 !important; }
#side_lnk .blog { background: #2DB400 !important; }
#side_lnk .blog svg { color: #fff !important; stroke: #fff !important; }
#side_lnk .company { background: #1A1A2E !important; }
#side_lnk .company svg { color: #fff !important; stroke: #fff !important; }
#side_lnk .company span { color: #fff !important; }
#side_lnk .d_btn { background: #000 !important; }
#side_lnk .d_btn svg { color: #fff !important; stroke: #fff !important; }

@media (max-width: 1024px) {
    #side_lnk { right: 15px !important; bottom: 20px !important; }
    #side_lnk a, #side_lnk button, #side_lnk .d_btn { width: 46px !important; height: 46px !important; }
}

/* 6. Sub Hero & Board Styles */
.on9-sub-hero { padding: 160px 0 80px; position: relative; color: #fff; text-align: center; }
.hero-vivid-red { background: #FF524D; }
.hero-orange { background: #FF8637; }
.hero-banana-yellow { background: #FFDE5A; color: #000; }
.hero-garden-green { background: #31B54C; }
.hero-bright-blue { background: #43B4FB; }
.hero-lavender { background: #DB95FD; color: #000; }

.on9-board-wrap { width: 100%; max-width: 1400px; margin: 0 auto; padding: 80px 40px; font-size: 14px; }
@media (max-width: 768px) {
    .on9-board-wrap { padding: 40px 15px !important; }
}

/* 7. Footer - DARK THEME */
.footer { padding: 100px 0; background: #111; color: #fff; }
.footer .add, .footer .info, .footer address { font-size: 15px !important; color: #aaa !important; line-height: 1.8 !important; }
.footer .customer_list { margin-bottom: 40px; border-bottom: 1px solid #333; padding-bottom: 20px; }
.footer .customer_list a { font-size: 21px !important; margin-right: 30px; color: #fff !important; font-weight: 800; }

.footer .btel strong { font-size: 40px !important; color: #fff !important; line-height: 1; display: block; margin-bottom: 10px; }
@media (max-width: 768px) {
    .footer .btel strong { font-size: 28px !important; }
}
@media (max-width: 480px) {
    .footer .btel strong { font-size: 24px !important; letter-spacing: -1px; }
}

@media (max-width: 1024px) {
    .footer .customer_list a { font-size: 16px !important; margin-right: 15px; }
}

/* 8. Mobile Navigation & Drawer */
.on9-mobile-toggle { display: none; flex-direction: column; gap: 7px; background: none; border: none; cursor: pointer; padding: 10px; position: relative; z-index: 1001; }
.on9-mobile-toggle span { width: 32px; height: 3px; background: #fff; transition: 0.3s; display: block; }
.on9-header.scrolled .on9-mobile-toggle span { background: #000; }

.on9-mobile-drawer { position: fixed; top: 0; right: -100%; width: 100%; height: 100%; background: #fff; z-index: 2000; transition: 0.5s; padding: 10px 20px; overflow-y: auto; display: block !important; }
.on9-mobile-drawer.active { right: 0; }
.drawer-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; padding: 10px 0; border-bottom: 1px solid #f1f1f1; }
.drawer-logo { height: 28px !important; width: auto !important; margin: 0 !important; }
.drawer-close { background: none; border: none; font-size: 60px; cursor: pointer; color: #000; line-height: 1; font-weight: 300; }

.drawer-nav { text-align: left; }
.drawer-item { margin-bottom: 35px; }
.drawer-title { display: block; font-size: 24px; font-weight: 800; color: #3b82f6; margin-bottom: 15px; border-bottom: 2px solid #f1f1f1; padding-bottom: 12px; }
.drawer-sub { padding-left: 10px; }
.drawer-sub li { margin-bottom: 12px; }
.drawer-sub li a { font-size: 18px; font-weight: 700; color: #444; display: block; }

@media (max-width: 1024px) {
    .on9-logo { flex: 1; }
    .on9-gnb { display: none; }
    .on9-mobile-toggle { display: flex; }
}

/* 9. Grid Responsiveness */
.on9-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 60px; align-items: center; }
.on9-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
@media (max-width: 1024px) {
    .on9-grid-2, .on9-grid-3 { grid-template-columns: 1fr; gap: 40px; }
    .on9-section { padding: 80px 0; }
}

.on9-section { padding: 120px 0; position: relative; overflow: hidden; }
.on9-section-gray { background: #F8F8F8; }
.on9-main-wrap { width: 100%; overflow: hidden; }

/* Buttons */
.on9-btn { display: inline-flex; align-items: center; justify-content: center; padding: 22px 50px; border-radius: 100px; font-size: 18px; font-weight: 800; transition: 0.4s; border: none; cursor: pointer; }
.on9-btn-primary { background: #FF524D; color: #fff; }
.on9-hide-mobile { @media (max-width: 1024px) { display: none !important; } }

/* 10. Checklist Component - Global Responsive */
@media (max-width: 960px) {
    .on9-checklist {
        padding: 24px 20px !important;
        border-radius: 20px !important;
    }
    .on9-check-item {
        padding: 16px 0 !important;
        gap: 12px !important;
        align-items: flex-start !important;
    }
    .on9-check-item i {
        font-size: 1.1rem !important;
        margin-top: 3px;
        flex-shrink: 0;
    }
    .on9-check-item span {
        font-size: 1rem !important;
        line-height: 1.6;
        word-break: keep-all;
    }
    .on9-check-item small {
        display: block;
        margin-left: 0 !important;
        margin-top: 2px;
        font-size: 0.85rem;
    }
    .on9-info-box {
        padding: 24px 20px !important;
        border-radius: 16px !important;
        margin-top: 40px !important;
    }
    .on9-info-box h3 {
        font-size: 1.1rem !important;
        margin-bottom: 16px !important;
    }
    .on9-info-box ul li {
        font-size: 0.9rem !important;
        line-height: 1.7;
        margin-bottom: 12px !important;
        word-break: keep-all;
    }
}
