/* 기본 설정 (Reset & Variables) */
:root {
    --primary-blue: #064975;
    /* 롯데케미칼 CI Blue (PANTONE 2955C) */
    --hover-blue: #053d61;
    --text-dark: #222222;
    --text-gray: #666666;
    --bg-light: #F8F9FA;
    --white: #FFFFFF;
    --border-color: #EAEAEA;
    --card-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    --transition: all 0.3s ease;
    --header-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
}

ul,
li {
    list-style: none;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: transparent;
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header.scrolled,
.header.subpage,
.header:has(.gnb:hover),
.header:has(.search-btn.active) {
    background-color: #ffffff;
    backdrop-filter: blur(10px);
    border-bottom: none;
}

.header.scrolled {
    height: 70px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
    height: 100%;
}

.logo a {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

.lotte-symbol {
    width: 32px;
    height: auto;
    flex-shrink: 0;
}

.lotte-text {
    color: #DA291C;
}

.logo-img {
    height: 46px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.header.scrolled .logo a,
.header.subpage .logo a,
.header:has(.gnb:hover) .logo a,
.header:has(.search-btn.active) .logo a {
    color: #DA291C;
    /* 스크롤 시 롯데 레드 포인트 */
}

.logo span:not(.lotte-text) {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    margin-left: 5px;
    transition: var(--transition);
}

.header.scrolled .logo span:not(.lotte-text),
.header.subpage .logo span:not(.lotte-text),
.header:has(.gnb:hover) .logo span:not(.lotte-text),
.header:has(.search-btn.active) .logo span:not(.lotte-text) {
    color: var(--text-dark);
}

.gnb>ul {
    display: flex;
    gap: 40px;
    height: 100%;
    align-items: center;
}

.gnb>ul>li {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

/* Full-width Mega Menu Background (gnb 호버 시 나타나는 전체 배경) */
.gnb::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 0;
    background-color: #ffffff;
    transition: height 0.3s ease;
    z-index: 990;
    pointer-events: none;
}

.gnb:hover::before {
    height: 280px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    pointer-events: auto;
}

.gnb>ul>li>a {
    font-size: 17px;
    font-weight: 600;
    color: #fff;
    padding: 10px 0;
    position: relative;
    transition: var(--transition);
}

.header.scrolled .gnb>ul>li>a,
.header.subpage .gnb>ul>li>a,
.header:has(.gnb:hover) .gnb>ul>li>a,
.header:has(.search-btn.active) .gnb>ul>li>a {
    color: var(--text-dark);
}

.gnb>ul>li>a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-blue);
    transition: var(--transition);
}

.gnb>ul>li:hover>a::after {
    width: 100%;
}

/* Dropdown Sub-menu */
.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: max-content;
    background-color: transparent;
    box-shadow: none;
    padding: 30px 0;
    border-top: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    display: flex;
    flex-direction: column;
    /* 기본적으로 하나의 열로 나열 (세로) */
    gap: 12px;
    z-index: 999;
}



.gnb>ul>li:hover .sub-menu {
    opacity: 1;
    visibility: visible;
}

.sub-menu li a {
    display: block;
    padding: 4px 0;
    font-size: 15px;
    font-weight: 500;
    color: #666;
    transition: color 0.3s;
    border-radius: 0;
    text-align: left;
}

.sub-menu li a:hover {
    color: var(--primary-blue);
    background-color: transparent;
    font-weight: 700;
}

/* Mega Menu Sub-menu styles (비즈니스 탭 전용 구조) */
.sub-menu.mega {
    flex-direction: row;
    /* 비즈니스는 두 개의 열 (가로 나열) */
    gap: 0;
    padding: 30px 0;
}

.mega-column {
    display: flex;
    flex-direction: column;
    text-align: left;
    padding: 0 60px 0 0;
    /* 오른쪽 여백만 주고 왼쪽은 0으로 하여 부모 li와 딱 맞춤 */
}

.mega-column:not(:first-child) {
    border-left: 1px solid #e0e0e0;
    padding: 0 0 0 60px;
    /* 두번째 열은 왼쪽에 여백 추가 */
}

.mega-title {
    font-size: 17px;
    font-weight: 800;
    color: #DA291C;
    margin-bottom: 8px;
    border-bottom: 2px solid #DA291C;
    padding-bottom: 8px;
    display: inline-block;
    letter-spacing: -0.5px;
}

.mega-subtitle {
    font-size: 14px;
    color: #888888;
    margin-bottom: 6px;
    display: block;
    font-weight: 700;
}

.mega-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* mega-list a tag hover 스타일은 공통 sub-menu에 포함되었으므로 생략 */

.util {
    display: flex;
    align-items: center;
    gap: 20px;
}

.lang {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    transition: var(--transition);
}

.header.scrolled .lang,
.header.subpage .lang,
.header:has(.gnb:hover) .lang,
.header:has(.search-btn.active) .lang {
    color: var(--text-dark);
}

.search-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #fff;
    display: flex;
    transition: var(--transition);
}

.header.scrolled .search-btn,
.header.subpage .search-btn,
.header:has(.gnb:hover) .search-btn,
.header:has(.search-btn.active) .search-btn {
    color: var(--text-dark);
}

.search-btn.active {
    color: #fff;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    position: relative;
    background-color: #000;
    overflow: hidden;
}

.hero-video-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    background-color: #000;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1) translate3d(0, 0, 0);
    /* 배율 축소 (1.3 -> 1.1) 및 3D 하드웨어 가속 */
    will-change: transform;
}

/* 성능 저하 없는 밝기 조절용 오버레이 */
.hero-video-brightness {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.15);
    /* 15% 흰색 덮어씌움 */
    pointer-events: none;
    z-index: 2;
}

.bg-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.bg-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.bg-slide.active {
    opacity: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.1) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 1440px;
    margin: 0 auto;
    width: 100%;
    padding: 0 40px;
    margin-top: 18vh;
    color: var(--white);
    animation: fadeInUp 1s ease-out;
}

/* 슬라이더 화살표 컨트롤 버튼 */
.hero-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    padding: 20px;
}

.hero-slider-btn:hover {
    background-color: transparent;
    color: #fff;
    transform: translateY(-50%) scale(1.05);
}

.hero-slider-btn.prev-btn {
    left: 30px;
}

.hero-slider-btn.next-btn {
    right: 30px;
}

/* Hero Recent News Widget */
.hero-recent-news {
    position: absolute;
    bottom: 120px;
    right: 120px;
    z-index: 10;
    width: 320px;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 24px;
    color: #fff;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.hero-recent-news h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 12px;
    color: #fff;
}

.hero-news-item {
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.15);
}

.hero-news-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.hero-news-title {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 8px;
    cursor: pointer;
    transition: color 0.2s;
    color: rgba(255, 255, 255, 0.9);
}

.hero-news-title:hover {
    color: #DA291C;
}

.hero-news-date {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.hero-news-more {
    display: inline-block;
    margin-top: 10px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s;
}

.hero-news-more:hover {
    color: #fff;
}

@media (max-width: 1024px) {
    .hero-recent-news {
        display: none;
    }
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
    backdrop-filter: blur(4px);
    background: rgba(255, 255, 255, 0.1);
}

.hero-content h2 {
    font-size: 56px;
    font-weight: 300;
    line-height: 1.25;
    margin-bottom: 24px;
}

.hero-content h2 strong {
    font-weight: 700;
    color: #fff;
}

.hero-content p {
    font-size: 18px;
    opacity: 0.9;
    line-height: 1.7;
}

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

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

/* Sections */
.section {
    padding: 120px 0;
}

.section-title {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-dark);
    letter-spacing: -1px;
}

.section-desc {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 60px;
}

/* Page Sections SPA Logic */
.page-section {
    display: none;
    animation: fadeInPage 0.5s ease-out forwards;
}

.page-section.active-page {
    display: block;
}

#home.page-section.active-page {
    display: flex;
}

@keyframes fadeInPage {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

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

/* Company Intro styles */
.company-info .section-title {
    margin-bottom: 50px;
}

.company-intro-wrap {
    display: flex;
    gap: 50px;
    margin-bottom: 60px;
    align-items: center;
}

.company-img {
    flex: 1;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
}

.company-img img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.5s;
}

.company-img:hover img {
    transform: scale(1.05);
}

.company-text {
    flex: 1;
    text-align: left;
}

.company-text h4 {
    font-size: 28px;
    color: #DA291C;
    margin-bottom: 20px;
    font-weight: 700;
}

.company-text p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 15px;
}

.company-locations {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.loc-card {
    background: var(--white);
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    text-align: left;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.loc-card:hover {
    transform: translateY(-5px);
    border-color: #DA291C;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.loc-number {
    font-size: 32px;
    font-weight: 800;
    color: rgba(218, 41, 28, 0.25);
    margin-bottom: 10px;
}

.loc-card h5 {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 700;
}

.loc-card ul li {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 8px;
}

.loc-card ul li strong {
    color: var(--text-dark);
}

/* Vision Section - TARGET & STRATEGY New Layout */
.strategy-section {
    margin-top: 80px;
    position: relative;
    padding-bottom: 60px;
}

.strategy-main-title {
    font-size: 32px;
    color: #333;
    font-weight: 700;
    margin-bottom: 10px;
}

.strategy-top-line {
    width: 1px;
    height: 40px;
    background-color: #DA291C;
    margin: 0 auto;
}

.strategy-banner {
    position: relative;
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
    overflow: visible;
}

.strategy-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 20, 50, 0.4);
}

.strategy-banner-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.strategy-banner-sub {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.strategy-icon {
    margin-bottom: 15px;
}

.strategy-banner-title {
    font-size: 26px;
    font-weight: 700;
}

.strategy-dot {
    width: 12px;
    height: 12px;
    background-color: #DA291C;
    border-radius: 50%;
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 0 6px rgba(218, 41, 28, 0.2);
    z-index: 15;
}

.strategy-tree-wrap {
    position: relative;
    height: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.strategy-tree-line-v {
    position: absolute;
    top: 0;
    left: 50%;
    width: 1px;
    height: 30px;
    background-color: #ddd;
}

.strategy-tree-line-h {
    position: absolute;
    top: 30px;
    left: 16.666%;
    right: 16.666%;
    height: 1px;
    background-color: #ddd;
}

.strategy-cards-new {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 1000px;
    margin: 0 auto;
    gap: 30px;
}

.strategy-card-new {
    background: #fff;
    border: 1px solid #ddd;
    padding: 0 0 40px 0;
    text-align: center;
    position: relative;
}

.strategy-card-line {
    position: absolute;
    top: -30px;
    left: 50%;
    width: 1px;
    height: 30px;
    background-color: #ddd;
}

.strategy-card-num {
    color: #DA291C;
    font-size: 22px;
    font-weight: 700;
    margin-top: 30px;
    margin-bottom: 15px;
}

.strategy-card-header {
    background-color: #DA291C;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px;
    font-size: 18px;
    font-weight: 600;
    margin: 0 auto 30px auto;
    width: 70%;
}

.strategy-card-list {
    list-style: none;
    text-align: center;
    padding: 0;
    margin: 0;
}

.strategy-card-list li {
    font-size: 14px;
    color: #777;
    margin-bottom: 8px;
}

/* Product Tabs */
.product-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-gray);
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
}

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

.tab-btn.active {
    background-color: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
    box-shadow: 0 4px 12px rgba(6, 73, 117, 0.3);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

.prod-detail {
    background-color: var(--white);
    padding: 60px;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    text-align: left;
    max-width: 1000px;
    margin: 0 auto;
    border: 1px solid transparent;
    transition: var(--transition);
}

.prod-detail:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(6, 73, 117, 0.3);
}

.prod-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.prod-title span {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-gray);
}

.prod-desc {
    font-size: 17px;
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.prod-features h5 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #333;
}

.prod-features ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.prod-features li {
    font-size: 16px;
    color: var(--text-gray);
    position: relative;
    padding-left: 20px;
}

.prod-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--primary-blue);
}

/* News */
/* News Header & Tabs */
.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 40px;
}

.news-tabs {
    display: flex;
    gap: 20px;
}

.news-tab-btn {
    background: none;
    border: none;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-gray);
    cursor: pointer;
    padding: 10px 0;
    position: relative;
    transition: var(--transition);
}

.news-tab-btn::after {
    content: '';
    position: absolute;
    bottom: -22px;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--primary-blue);
    transition: var(--transition);
}

.news-tab-btn.active {
    color: var(--primary-blue);
}

.news-tab-btn.active::after {
    width: 100%;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.write-btn {
    display: inline-block;
    padding: 10px 24px;
    background-color: var(--text-dark);
    color: #fff;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    transition: var(--transition);
}

.write-btn:hover {
    background-color: #333;
    transform: translateY(-2px);
}

.news-tab-content {
    display: none;
}

.news-tab-content.active {
    display: grid;
}

/* News Write Form */
.write-form-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
}

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

.form-group label {
    display: block;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.3s;
}

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

.form-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
}

.submit-btn,
.cancel-btn {
    padding: 14px 40px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.submit-btn {
    background-color: var(--primary-blue);
    color: #fff;
}

.submit-btn:hover {
    background-color: var(--hover-blue);
}

.cancel-btn {
    background-color: #eee;
    color: #666;
}

.cancel-btn:hover {
    background-color: #ddd;
}

.more-link {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-gray);
    transition: color 0.3s;
}

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

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

.news-card {
    display: flex;
    flex-direction: column;
    padding: 0;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    transition: var(--transition);
    cursor: pointer;
    overflow: hidden;
    height: 100%;
}

.news-card:hover {
    background-color: var(--white);
    border-color: var(--primary-blue);
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.news-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: var(--transition);
}

.news-card:hover .news-image {
    transform: scale(1.05);
}

.news-info {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-card .tag {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-blue);
    background-color: rgba(6, 73, 117, 0.1);
    padding: 5px 12px;
    border-radius: 30px;
    width: fit-content;
    margin-bottom: 15px;
}

.news-card .news-title {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
    line-height: 1.4;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card .news-desc {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card .news-date {
    font-size: 14px;
    color: #999;
    margin-top: auto;
}

/* News Detail Header */
.detail-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 30px;
    margin-bottom: 40px;
}

.back-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    color: var(--text-gray);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 30px;
    transition: var(--transition);
}

.back-btn:hover {
    color: var(--primary-blue);
    transform: translateX(-5px);
}

.detail-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.detail-meta {
    display: flex;
    gap: 20px;
    color: #999;
    font-size: 15px;
}

.detail-content {
    font-size: 18px;
    line-height: 1.8;
    color: #444;
}

.detail-main-img {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 20px;
    margin: 40px 0;
    box-shadow: var(--card-shadow);
}


/* Footer */
.footer {
    background-color: #1A1A1A;
    color: #888;
    padding: 36px 0 24px;
    font-size: 14px;
}

.footer-inner {
    display: flex;
    align-items: center;
    gap: 40px;
    padding-bottom: 0;
    margin-bottom: 0;
}

.footer-ci {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    padding-right: 32px;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-ci-img {
    height: 115px;
    width: auto;
    object-fit: contain;
}

.footer-right {
    flex: 1;
}

.footer-logo {
    font-size: 22px;
    font-weight: 700;
    color: #FFF;
    letter-spacing: -0.5px;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: #CCC;
    font-weight: 500;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #FFF;
}

.footer-info p {
    margin-bottom: 6px;
    line-height: 1.4;
    color: #777;
}

.footer-info strong {
    color: #BBB;
    font-weight: 500;
}

.footer-bottom {
    margin-top: 12px;
}

.copyright {
    color: #555;
    font-size: 13px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {

    /* Tab logic replacement for .product-cards media queries */
    .news-card {
        flex-wrap: wrap;
    }

    .news-card .news-desc {
        display: none;
    }

    .news-card .news-date {
        margin-left: auto;
    }
}

@media (max-width: 768px) {
    .gnb {
        display: none;
    }

    .hero-content h2 {
        font-size: 36px;
    }

    .prod-detail {
        padding: 30px;
    }

    .prod-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .footer-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .news-card {
        padding: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    .news-cards {
        grid-template-columns: 1fr;
    }

    .news-card .news-desc {
        display: -webkit-box;
    }
}


/* LFT Details Style */
.lft-details {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.lft-section-block {
    margin-bottom: 80px;
}

.lft-sub-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.red-line {
    width: 30px;
    height: 2px;
    background-color: #e60012;
    margin: 0 auto 30px auto;
}

.lft-question {
    font-size: 20px;
    color: #e60012;
    font-weight: 700;
    margin-bottom: 25px;
}

.lft-summary {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.lft-list-new {
    list-style: none;
    padding: 0;
    display: inline-block;
    text-align: left;
}

.lft-list-new li {
    font-size: 15px;
    color: var(--text-gray);
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.lft-list-new li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: #e60012;
    font-weight: bold;
}

.image-grid-lft,
.image-grid-lft-4 {
    display: grid;
    gap: 30px;
    margin-top: 40px;
}

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

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

.grid-item-lft {
    text-align: center;
}

.grid-item-lft img {
    width: 100%;
    max-width: 200px;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background-color: #fff;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    margin-bottom: 15px;
}

.grid-item-lft p {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
}

/* LFT Tables */
.lft-data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    border-top: 2px solid #333;
}

.lft-data-table th {
    background-color: #f9f9f9;
    color: #333;
    padding: 12px;
    border-bottom: 1px solid #ddd;
    border-right: 1px solid #eee;
    font-weight: 700;
}

.lft-data-table td {
    padding: 12px;
    border-bottom: 1px solid #eee;
    border-right: 1px solid #eee;
    color: #555;
    line-height: 1.5;
}

.lft-data-table th:last-child,
.lft-data-table td:last-child {
    border-right: none;
}

.contact-data-table th {
    background-color: #f5f5f5;
}

.contact-data-table td {
    font-size: 13px;
}

/* News & PR Center Enhanced Styles */
.news-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.news-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    text-align: left;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.news-card-img-wrap {
    width: 100%;
    height: 220px;
    background-color: #f5f5f5;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.news-card:hover .news-card-img-wrap img {
    transform: scale(1.05);
}

.news-card-no-img {
    color: #ccc;
    font-size: 14px;
}

.news-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.news-card .tag {
    display: inline-block;
    align-self: flex-start;
    padding: 4px 10px;
    background-color: var(--primary-blue);
    color: #fff;
    font-size: 12px;
    border-radius: 4px;
    font-weight: 600;
}

.news-card .news-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.4;
    height: 2.8em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
}

.news-card .news-date {
    font-size: 14px;
    color: var(--text-gray);
    margin-top: auto;
}

/* News Detail Section */
.news-detail-section {
    padding: 100px 0;
    background-color: #fff;
}

.news-detail-content {
    max-width: 900px;
    margin: 0 auto;
}

.news-detail-info {
    text-align: center;
    margin-bottom: 50px;
}

.detail-tag {
    display: inline-block;
    padding: 6px 16px;
    background-color: var(--primary-blue);
    color: #fff;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.detail-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.3;
}

.detail-meta {
    font-size: 16px;
    color: var(--text-gray);
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.detail-images {
    margin: 40px 0;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.detail-images img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.detail-body {
    font-size: 18px;
    line-height: 1.8;
    color: #444;
    white-space: pre-wrap;
    text-align: justify;
}

/* Write Form Improvements */
.image-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.preview-item {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

/* --- 복리후생 (Welfare) --- */
.welfare-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto 60px;
}

.welfare-card {
    background: #fff;
    border: 1px solid #eee;
    border-bottom: 2px solid #f8cdce;
    padding: 40px 20px 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s, box-shadow 0.3s;
}

.welfare-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    border-bottom-color: #DA291C;
}

.welfare-icon-wrap {
    width: 100px;
    height: 100px;
    background-color: #f8f9fa;
    border-radius: 50%;
    margin: 0 auto 25px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.welfare-icon {
    width: 44px;
    height: 44px;
    color: #DA291C;
}

.welfare-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #DA291C;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.welfare-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    display: inline-block;
    width: 100%;
}

.welfare-list li {
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
    position: relative;
    padding-left: 12px;
    line-height: 1.4;
    letter-spacing: -0.5px;
}

.welfare-list li::before {
    content: '·';
    position: absolute;
    left: 0;
    top: 0;
    color: #999;
}

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

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

/* ===================================
   채용정보 (Careers) Section
   =================================== */
.careers-section {
    background-color: #fff;
}

.careers-header {
    text-align: center;
    margin-bottom: 50px;
}

.careers-main-title {
    font-size: 32px;
    font-weight: 800;
    color: #222;
    margin-bottom: 20px;
}

.careers-subtitle {
    font-size: 17px;
    color: #DA291C;
    font-weight: 600;
    line-height: 1.6;
    margin-bottom: 24px;
}

.careers-divider {
    width: 2px;
    height: 40px;
    background-color: #DA291C;
    margin: 0 auto;
}

.careers-process-wrap {
    background-color: #f9f9f9;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 0 0 40px 0;
    margin-bottom: 40px;
    overflow: hidden;
}

.careers-process-label {
    background-color: #f2f2f2;
    border-bottom: 1px solid #e0e0e0;
    text-align: center;
    padding: 14px 0;
    font-size: 15px;
    color: #555;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 40px;
}

.careers-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 30px;
    flex-wrap: wrap;
}

.careers-step {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-ring {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: conic-gradient(#DA291C 0deg var(--progress, 0deg),
            #e8e8e8 var(--progress, 0deg) 360deg);
    padding: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s;
}

.step-ring:hover {
    transform: scale(1.05);
}

.step-circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: none;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 12px;
    text-align: center;
    position: relative;
}

.step-num {
    font-size: 12px;
    font-weight: 700;
    color: #DA291C;
    letter-spacing: 0.5px;
}

.step-icon {
    font-size: 26px;
    line-height: 1;
}

.step-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
}

.step-circle--final {
    background-color: #DA291C;
    border: none;
}

.step-circle--final .step-num {
    color: #fff;
}

.step-circle--final .step-icon {
    filter: brightness(10);
}

.step-circle--final .step-name {
    color: #fff;
    font-weight: 700;
}

.careers-arrow {
    font-size: 22px;
    color: #bbb;
    font-weight: 300;
    padding: 0 4px;
    margin-bottom: 10px;
}

.careers-info-table {
    width: 100%;
    border-collapse: collapse;
    border-top: 2px solid #333;
}

.careers-info-table th,
.careers-info-table td {
    padding: 20px 24px;
    border-bottom: 1px solid #e0e0e0;
    vertical-align: top;
    font-size: 15px;
    text-align: left;
}

.careers-info-table th {
    width: 120px;
    font-weight: 700;
    color: #333;
    background-color: #fafafa;
    white-space: nowrap;
}

.careers-info-table td {
    color: #555;
    line-height: 1.8;
}

.careers-qual-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.careers-qual-list li {
    position: relative;
    padding-left: 14px;
    margin-bottom: 4px;
    font-size: 15px;
    color: #DA291C;
    line-height: 1.7;
}

.careers-qual-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 5px;
    height: 1px;
    background-color: #DA291C;
}

/* ===================================
   채용 탭 시스템
   =================================== */
.careers-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
}

.careers-header-left {
    display: flex;
    align-items: center;
    gap: 40px;
}

.careers-top-tabs {
    display: flex;
    gap: 20px;
    border-bottom: none;
    margin-bottom: 0;
}

.careers-tab-btn {
    padding: 10px 0;
    background: none;
    border: none;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-gray);
    cursor: pointer;
    position: relative;
    transition: color 0.2s;
}

.careers-tab-btn::after {
    content: '';
    position: absolute;
    bottom: -22px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary-blue);
    transition: width 0.3s;
}

.careers-tab-btn.active {
    color: var(--primary-blue);
}

.careers-tab-btn.active::after {
    width: 100%;
}

.careers-tab-content {
    display: none;
}

.careers-tab-content.active {
    display: block;
}

/* ===================================
   채용공고 목록 테이블
   =================================== */
.job-table-wrap {
    overflow-x: auto;
    margin-bottom: 0;
}

.job-listing-table {
    width: 100%;
    border-collapse: collapse;
    border-top: 2px solid #333;
    font-size: 14px;
}

.job-listing-table thead tr {
    background: #fafafa;
}

.job-listing-table th {
    padding: 14px 16px;
    font-weight: 700;
    color: #444;
    border-bottom: 1px solid #ddd;
    text-align: center;
    white-space: nowrap;
}

.job-listing-table td {
    padding: 16px;
    border-bottom: 1px solid #eee;
    text-align: center;
    color: #555;
    vertical-align: middle;
}

.job-listing-table tbody tr:hover {
    background: #fef8f8;
}

.col-num {
    width: 60px;
}

.col-title {
    text-align: center;
}

.col-date {
    width: 200px;
    white-space: nowrap;
}

.col-target {
    width: 110px;
}

.col-status {
    width: 90px;
}

.job-title-link {
    color: #c0392b;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.job-title-link:hover {
    color: #8e1010;
    text-decoration: underline;
}

.job-loading {
    text-align: center;
    padding: 40px 0;
    color: #aaa;
    font-size: 14px;
}

/* 진행상태 배지 */
.job-status {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.job-status--ongoing {
    background: #DA291C;
    color: #fff;
}

.job-status--closed {
    background: #e0e0e0;
    color: #666;
}

.job-status--upcoming {
    background: #f39c12;
    color: #fff;
}

/* 페이지네이션 */
.job-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    padding: 28px 0 20px;
}

.page-btn {
    min-width: 34px;
    height: 34px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    color: #555;
    cursor: pointer;
    transition: all 0.2s;
    padding: 0 8px;
}

.page-btn:hover:not(:disabled) {
    border-color: #DA291C;
    color: #DA291C;
}

.page-btn.active {
    background: #333;
    color: #fff;
    border-color: #333;
    font-weight: 700;
}

.page-btn:disabled {
    color: #ccc;
    cursor: default;
}

/* 검색바 */
.job-search-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 16px 0 40px;
}

.job-search-bar select {
    padding: 9px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    color: #444;
    background: #fff;
    cursor: pointer;
}

.job-search-bar input[type="text"] {
    width: 260px;
    padding: 9px 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.job-search-bar input[type="text"]:focus {
    border-color: #DA291C;
}

#job-search-btn {
    padding: 9px 20px;
    background: #333;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

#job-search-btn:hover {
    background: #111;
}

/* 채용공고 상세 페이지 */
.job-detail-section {
    background: #fff;
    padding: 80px 0;
}

.job-detail-header {
    margin-bottom: 30px;
}

.job-detail-content {
    max-width: 860px;
    margin: 0 auto;
}

.job-detail-title-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 2px solid #333;
}

.job-detail-title {
    font-size: 24px;
    font-weight: 800;
    color: #222;
    line-height: 1.4;
}

.job-detail-info-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 36px;
    font-size: 14px;
}

.job-detail-info-table th,
.job-detail-info-table td {
    padding: 14px 18px;
    border: 1px solid #e0e0e0;
    text-align: left;
}

.job-detail-info-table th {
    background: #fafafa;
    font-weight: 700;
    color: #444;
    width: 120px;
    white-space: nowrap;
}

.job-detail-info-table td {
    color: #555;
}

.job-detail-body {
    font-size: 15px;
    line-height: 1.9;
    color: #444;
    white-space: pre-wrap;
    padding: 24px;
    background: #fafafa;
    border-radius: 8px;
    border: 1px solid #eee;
    min-height: 200px;
}

@media (max-width: 768px) {
    .careers-steps {
        gap: 6px;
    }

    .step-circle {
        width: 100px;
        height: 100px;
    }

    .step-icon {
        font-size: 20px;
    }

    .step-name {
        font-size: 11px;
    }

    .step-num {
        font-size: 10px;
    }

    .careers-arrow {
        font-size: 16px;
    }

    .careers-info-table th {
        width: 90px;
        font-size: 13px;
        padding: 16px 12px;
    }

    .careers-info-table td {
        font-size: 13px;
        padding: 16px 12px;
    }

    .careers-main-title {
        font-size: 26px;
    }

    .careers-subtitle {
        font-size: 14px;
    }

    .careers-tab-btn {
        padding: 12px 20px;
        font-size: 14px;
    }

    .job-listing-table th,
    .job-listing-table td {
        padding: 12px 8px;
        font-size: 12px;
    }

    .col-date {
        width: auto;
    }

    .job-search-bar {
        flex-wrap: wrap;
    }

    .job-search-bar input[type="text"] {
        width: 180px;
    }

    .job-detail-title {
        font-size: 18px;
    }
}

/* ============================================
   인라인 검색창 + 메가메뉴 드롭다운
   ============================================ */
.search-wrap {
    display: flex;
    align-items: center;
    gap: 0;
    position: relative;
}

.search-inline-box {
    overflow: hidden;
    max-width: 0;
    opacity: 0;
    transition: max-width 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease;
    display: flex;
    align-items: center;
}

.search-inline-box.open {
    max-width: 200px;
    opacity: 1;
}

.search-inline-input {
    width: 180px;
    height: 32px;
    padding: 0 12px;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    color: #fff;
    font-size: 13px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
}

.search-inline-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.search-inline-input:focus {
    border-color: var(--primary-blue);
}

.search-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #fff;
    padding: 4px;
    line-height: 0;
    transition: color 0.2s, transform 0.2s;
}

.search-btn:hover {
    color: var(--primary-blue);
    transform: scale(1.1);
}

.search-btn.active {
    color: #222;
}

.search-mega {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: #ffffff;
    z-index: 8000;
    border-top: none;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1), border-top 0s 0.4s;
}

.search-mega.open {
    max-height: 400px;
    border-top: 1px solid var(--border-color);
    transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1), border-top 0s;
}

.search-mega-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px 36px;
}

.search-mega-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-bottom: 24px;
}

.search-mega-col-title {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-dark);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.search-mega-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.search-mega-link {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s, font-weight 0.2s;
    display: block;
}

.search-mega-link:hover {
    color: #DA291C;
    font-weight: 700;
}

.search-mega-results {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: 16px;
    max-height: 180px;
    overflow-y: auto;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 4px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    cursor: pointer;
    transition: all 0.2s;
    color: var(--text-gray);
    font-size: 14px;
}

.search-result-item:hover {
    color: var(--primary-blue);
    padding-left: 10px;
}

.search-result-badge {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 2px 8px;
    border-radius: 20px;
    background: rgba(6, 73, 117, 0.15);
    color: var(--primary-blue);
    white-space: nowrap;
    flex-shrink: 0;
}

.search-result-title {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
}

.search-result-title mark {
    background: none;
    color: var(--primary-blue);
    font-weight: 700;
}

.search-no-result {
    color: rgba(0, 0, 0, 0.3);
    text-align: center;
    padding: 20px 0;
    font-size: 14px;
}

@media (max-width: 768px) {
    .search-mega-nav {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .search-inline-box.open {
        max-width: 140px;
    }

    .search-inline-input {
        width: 120px;
    }
}

/* =====================================================
   율촌·여수사업부문 제품소개 섹션 스타일
   ===================================================== */

.yy-section-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 48px;
}

.yy-title-bar {
    width: 5px;
    height: 38px;
    background: #DA291C;
    border-radius: 3px;
    flex-shrink: 0;
}

.yy-title {
    font-size: 32px;
    font-weight: 800;
    color: #1a1a1a;
    letter-spacing: -0.5px;
    margin: 0;
}

/* 제품 카드 3종 그리드 */
.yy-product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 80px;
}

/* 제품 카드 4종 그리드 (예산) */
.yesan-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin-bottom: 80px;
}

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

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

.yy-product-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px 28px 24px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.yy-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.15);
}

.yy-product-category {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #aaa;
    margin: 0 0 14px;
    text-transform: uppercase;
}

.yy-product-category--red {
    color: #DA291C;
    font-style: italic;
}

.yy-product-name-box {
    display: inline-block;
    background: #f2f2f2;
    border-radius: 10px;
    font-size: 22px;
    font-weight: 800;
    color: #1a1a1a;
    padding: 10px 18px;
    margin-bottom: 12px;
}

.yy-product-eng {
    font-size: 13px;
    color: #999;
    margin: 0 0 14px;
}

.yy-product-headline {
    font-size: 18px;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0 0 12px;
    line-height: 1.4;
}

.yy-product-desc {
    font-size: 14px;
    color: #555;
    line-height: 1.75;
    margin: 0 0 20px;
    flex: 1;
}

.yy-product-photos {
    display: block;
    margin-top: auto;
}

.yy-product-photos img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    display: block;
}

/* BUSINESS HIGHLIGHTS */
.yy-highlights {
    background: #fff;
    border-radius: 24px;
    padding: 60px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
}

.yy-highlights-title {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: 2px;
    text-align: center;
    color: #1a1a1a;
    margin: 0 0 56px;
}

.yy-highlight-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 60px;
}

.yy-highlight-row:last-child {
    margin-bottom: 0;
}

.yy-highlight-row--reverse {
    direction: rtl;
}

.yy-highlight-row--reverse>* {
    direction: ltr;
}

.yy-highlight-num {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #999;
    margin: 0 0 14px;
    text-transform: uppercase;
}

.yy-highlight-headline {
    font-size: 28px;
    font-weight: 900;
    color: #1a1a1a;
    line-height: 1.35;
    margin: 0 0 16px;
}

.yy-highlight-desc {
    font-size: 14px;
    color: #555;
    line-height: 1.8;
    margin: 0;
}

.yy-highlight-img img {
    width: 100%;
    border-radius: 16px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.10);
}

/* 반응형 */
@media (max-width: 900px) {
    .yy-product-grid {
        grid-template-columns: 1fr;
    }

    .yy-highlight-row,
    .yy-highlight-row--reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }

    .yy-highlights {
        padding: 40px 24px;
    }

    .yy-title {
        font-size: 24px;
    }
}

/* =====================================================
   ABS 상세 페이지 스타일
   ===================================================== */
#abs-detail {
    background-color: #fff;
    padding-top: 100px;
    padding-bottom: 100px;
}

.abs-section-title {
    max-width: 1200px;
    margin: 0 auto 40px;
    padding: 0 20px;
}

.abs-section-title h2 {
    font-size: 32px;
    font-weight: 800;
    color: #111;
    margin-bottom: 10px;
}

.abs-section-title p {
    font-size: 16px;
    color: #333;
}

.abs-hero-band {
    background-color: #f4f5f7;
    position: relative;
    padding: 80px 0;
    text-align: center;
    overflow: hidden;
}

/* Make abs-hero-band break out of container inside tab-content */
.tab-content .abs-hero-band {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.abs-hero-content {
    position: relative;
    z-index: 2;
}

.abs-hero-cat {
    color: #DA291C;
    font-weight: 800;
    letter-spacing: 4px;
    font-size: 14px;
    margin-bottom: 20px;
}

.abs-hero-title {
    font-size: 56px;
    font-weight: 900;
    color: #111;
    margin: 0 0 10px;
    letter-spacing: -1px;
}

.abs-hero-sub {
    color: #777;
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 50px;
}

.abs-hero-desc p {
    font-size: 16px;
    color: #333;
    margin: 5px 0;
}

.abs-hero-desc p strong {
    font-size: 18px;
    font-weight: 800;
}

.abs-hero-bg-graphic {
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.abs-hero-bg-graphic .circle-line {
    position: absolute;
    top: 50%;
    right: -240px;
    transform: translateY(-50%);
    width: 480px;
    height: 480px;
    border: 1px solid #ccc;
    border-radius: 50%;
}

.abs-hero-bg-graphic .g-dot {
    position: absolute;
    width: 22px;
    height: 22px;
    margin-top: -11px;
    margin-left: -11px;
}

.abs-hero-bg-graphic .g-dot.red {
    background: #E3000F;
    border-radius: 5px;
    transform: rotate(45deg);
    top: 17.9%;
    left: 11.7%;
}

.abs-hero-bg-graphic .g-dot.blue {
    background: #003876;
    border-radius: 50%;
    top: 50%;
    left: 0;
}

.abs-hero-bg-graphic .g-dot.green {
    background: #82C341;
    border-radius: 10px 0 10px 0;
    top: 82.1%;
    left: 11.7%;
}

.abs-family-section {
    max-width: 1200px;
    margin: 60px auto 100px;
    padding: 0 20px;
    text-align: center;
}

.abs-family-section h3 {
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 80px;
    color: #111;
}

.abs-family-list {
    display: flex;
    justify-content: center;
    gap: 150px;
}

.abs-family-item {
    font-size: 32px;
    font-weight: 900;
    color: #111;
    width: 160px;
}

.abs-family-line {
    height: 8px;
    background: #ffebeb;
    margin-top: 25px;
}

.abs-starex-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.abs-starex-logo {
    font-size: 64px;
    font-weight: 800;
    color: #21528f;
    margin: 0 0 5px;
    letter-spacing: -2px;
}

.abs-starex-slogan {
    color: #6db1df;
    font-size: 18px;
    margin-bottom: 50px;
    font-weight: 500;
}

.abs-starex-desc-wrap {
    border-bottom: 1px solid #ddd;
    padding-bottom: 25px;
    margin: 0 auto 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    max-width: 900px;
}

.abs-starex-desc {
    font-size: 20px;
    font-weight: 800;
    color: #111;
    margin: 0;
}

.abs-starex-dots {
    display: flex;
    gap: 10px;
    align-items: center;
}

.abs-starex-dots .dot {
    width: 16px;
    height: 16px;
}

.abs-starex-dots .dot.red {
    background: #E3000F;
    border-radius: 4px;
    transform: rotate(45deg);
}

.abs-starex-dots .dot.blue {
    background: #003876;
    border-radius: 50%;
}

.abs-starex-dots .dot.green {
    background: #82C341;
    border-radius: 4px;
}

.abs-app-section {
    text-align: center;
    margin-bottom: 60px;
}

.abs-app-section h3 {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 12px;
    color: #111;
    margin: 0;
}

.abs-app-line {
    width: 60px;
    height: 2px;
    background: #DA291C;
    margin: 25px auto 60px;
}

.abs-app-img {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.abs-app-img img {
    max-width: 100%;
    margin: 0 auto;
    display: block;
}

@media(max-width: 900px) {
    .abs-hero-title {
        font-size: 40px;
    }

    .abs-family-list {
        gap: 40px;
        flex-direction: column;
        align-items: center;
    }

    .abs-starex-desc-wrap {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .abs-hero-bg-graphic {
        display: none;
    }
}

/* =====================================================
   EP 상세 페이지 추가 스타일
   ===================================================== */
.ep-family-list {
    display: flex;
    justify-content: center;
    gap: 120px;
}

.ep-family-item {
    font-size: 32px;
    font-weight: 900;
    color: #111;
    width: 120px;
}

.ep-infino-logo {
    font-size: 64px;
    font-weight: 800;
    font-style: italic;
    color: #004b87;
    margin: 0 0 5px;
    letter-spacing: -2px;
}

.ep-infino-slogan {
    color: #72a9e0;
    font-size: 22px;
    margin-bottom: 50px;
    font-weight: 500;
}

/* =====================================================
   인조대리석(staron) 추가 스타일
   ===================================================== */
.marble-staron-logo {
    font-size: 64px;
    font-weight: 700;
    color: #17458f;
    margin: 0 0 5px;
    letter-spacing: -1px;
}

.marble-staron-slogan {
    color: #6392c6;
    font-size: 18px;
    margin-bottom: 50px;
    font-weight: 600;
}

@media(max-width: 900px) {
    .ep-family-list {
        gap: 40px;
        flex-wrap: wrap;
    }
}

/* Mobile Menu Styles */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 0;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #fff;
    transition: var(--transition);
    border-radius: 2px;
}

.header.scrolled .mobile-menu-btn span,
.header.subpage .mobile-menu-btn span,
.header:has(.gnb:hover) .mobile-menu-btn span,
.header:has(.search-btn.active) .mobile-menu-btn span,
.header.mobile-open .mobile-menu-btn span {
    background-color: var(--text-dark);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.mobile-lang-wrap {
    display: none;
}

@media (max-width: 1024px) {
    .gnb {
        position: fixed;
        top: 0;
        left: 100%;
        width: 100%;
        max-width: 100%;
        height: 100vh;
        background-color: #ffffff;
        display: flex; /* 필수 */
        flex-direction: column;
        transition: left 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        padding-top: var(--header-height);
        box-shadow: none;
        overflow-y: auto;
        z-index: 990;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .gnb.active {
        left: 0;
    }

    .util .lang {
        display: none; /* Hide header language toggle on mobile */
    }

    .mobile-lang-wrap {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        width: 100%;
        padding: 20px 20px 10px;
        gap: 15px;
    }

    .mobile-lang-wrap a {
        font-size: 14px;
        font-weight: 500;
        color: #111;
    }

    .mobile-lang-wrap a.active {
        color: #DA291C;
    }

    .gnb > ul {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 20px 40px;
        gap: 0;
        width: 100%;
    }

    .gnb > ul > li {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        border-bottom: 1px solid #f0f0f0;
        height: auto;
    }
    
    .gnb > ul > li > a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 24px 0;
        color: #111;
        font-size: 18px;
        font-weight: 800; /* 더 굵은 글씨체 */
    }

    .gnb > ul > li > a::after {
        content: '';
        position: static;
        width: 8px !important;
        height: 8px !important;
        border-right: 2px solid #111;
        border-bottom: 2px solid #111;
        border-top: none;
        border-left: none;
        transform: rotate(45deg) translateY(-2px);
        background: none !important;
        transition: transform 0.3s;
    }
    
    .gnb > ul > li.open > a::after {
        transform: rotate(-135deg) translateY(-2px);
    }
    
    .gnb > ul > li:hover > a::after {
        width: 8px !important;
        height: 8px !important;
        background: none !important;
    }

    .gnb::before {
        display: none;
    }

    .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        display: none;
        width: 100%;
        padding: 0 0 15px 0;
        background: transparent;
        box-shadow: none;
        gap: 5px;
    }

    .gnb > ul > li.open .sub-menu {
        display: flex;
    }
    
    .sub-menu.mega {
        flex-direction: column;
        padding: 0 0 15px 0;
    }
    
    .mega-column,
    .mega-column:not(:first-child) {
        padding: 10px 0 !important;
        border-left: none !important;
        width: 100%;
    }
    
    .mega-title {
        font-size: 15px;
        margin-bottom: 10px;
        border-bottom: none;
    }

    .mega-subtitle {
        display: none;
    }
    
    .sub-menu li a {
        padding: 10px 15px;
        background-color: #f8f9fa;
        border-radius: 4px;
        margin-bottom: 2px;
        width: 100%;
    }

    .mobile-menu-btn {
        display: flex;
    }
    
    /* When mobile menu is open, make sure logo is dark */
    .header.mobile-open .logo a {
        color: #DA291C;
    }
    .header.mobile-open .logo span:not(.lotte-text) {
        color: var(--text-dark);
    }
    
    .header.mobile-open .search-btn {
        color: var(--text-dark);
    }
    
    .header.mobile-open .lang {
        color: var(--text-dark);
    }
}

/* ---------------------------------------------------
   추가 반응형 비율 조정 (헤더, 로고, 유틸 아이콘 등)
   --------------------------------------------------- */
@media (max-width: 1024px) {
    .header-inner {
        padding: 0 20px;
    }
    .logo-img {
        height: 36px;
    }
}

@media (max-width: 768px) {
    .header-inner {
        padding: 0 15px;
    }
    .logo-img {
        height: 28px;
    }
    .util {
        gap: 15px;
    }
    .lang {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .header-inner {
        padding: 0 10px;
    }
    .logo-img {
        height: 22px;
    }
    .util {
        gap: 10px;
    }
    .mobile-menu-btn {
        width: 22px;
        height: 16px;
    }
}