@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700&display=swap');

:root {
    --primary-color: #0056b3;
    /* Industrial Blue */
    --accent-color: #d32f2f;
    /* Red from WIKA style / potential logo color */
    --text-color: #333;
    --bg-color: #f8f9fa;
    --header-height: 80px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    /* 한글·혼용 본문: 음절 중간 난절단보다 어절(단어) 단위 줄바꿈 우선 */
    word-break: keep-all;
    overflow-wrap: break-word;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Container for Wide Layout */
.container {
    max-width: 1400px;
    /* Wide layout as requested */
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
    padding: 10px 30px;
    max-width: 1600px;
    margin: 0 auto;
    gap: 15px;
}

.logo {
    flex-shrink: 0;
}

.logo img {
    height: 45px;
    display: block;
}

/* Navigation - Industrial Style */
nav {
    flex: 1 1 auto;
    background: transparent;
    margin: 0 20px;
    min-width: 0;
}

.gnb-container {
    width: 100%;
    position: relative;
}

.gnb {
    display: flex;
    justify-content: center;
    /* Center menu items */
    width: 100%;
}

.gnb li {
    padding: 0 8px;
    text-align: center;
    white-space: nowrap;
}

.gnb li a {
    display: block;
    padding: 10px 10px;
    font-weight: 600;
    color: #333;
    transition: color 0.3s;
    border: none;
    font-size: 1rem;
    position: relative;
}

.gnb li:first-child a {
    border: none;
}

.gnb > li > a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
}

.gnb > li:hover > a::after {
    transform: scaleX(1);
}

.gnb > li > a {
    z-index: 2101; /* 드롭다운보다 위에서 강조선이 보이도록 */
}

.gnb li a:hover {
    color: var(--primary-color);
    background: transparent;
}

/* Search Box - Premium Design */
.search-box {
    flex-shrink: 0;
    position: relative;
}

.search-wrapper {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    width: 280px;
}

.search-wrapper:hover {
    border-color: #b3d1f0;
    box-shadow: 0 3px 10px rgba(0, 86, 179, 0.12);
    background: #fff;
}

.search-wrapper:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 4px 14px rgba(0, 86, 179, 0.2);
    transform: translateY(-1px);
    background: #fff;
}

.search-wrapper input {
    flex: 1;
    border: none;
    outline: none;
    padding: 12px 18px;
    font-size: 0.9rem;
    font-family: 'Noto Sans KR', sans-serif;
    color: #333;
    background: transparent;
    min-width: 0;
}

.search-wrapper input::placeholder {
    color: #aaa;
    font-size: 0.88rem;
    transition: color 0.3s;
    font-weight: 400;
}

.search-wrapper input:focus::placeholder {
    color: #bbb;
}

.search-wrapper button {
    background: var(--primary-color);
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #fff;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    flex-shrink: 0;
}

.search-wrapper button:hover {
    background: #004494;
    transform: scale(1.05);
}

.search-wrapper button:active {
    transform: scale(0.98);
}

.search-wrapper button i {
    transition: transform 0.3s;
}

.search-wrapper button:hover i {
    transform: rotate(-15deg) scale(1.1);
}

/* Quick Product Navigation */
.quick-nav-wrapper {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 2px solid #dee2e6;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.quick-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 12px 0;
    flex-wrap: wrap;
}

.quick-nav li a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #495057;
    background: #fff;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid #dee2e6;
    white-space: nowrap;
}

.quick-nav li a i {
    font-size: 0.9rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.quick-nav li a:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 86, 179, 0.25);
}

.quick-nav li a:hover i {
    color: #fff;
    transform: scale(1.15);
}


/* Hero Section (Slider) */
.hero-slider {
    position: relative;
    height: 320px;
    /* Reduced to ~70% as requested */
    overflow: hidden;
    background: #000;
}

.swiper-slide {
    background-size: cover;
    background-position: center;
}

/* Mega Menu Styles */
.gnb>li {
    position: relative;
}

.mega-menu {
    display: none;
    position: absolute;
    top: 100%;
    /* 바로 아래로 붙도록 */
    left: 0;
    min-width: 220px;
    background: #fff;
    border-top: none;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    z-index: 2000;
    /* High z-index to overlay slider */
    padding: 30px 0;
}

.gnb>li:hover .mega-menu {
    display: block;
}

.mega-menu .container {
    /* mega-menu 내부에서는 container의 width:100%가 드롭다운을 전체폭으로 키움 */
    width: auto;
    max-width: none;
}

.mega-content {
    display: flex;
    justify-content: flex-start;
    gap: 50px;
    padding: 0 40px;
}

.mega-column {
    min-width: 200px;
    text-align: left;
}

.mega-column h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
    font-weight: 700;
}

.mega-column ul li {
    padding: 5px 0;
    text-align: left;
}

.mega-column ul li a {
    font-size: 0.95rem;
    color: #666;
    padding: 0;
    border: none;
    font-weight: 400;
}

.mega-column ul li a:hover {
    color: var(--accent-color);
    background: none;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Left align text for industrial look */
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

/* Overlay darker for better readability */
.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.slide-content {
    position: relative;
    z-index: 10;
    color: #fff;
    padding: clamp(14px, 3.5vw, 30px);
    margin-left: 10%;
    border-left: 5px solid var(--accent-color);
    max-width: min(720px, 92vw);
    background: rgba(0, 0, 0, 0.6);
}

.slide-content h2 {
    font-size: clamp(1.2rem, 4.6vw, 2.5rem);
    /* Responsive font size */
    margin-bottom: 10px;
    line-height: 1.2;
    word-break: keep-all;
    overflow-wrap: break-word;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slide-content p {
    font-size: clamp(0.9rem, 2.8vw, 1.2rem);
    /* Responsive font size */
    line-height: 1.45;
    margin-bottom: clamp(10px, 2.8vw, 20px);
    word-break: keep-all;
    overflow-wrap: break-word;
}

.btn-primary {
    background: var(--accent-color);
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: bold;
    display: inline-block;
}

/* CTA Button in Slides */
.btn-cta {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: clamp(10px, 2.8vw, 14px) clamp(18px, 6vw, 32px);
    border-radius: 30px;
    font-weight: 600;
    font-size: clamp(0.85rem, 2.8vw, 1rem);
    border: 2px solid #fff;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

@media (max-width: 480px) {
    .slide-content {
        border-left-width: 4px;
    }

    .slide-content p {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
    }
}

.btn-cta:hover {
    background: #fff;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.3);
}

/* Main Content Area */
.main-content {
    padding: 60px 0;
    background: #fff;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h3 {
    font-size: 2.2rem;
    color: #333;
    font-weight: 700;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--accent-color);
}

.section-title p {
    color: #666;
    font-size: 1.1rem;
    margin-top: 15px;
    line-height: 1.6;
}

/* 서브 상단: 타이틀·브레드크럼 중앙 정렬, 강조선 간격 축소 */
.sub-hero-inner {
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.sub-hero .section-title.sub-hero-title {
    margin: 0;
}
.sub-hero .sub-breadcrumb {
    font-size: 12px;
    color: #777;
    text-align: center;
}
.sub-hero .section-title.sub-hero-title h3 {
    padding-bottom: 6px;
}

/* Business Domain — 주요 적용 분야 카드 (6분야, 반응형 · 줄 바꿈 시 모든 행 가운데 정렬)
   1200px↑: 3열 2줄(1920x1080 기준), 그 미만은 자동 래핑되어 가운데 정렬 유지 */
.domain-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 25px;
    margin-bottom: 80px;
}

@media (min-width: 1200px) {
    .domain-grid {
        gap: 24px;
    }
}

.domain-card {
    position: relative;
    height: 280px;
    box-sizing: border-box;
    flex: 0 1 260px;
    width: 260px;
    max-width: min(100%, 360px);
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

@media (min-width: 1200px) {
    .domain-card {
        /* 3열 배치: (컨테이너폭 - 좌우 padding - 2 * gap) / 3 ≈ 약 430px */
        flex: 0 1 calc((100% - 48px) / 3);
        width: calc((100% - 48px) / 3);
        max-width: calc((100% - 48px) / 3);
    }
}

@media (max-width: 768px) {
    .domain-card {
        flex: 1 1 100%;
        width: 100%;
        max-width: 100%;
    }
}

.domain-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.domain-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 25px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 60%, transparent 100%);
    color: #fff;
    transition: all 0.3s ease;
}

.domain-card:hover .domain-overlay {
    background: linear-gradient(to top, rgba(0, 86, 179, 0.95) 0%, rgba(0, 86, 179, 0.7) 60%, transparent 100%);
}

.domain-overlay h4 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.domain-overlay p {
    font-size: 0.9rem;
    line-height: 1.4;
    opacity: 0.95;
}

/* Company Strength Section */
.strength-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
    margin: 80px 0;
    border-radius: 12px;
}

.strength-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .strength-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .strength-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

.strength-card {
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.strength-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 86, 179, 0.15);
}

.strength-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), #0073e6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 86, 179, 0.3);
}

.strength-card h4 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 12px;
    font-weight: 600;
}

.strength-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* TheSen 브랜드 소개 (일반 페이지용) */
.thesen-intro {
    padding: 30px 0 50px;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.thesen-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(0, 86, 179, 0.08);
    color: var(--primary-color);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.thesen-intro h3 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: 14px;
    color: #222;
    line-height: 1.25;
}

.thesen-intro .subtitle {
    font-size: 1.05rem;
    color: #3f4f67;
    margin-bottom: 16px;
    font-weight: 500;
}

.thesen-hero {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: stretch;
    margin-bottom: 34px;
    padding: 34px;
    border-radius: 20px;
    background: linear-gradient(135deg, #f7fafc 0%, #eef4fb 55%, #e8f0fa 100%);
    border: 1px solid #d9e5f4;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.thesen-hero-text {
    flex: 1 1 320px;
}

.thesen-hero-text p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.7;
    word-break: keep-all;
}

.thesen-hero-text p + p {
    margin-top: 10px;
}

.thesen-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.thesen-badges span {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 7px 14px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #dbe5f2;
    color: #28415f;
    font-size: 0.88rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

.thesen-hero-visual {
    flex: 0 0 320px;
    max-width: 400px;
}

.thesen-hero-visual .thesen-hero-photo {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(18, 50, 96, 0.12);
    box-shadow: 0 16px 36px rgba(2, 6, 23, 0.15);
    background: #fff;
}

.thesen-hero-visual .thesen-hero-photo img {
    width: 100%;
    height: auto;
    display: block;
}

.thesen-hero-visual .img-placeholder {
    min-height: 320px;
    border-radius: 18px;
    background:
        linear-gradient(160deg, rgba(79, 136, 214, 0.28), rgba(11, 36, 71, 0.9)),
        radial-gradient(circle at top left, #70a8eb 0%, #1b467e 45%, #07162c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-align: center;
    padding: 30px 24px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 16px 36px rgba(2, 6, 23, 0.28);
}

.thesen-visual-note {
    margin-top: 12px;
    font-size: 0.84rem;
    line-height: 1.6;
    color: #66758a;
}

.thesen-two-column {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
    margin-bottom: 26px;
}

.thesen-two-column .column {
    background: #fff;
    border: 1px solid #e3e9f1;
    border-radius: 16px;
    padding: 28px 26px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.thesen-two-column .column h4 {
    font-size: 1.2rem;
    margin-bottom: 14px;
    color: #123260;
    position: relative;
    padding-bottom: 12px;
}

.thesen-two-column .column h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 56px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 999px;
}

.thesen-two-column .column p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 12px;
    word-break: keep-all;
}

.thesen-two-column .column ul {
    padding-left: 18px;
    margin: 0;
}

.thesen-two-column .column li {
    font-size: 0.93rem;
    color: #555;
    margin-bottom: 4px;
    word-break: keep-all;
}

.thesen-kpi {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 28px;
}

.thesen-kpi-item {
    padding: 22px 20px;
    border-radius: 16px;
    background: linear-gradient(135deg, #123260 0%, #1c4d8d 100%);
    color: #fff;
    box-shadow: 0 12px 28px rgba(18, 50, 96, 0.22);
}

.thesen-kpi-item strong {
    display: block;
    font-size: 1.45rem;
    margin-bottom: 6px;
    letter-spacing: 0.02em;
}

.thesen-kpi-item span {
    display: block;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.5;
}

.thesen-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 36px;
}

.thesen-card {
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
    border-radius: 16px;
    border: 1px solid #e2e8f1;
    padding: 26px 22px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
    overflow: hidden;
}

.thesen-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.thesen-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.16);
}

.thesen-card h5 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: #123260;
}

.thesen-card p {
    font-size: 0.93rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 8px;
    word-break: keep-all;
}

.thesen-card ul {
    padding-left: 18px;
    margin: 0;
}

.thesen-card li {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 3px;
    word-break: keep-all;
}

.thesen-bottom-message {
    margin-top: 8px;
    padding: 22px 24px;
    border-radius: 16px;
    background: linear-gradient(135deg, #f7fafc 0%, #edf4fb 100%);
    border: 1px solid #dae6f3;
    font-size: 0.95rem;
    color: #333;
    line-height: 1.8;
    word-break: keep-all;
}

.thesen-bottom-message strong {
    display: inline-block;
    margin-bottom: 4px;
    color: #123260;
    font-size: 1rem;
}

@media (max-width: 1024px) {
    .thesen-hero {
        padding: 28px;
    }

    .thesen-kpi {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .thesen-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .thesen-intro {
        padding: 18px 0 36px;
    }

    .thesen-hero {
        flex-direction: column;
        gap: 28px;
        padding: 24px 20px;
    }

    .thesen-hero-visual {
        max-width: 100%;
    }

    .thesen-hero-visual .img-placeholder {
        min-height: 220px;
    }

    .thesen-two-column {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .thesen-two-column .column {
        padding: 22px 20px;
    }

    .thesen-kpi {
        grid-template-columns: 1fr;
    }

    .thesen-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .thesen-card {
        padding: 22px 18px;
    }

    .thesen-bottom-message {
        padding: 18px 18px;
    }
}

/* 회사개요 (일반 페이지용) */
.company-overview {
    padding: 30px 0 50px;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.company-overview-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: 28px;
    align-items: stretch;
    margin-bottom: 30px;
}

.company-overview-intro {
    padding: 34px 32px;
    border-radius: 20px;
    background: linear-gradient(135deg, #f7fafc 0%, #eef4fb 55%, #e8f0fa 100%);
    border: 1px solid #d9e5f4;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.company-overview-intro .eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(0, 86, 179, 0.08);
    color: var(--primary-color);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.company-overview-intro h3 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    line-height: 1.25;
    margin-bottom: 14px;
    color: #1e293b;
}

.company-overview-intro .lead {
    font-size: 1.02rem;
    color: #3f4f67;
    line-height: 1.8;
    margin-bottom: 14px;
    font-weight: 500;
    word-break: keep-all;
}

.company-overview-intro p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.75;
    word-break: keep-all;
}

.company-overview-contact {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
    padding: 28px 24px;
    border-radius: 20px;
    background: linear-gradient(160deg, #123260 0%, #1c4d8d 100%);
    color: #fff;
    box-shadow: 0 14px 32px rgba(18, 50, 96, 0.22);
}

.company-overview-contact h4 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: #fff;
}

.company-overview-contact .division {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 12px;
}

.company-overview-contact .contact-point {
    display: grid;
    gap: 12px;
}

.company-overview-contact .contact-item {
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.company-overview-contact .contact-item strong {
    display: block;
    margin-bottom: 4px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.78);
    letter-spacing: 0.04em;
}

.company-overview-contact .contact-item span,
.company-overview-contact .contact-item a {
    color: #fff;
    font-size: 0.95rem;
    line-height: 1.6;
    word-break: break-word;
}

.company-overview-kpi {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 26px;
}

.company-overview-kpi .kpi-item {
    padding: 22px 20px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #e2e8f1;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}

.company-overview-kpi .kpi-item strong {
    display: block;
    margin-bottom: 6px;
    color: #123260;
    font-size: 1.4rem;
}

.company-overview-kpi .kpi-item span {
    display: block;
    font-size: 0.9rem;
    color: #66758a;
    line-height: 1.5;
}

/* 하단 기업개요: 표 대신 카드형 Facts */
.company-overview-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 8px auto 24px;
    max-width: 980px;
}

.company-overview-facts .fact-card {
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
    border: 1px solid #e2e8f1;
    border-radius: 16px;
    padding: 18px 18px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
    position: relative;
    overflow: hidden;
}

.company-overview-facts .fact-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.company-overview-facts .fact-card.span-2 {
    grid-column: 1 / -1;
}

.company-overview-facts .fact-label {
    font-size: 0.85rem;
    color: #66758a;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 8px;
}

.company-overview-facts .fact-value {
    font-size: 0.98rem;
    color: #1f2937;
    line-height: 1.75;
    font-weight: 600;
}

.company-overview-facts .fact-value .muted {
    font-size: 0.85rem;
    font-weight: 500;
    color: #738197;
}

.company-overview-facts .fact-value a {
    color: #123260;
    text-decoration: underline;
    font-weight: 700;
}

.company-overview-facts .fact-list {
    margin: 6px 0 0;
    padding-left: 18px;
}

.company-overview-facts .fact-list li {
    margin-bottom: 4px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #374151;
}

.company-overview-facts .fact-sites {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 16px;
    margin-top: 6px;
}

.company-overview-facts .fact-sites strong {
    color: #123260;
}

.company-overview-note {
    padding: 22px 24px;
    border-radius: 16px;
    background: linear-gradient(135deg, #f7fafc 0%, #edf4fb 100%);
    border: 1px solid #dae6f3;
    color: #374151;
    font-size: 0.95rem;
    line-height: 1.8;
    word-break: keep-all;
}

.company-overview-note strong {
    color: #123260;
}

@media (max-width: 1024px) {
    .company-overview-hero {
        grid-template-columns: 1fr;
    }

    .company-overview-kpi {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .company-overview {
        padding: 18px 0 36px;
    }

    .company-overview-intro,
    .company-overview-contact {
        padding: 24px 20px;
    }

    .company-overview-kpi {
        grid-template-columns: 1fr;
    }

    .company-overview-facts {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .company-overview-facts .fact-sites {
        grid-template-columns: 1fr;
    }
}

/* 조직도 (일반 페이지용) */
.org-chart-section {
    padding: 30px 0 50px;
    word-break: keep-all;
}

.org-chart-header {
    max-width: 880px;
    margin: 0 auto 24px;
    text-align: left;
}

.org-chart-header h3 {
    font-size: clamp(1.6rem, 2.6vw, 2.1rem);
    color: #1e293b;
    margin-bottom: 10px;
}

.org-chart-header p {
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.7;
}

.org-chart-wrapper {
    max-width: 980px;
    margin: 0 auto;
    background: #fff;
    border-radius: 18px;
    border: 1px solid #dbe4ef;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
    padding: 20px 20px 18px;
}

.org-chart-wrapper figure {
    margin: 0;
}

.org-chart-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.org-chart-wrapper figcaption {
    margin-top: 10px;
    font-size: 0.85rem;
    color: #6b7280;
}

@media (max-width: 768px) {
    .org-chart-section {
        padding: 20px 0 36px;
    }

    .org-chart-wrapper {
        padding: 14px 14px 16px;
        border-radius: 14px;
    }
}

/* TheSen 타임라인 (ESC 센서 개발 이력) */
.thesen-timeline {
    padding: 30px 0 50px;
    word-break: keep-all;
}

.timeline-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
    gap: 24px;
    align-items: stretch;
    margin: 0 auto 28px;
    max-width: 1080px;
}

.timeline-hero-text {
    padding: 34px 32px;
    border-radius: 20px;
    background: linear-gradient(135deg, #f7fafc 0%, #eef4fb 55%, #e8f0fa 100%);
    border: 1px solid #d9e5f4;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.timeline-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(0, 86, 179, 0.08);
    color: var(--primary-color);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.timeline-hero-text h3 {
    font-size: clamp(1.6rem, 2.6vw, 2.1rem);
    color: #1e293b;
    margin-bottom: 12px;
    line-height: 1.25;
}

.timeline-hero-text p {
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.7;
}

.timeline-lead {
    font-size: 1.02rem;
    color: #3f4f67;
    margin-bottom: 14px;
    font-weight: 500;
}

.timeline-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.timeline-badges span {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 7px 14px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #dbe5f2;
    color: #28415f;
    font-size: 0.88rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

.timeline-side-card {
    height: 100%;
    padding: 26px 24px;
    border-radius: 20px;
    background: linear-gradient(160deg, #123260 0%, #1c4d8d 100%);
    color: #fff;
    box-shadow: 0 14px 32px rgba(18, 50, 96, 0.22);
}

.timeline-side-card strong {
    display: block;
    font-size: 1.05rem;
    margin-bottom: 12px;
}

.timeline-side-card ul {
    margin: 0;
    padding-left: 18px;
}

.timeline-side-card li {
    font-size: 0.92rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 4px;
}

.timeline-roadmap {
    max-width: 1080px;
    margin: 0 auto 24px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.timeline-stage {
    background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
    border-radius: 18px;
    border: 1px solid #e2e8f1;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}

.timeline-stage::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.timeline-stage-year {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    margin: 18px 18px 0;
    min-width: 58px;
    height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: #eef4fb;
    color: #123260;
    font-size: 0.82rem;
    font-weight: 700;
}

.timeline-stage-image {
    padding: 12px 18px 0;
    text-align: center;
}

.timeline-stage-image img {
    max-width: 100%;
    height: auto;
}

.timeline-stage-body {
    padding: 14px 18px 18px;
}

.timeline-stage-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    border-radius: 10px;
    padding: 10px 14px;
    text-align: center;
}

.stage-mm060 {
    background: #3f2f8d;
}

.stage-mm080 {
    background: #57b4cb;
}

.stage-sm100 {
    background: #8796a1;
}

.stage-sm110 {
    background: #e68a82;
}

.stage-emb {
    background: #9b6bb0;
}

.timeline-stage-body ul {
    margin: 0;
    padding-left: 18px;
}

.timeline-stage-body li {
    font-size: 0.93rem;
    color: #374151;
    line-height: 1.6;
    margin-bottom: 3px;
}

.timeline-highlight {
    max-width: 1080px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
    gap: 24px;
    align-items: stretch;
}

.timeline-highlight-copy {
    padding: 28px 28px;
    border-radius: 20px;
    background: linear-gradient(135deg, #f7fafc 0%, #edf4fb 100%);
    border: 1px solid #dae6f3;
}

.timeline-highlight-label {
    display: inline-block;
    margin-bottom: 10px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(155, 107, 176, 0.12);
    color: #7c4d92;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.timeline-highlight-copy h4 {
    font-size: 1.35rem;
    color: #1e293b;
    margin-bottom: 12px;
}

.timeline-highlight-copy p {
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.75;
    margin-bottom: 12px;
}

.timeline-highlight-copy ul {
    margin: 0;
    padding-left: 18px;
}

.timeline-highlight-copy li {
    font-size: 0.93rem;
    color: #374151;
    line-height: 1.65;
    margin-bottom: 4px;
}

.timeline-stage-emb .timeline-stage-image {
    padding-top: 18px;
}

.timeline-stage-status {
    margin-top: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 42px;
    border-radius: 10px;
    background: rgba(155, 107, 176, 0.12);
    color: #7c4d92;
    font-size: 0.92rem;
    font-weight: 700;
}

@media (max-width: 1024px) {
    .timeline-hero {
        grid-template-columns: 1fr;
    }

    .timeline-roadmap {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .timeline-highlight {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .thesen-timeline {
        padding: 20px 0 36px;
    }

    .timeline-hero-text,
    .timeline-side-card,
    .timeline-highlight-copy {
        padding: 22px 20px;
    }

    .timeline-roadmap {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

/* 찾아오시는길 (일반 페이지용) */
.location-page {
    padding: 30px 0 50px;
    word-break: keep-all;
}

.location-header {
    max-width: 880px;
    margin: 0 auto 24px;
}

.location-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(0, 86, 179, 0.08);
    color: var(--primary-color);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.location-header h3 {
    font-size: clamp(1.6rem, 2.6vw, 2.1rem);
    color: #1e293b;
    margin-bottom: 10px;
}

.location-header p {
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.7;
}

.location-tabs {
    max-width: 1080px;
    margin: 0 auto;
}

.location-tab-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.location-tab-button {
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid #d6e1ee;
    border-radius: 999px;
    background: #fff;
    color: #28415f;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.location-tab-button.is-active {
    background: linear-gradient(135deg, #123260 0%, #1c4d8d 100%);
    color: #fff;
    border-color: #123260;
    box-shadow: 0 10px 22px rgba(18, 50, 96, 0.2);
}

.location-panel {
    display: none;
    grid-template-columns: minmax(280px, 0.42fr) minmax(0, 0.58fr);
    gap: 22px;
    align-items: stretch;
}

.location-panel.is-active {
    display: grid;
}

.location-card {
    height: 100%;
    padding: 28px 24px;
    border-radius: 20px;
    background: linear-gradient(160deg, #123260 0%, #1c4d8d 100%);
    color: #fff;
    box-shadow: 0 14px 32px rgba(18, 50, 96, 0.22);
}

.location-card h4 {
    font-size: 1.25rem;
    margin-bottom: 14px;
    color: #fff;
}

.location-contact-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
}

.location-contact-list li {
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.location-contact-list strong {
    display: block;
    margin-bottom: 4px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.04em;
}

.location-contact-list span,
.location-contact-list a {
    color: #fff;
    font-size: 0.96rem;
    line-height: 1.65;
    word-break: break-word;
}

.location-map-wrap {
    background: #fff;
    border: 1px solid #dbe4ef;
    border-radius: 20px;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
    padding: 18px;
}

.location-map-frame {
    position: relative;
    width: 100%;
    padding-top: 62%;
    overflow: hidden;
    border-radius: 14px;
    background: #edf2f7;
}

.location-map-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

@media (max-width: 900px) {
    .location-panel {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .location-page {
        padding: 20px 0 36px;
    }

    .location-card {
        padding: 22px 20px;
    }

    .location-map-wrap {
        padding: 12px;
        border-radius: 16px;
    }
}

/* Product Lines - Specific Layout */
.product-section {
    background: #f4f6f8;
    padding: 60px 0;
}

/* Info Section (Video + Notice) - Dense Layout */
.info-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    /* Video wider */
    gap: 40px;
    margin: 60px auto;
}

.video-box {
    background: #000;
    height: 400px;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.video-box video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: #fff;
    padding: 30px 25px 20px;
    text-align: left;
}

.video-caption h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.video-caption p {
    font-size: 0.95rem;
    opacity: 0.9;
}

.play-btn {
    font-size: 4rem;
    opacity: 0.8;
    cursor: pointer;
    transition: opacity 0.3s;
}

.play-btn:hover {
    opacity: 1;
}

.notice-box {
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 25px;
}

.notice-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 20px;
    border-bottom: 2px solid #333;
    padding-bottom: 10px;
}

.notice-header h4 {
    font-size: 1.3rem;
    font-weight: 700;
}

.notice-header .more {
    font-size: 0.9rem;
    color: #666;
}

.notice-list li {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notice-list li a {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 70%;
}

.notice-list li span.date {
    color: #888;
    font-size: 0.85rem;
}

/* Footer - Dark Industrial */
footer {
    background: #1a1a1a;
    color: #bbb;
    padding: 60px 0;
    font-size: 0.9rem;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #333;
    padding-bottom: 40px;
    margin-bottom: 30px;
}

.footer-brand h2 {
    color: #fff;
    margin-bottom: 8px;
    font-size: 2rem;
    letter-spacing: 1px;
}

.footer-brand-sub {
    display: inline-block;
    margin-left: 8px;
    font-size: 0.68em;
    font-weight: 500;
    color: #b7c1cc;
    letter-spacing: 0;
    vertical-align: middle;
}

.brand-tagline {
    color: #aaa;
    font-size: 0.9rem;
    font-style: italic;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.footer-contact p {
    margin-bottom: 10px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    gap: 40px;
}

.footer-links h5 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 1rem;
}

.footer-links ul li {
    margin-bottom: 8px;
}

.footer-links ul li a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.social-links a {
    transition: opacity 0.3s ease;
}

.social-links a:hover {
    opacity: 0.7;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .header-top {
        flex-wrap: wrap;
        height: auto;
        padding: 20px;
    }

    .gnb {
        flex-wrap: wrap;
        gap: 5px;
        justify-content: center;
    }

    .gnb li {
        padding: 0 5px;
    }

    .gnb li a {
        padding: 8px 10px;
        font-size: 0.95rem;
    }

    nav {
        margin: 15px 0;
        width: 100%;
    }

    .logo {
        margin-bottom: 10px;
    }

    .search-box {
        width: 100%;
        max-width: 100%;
        margin: 10px 0;
    }

    .search-wrapper {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .quick-nav {
        gap: 4px;
        padding: 10px 15px;
    }

    .quick-nav li a {
        padding: 7px 14px;
        font-size: 0.82rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    /* 모바일 햄버거 메뉴 */
    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        margin-left: 10px;
        border: none;
        background: transparent;
        cursor: pointer;
        color: #333;
        font-size: 20px;
    }

    .nav-toggle span {
        display: block;
        width: 22px;
        height: 2px;
        background: #333;
        position: relative;
    }

    .nav-toggle span::before,
    .nav-toggle span::after {
        content: "";
        position: absolute;
        left: 0;
        width: 22px;
        height: 2px;
        background: #333;
    }

    .nav-toggle span::before {
        top: -6px;
    }

    .nav-toggle span::after {
        top: 6px;
    }

    /* 모바일에서는 기본적으로 GNB를 숨기고 햄버거로 토글 */
    nav {
        margin: 0;
    }

    .gnb {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        background: #fff;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 10px 20px 15px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
        z-index: 1500;
    }

    body.nav-open .gnb {
        display: flex;
    }

    .gnb li {
        padding: 6px 0;
        width: 100%;
        text-align: left;
    }

    .gnb li a {
        padding: 6px 0;
        font-size: 0.95rem;
    }

    /* 모바일에서는 mega-menu를 드롭다운 형태로 펼치기 */
    .mega-menu {
        position: static;
        display: none;
        width: 100%;
        border-top: 1px solid #eee;
        box-shadow: none;
        padding: 10px 0 5px;
    }

    .gnb li.open .mega-menu {
        display: block;
    }

    .info-wrapper {
        grid-template-columns: 1fr;
    }

    .video-box {
        height: 280px;
    }

    .quick-nav {
        gap: 3px;
        padding: 8px 10px;
    }

    .quick-nav li a {
        padding: 6px 12px;
        font-size: 0.78rem;
        gap: 4px;
    }

    .quick-nav li a i {
        font-size: 0.8rem;
    }

    .footer-top {
        flex-direction: column;
        gap: 40px;
    }

    .footer-links {
        flex-direction: column;
        gap: 20px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .slide-content {
        margin-left: 5%;
        margin-right: 5%;
        width: 90%;
    }

    /* Adjust mega menu for mobile to stack */
    .mega-content {
        flex-direction: column;
        gap: 20px;
    }

    .mega-column {
        width: 100%;
    }
}

/* 공장소개 (일반 페이지 / dbx_content, pageID ID17750164421) */
.factory-intro {
    padding: 12px 0 48px;
    word-break: keep-all;
    overflow-wrap: break-word;
    max-width: 1180px;
    margin: 0 auto;
    box-sizing: border-box;
}

.factory-intro-buildings {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}

.factory-intro-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 20px 18px 22px;
    box-shadow: 0 12px 32px rgba(15, 32, 55, 0.06);
}

.factory-intro-card-title {
    margin: 0 0 14px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
}

.factory-intro-photo-wrap {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(180deg, #eef4fb 0%, #e2e8f0 100%);
    aspect-ratio: 4 / 3;
    min-height: 220px;
}

/* 2·3층 시설 공통: 밝은 사진 위 오버레이 글자 가독성(얕은 스크림) */
.factory-intro-photo-wrap--readable-overlay::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    border-radius: inherit;
    background: linear-gradient(
        180deg,
        rgba(15, 32, 55, 0.2) 0%,
        rgba(15, 32, 55, 0.26) 45%,
        rgba(12, 28, 48, 0.34) 100%
    );
}

.factory-intro-photo-wrap--readable-overlay .factory-intro-photo {
    position: relative;
    z-index: 0;
}

.factory-intro-photo-wrap--readable-overlay .factory-intro-photo-overlay {
    z-index: 2;
}

.factory-intro-photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.factory-intro-photo-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10% 8% 12%;
    box-sizing: border-box;
}

.factory-intro-photo-overlay--triple {
    padding: 8% 6% 10%;
    gap: 0;
    justify-content: space-between;
}

.factory-intro-photo-wrap--readable-overlay .factory-intro-floor {
    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.82),
        0 2px 10px rgba(0, 0, 0, 0.42);
}

.factory-intro-photo-wrap--readable-overlay .factory-intro-label,
.factory-intro-photo-wrap--readable-overlay .factory-intro-arrow {
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
}

.factory-intro-photo-wrap--readable-overlay .factory-intro-product-slot {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.55);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.factory-intro-photo-wrap--readable-overlay .factory-intro-product-slot img {
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.35));
}

/* 2층 규모 시설: 2층(사무실) 라벨을 사진상 조금 더 아래로 */
.factory-intro-photo-overlay--two-floor .factory-intro-floor--top {
    margin-top: clamp(10%, 16vw, 20%);
}

.factory-intro-floor {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.factory-intro-floor--tier3 {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.factory-intro-floor-main {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
}

.factory-intro-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.02em;
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(4px);
}

.factory-intro-chip--blue {
    background: rgba(18, 77, 141, 0.88);
    box-shadow: 0 4px 14px rgba(18, 50, 96, 0.35);
}

.factory-intro-chip--green {
    background: rgba(13, 107, 74, 0.9);
    box-shadow: 0 4px 14px rgba(13, 80, 56, 0.35);
}

.factory-intro-arrow {
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    opacity: 0.95;
}

.factory-intro-label {
    color: #fff;
    font-size: clamp(0.82rem, 2vw, 0.95rem);
    font-weight: 700;
    line-height: 1.35;
    max-width: 100%;
}

.factory-intro-sublabel {
    display: inline;
    font-weight: 600;
    opacity: 0.92;
    font-size: 0.9em;
}

.factory-intro-product-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-top: 4px;
}

.factory-intro-product-slot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    min-height: 52px;
    width: 52px;
    height: 52px;
    border-radius: 10px;
    border: 1px dashed rgba(255, 255, 255, 0.65);
    background: rgba(255, 255, 255, 0.18);
    box-sizing: border-box;
}

.factory-intro-product-slot::after {
    content: "IMG";
    font-size: 0.62rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 0.06em;
}

.factory-intro-product-slot img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.factory-intro-product-slot:has(img[src])::after {
    content: none;
}

.factory-intro-floor--tier1 .factory-intro-product-slot--solo {
    margin-left: auto;
}

.factory-intro-stats-wrap {
    margin-top: 36px;
    padding: 0 4px;
}

.factory-intro-stats-heading {
    margin: 0 0 16px;
    font-size: 1.05rem;
    font-weight: 800;
    color: #123260;
    text-align: center;
}

.factory-intro-stats {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    border: 1px solid #c5d7eb;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 45%, #f3f7fc 100%);
    box-shadow: 0 10px 28px rgba(18, 50, 96, 0.08);
}

.factory-intro-stat {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 18px 14px;
    text-align: center;
    border-right: 1px solid #dbe7f3;
}

.factory-intro-stat:last-child {
    border-right: none;
}

.factory-intro-stat-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #64748b;
}

.factory-intro-stat-value {
    font-size: clamp(0.95rem, 2vw, 1.08rem);
    font-weight: 800;
    color: #123260;
    line-height: 1.3;
}

@media (max-width: 960px) {
    .factory-intro-buildings {
        grid-template-columns: 1fr;
    }

    .factory-intro-stats {
        grid-template-columns: 1fr;
    }

    .factory-intro-stat {
        border-right: none;
        border-bottom: 1px solid #dbe7f3;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
        padding: 14px 16px;
    }

    .factory-intro-stat:last-child {
        border-bottom: none;
    }

    .factory-intro-photo-overlay {
        padding: 8% 6% 10%;
    }
}

@media (max-width: 520px) {
    .factory-intro {
        padding: 18px 0 36px;
    }

    .factory-intro-card {
        padding: 16px 14px 18px;
    }

    .factory-intro-floor--tier1 {
        flex-direction: column;
        align-items: flex-start;
    }

    .factory-intro-floor--tier1 .factory-intro-product-slot--solo {
        margin-left: 0;
    }
}

/* 양산공정 (일반 페이지 / dbx_content, pageID ID17736267191) */
.mass-process-page {
    padding: 12px 0 48px;
    max-width: 1180px;
    margin: 0 auto;
    box-sizing: border-box;
    word-break: keep-all;
}

.mass-process-hero {
    margin-bottom: 28px;
}

.mass-process-hero-title {
    margin: 0 0 14px;
    font-size: clamp(1.05rem, 2.5vw, 1.25rem);
    font-weight: 800;
    color: #123260;
    text-align: center;
}

.mass-process-hero-media {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    box-shadow: 0 12px 32px rgba(15, 32, 55, 0.06);
}

.mass-process-hero-media img {
    display: block;
    width: 100%;
    height: auto;
    vertical-align: top;
}

.mass-tabs {
    position: relative;
}

.mass-tab-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
    pointer-events: none;
}

.mass-tab-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 20px;
    padding: 4px;
    background: linear-gradient(180deg, #f1f5f9 0%, #e8eef5 100%);
    border-radius: 999px;
    border: 1px solid #dbe5f0;
}

.mass-tab-btn {
    flex: 1 1 auto;
    min-width: min(140px, 100%);
    padding: 12px 18px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 700;
    color: #475569;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    border: 1px solid transparent;
    user-select: none;
}

.mass-tab-btn:hover {
    color: #123260;
    background: rgba(255, 255, 255, 0.75);
}

#mass_process_tab_clean:checked ~ .mass-tab-bar label:nth-child(1),
#mass_process_tab_mems:checked ~ .mass-tab-bar label:nth-child(2),
#mass_process_tab_asm:checked ~ .mass-tab-bar label:nth-child(3) {
    color: #fff;
    background: linear-gradient(135deg, #123260 0%, #1c4d8d 100%);
    border-color: rgba(18, 50, 96, 0.35);
    box-shadow: 0 4px 14px rgba(18, 50, 96, 0.25);
}

.mass-panel {
    display: none;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    background: #fff;
    box-shadow: 0 12px 32px rgba(15, 32, 55, 0.06);
    padding: 16px;
    box-sizing: border-box;
}

#mass_process_tab_clean:checked ~ .mass-panel--clean,
#mass_process_tab_mems:checked ~ .mass-panel--mems,
#mass_process_tab_asm:checked ~ .mass-panel--asm {
    display: block;
    animation: mass-panel-in 0.25s ease;
}

@keyframes mass-panel-in {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mass-panel-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mass-figure {
    margin: 0;
}

.mass-figure img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
    vertical-align: top;
}

.mass-figure-cap {
    margin-top: 10px;
    text-align: center;
    font-size: 0.88rem;
    font-weight: 600;
    color: #64748b;
}

@media (max-width: 520px) {
    .mass-tab-bar {
        flex-direction: column;
        border-radius: 14px;
    }

    .mass-tab-btn {
        border-radius: 10px;
    }

    .mass-panel {
        padding: 10px;
    }
}