/* CSS Variables */
:root {
    --bg-color: #0a0a0a;
    --bg-darker: #000000;
    --text-color: #e0e0e0;
    --text-muted: #a0a0a0;
    --primary-color: #000000;
    /* Deep Indigo for Trust */
    --accent-color: #E80112;
    /* Safety Orange for Industry Accent */
    --metal-silver: #bdc3c7;
    --border-color: #333;

    --font-main: 'Noto Sans KR', sans-serif;
    --font-eng: 'Roboto', sans-serif;

    --container-width: 1200px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

.bg-darker {
    background-color: var(--bg-darker);
}

.subtitle {
    display: block;
    font-family: var(--font-eng);
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

p {
    color: var(--text-muted);
}

/* Header */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px; /* 고정 높이 설정으로 더 슬림하게 변경 */
    z-index: 1000;
    padding: 0;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

#main-header .container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px; /* 상단 바 높이를 줄이고 로고를 면적에 꽉 채움 */
    width: auto;
    display: block;
}

.logo .highlight {
    color: var(--metal-silver);
    font-weight: 300;
}

#main-nav ul {
    display: flex;
    gap: 30px;
}

#main-nav a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-color);
    position: relative;
    padding: 10px 0; /* 수직 정렬을 위한 패딩 조정 */
}

#main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

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

#main-nav a.active {
    color: #fff;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
    z-index: 1001;
}

.mobile-menu-btn i {
    transition: var(--transition);
}

.mobile-menu-btn.active i {
    transform: rotate(90deg);
}

/* Scroll Hero Section */
#scroll-hero-wrapper {
    position: relative;
}

#scroll-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* 영상 레이어 */
.hero-video-layer {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-vid {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.hero-vid.active {
    opacity: 1;
}

.scroll-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.75) 0%,
        rgba(0, 0, 0, 0.4) 60%,
        rgba(0, 0, 0, 0.1) 100%
    );
    z-index: 1;
}

/* 챕터 전환 오버레이 */
#chapter-transition {
    position: absolute;
    inset: 0;
    background: #000;
    z-index: 10;
    opacity: 0;
    pointer-events: none;
}

/* 텍스트 레이어 */
.hero-text-layer {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.hero-text-slide {
    position: absolute;
    left: 8%;
    top: 50%;
    transform: translateY(-50%);
    max-width: 600px;
    opacity: 0;
    pointer-events: none;
}

.hero-text-slide.active {
    pointer-events: auto;
}

.slide-title {
    font-size: 5.5rem;
    font-weight: 900;
    color: #fff;
    line-height: 1.05;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.slide-desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
}

.slide-btns {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    pointer-events: auto;
}

.hero-text-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    padding-bottom: 6px;
    transition: var(--transition);
    pointer-events: auto;
}

.hero-text-btn i {
    transition: var(--transition);
}

.hero-text-btn:hover {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

.hero-text-btn:hover i {
    transform: translateX(6px);
}

@media (max-width: 768px) {
    .slide-title { font-size: 3.2rem; }
    .hero-text-slide { left: 5%; right: 5%; max-width: 100%; }
}

/* Hero Section (legacy — kept for sub-page scroll-down element) */
#hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}


.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.95));
    z-index: 1;
    pointer-events: none;
    /* 마우스 이벤트가 아래 Spline 모델에 전달되도록 함 */
}

.spline-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.spline-container iframe {
    pointer-events: auto;
    /* 마우스 트래킹을 위해 이벤트 수신 활성화 */
}

@media (max-width: 768px) {
    .spline-container {
        opacity: 0.6;
        /* 모바일에서 텍스트 가독성을 위해 투명도 조절 */
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    pointer-events: none;
    /* 텍스트가 마우스 이벤트를 가로채지 않도록 함 */
}


.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    pointer-events: auto;
    /* 버튼 영역은 다시 클릭 가능하게 설정 */
}

.hero-content h2 {
    font-family: var(--font-eng);
    font-size: 1.5rem;
    color: var(--metal-silver);
    letter-spacing: 5px;
    margin-bottom: 10px;
}

.stroke-text {
    -webkit-text-stroke: 1px var(--metal-silver);
    color: transparent;
}

.hero-content h1 {
    font-size: 6rem;
    font-weight: 900;
    color: var(--accent-color);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    letter-spacing: -2px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #ddd;
}


.btn {
    padding: 15px 40px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 2px;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
}

.btn-primary {
    background-color: var(--text-color);
    color: #000;
    border: 2px solid var(--text-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--text-color);
}

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

.btn-outline:hover {
    background-color: var(--text-color);
    color: #000;
}

.btn-link {
    display: inline-flex;
    align-items: center;
    color: var(--accent-color);
    font-weight: 700;
    margin-top: 20px;
    font-size: 1rem;
}

.btn-link i {
    margin-left: 10px;
    transition: var(--transition);
}

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

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--metal-silver);
    font-size: 0.8rem;
    z-index: 1;
    animation: bounce 2s infinite;
}

.scroll-down i {
    margin-top: 10px;
}

/* Sub Page Header */
.sub-header {
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: url('images/hero-bg.jpg') no-repeat center center/cover;
    background-attachment: fixed;
}

.sub-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.sub-header .container {
    position: relative;
    z-index: 2;
}

.sub-header h1 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.sub-header p {
    font-size: 1.2rem;
    color: #ccc;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.img-placeholder {
    width: 100%;
    height: 400px;
    background-color: #222;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #444;
    border: 1px solid #333;
}

.about-text .lead {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 20px;
    font-weight: 500;
}

.about-text .signature {
    margin-top: 30px;
    font-family: var(--font-eng);
    color: #fff;
    font-size: 1.1rem;
}

.check-list {
    margin-top: 30px;
}

.check-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1.05rem;
    color: #ccc;
}

.check-list i {
    color: var(--accent-color);
    margin-right: 15px;
    font-size: 0.9rem;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
}

.stat-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    padding: 30px;
    border-left: 3px solid var(--accent-color);
    text-align: center;
    transition: var(--transition);
}

.stat-item:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    transform: translateX(10px);
}

.stat-item .count {
    font-size: 3rem;
    font-weight: 900;
    color: #fff;
    font-family: var(--font-eng);
}

/* Core Technology Styling */
.tech-highlight {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.tech-card {
    background-color: #1a1a1a;
    border: 1px solid #333;
    padding: 50px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 40px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.tech-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--accent-color);
}

.tech-card:hover {
    border-color: var(--accent-color);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    background-color: #222;
}

.tech-icon {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    background-color: rgba(232, 1, 18, 0.1);
    border: 1px solid rgba(232, 1, 18, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--accent-color);
    transition: var(--transition);
}

.tech-card:hover .tech-icon {
    background-color: var(--accent-color);
    color: #fff;
    transform: scale(1.1) rotate(10deg);
}

.tech-info h3 {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 15px;
    font-family: var(--font-eng);
}

.tech-info p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
}

@media (max-width: 992px) {
    .tech-card {
        flex-direction: column;
        text-align: center;
        padding: 40px 30px;
    }
    
    .tech-icon {
        margin-bottom: 20px;
    }
}

.stat-item p {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

/* Core Values (About Page) */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.value-item {
    text-align: center;
    padding: 40px 20px;
    background-color: #1a1a1a;
    border: 1px solid #333;
    transition: var(--transition);
}

.value-item:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
}

.value-item i {
    font-size: 2.5rem;
    color: var(--metal-silver);
    margin-bottom: 20px;
}

.value-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #fff;
}

/* Vision Declaration Section */
.vision-section {
    background: #0a0a0a;
}

.vision-declaration {
    max-width: 800px;
    margin: 0 auto;
}

.vd-header {
    text-align: center;
    margin-bottom: 60px;
    padding-bottom: 48px;
    border-bottom: 1px solid #222;
}

.vd-title {
    font-size: 2.4rem;
    font-weight: 900;
    color: #fff;
    margin: 16px 0 12px;
    letter-spacing: -1px;
}

.vd-company {
    font-size: 1rem;
    color: var(--accent-color);
    font-weight: 500;
    letter-spacing: 1px;
}

.vd-body {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.vd-body p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 2;
    word-break: keep-all;
}

.vd-body em {
    color: rgba(255, 255, 255, 0.9);
    font-style: normal;
}

.vd-body strong {
    color: #fff;
    font-weight: 700;
}

.vd-emphasis {
    border-left: 3px solid var(--accent-color);
    padding-left: 24px;
    color: rgba(255, 255, 255, 0.8) !important;
}

.vd-closing {
    font-size: 1.05rem !important;
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500;
}

.vd-footer {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #222;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.vd-core-values {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: var(--font-eng);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
}

.vd-dot {
    color: var(--accent-color);
}

.vd-date {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.3);
    font-family: var(--font-eng);
    letter-spacing: 1px;
}

/* Business Section */
.business-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.header-desc {
    max-width: 600px;
    margin: 0;
}

.b-card {
    background-color: #1e1e1e;
    padding: 40px;
    position: relative;
    border: 1px solid #333;
    transition: var(--transition);
    overflow: hidden;
    display: block;
    /* For anchor */
}

.b-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.b-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    background-color: #252525;
}

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

.b-card-icon {
    font-size: 3rem;
    color: var(--metal-silver);
    margin-bottom: 25px;
}

.b-card h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 10px;
}

.b-card .en-title {
    font-family: var(--font-eng);
    font-size: 0.85rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.b-card .desc {
    margin-bottom: 25px;
    line-height: 1.7;
    color: #aaa;
}

.more-link {
    display: inline-flex;
    align-items: center;
    color: var(--accent-color);
    font-weight: 700;
    font-size: 0.9rem;
}

.more-link i {
    margin-left: 5px;
    transition: var(--transition);
}

.b-card:hover .more-link i {
    transform: translateX(5px);
}

/* Product Catalog */
.product-grid {
    display: grid;
    gap: 30px;
    margin-top: 50px;
}

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

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

.product-card {
    background-color: #1a1a1a;
    border: 1px solid #333;
    padding: 30px;
    transition: var(--transition);
    border-radius: 4px;
    display: flex;
    flex-direction: column;
}

/* Business Features */
.category-header {
    margin-bottom: 50px;
}

.biz-feature-grid {
    display: grid;
    gap: 30px;
    margin-top: 50px;
    width: 100%; /* 너비 확보 */
}

.biz-feature-grid.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.biz-feature-grid.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1100px) {
    .biz-feature-grid.grid-3,
    .biz-feature-grid.grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .biz-feature-grid.grid-3,
    .biz-feature-grid.grid-4 {
        grid-template-columns: 1fr;
    }
}

.biz-feature-card {
    background-color: #1a1a1a;
    border: 1px solid #333;
    padding: 30px; /* 안정적인 패딩으로 복구 */
    transition: var(--transition);
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%; /* 그리드 셀 높이에 맞춤 */
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    word-break: keep-all; /* 한글 가독성 최적화 */
}

.section-padding.bg-darker .biz-feature-card {
    background-color: #0d0d0d;
}

.biz-feature-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.biz-feature-card .icon-circle {
    width: 60px;
    height: 60px;
    background-color: rgba(232, 1, 18, 0.1);
    border: 1px solid rgba(232, 1, 18, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 20px; /* 간격 축소 */
    transition: var(--transition);
}

.biz-feature-card:hover .icon-circle {
    background-color: var(--accent-color);
    color: #fff;
    transform: rotateY(360deg);
}

.biz-feature-card h3 {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 10px; /* 간격 축소 */
    font-family: var(--font-eng);
}

.biz-feature-card p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* 박스 너비는 상위 .biz-feature-grid의 그리드 설정에 따름 */


.product-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    background-color: #222;
}

.product-img-box {
    width: 100%;
    aspect-ratio: 16/10;
    background-color: #0d0d0d;
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.product-img-box img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.product-card:hover .product-img-box img {
    transform: scale(1.04);
}

.product-info h3 {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 12px;
    font-family: var(--font-eng);
    position: relative;
    display: inline-block;
}

.product-info h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.product-card:hover .product-info h3::after {
    width: 60px;
}

.product-info p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Process Steps */
.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 50px;
    flex-wrap: wrap;
    /* For mobile */
}

.step-item {
    text-align: center;
    flex: 1;
    min-width: 150px;
}

.step-num {
    font-family: var(--font-eng);
    font-size: 3rem;
    font-weight: 900;
    color: var(--accent-color) !important;
    position: relative;
    z-index: 0;
    line-height: 1;
    margin-bottom: 5px;
}

.step-item h3 {
    font-size: 1.2rem;
    margin: 10px 0;
    color: #fff;
    position: relative;
    z-index: 1;
}

.arrow {
    font-size: 1.5rem;
    color: var(--accent-color) !important;
    padding: 0 20px;
}

/* History Section */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 50px auto 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background-color: #333;
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: 50px;
    position: relative;
    margin-bottom: 50px;
    width: 50%;
}

.timeline-item:nth-child(even) {
    align-self: flex-end;
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 50px;
    margin-left: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    top: 0;
    right: -6px;
    width: 14px;
    height: 14px;
    background-color: var(--bg-color);
    border: 3px solid var(--accent-color);
    border-radius: 50%;
    z-index: 1;
}

.timeline-item:nth-child(even)::after {
    right: auto;
    left: -6px;
}

.timeline-item .year {
    position: absolute;
    top: -5px;
    right: -120px;
    width: 100px;
    text-align: left;
    font-family: var(--font-eng);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--metal-silver);
}

.timeline-item:nth-child(even) .year {
    right: auto;
    left: -120px;
    text-align: right;
}

.timeline-item .content {
    background-color: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    width: 100%;
}

.timeline-item h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #fff;
}

/* Zero Defect Rate — Quality Flow */
.quality-flow {
    display: flex;
    flex-direction: column;
    margin-top: 60px;
    gap: 0;
}

.quality-step {
    display: grid;
    grid-template-columns: 60px 80px 1fr;
    gap: 30px;
    align-items: center;
    background: linear-gradient(135deg, #141414, #1c1c1c);
    border: 1px solid #2a2a2a;
    border-left: 4px solid var(--accent-color);
    padding: 40px;
    transition: var(--transition);
    position: relative;
}

.quality-step:hover {
    background: linear-gradient(135deg, #1c1c1c, #242424);
    border-color: var(--accent-color);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    transform: translateX(6px);
}

.qs-number {
    font-family: var(--font-eng);
    font-size: 2.8rem;
    font-weight: 900;
    color: rgba(232, 1, 18, 0.15);
    line-height: 1;
    user-select: none;
}

.qs-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(232, 1, 18, 0.1);
    border: 1px solid rgba(232, 1, 18, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--accent-color);
    transition: var(--transition);
    flex-shrink: 0;
}

.quality-step:hover .qs-icon {
    background: var(--accent-color);
    color: #fff;
    transform: scale(1.1);
}

.qs-body h3 {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 10px;
    font-family: var(--font-eng);
}

.qs-body p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 16px;
}

.qs-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    list-style: none;
}

.qs-tags li {
    font-family: var(--font-eng);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--accent-color);
    border: 1px solid rgba(232, 1, 18, 0.4);
    padding: 4px 12px;
    border-radius: 2px;
    text-transform: uppercase;
}

.quality-arrow {
    display: flex;
    justify-content: flex-start;
    padding-left: 70px;
    color: var(--accent-color);
    font-size: 1.2rem;
    opacity: 0.5;
    padding-top: 12px;
    padding-bottom: 12px;
}

/* 결과 지표 */
.quality-result {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-top: 50px;
    background: #000;
    border: 1px solid #2a2a2a;
    padding: 40px 60px;
}

.qr-item {
    flex: 1;
    text-align: center;
}

.qr-value {
    display: block;
    font-family: var(--font-eng);
    font-size: 3rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
}

.qr-unit {
    font-family: var(--font-eng);
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-left: 4px;
}

.qr-item p {
    font-size: 0.85rem;
    color: #666;
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.qr-divider {
    width: 1px;
    height: 60px;
    background: #2a2a2a;
    flex-shrink: 0;
    margin: 0 40px;
}

@media (max-width: 900px) {
    .quality-step {
        grid-template-columns: 50px 60px 1fr;
        gap: 20px;
        padding: 30px 25px;
    }

    .qs-number { font-size: 2rem; }

    .quality-result {
        flex-direction: column;
        gap: 30px;
        padding: 40px 30px;
    }

    .qr-divider {
        width: 60px;
        height: 1px;
        margin: 0;
    }
}

@media (max-width: 600px) {
    .quality-step {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .qs-number { display: none; }

    .quality-arrow { padding-left: 20px; }
}

/* History Groups */
.history-groups {
    display: flex;
    flex-direction: column;
    gap: 60px;
    margin-top: 60px;
}

.history-group {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid #222;
}

.history-group:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.history-group-label {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 4px;
}

.history-years {
    font-family: var(--font-eng);
    font-size: 4rem;
    font-weight: 900;
    color: var(--accent-color);
    line-height: 1;
}

.history-years-unit {
    font-family: var(--font-eng);
    font-size: 0.9rem;
    font-weight: 700;
    color: #555;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 4px;
}

.history-group-items {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.history-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 24px;
    align-items: start;
}

.history-date {
    font-family: var(--font-eng);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--metal-silver);
    padding-top: 4px;
    white-space: nowrap;
}

.history-content h3 {
    font-size: 1.05rem;
    color: #fff;
    margin-bottom: 4px;
}

.history-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

@media (max-width: 600px) {
    .history-group {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .history-item {
        grid-template-columns: 90px 1fr;
    }
}

/* Contact Details */
.contact-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

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

.contact-list {
    margin-top: 40px;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.contact-list i {
    font-size: 1.2rem;
    color: var(--accent-color);
    margin-top: 5px;
    margin-right: 20px;
    width: 30px;
    text-align: center;
}

.contact-list h4 {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.contact-list p {
    font-size: 1.1rem;
    color: #fff;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    min-height: 400px;
    background-color: #222;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #555;
    border: 1px solid #333;
}

.map-placeholder i {
    font-size: 3rem;
    margin-bottom: 15px;
}

/* Inquiry Form */
.inquiry-form-wrapper {
    max-width: 800px;
    margin: 50px auto 0;
    background-color: #1a1a1a;
    padding: 50px;
    border: 1px solid #333;
}

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

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #ccc;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background-color: #0a0a0a;
    border: 1px solid #333;
    color: #fff;
    font-family: var(--font-main);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background-color: #111;
}

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

/* CTA Banner (Index) */
.cta-banner {
    position: relative;
    text-align: center;
    background: url('images/hero-bg.jpg') no-repeat center center/cover;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 2.8rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 18px;
    letter-spacing: -1px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.8), 0 4px 40px rgba(0, 0, 0, 0.6);
}

.cta-content p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 36px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
}

.cta-content .btn-primary {
    background-color: var(--accent-color);
    color: #fff;
    border-color: var(--accent-color);
    padding: 16px 40px;
    font-size: 1rem;
}

.cta-content .btn-primary:hover {
    background-color: transparent;
    color: #fff;
    border-color: #fff;
}

/* Footer */
footer {
    padding: 30px 0;
    background-color: #000;
    text-align: center;
    border-top: 1px solid #222;
}

.footer-logo {
    font-family: var(--font-eng);
    font-weight: 700;
    color: #555;
    margin-bottom: 10px;
}

.footer-marks {
    display: block;
    max-width: 400px;
    width: 100%;
    margin: 0 auto 12px;
    opacity: 1;
}

.copyright {
    font-size: 0.8rem;
    color: #444;
}

/* Animations */
@keyframes zoomOut {
    0% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1.0);
    }
}

@keyframes bounce {

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

    40% {
        transform: translate(-50%, -10px);
    }

    60% {
        transform: translate(-50%, -5px);
    }
}

.animate-up,
.fade-in,
.fade-in-left {
    opacity: 0;
    transition: all 0.8s ease-out;
}

.animate-up {
    transform: translateY(30px);
}

.fade-in-left {
    transform: translateX(-30px);
}

.animate-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in.visible {
    opacity: 1;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

/* Responsive */
@media (max-width: 900px) {
    #hero .hero-content h1 {
        font-size: 3rem;
    }

    .about-grid,
    .contact-wrapper,
    .biz-detail-grid {
        grid-template-columns: 1fr;
    }

    .biz-detail-grid.reverse {
        direction: ltr;
    }

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

    .vd-title {
        font-size: 1.8rem;
    }

    .vd-core-values {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 50px;
        padding-right: 0;
        margin-left: 0;
    }

    .timeline-item:nth-child(even) {
        margin-left: 0;
    }

    .timeline-item::after,
    .timeline-item:nth-child(even)::after {
        left: 14px;
    }

    .timeline-item .year,
    .timeline-item:nth-child(even) .year {
        position: relative;
        left: auto;
        right: auto;
        top: 0;
        margin-bottom: 5px;
        text-align: left;
    }

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

    .process-steps {
        flex-direction: column;
    }

    .arrow {
        transform: rotate(90deg);
        padding: 20px 0;
    }
}

@media (max-width: 600px) {
    #main-nav {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        background-color: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(10px);
        transition: max-height 0.3s ease;
    }

    #main-nav.active {
        max-height: 300px;
    }

    #main-nav ul {
        flex-direction: column;
        gap: 0;
        padding: 10px 20px;
    }

    #main-nav li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    #main-nav a {
        display: block;
        padding: 15px 0;
    }

    .mobile-menu-btn {
        display: block;
    }

    #hero .hero-content h1 {
        font-size: 2.2rem;
    }

    .btn {
        padding: 12px 30px;
        font-size: 0.9rem;
    }

    .sub-header {
        height: 300px;
    }

    .sub-header h1 {
        font-size: 2.2rem;
    }

    .sub-header,
    .cta-banner {
        background-attachment: scroll;
    }

    .cta-banner {
        min-height: 100svh;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }

    /* 섹션 패딩 축소 */
    .section-padding {
        padding: 70px 0;
    }

    /* 히어로 텍스트 */
    .slide-title {
        font-size: 2.6rem;
        letter-spacing: -1px;
        word-break: keep-all;
    }

    .slide-desc {
        font-size: 0.95rem;
        word-break: keep-all;
    }

    .hero-text-btn {
        font-size: 0.85rem;
    }

    /* 섹션 헤더 */
    .section-header h2 {
        font-size: 1.8rem;
        word-break: keep-all;
    }

    /* 비전 선언문 */
    .vd-title {
        font-size: 1.5rem;
    }

    .vd-body p {
        font-size: 0.92rem;
    }

    .vd-emphasis {
        padding-left: 16px;
    }

    /* history */
    .history-years {
        font-size: 3rem;
    }

    .history-item {
        grid-template-columns: 80px 1fr;
        gap: 16px;
    }

    .history-content h3 {
        font-size: 0.95rem;
        word-break: keep-all;
    }

    /* 품질 flow */
    .qs-body h3 {
        font-size: 1rem;
        word-break: keep-all;
    }

    /* 제품 그리드 — 600px 이하 1열 */
    .product-grid-4 {
        grid-template-columns: 1fr;
    }

    /* 폼 */
    .inquiry-form {
        padding: 30px 20px;
    }

    /* ESG */
    .esg-pillars,
    .esg-activities {
        grid-template-columns: 1fr;
    }

    /* contact wrapper */
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

/* iPhone 15 / 소형 모바일 (393px 이하) */
@media (max-width: 400px) {
    .container {
        padding: 0 16px;
    }

    .slide-title {
        font-size: 2.1rem;
    }

    .slide-desc {
        font-size: 0.88rem;
    }

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

    .vision-headline {
        font-size: 1.3rem;
    }

    .history-item {
        grid-template-columns: 72px 1fr;
        gap: 12px;
    }

    .history-date {
        font-size: 0.78rem;
    }

    .cta-content h2 {
        font-size: 1.5rem;
        word-break: keep-all;
    }

    .cta-content p {
        font-size: 0.95rem;
        word-break: keep-all;
    }
}