/* ==========================================================================
   (주)경원산업 (KYUNGWON INDUSTRIAL CO., LTD.) Master Stylesheet
   - Automotive Surface Treatment & Smart Eco-Factory Specialization
   - Premium Luxury Tech Minimalist Aesthetic (Refined Weights & Deep Obsidian Carbon)
   - Benchmark: Genesis, Seoyon E-Hwa, SL Corporation
   ========================================================================== */

@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    /* Luxury Tech Obsidian Carbon Palette */
    --kw-dark-bg: #080B10;
    --kw-dark-surface: #0E131D;
    --kw-dark-elevated: #151B26;
    --kw-dark-border: rgba(255, 255, 255, 0.08);
    --kw-dark-border-hover: rgba(255, 255, 255, 0.22);
    
    /* Legacy variables mapping for full compatibility */
    --kw-navy-950: #080B10;
    --kw-navy-900: #0E131D;
    --kw-navy-850: #151B26;
    --kw-navy-800: #1B2232;
    --kw-navy-700: #263348;
    
    /* Sophisticated Accents (Subtle & Restrained) */
    --kw-eco-emerald: #059669;
    --kw-eco-green: #10B981;
    --kw-eco-green-light: #34D399;
    --kw-eco-green-glow: rgba(16, 185, 129, 0.15);
    --kw-cyan-400: #38BDF8;
    --kw-blue-500: #2563EB;
    
    /* Neutral Shades */
    --kw-slate-900: #0F172A;
    --kw-slate-800: #1E293B;
    --kw-slate-700: #334155;
    --kw-slate-600: #475569;
    --kw-slate-500: #64748B;
    --kw-slate-400: #94A3B8;
    --kw-slate-300: #CBD5E1;
    --kw-slate-200: #E2E8F0;
    --kw-slate-100: #F1F5F9;
    --kw-slate-50: #F8FAFC;
    --kw-white: #FFFFFF;
    
    --kw-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
    --kw-shadow-md: 0 4px 20px rgba(0, 0, 0, 0.06);
    --kw-shadow-lg: 0 14px 40px rgba(0, 0, 0, 0.10);
    --kw-shadow-glow: 0 0 25px rgba(16, 185, 129, 0.15);
    
    --kw-font-sans: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
    --kw-font-en: 'Montserrat', 'Outfit', sans-serif;
}

/* Reset & Global */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--kw-font-sans);
    color: var(--kw-slate-800);
    background-color: #FFFFFF;
    line-height: 1.7;
    font-weight: 400;
    word-break: keep-all;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.25s ease;
}

a:hover {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

/* Container */
.kw-container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

.kw-container-wide {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography Helpers */
.kw-font-en {
    font-family: var(--kw-font-en);
}

.kw-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--kw-eco-green);
    display: inline-block;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.8);
    animation: kwPulse 2s infinite ease-in-out;
}

@keyframes kwPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

.kw-badge-eco {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 9999px;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    background: rgba(255, 255, 255, 0.06);
    color: #E2E8F0;
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(12px);
}

.kw-badge-eco i {
    color: var(--kw-eco-green);
    font-size: 0.85rem;
}

.kw-badge-tech {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    background: rgba(148, 163, 184, 0.1);
    color: var(--kw-slate-600);
    border: 1px solid rgba(148, 163, 184, 0.2);
}

/* ==========================================================================
   Header & GNB
   ========================================================================== */
.kw-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(8, 11, 16, 0.75);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.kw-header.scrolled {
    background: rgba(8, 11, 16, 0.94);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.kw-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 86px;
    transition: height 0.3s ease;
}

.kw-header.scrolled .kw-header-inner {
    height: 74px;
}

/* Logo */
.kw-logo a {
    display: flex;
    align-items: center;
    gap: 12px;
}

.kw-logo img {
    height: 38px;
    width: auto;
    transition: all 0.3s ease;
}

.kw-header.scrolled .kw-logo img {
    height: 34px;
}

/* GNB Navigation */
.kw-nav {
    display: flex;
    align-items: center;
}

.kw-gnb {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 40px;
    margin: 0;
    padding: 0;
}

.kw-gnb > li {
    position: relative;
}

.kw-gnb > li > a {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.96rem;
    font-weight: 500;
    color: #E2E8F0;
    padding: 10px 0;
    position: relative;
    transition: color 0.2s ease;
    letter-spacing: -0.01em;
}

.kw-gnb > li > a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #FFFFFF;
    transition: width 0.25s ease;
}

.kw-gnb > li:hover > a,
.kw-gnb > li.active > a {
    color: #FFFFFF;
}

.kw-gnb > li:hover > a::after,
.kw-gnb > li.active > a::after {
    width: 100%;
}

.kw-menu-esg > a .esg-tag {
    font-size: 0.72rem;
    padding: 2px 7px;
    border-radius: 9999px;
    background: rgba(16, 185, 129, 0.15);
    color: var(--kw-eco-green-light);
    border: 1px solid rgba(16, 185, 129, 0.4);
    margin-left: 6px;
    font-weight: 600;
    vertical-align: middle;
}

/* Submenu Dropdown */
.kw-sub {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(12px);
    width: 230px;
    background: rgba(14, 19, 29, 0.98);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 8px 0;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.kw-gnb > li:hover .kw-sub {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.kw-sub li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 20px;
    font-size: 0.92rem;
    font-weight: 400;
    color: #CBD5E1;
    transition: all 0.2s ease;
}

.kw-sub li a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #FFFFFF;
    padding-left: 24px;
}

.kw-sub li a i {
    font-size: 0.7rem;
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.2s ease;
    color: #94A3B8;
}

.kw-sub li a:hover i {
    opacity: 1;
    transform: translateX(0);
}

/* Header Utilities */

.kw-lang-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.84rem;
    font-weight: 500;
    padding: 5px 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
}

.kw-lang-toggle span.active {
    color: #FFFFFF;
    font-weight: 600;
}

.kw-header-util {
    display: flex;
    align-items: center;
    gap: 16px;
}

.kw-btn-inquiry {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 20px;
    background: #FFFFFF;
    color: #080B10 !important;
    font-size: 0.88rem;
    font-weight: 600;
    border-radius: 9999px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    transition: all 0.25s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.kw-btn-inquiry:hover {
    background: #F1F5F9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.15);
}

.kw-mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 6px;
}

/* ==========================================================================
   Hero Section (Main Page with Looping Video)
   ========================================================================== */
.kw-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 130px;
    padding-bottom: 90px;
    background: #080B10;
    overflow: hidden;
    color: white;
}

.kw-hero-video-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.kw-hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.kw-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(8, 11, 16, 0.74) 0%,
        rgba(8, 11, 16, 0.42) 45%,
        rgba(8, 11, 16, 0.96) 100%
    );
    z-index: 2;
}

.kw-hero-content {
    position: relative;
    z-index: 4;
    max-width: 980px;
}

.kw-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 18px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #E2E8F0;
    font-size: 0.88rem;
    font-weight: 450;
    margin-bottom: 24px;
    backdrop-filter: blur(14px);
}

.kw-hero-title {
    font-size: 3.4rem;
    font-weight: 600;
    line-height: 1.22;
    letter-spacing: -0.025em;
    margin-bottom: 20px;
    color: #FFFFFF;
}

.kw-hero-title .gradient-text {
    background: linear-gradient(135deg, #FFFFFF 30%, #E2E8F0 70%, #94A3B8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.kw-hero-desc {
    font-size: 1.15rem;
    color: #94A3B8;
    line-height: 1.8;
    margin-bottom: 38px;
    max-width: 780px;
    font-weight: 350;
    letter-spacing: -0.01em;
}

.kw-hero-btns {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.kw-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 34px;
    border-radius: 9999px;
    background: #FFFFFF;
    color: #080B10 !important;
    font-size: 0.98rem;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.25s ease;
    border: none;
}

.kw-btn-primary:hover {
    transform: translateY(-2px);
    background: #F1F5F9;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.kw-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.05);
    color: white !important;
    font-size: 0.98rem;
    font-weight: 450;
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
    transition: all 0.25s ease;
}

.kw-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
}

/* Floating Stats Grid */
.kw-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 26px 32px;
    background: rgba(14, 19, 29, 0.65);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.kw-stat-item {
    text-align: center;
    position: relative;
}

.kw-stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.kw-stat-number {
    font-family: var(--kw-font-en);
    font-size: 2.2rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 6px;
    color: #FFFFFF;
}

.kw-stat-label {
    font-size: 0.88rem;
    color: #94A3B8;
    font-weight: 400;
}

.kw-stat-sub {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 4px;
    font-weight: 400;
}

/* ==========================================================================
   Section Common Styles
   ========================================================================== */
.kw-section {
    padding: 100px 0;
    position: relative;
}

.kw-section-dark {
    background-color: #080B10;
    color: white;
}

.kw-section-light {
    background-color: #F8FAFC;
    color: var(--kw-slate-800);
}

.kw-section-white {
    background-color: #FFFFFF;
    color: var(--kw-slate-800);
}

.kw-section-header {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 60px;
}

.kw-section-badge {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 9999px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.kw-section-title {
    font-size: 2.35rem;
    font-weight: 650;
    line-height: 1.3;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    color: #0F172A;
}

.kw-section-dark .kw-section-title {
    color: #FFFFFF;
}

.kw-section-desc {
    font-size: 1.05rem;
    color: #64748B;
    line-height: 1.75;
    font-weight: 350;
    letter-spacing: -0.01em;
}

.kw-section-dark .kw-section-desc {
    color: #94A3B8;
}

/* ==========================================================================
   Factory Expansion Showcase (Plant Section)
   ========================================================================== */
.kw-plant-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 40px;
}

.kw-plant-card {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--kw-shadow-md);
    border: 1px solid var(--kw-slate-200);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.kw-plant-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--kw-shadow-lg);
    border-color: #CBD5E1;
}

.kw-plant-thumb {
    position: relative;
    height: 300px;
    overflow: hidden;
    background: #0E131D;
}

.kw-plant-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.kw-plant-card:hover .kw-plant-thumb img {
    transform: scale(1.05);
}

.kw-plant-tag {
    position: absolute;
    top: 18px;
    left: 18px;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    color: white;
    background: rgba(8, 11, 16, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.kw-plant-tag.headquarters {
    background: rgba(8, 11, 16, 0.9);
    border-color: rgba(16, 185, 129, 0.35);
}

.kw-plant-body {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.kw-plant-title {
    font-size: 1.45rem;
    font-weight: 650;
    color: #0F172A;
    margin-bottom: 10px;
    letter-spacing: -0.015em;
}

.kw-plant-desc {
    font-size: 0.96rem;
    color: var(--kw-slate-600);
    margin-bottom: 22px;
    line-height: 1.65;
    font-weight: 350;
}

.kw-plant-specs {
    list-style: none;
    padding: 0;
    margin: 0 0 22px;
    border-top: 1px solid var(--kw-slate-100);
    padding-top: 18px;
}

.kw-plant-specs li {
    display: flex;
    justify-content: space-between;
    padding: 7px 0;
    font-size: 0.92rem;
    border-bottom: 1px dashed var(--kw-slate-100);
}

.kw-plant-specs li span.label {
    color: var(--kw-slate-500);
    font-weight: 400;
}

.kw-plant-specs li span.val {
    color: #0F172A;
    font-weight: 600;
}

/* ==========================================================================
   ESG Eco-Factory Section
   ========================================================================== */
.kw-esg-spotlight {
    position: relative;
    background: #080B10;
}

.kw-esg-metrics-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.kw-esg-metric-card {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    padding: 24px 20px;
    text-align: center;
    backdrop-filter: blur(14px);
    transition: all 0.3s ease;
}

.kw-esg-metric-card:hover {
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-3px);
}

.kw-esg-metric-icon {
    font-size: 1.6rem;
    color: #94A3B8;
    margin-bottom: 10px;
}

.kw-esg-metric-val {
    font-family: var(--kw-font-en);
    font-size: 2.1rem;
    font-weight: 600;
    color: #FFFFFF;
    line-height: 1.1;
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}

.kw-esg-metric-val span {
    font-size: 0.92rem;
    color: #94A3B8;
    font-weight: 400;
    margin-left: 4px;
}

.kw-esg-metric-title {
    font-size: 0.88rem;
    color: #64748B;
    font-weight: 400;
}

/* 4 Core Eco Technologies Grid */
.kw-esg-tech-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.kw-esg-tech-card {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    padding: 28px;
    backdrop-filter: blur(14px);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.kw-esg-tech-card:hover {
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-4px);
}

.kw-esg-tech-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.kw-esg-tech-number {
    font-family: var(--kw-font-en);
    font-size: 1.4rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.2);
}

.kw-esg-tech-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 10px;
    letter-spacing: -0.015em;
}

.kw-esg-tech-desc {
    font-size: 0.94rem;
    color: #94A3B8;
    line-height: 1.7;
    margin-bottom: 20px;
    font-weight: 350;
}

.kw-esg-highlights {
    display: flex;
    gap: 16px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    flex-wrap: wrap;
}

.kw-esg-hl-item {
    font-size: 0.85rem;
    color: #CBD5E1;
    display: flex;
    align-items: center;
    gap: 6px;
}

.kw-esg-hl-item i {
    color: var(--kw-eco-green-light);
    font-size: 0.8rem;
}

/* Before / After Comparison Layout (ESG Eco-Factory Refined Glassmorphism) */
.kw-comparison {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 16px;
    margin-top: auto;
}

.kw-comp-box {
    text-align: center;
}

.kw-comp-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 0.76rem;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.kw-comp-box.before .kw-comp-badge {
    background: rgba(239, 68, 68, 0.15);
    color: #F87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.kw-comp-box.after .kw-comp-badge {
    background: rgba(16, 185, 129, 0.15);
    color: #34D399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.kw-comp-img {
    height: 140px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 8px;
    background: #080B10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kw-comp-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.kw-comp-text {
    font-size: 0.84rem;
    color: #94A3B8;
    line-height: 1.45;
    font-weight: 400;
}


/* ==========================================================================
   Product Showcase
   ========================================================================== */
.kw-product-tabs {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.kw-prod-tab {
    padding: 10px 22px;
    border-radius: 9999px;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--kw-slate-600);
    background: white;
    border: 1px solid var(--kw-slate-200);
    cursor: pointer;
    transition: all 0.2s ease;
}

.kw-prod-tab:hover,
.kw-prod-tab.active {
    background: #080B10;
    color: white;
    border-color: #080B10;
}

.kw-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.kw-product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--kw-slate-200);
    box-shadow: var(--kw-shadow-sm);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.kw-product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--kw-shadow-md);
    border-color: #CBD5E1;
}

.kw-product-thumb {
    height: 200px;
    background: #F8FAFC;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.kw-product-thumb img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.kw-product-card:hover .kw-product-thumb img {
    transform: scale(1.06);
}

.kw-product-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.kw-product-category {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--kw-slate-500);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.kw-product-title {
    font-size: 1.08rem;
    font-weight: 650;
    color: #0F172A;
    margin-bottom: 6px;
    letter-spacing: -0.015em;
}

.kw-product-desc {
    font-size: 0.86rem;
    color: var(--kw-slate-500);
    line-height: 1.5;
    margin-top: auto;
    font-weight: 350;
}

/* ==========================================================================
   Manufacturing & Quality / Facilities Section
   ========================================================================== */
.kw-tech-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    margin-bottom: 45px;
}

.kw-tech-card {
    background: white;
    border-radius: 16px;
    padding: 32px 26px;
    border: 1px solid var(--kw-slate-200);
    box-shadow: var(--kw-shadow-sm);
    transition: all 0.3s ease;
}

.kw-tech-card:hover {
    transform: translateY(-5px);
    border-color: #CBD5E1;
    box-shadow: var(--kw-shadow-md);
}

.kw-tech-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: #F1F5F9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #0F172A;
    margin-bottom: 18px;
}

.kw-tech-title {
    font-size: 1.25rem;
    font-weight: 650;
    color: #0F172A;
    margin-bottom: 10px;
    letter-spacing: -0.015em;
}

.kw-tech-desc {
    font-size: 0.92rem;
    color: var(--kw-slate-600);
    line-height: 1.65;
    font-weight: 350;
}

/* ==========================================================================
   Certifications & Awards
   ========================================================================== */
.kw-cert-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
}

.kw-cert-card {
    background: white;
    border-radius: 12px;
    padding: 16px;
    border: 1px solid var(--kw-slate-200);
    text-align: center;
    transition: all 0.25s ease;
    box-shadow: var(--kw-shadow-sm);
}

.kw-cert-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--kw-shadow-md);
    border-color: #94A3B8;
}

.kw-cert-thumb {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    overflow: hidden;
    background: #F8FAFC;
    border-radius: 6px;
}

.kw-cert-thumb img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.kw-cert-name {
    font-size: 0.88rem;
    font-weight: 600;
    color: #0F172A;
    line-height: 1.35;
}

.kw-cert-org {
    font-size: 0.75rem;
    color: var(--kw-slate-500);
    margin-top: 3px;
    font-weight: 400;
}

/* ==========================================================================
   Partner Logo Marquee
   ========================================================================== */
.kw-partners-wrap {
    overflow: hidden;
    padding: 24px 0;
    position: relative;
}

.kw-partners-wrap::before,
.kw-partners-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    width: 80px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.kw-partners-wrap::before {
    left: 0;
    background: linear-gradient(90deg, #F8FAFC, transparent);
}

.kw-partners-wrap::after {
    right: 0;
    background: linear-gradient(270deg, #F8FAFC, transparent);
}

.kw-partners-list {
    display: flex;
    align-items: center;
    gap: 50px;
    animation: marquee 25s linear infinite;
    width: max-content;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.kw-partner-item {
    filter: grayscale(100%);
    opacity: 0.55;
    transition: all 0.3s ease;
    height: 36px;
    display: flex;
    align-items: center;
}

.kw-partner-item:hover {
    filter: grayscale(0%);
    opacity: 0.95;
    transform: scale(1.05);
}

.kw-partner-item img {
    max-height: 36px;
    width: auto;
}

/* ==========================================================================
   Call To Action (RFQ) Banner
   ========================================================================== */
.kw-cta-banner {
    background: #0E131D;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 55px 48px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.kw-cta-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
}

.kw-cta-title {
    font-size: 2.1rem;
    font-weight: 650;
    line-height: 1.3;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.kw-cta-desc {
    font-size: 1.02rem;
    color: #94A3B8;
    line-height: 1.65;
    font-weight: 350;
}

.kw-cta-btn {
    position: relative;
    z-index: 2;
    padding: 16px 36px;
    background: white;
    color: #080B10 !important;
    font-size: 0.98rem;
    font-weight: 600;
    border-radius: 9999px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.25s ease;
    white-space: nowrap;
}

.kw-cta-btn:hover {
    background: #F1F5F9;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   Subpage Common Layout
   ========================================================================== */
.kw-sub-hero {
    position: relative;
    padding: 160px 0 85px;
    background: #080B10;
    color: white;
    text-align: center;
    overflow: hidden;
}

.kw-sub-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.25;
}

.kw-sub-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(8, 11, 16, 0.75) 0%, rgba(8, 11, 16, 0.98) 100%);
}

.kw-sub-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.kw-sub-hero-subtitle {
    font-family: var(--kw-font-en);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--kw-eco-green-light);
    margin-bottom: 10px;
}

.kw-sub-hero-title {
    font-size: 2.8rem;
    font-weight: 650;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.kw-sub-hero-desc {
    font-size: 1.08rem;
    color: #94A3B8;
    line-height: 1.7;
    font-weight: 350;
}

/* Breadcrumb Bar */
.kw-sub-nav-bar {
    background: white;
    border-bottom: 1px solid var(--kw-slate-200);
    position: sticky;
    top: 74px;
    z-index: 100;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.kw-sub-nav-list {
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
    overflow-x: auto;
}

.kw-sub-nav-list li a {
    display: block;
    padding: 16px 24px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--kw-slate-600);
    position: relative;
    white-space: nowrap;
}

.kw-sub-nav-list li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #080B10;
    transition: width 0.25s ease;
}

.kw-sub-nav-list li.active a,
.kw-sub-nav-list li a:hover {
    color: #080B10;
    font-weight: 600;
}

.kw-sub-nav-list li.active a::after {
    width: 100%;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.kw-footer {
    background: #06090E;
    color: #94A3B8;
    padding: 80px 0 36px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.kw-footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 45px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 35px;
}

.kw-footer-logo img {
    height: 40px;
    margin-bottom: 20px;
}

.kw-footer-slogan {
    font-size: 0.92rem;
    color: #94A3B8;
    line-height: 1.7;
    margin-bottom: 20px;
    font-weight: 350;
}

.kw-footer-col h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.kw-footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 2px;
    background: rgba(255, 255, 255, 0.4);
}

.kw-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.kw-footer-links li {
    margin-bottom: 10px;
}

.kw-footer-links li a {
    color: #94A3B8;
    font-size: 0.88rem;
    font-weight: 400;
    transition: all 0.2s ease;
}

.kw-footer-links li a:hover {
    color: #FFFFFF;
    padding-left: 4px;
}

.kw-footer-plants {
    font-size: 0.86rem;
    line-height: 1.65;
    font-weight: 350;
}

.kw-footer-plant-item {
    margin-bottom: 16px;
}

.kw-footer-plant-item strong {
    color: #FFFFFF;
    display: block;
    margin-bottom: 4px;
    font-weight: 550;
}

.kw-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.84rem;
    color: #64748B;
}

/* Back to top button */
.kw-back-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #0E131D;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    z-index: 998;
}

.kw-back-top.show {
    opacity: 1;
    visibility: visible;
}

.kw-back-top:hover {
    background: #1E293B;
    transform: translateY(-3px);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1200px) {
    .kw-hero-title {
        font-size: 2.9rem;
    }
    
    .kw-gnb {
        gap: 26px;
    }
    
    .kw-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .kw-product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .kw-cert-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .kw-footer-top {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .kw-mobile-toggle {
        display: block;
    }
    
    .kw-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        height: 100vh;
        background: #080B10;
        padding: 90px 24px 40px;
        flex-direction: column;
        align-items: flex-start;
        transition: right 0.35s ease;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.6);
        overflow-y: auto;
    }
    
    .kw-nav.active {
        right: 0;
    }
    
    .kw-gnb {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 0;
    }
    
    .kw-gnb > li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }
    
    .kw-gnb > li > a {
        padding: 16px 0;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .kw-sub {
        position: static;
        transform: none;
        width: 100%;
        opacity: 1;
        visibility: visible;
        display: none;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.03);
        border: none;
        padding: 8px 0;
        border-radius: 8px;
        margin-bottom: 12px;
    }
    
    .kw-gnb > li.open .kw-sub {
        display: block;
    }
    
    .kw-plant-grid,
    .kw-esg-tech-grid,
    .kw-tech-features {
        grid-template-columns: 1fr;
    }
    
    .kw-esg-metrics-bar {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .kw-product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .kw-cta-banner {
        flex-direction: column;
        text-align: center;
        gap: 28px;
        padding: 45px 28px;
    }
}

@media (max-width: 640px) {
    .kw-hero-title {
        font-size: 2.2rem;
    }
    
    .kw-hero-desc {
        font-size: 0.98rem;
    }
    
    .kw-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 20px;
    }
    
    .kw-stats-grid .kw-stat-item:nth-child(2)::after {
        display: none;
    }
    
    .kw-product-grid {
        grid-template-columns: 1fr;
    }
    
    .kw-cert-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .kw-footer-top {
        grid-template-columns: 1fr;
    }
    
    .kw-footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

/* ==========================================================================
   Real Factory Video Hub & Interactive Showcase
   ========================================================================== */
.kw-factory-video-hub {
    display: grid;
    grid-template-columns: 1.55fr 1fr;
    gap: 32px;
    align-items: stretch;
    margin-top: 40px;
}

.kw-video-main-stage {
    background: #0E131D;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
}

.kw-video-viewport {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    overflow: hidden;
    border-radius: 20px;
}

.kw-video-viewport video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.kw-video-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(8, 11, 16, 0.88);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #FFFFFF;
    font-size: 0.82rem;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 5;
    pointer-events: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.kw-video-tabs-panel {
    display: flex;
    flex-direction: column;
    gap: 14px;
    justify-content: center;
}

.kw-vtab-item {
    background: #0E131D;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.kw-vtab-item:hover {
    background: #151B26;
    border-color: rgba(16, 185, 129, 0.4);
    transform: translateX(4px);
}

.kw-vtab-item.active {
    background: #151B26;
    border-color: #10B981;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.15);
}

.kw-vtab-thumb {
    position: relative;
    width: 110px;
    height: 68px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #000;
}

.kw-vtab-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.kw-vtab-item:hover .kw-vtab-thumb img {
    transform: scale(1.06);
}

.kw-vtab-play-icon {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.85);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    padding-left: 2px;
    transition: transform 0.2s ease, background 0.2s ease;
}

.kw-vtab-item.active .kw-vtab-play-icon {
    background: #10B981;
    transform: scale(1.1);
}

.kw-vtab-info {
    flex: 1;
    min-width: 0;
}

.kw-vtab-tag {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #10B981;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 2px;
}

.kw-vtab-title {
    font-size: 0.95rem;
    font-weight: 650;
    color: #FFFFFF;
    margin-bottom: 2px;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.kw-vtab-desc {
    font-size: 0.8rem;
    color: #94A3B8;
    margin: 0;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 992px) {
    .kw-factory-video-hub {
        grid-template-columns: 1fr;
    }
}

