/* ELIM ENS common subpage */
.subpage {
    --sub-line: #dce3ec;
    --sub-blue: #0b63f6;
    --sub-navy: #061d3c;
    color: #172237;
}

.subpage .container {
    max-width: 1320px;
}

/* 그누보드 팝업레이어 문서 흐름 격리 및 접근성 텍스트 화면 노출 숨김 */
#hd_pop,
#hd_pops {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    z-index: 9999 !important;
}

#hd_pop h2,
#hd_pop .sound_only,
#hd_pops h2,
#hd_pops .sound_only,
.sound_only {
    display: inline-block !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 0 !important;
    line-height: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
    width: 0 !important;
    height: 0 !important;
    clip: rect(0, 0, 0, 0) !important;
}

/* 상단 헤더: 최상단에서는 투명으로 비주얼 배너 위에 오버레이, 스크롤 시 네이비 배경 적용 */
.header, .subpage .header, .sub-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 90px !important;
    padding-top: 0 !important;
    display: flex !important;
    align-items: center !important;
    background: transparent !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    z-index: 100 !important;
    transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease !important;
}

.header .container, .subpage .header .container {
    max-width: 1400px !important;
    padding: 0 40px !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.header.scrolled, .subpage .header.scrolled, .sub-header.scrolled {
    height: 90px !important;
    padding-top: 0 !important;
    background: rgba(6, 29, 60, 0.98) !important;
    border-bottom-color: rgba(255, 255, 255, 0.05) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
}

.header .logo img, .subpage .logo img {
    height: 54px !important;
    vertical-align: middle !important;
}

.header .nav, .subpage .header .nav {
    display: flex !important;
    gap: 40px !important;
    align-items: center !important;
}

.header .nav a, .subpage .header .nav a {
    color: #ffffff !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    padding: 10px 0 !important;
    text-decoration: none !important;
}

.subpage .nav a.active::after {
    width: 100%;
}

.subpage .btn-inquiry {
    padding: 8px 18px;
    border: 0;
    background: var(--secondary);
    color: #fff;
    box-shadow: none;
}

.subpage .btn-inquiry:hover {
    background: #fff;
    color: var(--primary);
}

.subpage .btn-menu {
    display: none;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.sub-visual {
    position: relative;
    height: 430px;
    overflow: hidden;
    display: flex;
    align-items: center;
    color: #fff;
    background: var(--sub-navy);
}

.sub-visual-bg,
.sub-visual-grid {
    position: absolute;
    inset: 0;
}

.sub-visual-bg {
    background-image:
        linear-gradient(rgba(3, 24, 55, .68), rgba(3, 30, 68, .62)),
        url('../images/core_ship_parallax.jpg');
    background-position: center 52%;
    background-size: cover;
    transform: scale(1.02);
}

.sub-visual-grid {
    opacity: .16;
    background-image:
        linear-gradient(rgba(255, 255, 255, .2) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .2) 1px, transparent 1px);
    background-size: 88px 88px;
    mask-image: linear-gradient(to right, #000, transparent 75%);
}

.sub-visual-content {
    position: relative;
    z-index: 2;
    padding-top: 70px;
    text-align: center;
}

.sub-eyebrow {
    margin-bottom: 13px;
    color: #75cfff;
    font-family: var(--font-en);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .2em;
}

.sub-visual h1 {
    font-size: clamp(44px, 5vw, 64px);
    line-height: 1.15;
    letter-spacing: -.04em;
}

.sub-description {
    margin-top: 18px;
    margin-right: auto;
    margin-left: auto;
    color: rgba(255, 255, 255, .75);
    font-size: 18px;
}

.sub-scroll-line {
    position: absolute;
    right: max(40px, calc((100vw - 1320px) / 2 + 40px));
    bottom: 0;
    width: 1px;
    height: 82px;
    background: rgba(255, 255, 255, .3);
}

.sub-scroll-line span {
    display: block;
    width: 1px;
    height: 30px;
    background: #70d8ff;
    animation: subLine 2s ease-in-out infinite;
}

@keyframes subLine {
    0% { transform: translateY(0); opacity: 0; }
    30% { opacity: 1; }
    100% { transform: translateY(52px); opacity: 0; }
}

.company-nav-wrap {
    position: relative;
    z-index: 5;
    background: #fff;
    border-bottom: 1px solid var(--sub-line);
}

.company-nav-head {
    display: flex;
    justify-content: flex-end;
    height: 48px;
    align-items: center;
    border-bottom: 1px solid #edf1f6;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #8a93a1;
    font-size: 13px;
}

.breadcrumb strong {
    color: #28364b;
    font-weight: 600;
}

.company-nav {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}

/* 3개 서브 메뉴 (공사 카테고리 등) 균등 3분할 센터 정렬 */
.company-nav.company-nav-3col,
.company-nav.col-3,
.company-nav:has(> a:nth-child(3):last-child),
.replacement-page .company-nav,
.installation-page .company-nav,
.scaffolding-page .company-nav {
    grid-template-columns: repeat(3, 1fr);
}

/* 2개 서브 메뉴 (고객지원: 견적문의, 자료실) 균등 2분할 */
.company-nav.company-nav-2col,
.company-nav.col-2,
.company-nav:has(> a:nth-child(2):last-child) {
    grid-template-columns: repeat(2, 1fr);
}

.company-nav a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 72px;
    border-left: 1px solid #edf1f6;
    color: #667085;
    font-size: 16px;
    font-weight: 600;
    transition: color .25s ease, background .25s ease;
}

.company-nav a:last-child {
    border-right: 1px solid #edf1f6;
}

.company-nav a:hover,
.company-nav a.active {
    color: var(--sub-blue);
    background: #f8fbff;
}

.company-nav a.active::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 3px;
    background: var(--sub-blue);
}

.message-section {
    padding: 125px 0 135px;
    background: #fff;
}

.content-heading {
    margin-bottom: 72px;
    text-align: center;
}

.content-heading span {
    color: var(--sub-blue);
    font-family: var(--font-en);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .18em;
}

.content-heading h2 {
    margin-top: 12px;
    color: var(--sub-navy);
    font-size: 44px;
    line-height: 1.2;
    letter-spacing: -.04em;
}

.content-heading p {
    margin-top: 16px;
    color: #7a8493;
    font-size: 17px;
}

.message-layout {
    display: grid;
    grid-template-columns: minmax(380px, .86fr) minmax(520px, 1.14fr);
    gap: clamp(70px, 8vw, 130px);
    align-items: start;
}

.message-keyvisual {
    position: sticky;
    top: 125px;
    min-height: 580px;
    overflow: hidden;
    padding: 72px 58px;
    color: #fff;
    border-radius: 16px;
    border: 1px solid rgba(11, 99, 246, 0.3);
    box-shadow: none;
    background:
        radial-gradient(circle at 86% 16%, rgba(0, 210, 255, .25), transparent 28%),
        linear-gradient(145deg, #092851, #04182f 70%);
}

.message-keyvisual::before {
    content: '';
    position: absolute;
    right: -120px;
    bottom: -145px;
    width: 340px;
    height: 340px;
    border: 1px solid rgba(116, 213, 255, .3);
    border-radius: 50%;
}

.keyvisual-lines {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: space-around;
    pointer-events: none;
}

.keyvisual-lines span {
    width: 1px;
    height: 100%;
    background: linear-gradient(transparent, rgba(117, 207, 255, .17), transparent);
}

.keyvisual-label,
.keyvisual-en,
.message-keyvisual blockquote {
    position: relative;
    z-index: 2;
}

.keyvisual-label {
    color: #75cfff;
    font-family: var(--font-en);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .18em;
}

.message-keyvisual blockquote {
    margin-top: 88px;
    font-size: clamp(30px, 3vw, 42px);
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: -.04em;
}

.keyvisual-en {
    margin-top: 70px;
    color: rgba(255, 255, 255, .46);
    font-family: var(--font-en);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.7;
    letter-spacing: .12em;
}

.keyvisual-mark {
    position: absolute;
    right: -2px;
    bottom: -88px;
    color: rgba(255, 255, 255, .04);
    font-family: var(--font-en);
    font-size: 360px;
    font-weight: 800;
    line-height: 1;
}

.message-copy {
    padding-top: 8px;
    color: #4f5b6e;
    font-size: 17px;
    line-height: 2;
    word-break: keep-all;
}

.message-copy .opening {
    position: relative;
    margin-bottom: 46px;
    padding: 0 0 40px 28px;
    border-bottom: 1px solid var(--sub-line);
}

.message-copy .opening::before {
    content: '';
    position: absolute;
    top: 5px;
    bottom: 43px;
    left: 0;
    width: 3px;
    background: linear-gradient(var(--sub-blue), var(--accent));
}

.message-copy .opening p {
    margin: 0;
    color: var(--sub-navy);
    font-size: 23px;
    font-weight: 700;
    line-height: 1.65;
    letter-spacing: -.025em;
}

.message-copy > p {
    margin-bottom: 28px;
}

.message-signature {
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 58px;
    color: var(--sub-navy);
}

.message-signature span {
    font-size: 15px;
}

.message-signature strong {
    font-size: 24px;
    letter-spacing: .14em;
}

.company-view {
    margin: 105px auto 0;
}

.company-view-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 15 / 8;
    background: #e8edf3;
    border-radius: 16px;
    border: 1px solid var(--sub-line);
    box-shadow: none;
}

.company-view-image::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, transparent 62%, rgba(4, 24, 48, .18));
}

.company-view-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
    border-radius: 16px;
}

.company-view figcaption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 24px 0 0;
}

.company-view figcaption span {
    color: var(--sub-blue);
    font-family: var(--font-en);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .16em;
}

.company-view figcaption strong {
    color: var(--sub-navy);
    font-size: 17px;
    font-weight: 650;
}

.value-section {
    position: relative;
    overflow: hidden;
    padding: 108px 0 130px;
    background:
        linear-gradient(rgba(241, 246, 252, .92), rgba(247, 249, 252, .98)),
        linear-gradient(90deg, rgba(6, 29, 60, .04) 1px, transparent 1px),
        linear-gradient(rgba(6, 29, 60, .04) 1px, transparent 1px);
    background-size: auto, 80px 80px, 80px 80px;
}

.value-heading {
    display: grid;
    align-items: end;
    grid-template-columns: minmax(0, 1fr) minmax(360px, .8fr);
    gap: 80px;
    margin-bottom: 52px;
}

.value-heading span {
    display: block;
    margin-bottom: 18px;
    color: var(--sub-blue);
    font-family: var(--font-en);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .18em;
}

.value-heading h2 {
    color: var(--sub-navy);
    font-size: clamp(34px, 3.2vw, 48px);
    line-height: 1.28;
    letter-spacing: -.045em;
}

.value-heading > p {
    position: relative;
    padding: 3px 0 3px 24px;
    color: #66758a;
    font-size: 17px;
    line-height: 1.85;
}

.value-heading > p::before {
    content: '';
    position: absolute;
    top: 4px;
    bottom: 4px;
    left: 0;
    width: 2px;
    background: var(--sub-blue);
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.value-item {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 306px;
    padding: 34px 30px 32px;
    border: 1px solid #dce5f0;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: none;
    transition: transform .35s ease, border-color .35s ease;
}

.value-item::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--sub-blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s ease;
}

.value-item:hover {
    border-color: var(--sub-blue);
    box-shadow: none;
    transform: translateY(-5px);
}

.value-item:hover::after {
    transform: scaleX(1);
}

.value-icon {
    position: absolute;
    top: -34px;
    right: -68px;
    color: rgba(11, 99, 246, .045);
    font-size: 272px;
    line-height: 1;
    pointer-events: none;
    transform: rotate(-7deg);
    transition: color .35s ease, transform .45s ease;
}

.value-item:hover .value-icon {
    color: rgba(11, 99, 246, .075);
    transform: rotate(-3deg) scale(1.025);
}

.value-item strong {
    display: block;
    position: relative;
    z-index: 1;
    color: var(--sub-navy);
    font-family: var(--font-en);
    font-size: 17px;
    letter-spacing: .08em;
}

.value-item h3 {
    position: relative;
    z-index: 1;
    margin-top: 9px;
    color: var(--sub-blue);
    font-size: 19px;
    font-weight: 700;
}

.value-item p {
    position: relative;
    z-index: 1;
    margin-top: 22px;
    color: #6c7889;
    font-size: 15px;
    line-height: 1.75;
    word-break: keep-all;
}

.sub-cta {
    position: relative;
    overflow: hidden;
    padding: 92px 0;
    color: #fff;
    background: #07234a;
}

.sub-cta-bg {
    position: absolute;
    inset: 0;
    opacity: 1;
    background-image:
        linear-gradient(90deg, rgba(4, 30, 66, .84) 0%, rgba(4, 30, 66, .76) 48%, rgba(4, 30, 66, .68) 100%),
        url('../images/biz2_installation.jpg');
    background-position: center 48%;
    background-size: cover;
}

.sub-cta-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.sub-cta-content span {
    color: #75cfff;
    font-family: var(--font-en);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .17em;
}

.sub-cta-content h2 {
    margin-top: 10px;
    font-size: 34px;
    letter-spacing: -.035em;
}

.sub-cta-content p {
    margin-top: 10px;
    color: rgba(255, 255, 255, .65);
}

.sub-cta-content > a {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 36px;
    min-width: 190px;
    height: 62px;
    padding: 0 28px;
    background: var(--secondary);
    font-weight: 700;
    transition: background .25s ease, transform .25s ease;
}

.sub-cta-content > a:hover {
    background: #0b73ff;
    transform: translateY(-3px);
}

.sub-footer .f-bottom {
    padding-top: 55px;
    padding-bottom: 55px;
    align-items: flex-end;
}

.sub-footer .fb-left {
    display: flex;
    align-items: center;
    gap: 40px;
}

.sub-footer .f-logo {
    flex: 0 0 auto;
    margin: 0;
}

.sub-footer .f-logo img {
    height: 105px;
}

.sub-footer .f-copy {
    font-family: var(--font-main);
    line-height: 1.75;
}

.sub-footer .copyright {
    margin-top: 10px;
}

.sub-footer .fb-right {
    align-items: flex-end;
    gap: 20px;
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .75s ease, transform .75s cubic-bezier(.2, .75, .25, 1);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1080px) {
    .subpage .nav {
        gap: 24px;
    }

    .message-layout {
        grid-template-columns: minmax(330px, .8fr) minmax(450px, 1.2fr);
        gap: 58px;
    }

    .message-keyvisual {
        padding: 58px 42px;
    }

    .sub-footer .f-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 35px;
    }
}

@media (max-width: 820px) {
    .subpage .container {
        padding-right: 24px;
        padding-left: 24px;
    }

    .subpage .header,
    .subpage .header.scrolled {
        height: 76px;
        padding-top: 0;
    }

    .subpage .logo img {
        height: 52px;
    }

    .subpage .btn-inquiry {
        display: none;
    }

    .subpage .btn-menu {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        font-size: 27px;
    }

    .subpage .nav {
        position: fixed;
        top: 76px;
        right: 0;
        left: 0;
        display: flex;
        visibility: hidden;
        flex-direction: column;
        gap: 0;
        padding: 12px 24px 24px;
        background: rgba(5, 26, 55, .98);
        opacity: 0;
        transform: translateY(-16px);
        transition: opacity .25s ease, transform .25s ease, visibility .25s;
    }

    .subpage .nav.is-open {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }

    .subpage .nav a {
        padding: 17px 4px;
        border-bottom: 1px solid rgba(255, 255, 255, .09);
        font-size: 17px;
    }

    .sub-visual {
        height: 355px;
    }

    .sub-visual-content {
        padding-top: 54px;
    }

    .sub-visual h1 {
        font-size: 44px;
    }

    .sub-description {
        font-size: 16px;
    }

    .sub-scroll-line {
        right: 24px;
    }

    .company-nav-wrap .container {
        padding: 0;
    }

    .company-nav-head {
        padding: 0 24px;
    }

    .company-nav {
        display: flex;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .company-nav::-webkit-scrollbar {
        display: none;
    }

    .company-nav a {
        flex: 0 0 132px;
        min-height: 64px;
    }

    .company-nav.company-nav-2col a,
    .company-nav:has(> a:nth-child(2):last-child) a {
        flex: 1 1 50%;
        min-width: 0;
    }

    @media (min-width: 641px) {
        .company-nav.company-nav-2col,
        .company-nav.col-2,
        .company-nav:has(> a:nth-child(2):last-child) {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            overflow-x: visible;
        }
        .company-nav.company-nav-2col a,
        .company-nav.col-2 a {
            flex: unset;
        }
        .company-nav.company-nav-3col,
        .replacement-page .company-nav,
        .installation-page .company-nav,
        .scaffolding-page .company-nav {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            overflow-x: visible;
        }
        .company-nav.company-nav-3col a,
        .replacement-page .company-nav a,
        .installation-page .company-nav a,
        .scaffolding-page .company-nav a {
            flex: unset;
        }
    }

    .message-section {
        padding: 92px 0 105px;
    }

    .content-heading {
        margin-bottom: 54px;
    }

    .content-heading h2 {
        font-size: 38px;
    }

    .message-layout {
        grid-template-columns: 1fr;
        gap: 56px;
    }

    .message-keyvisual {
        position: relative;
        top: auto;
        min-height: 440px;
    }

    .message-keyvisual blockquote {
        margin-top: 58px;
    }

    .keyvisual-en {
        margin-top: 48px;
    }

    .message-copy {
        padding-top: 0;
    }

    .company-view {
        margin-top: 78px;
    }

    .value-section {
        padding: 88px 0 100px;
    }

    .value-heading {
        align-items: start;
        grid-template-columns: 1fr;
        gap: 28px;
        margin-bottom: 44px;
    }

    .value-heading > p {
        max-width: 620px;
    }

    .value-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .value-item {
        min-height: 282px;
    }

    .sub-cta-content {
        align-items: flex-start;
        flex-direction: column;
    }

    .sub-footer .fb-left {
        align-items: flex-start;
        flex-direction: column;
        gap: 25px;
    }

    .sub-footer .fb-right {
        flex-wrap: wrap;
    }
}

@media (max-width: 520px) {
    .subpage .container {
        padding-right: 20px;
        padding-left: 20px;
    }

    .subpage .logo img {
        height: 48px;
    }

    .sub-visual {
        height: 325px;
    }

    .sub-visual-content {
        padding-top: 48px;
    }

    .sub-visual h1 {
        font-size: 38px;
    }

    .sub-description {
        max-width: 260px;
        margin-top: 14px;
        line-height: 1.65;
    }

    .company-nav-head {
        padding: 0 20px;
    }

    .company-nav a {
        flex-basis: 120px;
        font-size: 14px;
        white-space: nowrap;
        padding: 0 16px;
    }

    .message-section {
        padding: 75px 0 86px;
    }

    .content-heading {
        margin-bottom: 42px;
    }

    .content-heading h2 {
        font-size: 32px;
    }

    .content-heading p {
        font-size: 15px;
    }

    .message-keyvisual {
        min-height: 390px;
        padding: 48px 30px;
    }

    .message-keyvisual blockquote {
        margin-top: 48px;
        font-size: 29px;
    }

    .keyvisual-mark {
        font-size: 280px;
    }

    .message-copy {
        font-size: 16px;
        line-height: 1.9;
    }

    .message-copy .opening {
        margin-bottom: 36px;
        padding: 0 0 32px 20px;
    }

    .message-copy .opening::before {
        bottom: 35px;
    }

    .message-copy .opening p {
        font-size: 19px;
    }

    .message-copy > p {
        margin-bottom: 24px;
    }

    .message-signature {
        align-items: flex-end;
        flex-direction: column;
        gap: 2px;
    }

    .message-signature strong {
        font-size: 22px;
    }

    .company-view {
        margin-top: 62px;
    }

    .company-view figcaption {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
        padding-top: 18px;
    }

    .company-view figcaption strong {
        font-size: 15px;
    }

    .value-section {
        padding: 72px 0 78px;
    }

    .value-heading {
        gap: 22px;
        margin-bottom: 34px;
    }

    .value-heading span {
        margin-bottom: 14px;
        font-size: 12px;
    }

    .value-heading h2 {
        font-size: 32px;
    }

    .value-heading > p {
        padding-left: 18px;
        font-size: 15px;
        line-height: 1.75;
    }

    .value-heading > p br {
        display: none;
    }

    .value-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .value-item {
        min-height: 248px;
        padding: 28px 25px 27px;
    }

    .value-icon {
        top: -28px;
        right: -55px;
        font-size: 228px;
    }

    .value-item strong {
        font-size: 15px;
    }

    .value-item h3 {
        font-size: 18px;
    }

    .value-item p {
        margin-top: 17px;
        font-size: 14px;
    }

    .sub-cta {
        padding: 72px 0;
    }

    .sub-cta-content {
        gap: 34px;
    }

    .sub-cta-content h2 {
        font-size: 27px;
        line-height: 1.45;
    }

    .sub-cta-content > a {
        width: 100%;
    }

    .sub-footer .f-bottom {
        padding: 42px 20px;
    }

    .sub-footer .f-logo img {
        height: 90px;
    }

    .sub-footer .f-copy {
        font-size: 13px;
    }

    .sub-footer .fb-right {
        gap: 14px;
    }

    .sub-footer .fb-right a {
        font-size: 13px;
    }
}

/* ==========================================================================
   History Page Timeline Styles (연혁 타임라인)
   ========================================================================== */
.history-section {
    padding: 120px 0 140px;
    background: #ffffff;
    position: relative;
}

.history-intro-wrap {
    margin-bottom: 90px;
    text-align: center;
}

.timeline-container {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 0;
}

/* Central Glowing Spine Line */
.timeline-container::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    transform: translateX(-50%);
    background: linear-gradient(180deg, rgba(11, 99, 246, 0.1) 0%, rgba(11, 99, 246, 0.6) 15%, rgba(0, 210, 255, 0.7) 85%, rgba(11, 99, 246, 0.1) 100%);
}

/* Year Milestone Group */
.timeline-year-group {
    position: relative;
    margin-bottom: 70px;
}

.timeline-year-group:last-child {
    margin-bottom: 0;
}

/* Year Badge (Center) */
.timeline-year-badge {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 140px;
    height: 48px;
    margin: 0 auto 40px;
    background: var(--sub-navy);
    border: 1px solid rgba(11, 99, 246, 0.5);
    border-radius: 999px;
    color: #ffffff;
    font-family: var(--font-en);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 2px;
    box-shadow: none;
}

.timeline-year-badge span {
    background: linear-gradient(90deg, #ffffff 0%, #75cfff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Timeline Item (Left / Right Alternating) */
.timeline-item {
    position: relative;
    display: flex;
    margin-bottom: 35px;
    width: 100%;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item.left {
    justify-content: flex-start;
}

.timeline-item.right {
    justify-content: flex-end;
}

/* Content Box */
.timeline-card {
    position: relative;
    width: calc(50% - 50px);
    padding: 32px 36px;
    background: #ffffff;
    border: 1px solid var(--sub-line);
    border-radius: 16px;
    box-shadow: none;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease;
}

/* 인사말과 동일한 하단 액센트 라인 */
.timeline-card::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--sub-blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.timeline-card:hover {
    transform: translateY(-5px);
    border-color: var(--sub-blue);
    box-shadow: none;
}

.timeline-card:hover::after {
    transform: scaleX(1);
}

/* Pin Node on Central Line (그림자 제거) */
.timeline-item::after {
    content: '';
    position: absolute;
    top: 30px;
    left: 50%;
    width: 14px;
    height: 14px;
    transform: translate(-50%, 0);
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid var(--sub-blue);
    box-shadow: none;
    z-index: 2;
    transition: all 0.3s ease;
}

.timeline-card:hover ~ .timeline-item::after,
.timeline-item:hover::after {
    background: var(--sub-blue);
    border-color: #ffffff;
    outline: 2px solid var(--sub-blue);
    box-shadow: none;
    transform: translate(-50%, 0) scale(1.2);
}

/* Card Pointer Arrow */
.timeline-item.left .timeline-card::before {
    content: '';
    position: absolute;
    top: 28px;
    right: -9px;
    width: 16px;
    height: 16px;
    background: #ffffff;
    border-top: 1px solid var(--sub-line);
    border-right: 1px solid var(--sub-line);
    transform: rotate(45deg);
    transition: border-color 0.35s ease;
}

.timeline-item.right .timeline-card::before {
    content: '';
    position: absolute;
    top: 28px;
    left: -9px;
    width: 16px;
    height: 16px;
    background: #ffffff;
    border-bottom: 1px solid var(--sub-line);
    border-left: 1px solid var(--sub-line);
    transform: rotate(45deg);
    transition: border-color 0.35s ease;
}

.timeline-item.left .timeline-card:hover::before {
    border-color: var(--sub-blue);
}
.timeline-item.right .timeline-card:hover::before {
    border-color: var(--sub-blue);
}

/* Card Header (Date & Category Badge) */
.timeline-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.timeline-month {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-en);
    font-size: 20px;
    font-weight: 800;
    color: var(--sub-blue);
    letter-spacing: 0.5px;
}

.timeline-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--sub-blue, #0b63f6);
    border: 1px solid var(--sub-blue, #0b63f6);
    border-radius: 6px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Card Title */
.timeline-card h3 {
    margin: 0 0 8px;
    color: var(--text-dark);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -0.02em;
    transition: color 0.3s ease;
}

.timeline-card:hover h3 {
    color: var(--sub-blue);
}

/* Card Description */
.timeline-card p {
    margin: 0;
    color: var(--text-body);
    font-size: 15px;
    line-height: 1.65;
}

/* Highlight Important Milestone (그림자 제거) */
.timeline-card.featured {
    background: #ffffff;
    border-color: rgba(11, 99, 246, 0.35);
    box-shadow: none;
}

.timeline-card.featured .timeline-tag {
    background: var(--sub-blue);
    border-color: var(--sub-blue);
    color: #ffffff;
}

/* Responsive (Mobile & Tablet) */
@media (max-width: 991px) {
    .timeline-container {
        padding: 20px 0;
    }
    .timeline-container::before {
        left: 28px;
        transform: none;
    }
    .timeline-year-badge {
        margin: 0 0 35px 0;
    }
    .timeline-item {
        justify-content: flex-start !important;
        padding-left: 65px;
    }
    .timeline-card {
        width: 100% !important;
    }
    .timeline-item::after {
        left: 28px;
        transform: translate(-50%, 0);
    }
    .timeline-item.left .timeline-card::before,
    .timeline-item.right .timeline-card::before {
        left: -9px;
        right: auto;
        border: none;
        border-bottom: 1px solid var(--sub-line);
        border-left: 1px solid var(--sub-line);
        transform: rotate(45deg);
    }
}

@media (max-width: 768px) {
    .history-section {
        padding: 80px 0 100px;
    }
    .history-intro-wrap {
        margin-bottom: 50px;
    }
    .timeline-card {
        padding: 24px 22px;
    }
    .timeline-card h3 {
        font-size: 18px;
    }
    .timeline-card p {
        font-size: 14px;
    }
}

/* ==========================================================================
   Organization Page Styles (완벽 연결 클래식 트리 & 심플 아이콘)
   ========================================================================== */
.org-section {
    padding: 100px 0 130px;
    background: #ffffff;
}

.classic-org-tree {
    position: relative;
    max-width: 1240px;
    margin: 0 auto;
    text-align: center;
}

/* Level 1: CEO Box */
.org-level-ceo {
    display: inline-flex;
    justify-content: center;
    position: relative;
    z-index: 5;
}

.org-box-ceo {
    position: relative;
    width: 280px;
    padding: 24px 20px;
    background: var(--sub-navy);
    border: 1px solid rgba(11, 99, 246, 0.4);
    border-radius: 16px;
    color: #ffffff;
    box-shadow: none;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.org-box-ceo::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--sub-blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.org-box-ceo:hover {
    transform: translateY(-4px);
    border-color: var(--sub-blue);
}

.org-box-ceo:hover::after {
    transform: scaleX(1);
}

/* 워터마크 대형 아이콘 (인사말 value-icon 톤앤매너) */
.org-bg-icon {
    position: absolute;
    top: -24px;
    right: -24px;
    font-size: 118px;
    line-height: 1;
    pointer-events: none;
    z-index: 1;
    color: rgba(11, 99, 246, 0.045);
    transform: rotate(-7deg);
    transition: color 0.35s ease, transform 0.45s ease;
}

/* 대표 카드 전용 회사 공식 심볼 워터마크 */
.org-bg-symbol {
    position: absolute;
    top: -18px;
    right: -25px;
    width: 160px;
    height: auto;
    opacity: 0.09;
    pointer-events: none;
    z-index: 1;
    transform: rotate(-6deg);
    transition: opacity 0.35s ease, transform 0.45s ease;
}

.org-box-ceo:hover .org-bg-symbol {
    opacity: 0.18;
    transform: rotate(-2deg) scale(1.06);
}

.org-box-vp:hover .org-bg-icon,
.org-box-team:hover .org-bg-icon {
    color: rgba(11, 99, 246, 0.08);
    transform: rotate(-3deg) scale(1.04);
}

.org-box-ceo h3 {
    position: relative;
    z-index: 2;
    margin: 0 0 4px;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 4px;
    color: #ffffff;
}

.org-box-ceo p {
    position: relative;
    z-index: 2;
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: -0.02em;
}

/* ==========================================================================
   Level 2: 2 Wings Branches (완벽 무결점 연결선 구조)
   ========================================================================== */
.org-wings-branches {
    display: flex;
    justify-content: center;
    position: relative;
    padding-top: 36px;
    margin-top: 0;
}

/* CEO 정중앙에서 내려오는 수직선 */
.org-wings-branches::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 36px;
    background: var(--sub-line);
    transform: translateX(-50%);
}

.org-wing-branch {
    position: relative;
    flex: 1;
    padding: 36px 24px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 좌우 부사장 연결선: 중앙에서 만나 양쪽 부사장 50% 위치로 꺾여 내려감 */
.org-wing-branch::before,
.org-wing-branch::after {
    content: '';
    position: absolute;
    top: 0;
    width: 50%;
    height: 36px;
    border-top: 2px solid var(--sub-line);
}

/* 좌측 브랜치 */
.org-wing-branch:first-child::before {
    display: none;
}
.org-wing-branch:first-child::after {
    left: 50%;
    border-left: 2px solid var(--sub-line);
}

/* 우측 브랜치 */
.org-wing-branch:last-child::before {
    right: 50%;
    border-right: 2px solid var(--sub-line);
}
.org-wing-branch:last-child::after {
    display: none;
}

/* VP Box */
.org-box-vp {
    position: relative;
    width: 220px;
    padding: 18px 20px;
    background: #ffffff;
    border: 1px solid var(--sub-line);
    border-radius: 12px;
    color: var(--sub-navy);
    box-shadow: none;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.org-box-vp::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--sub-blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.org-box-vp:hover {
    transform: translateY(-4px);
    border-color: var(--sub-blue);
}

.org-box-vp:hover::after {
    transform: scaleX(1);
}

.org-box-vp h4 {
    position: relative;
    z-index: 2;
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--sub-navy);
    transition: color 0.3s ease;
}

.org-box-vp:hover h4 {
    color: var(--sub-blue);
}

/* ==========================================================================
   Level 3: 3 Teams Branches (완벽 무결점 3분기 연결선 구조)
   ========================================================================== */
.org-teams-branches {
    display: flex;
    justify-content: center;
    position: relative;
    width: 100%;
    padding-top: 36px;
    margin-top: 0;
}

/* VP 정중앙에서 내려오는 수직선 */
.org-teams-branches::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 36px;
    background: var(--sub-line);
    transform: translateX(-50%);
}

.org-team-branch {
    position: relative;
    flex: 1;
    padding: 36px 8px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 가로 수평선 및 수직 꺾임선 */
.org-team-branch::before,
.org-team-branch::after {
    content: '';
    position: absolute;
    top: 0;
    width: 50%;
    height: 36px;
    border-top: 2px solid var(--sub-line);
}

/* 1번째 팀 (설치팀, 설계팀) */
.org-team-branch:first-child::before {
    display: none;
}
.org-team-branch:first-child::after {
    left: 50%;
    border-left: 2px solid var(--sub-line);
}

/* 2번째 팀 (양중팀, 생산팀) */
.org-team-branch:nth-child(2)::before {
    right: 50%;
}
.org-team-branch:nth-child(2)::after {
    left: 50%;
    border-left: 2px solid var(--sub-line);
}

/* 3번째 팀 (비계팀, 영업팀) */
.org-team-branch:last-child::before {
    right: 50%;
    border-right: 2px solid var(--sub-line);
}
.org-team-branch:last-child::after {
    display: none;
}

/* Team Box */
.org-box-team {
    position: relative;
    width: 100%;
    min-height: 84px;
    padding: 24px 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid var(--sub-line);
    border-radius: 12px;
    color: var(--text-dark);
    box-shadow: none;
    overflow: hidden;
    z-index: 5;
    transition: transform 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.org-box-team::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--sub-blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.org-box-team:hover {
    transform: translateY(-4px);
    border-color: var(--sub-blue);
    color: var(--sub-blue);
}

.org-box-team:hover::after {
    transform: scaleX(1);
}

.org-box-team h5 {
    position: relative;
    z-index: 2;
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
}

/* ==========================================================================
   Responsive (반응형: 991px 태블릿 / 640px 모바일)
   ========================================================================== */
@media (max-width: 991px) {
    .org-wings-branches {
        flex-direction: column;
        gap: 40px;
        padding-top: 0;
    }
    .org-wings-branches::before {
        display: none;
    }
    .org-wing-branch {
        padding: 0 10px;
    }
    .org-wing-branch::before,
    .org-wing-branch::after {
        display: none;
    }
}

@media (max-width: 640px) {
    .org-section {
        padding: 70px 0 90px;
    }
    .org-box-ceo {
        width: 100%;
    }
    .org-box-vp {
        width: 100%;
    }
    .org-teams-branches {
        flex-direction: column;
        gap: 12px;
        padding-top: 16px;
    }
    .org-teams-branches::before {
        display: none;
    }
    .org-team-branch {
        padding: 0;
        width: 100%;
    }
    .org-team-branch::before,
    .org-team-branch::after {
        display: none;
    }
    .org-box-team {
        flex-direction: row;
        min-height: 56px;
        padding: 14px 20px;
        gap: 12px;
    }
}

/* ==========================================================================
   10. Certificates Page (인증현황)
   규칙: 그림자 배제 (box-shadow: none), 16px 라운드, 오버 시 테두리 블루 라인
   ========================================================================== */

.cert-section {
    padding: 100px 0 140px;
    background: var(--bg-light);
}

.cert-section .reveal {
    opacity: 1;
    transform: none;
    transition: opacity .5s ease, transform .5s ease;
}

/* 10.1 탭 필터 네비게이션 */
.cert-filter-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.cert-filter-btn {
    appearance: none;
    border: 1px solid var(--border-color);
    background: #ffffff;
    padding: 12px 26px;
    border-radius: 999px;
    font-family: var(--font-main);
    font-size: 15px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    box-shadow: none;
    transition: all .25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cert-filter-btn .count {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    background: #f1f3f7;
    font-family: var(--font-accent);
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    transition: all .25s ease;
}

.cert-filter-btn:hover {
    border-color: var(--sub-blue);
    color: var(--sub-blue);
}

.cert-filter-btn.active {
    background: var(--sub-navy);
    border-color: var(--sub-navy);
    color: #ffffff;
}

.cert-filter-btn.active .count {
    background: rgba(255, 255, 255, .25);
    color: #ffffff;
}

/* 10.3 인증서 그리드 */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.cert-card {
    position: relative;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    box-shadow: none;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    transition: border-color .3s ease;
}

.cert-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--sub-blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s ease;
}

.cert-card:hover {
    border-color: var(--sub-blue);
}

.cert-card:hover::after {
    transform: scaleX(1);
}

/* 배경 워터마크 아이콘 (인사말/조직도 일관성) */
.cert-card .cert-bg-icon {
    position: absolute;
    right: -24px;
    bottom: -24px;
    font-size: 130px;
    line-height: 1;
    color: rgba(6, 29, 60, .03);
    pointer-events: none;
    z-index: 1;
    transition: color .3s ease, transform .4s ease;
}

.cert-card:hover .cert-bg-icon {
    color: rgba(11, 99, 246, .06);
    transform: rotate(-6deg) scale(1.05);
}

/* 썸네일 박스 */
.cert-thumb-box {
    position: relative;
    width: 100%;
    height: 280px;
    background: #f8fafc;
    border: 1px solid #eef2f6;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    z-index: 2;
}

.cert-thumb-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, .06);
    transition: transform .35s ease;
}

.cert-card:hover .cert-thumb-box img {
    transform: scale(1.04);
}

.cert-thumb-overlay {
    position: absolute;
    inset: 0;
    background: rgba(6, 29, 60, .45);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #ffffff;
    opacity: 0;
    transition: opacity .25s ease;
    border-radius: 12px;
}

.cert-thumb-overlay i {
    font-size: 28px;
}

.cert-thumb-overlay span {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .02em;
}

.cert-card:hover .cert-thumb-overlay {
    opacity: 1;
}

/* 정보 영역 */
.cert-info {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    flex: 1;
    padding-top: 20px;
}

.cert-info h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--sub-navy);
    line-height: 1.45;
    letter-spacing: -0.02em;
    min-height: 52px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cert-meta-list {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
}

.cert-meta-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.cert-meta-item .meta-label {
    flex: 0 0 auto;
    color: #8895a7;
    font-weight: 500;
}

.cert-meta-item .meta-val {
    color: var(--text-dark);
    font-weight: 600;
    text-align: right;
    word-break: break-all;
}

.cert-meta-item .meta-val.num {
    font-family: var(--font-accent);
    font-weight: 700;
    color: var(--sub-navy);
}

/* 10.4 라이트박스 모달 */
.cert-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.cert-modal.active {
    display: flex;
}

.cert-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 30, 66, .78);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.cert-modal-dialog {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 960px;
    max-height: 90vh;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, .2);
    box-shadow: none;
    display: flex;
    overflow: hidden;
}

.cert-modal-viewer {
    flex: 1 1 55%;
    background: #f4f6f9;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: auto;
}

.cert-modal-viewer img {
    max-width: 100%;
    max-height: calc(90vh - 60px);
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, .08);
    background: #ffffff;
}

.cert-modal-details {
    flex: 1 1 45%;
    padding: 40px 36px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-y: auto;
    background: #ffffff;
}

.cert-modal-top {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.cert-modal-close {
    appearance: none;
    background: transparent;
    border: none;
    font-size: 28px;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
    padding: 4px;
    border-radius: 8px;
    transition: color .2s ease;
}

.cert-modal-close:hover {
    color: var(--sub-navy);
}

.cert-modal-details h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--sub-navy);
    line-height: 1.4;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.cert-modal-desc {
    font-size: 14px;
    color: #556070;
    line-height: 1.7;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.cert-modal-meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 14px;
}

.cert-modal-meta-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.cert-modal-meta-row .label {
    color: #8895a7;
    flex: 0 0 auto;
}

.cert-modal-meta-row .value {
    color: var(--text-dark);
    font-weight: 600;
    text-align: right;
}

.cert-modal-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    margin-top: 24px;
    border-top: 1px solid var(--border-color);
}

.cert-modal-btn {
    appearance: none;
    background: #f4f6f9;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 8px 16px;
    font-family: var(--font-main);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    box-shadow: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all .2s ease;
}

.cert-modal-btn:hover:not(:disabled) {
    background: var(--sub-blue);
    border-color: var(--sub-blue);
    color: #ffffff;
}

.cert-modal-btn:disabled {
    opacity: .4;
    cursor: not-allowed;
}

.cert-modal-indicator {
    font-family: var(--font-accent);
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
}

/* 10.5 반응형 미디어 쿼리 */
@media (max-width: 1100px) {
    .cert-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .cert-section {
        padding: 70px 0 100px;
    }
    .cert-grid {
        grid-template-columns: 1fr;
    }
    .cert-modal {
        padding: 12px;
    }
    .cert-modal-dialog {
        flex-direction: column;
        max-height: 94vh;
    }
    .cert-modal-viewer {
        flex: 0 0 280px;
        padding: 16px;
    }
    .cert-modal-details {
        padding: 24px 20px;
    }
}

/* ==========================================================================
   11. Location Page (찾아오시는 길) - 간결한 모던 스타일
   규칙: 그림자 배제 (box-shadow: none), 16px 라운드, 오버 시 테두리 블루 라인
   ========================================================================== */

.loc-section {
    padding: 70px 0 120px;
    background: var(--bg-light);
}

/* 11.1 간결한 거점 전환 스위치 (본사 / 생산공장) */
.loc-switch-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
}

.loc-switch-btn {
    appearance: none;
    border: 1px solid var(--border-color);
    background: #ffffff;
    padding: 13px 36px;
    border-radius: 999px;
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    box-shadow: none;
    transition: all .25s ease;
}

.loc-switch-btn:hover {
    border-color: var(--sub-blue);
    color: var(--sub-blue);
}

.loc-switch-btn.active {
    background: var(--sub-navy);
    border-color: var(--sub-navy);
    color: #ffffff;
}

/* 11.2 지도 프레임 */
.loc-map-frame {
    position: relative;
    width: 100%;
    height: 480px;
    background: #e5e7eb;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 36px;
    box-shadow: none;
}

.loc-map-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* 11.3 하단 2열 정보 패널 */
.loc-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.loc-panel-col {
    position: relative;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 36px 32px;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: border-color .3s ease;
}

.loc-panel-col::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--sub-blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s ease;
}

.loc-panel-col:hover {
    border-color: var(--sub-blue);
}

.loc-panel-col:hover::after {
    transform: scaleX(1);
}

.loc-name {
    font-size: 22px;
    font-weight: 800;
    color: var(--sub-navy);
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.loc-dl {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 28px;
}

.loc-row {
    display: flex;
    align-items: baseline;
    gap: 16px;
    font-size: 15px;
    line-height: 1.6;
}

.loc-row .dt {
    flex: 0 0 54px;
    font-weight: 700;
    color: var(--sub-blue);
}

.loc-row .dd {
    flex: 1;
    color: var(--text-dark);
    font-weight: 500;
    word-break: keep-all;
}

.loc-row .dd a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    transition: color .2s ease;
}

.loc-row .dd a:hover {
    color: var(--sub-blue);
    text-decoration: underline;
}

/* 지도 외부 바로가기 버튼 */
.loc-ext-links {
    display: flex;
    gap: 10px;
    padding-top: 20px;
    border-top: 1px dashed var(--border-color);
}

.btn-map-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: #f8fafc;
    font-size: 13px;
    font-weight: 600;
    color: var(--sub-navy);
    text-decoration: none;
    box-shadow: none;
    transition: all .2s ease;
}

.btn-map-link:hover {
    background: var(--sub-blue);
    border-color: var(--sub-blue);
    color: #ffffff;
}

/* 교통편 블록 */
.loc-transit-col {
    justify-content: center;
    gap: 24px;
}

.transit-simple-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.transit-tag {
    flex: 0 0 72px;
    padding: 6px 0;
    text-align: center;
    border-radius: 6px;
    background: #eef4fe;
    color: var(--sub-blue);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.transit-simple-item p {
    flex: 1;
    font-size: 14px;
    color: #556070;
    line-height: 1.7;
    margin: 0;
    word-break: keep-all;
}

.transit-simple-item strong {
    color: var(--sub-navy);
    font-weight: 700;
}

/* 11.4 반응형 */
@media (max-width: 900px) {
    .loc-panel {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .loc-map-frame {
        height: 380px;
    }
}


/* ==========================================================================
   12. Portfolio Page (시공실적)
   ========================================================================== */
.portfolio-stats-section {
    padding: 100px 0 70px;
    background: #ffffff;
}

.portfolio-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.portfolio-stat-card {
    position: relative;
    background: #ffffff;
    border: 1px solid var(--sub-line);
    border-radius: 16px;
    padding: 36px 28px;
    text-align: center;
    box-shadow: none;
    transition: all 0.3s ease;
    overflow: hidden;
}

.portfolio-stat-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--sub-blue);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.portfolio-stat-card:hover {
    border-color: var(--sub-blue);
}

.portfolio-stat-card:hover::after {
    transform: scaleX(1);
}

.portfolio-stat-card .stat-num {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 42px;
    font-weight: 800;
    color: var(--sub-navy);
    line-height: 1.1;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.portfolio-stat-card .stat-num small {
    font-size: 20px;
    font-weight: 700;
    color: var(--sub-blue);
    margin-left: 4px;
}

.portfolio-stat-card .stat-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--sub-navy);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.portfolio-stat-card .stat-desc {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
    word-break: keep-all;
}

/* 12.2 대표 시공 현장 갤러리 */
.portfolio-gallery-section {
    padding: 90px 0 100px;
    background: #ffffff;
    border-top: none;
}

.portfolio-filter-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 36px 0 48px;
}

.port-tab {
    padding: 12px 28px;
    border-radius: 9999px;
    border: 1px solid var(--sub-line);
    background: #ffffff;
    font-size: 15px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    box-shadow: none;
    transition: all 0.25s ease;
}

.port-tab:hover {
    border-color: var(--sub-blue);
    color: var(--sub-blue);
}

.port-tab.active {
    background: var(--sub-navy);
    border-color: var(--sub-navy);
    color: #ffffff;
    font-weight: 700;
}

.portfolio-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.portfolio-card {
    position: relative;
    background: #ffffff;
    border: 1px solid var(--sub-line);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.portfolio-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--sub-blue);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    z-index: 2;
}

.portfolio-card:hover {
    border-color: var(--sub-blue);
}

.portfolio-card:hover::after {
    transform: scaleX(1);
}

.port-img-wrap {
    position: relative;
    width: 100%;
    height: 240px;
    background: #e2e8f0;
    overflow: hidden;
}

.port-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.portfolio-card:hover .port-img-wrap img {
    transform: scale(1.05);
}

.port-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 25, 47, 0.45);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #ffffff;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-card:hover .port-overlay {
    opacity: 1;
}

.port-overlay i {
    font-size: 28px;
}

.port-overlay span {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.port-info {
    padding: 24px 24px 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.port-cat-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--sub-blue);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.port-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--sub-navy);
    margin-bottom: 10px;
    line-height: 1.35;
    letter-spacing: -0.02em;
}

.port-task {
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
    margin: 0 0 16px;
    flex: 1;
    word-break: keep-all;
}

.port-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
    font-size: 13px;
    color: #64748b;
}

.port-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.port-meta i {
    color: var(--sub-blue);
    font-size: 15px;
}

/* 12.3 준공 실적 DB 섹션 */
.portfolio-db-section {
    padding: 90px 0 120px;
    background: #f8fafc;
    border-top: 1px solid var(--sub-line);
}

.portfolio-db-box {
    background: #ffffff;
    border: 1px solid var(--sub-line);
    border-radius: 16px;
    padding: 32px;
    box-shadow: none;
    margin-top: 40px;
}

.db-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.db-year-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.year-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 12px;
    border: 1px solid var(--sub-line);
    background: #ffffff;
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    box-shadow: none;
    transition: all 0.2s ease;
}

.year-btn:hover {
    border-color: var(--sub-blue);
    color: var(--sub-blue);
}

.year-btn.active {
    background: var(--sub-navy);
    border-color: var(--sub-navy);
    color: #ffffff;
    font-weight: 700;
}

.year-btn span {
    font-weight: 700;
    opacity: 0.9;
}

.db-search-wrap {
    position: relative;
    width: 340px;
    max-width: 100%;
}

.db-search-wrap i.ri-search-line {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 18px;
    pointer-events: none;
}

.db-search-wrap input {
    width: 100%;
    padding: 11px 40px 11px 44px;
    border: 1px solid var(--sub-line);
    border-radius: 12px;
    font-size: 14px;
    color: var(--sub-navy);
    background: #ffffff;
    box-shadow: none;
    outline: none;
    transition: border-color 0.2s ease;
}

.db-search-wrap input:focus {
    border-color: var(--sub-blue);
}

.db-search-wrap input::placeholder {
    color: #94a3b8;
}

.search-clear-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    border: none;
    background: #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    font-size: 14px;
    cursor: pointer;
}

.db-status-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: #f8fafc;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid #f1f5f9;
}

.db-count-text {
    font-size: 14px;
    color: #475569;
    margin: 0;
}

.db-count-text strong {
    color: var(--sub-blue);
    font-weight: 700;
}

.db-partner-badge {
    font-size: 12px;
    font-weight: 700;
    color: #334155;
    background: #ffffff;
    border: 1px solid var(--sub-line);
    padding: 4px 12px;
    border-radius: 6px;
}

/* 12.4 데이터 테이블 */
.db-table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--sub-line);
    border-radius: 12px;
    margin-bottom: 28px;
}

.db-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    text-align: left;
    white-space: nowrap;
}

.db-table thead {
    background: #f1f5f9;
    color: var(--sub-navy);
}

.db-table th {
    padding: 14px 18px;
    font-weight: 700;
    border-bottom: 1px solid var(--sub-line);
    font-size: 13px;
    letter-spacing: -0.01em;
}

.th-no { width: 70px; text-align: center; }
.th-date { width: 120px; }
.th-name { min-width: 200px; }
.th-kind { width: 130px; }
.th-spec { width: 220px; }
.th-addr { min-width: 250px; }

.db-table tbody tr {
    border-bottom: 1px solid #f1f5f9;
    transition: background-color 0.15s ease;
}

.db-table tbody tr:last-child {
    border-bottom: none;
}

.db-table tbody tr:hover {
    background-color: #f8fafc;
}

.db-table td {
    padding: 14px 18px;
    color: #475569;
    vertical-align: middle;
}

.td-no {
    text-align: center;
    color: #94a3b8;
    font-weight: 600;
    font-size: 13px;
}

.td-date {
    font-family: 'Outfit', sans-serif;
    color: #64748b;
    font-size: 13px;
}

.td-name strong {
    color: var(--sub-navy);
    font-weight: 700;
}

.table-kind-tag {
    display: inline-block;
    padding: 3px 10px;
    background: #e0f2fe;
    color: #0369a1;
    font-size: 12px;
    font-weight: 700;
    border-radius: 6px;
    font-family: 'Outfit', sans-serif;
}

.td-spec {
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    color: #64748b;
}

.td-addr {
    color: #64748b;
}

.td-empty {
    text-align: center;
    padding: 60px 20px !important;
    color: #94a3b8;
}

.td-empty i {
    font-size: 36px;
    margin-bottom: 12px;
    display: inline-block;
}

.td-empty p {
    font-size: 15px;
    margin: 0;
}

/* 12.5 페이지네이션 */
.db-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.page-arrow, .page-num {
    width: 38px;
    height: 38px;
    border: 1px solid var(--sub-line);
    border-radius: 10px;
    background: #ffffff;
    color: #475569;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: none;
}

.page-arrow:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    border-color: #e2e8f0;
}

.page-arrow:not(:disabled):hover,
.page-num:hover {
    border-color: var(--sub-blue);
    color: var(--sub-blue);
}

.page-num.active {
    background: var(--sub-navy);
    border-color: var(--sub-navy);
    color: #ffffff;
    font-weight: 700;
}

.page-dots {
    padding: 0 6px;
    color: #94a3b8;
    font-weight: 700;
}

/* 12.6 반응형 미디어 쿼리 */
@media (max-width: 1024px) {
    .portfolio-stat-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .portfolio-card-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .portfolio-stats-section {
        padding: 50px 0 40px;
    }
    .portfolio-stat-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .portfolio-stat-card {
        padding: 24px 16px;
    }
    .portfolio-stat-card .stat-num {
        font-size: 32px;
    }
    .portfolio-stat-card .stat-title {
        font-size: 15px;
    }
    .portfolio-stat-card .stat-desc {
        font-size: 12px;
    }

    .portfolio-gallery-section {
        padding: 50px 0 70px;
    }
    .portfolio-card-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .port-img-wrap {
        height: 220px;
    }

    .portfolio-db-section {
        padding: 50px 0 80px;
    }
    .portfolio-db-box {
        padding: 20px 16px;
    }
    .db-controls {
        flex-direction: column;
        align-items: stretch;
    }
    .db-year-filters {
        width: 100%;
    }
    .year-btn {
        flex: 1;
        padding: 9px 10px;
        font-size: 13px;
        text-align: center;
    }
    .db-search-wrap {
        width: 100%;
    }
    .db-status-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* 12.7 현장 사진 확대 모달 */
.cert-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.cert-modal.active {
    display: flex;
}

.cert-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 25, 47, 0.8);
    backdrop-filter: blur(4px);
}

.cert-modal-container {
    position: relative;
    z-index: 2;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid var(--sub-line);
    max-width: 960px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: none;
}

.cert-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #f1f5f9;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--sub-navy);
    transition: all 0.2s ease;
}

.cert-modal-close:hover {
    background: #e2e8f0;
}

.cert-modal-content {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    max-height: 85vh;
}

.cert-modal-img-box {
    background: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow: hidden;
}

.cert-modal-img-box img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 8px;
}

.cert-modal-info {
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-y: auto;
}

.cert-modal-badge {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: var(--sub-blue);
    margin-bottom: 8px;
}

.cert-modal-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--sub-navy);
    line-height: 1.3;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.cert-modal-meta {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.cert-modal-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cert-modal-row .modal-label {
    font-size: 12px;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: -0.01em;
}

.cert-modal-row .modal-val {
    font-size: 14px;
    color: #334155;
    line-height: 1.5;
    font-weight: 500;
    word-break: keep-all;
}

.cert-modal-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid var(--sub-line);
}

.modal-nav-btn {
    padding: 8px 16px;
    border: 1px solid var(--sub-line);
    border-radius: 8px;
    background: #ffffff;
    color: var(--sub-navy);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    box-shadow: none;
}

.modal-nav-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.modal-nav-btn:not(:disabled):hover {
    border-color: var(--sub-blue);
    color: var(--sub-blue);
}

.modal-indicator {
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
}

@media (max-width: 768px) {
    .cert-modal-content {
        grid-template-columns: 1fr;
        max-height: 80vh;
        overflow-y: auto;
    }
    .cert-modal-img-box {
        padding: 16px;
        min-height: 220px;
    }
    .cert-modal-img-box img {
        max-height: 250px;
    }
    .cert-modal-info {
        padding: 24px 20px;
    }
    .cert-modal-title {
        font-size: 18px;
        margin-bottom: 16px;
    }
}

/* ==========================================================================
   13. PRODUCT SUBPAGES & PASSENGER ELEVATOR
   ========================================================================== */

/* Sub-visual background for Product Menu using Option 3 */
.sub-visual-product .sub-visual-bg {
    background-image:
        linear-gradient(rgba(4, 30, 66, 0.72), rgba(6, 29, 60, 0.78)),
        url('../images/prod_visual_opt3.jpg');
    background-position: center 45%;
    background-size: cover;
}

/* Sub-visual background for Construction Menu using Option 1 (안성삼성 카 상부 실사) */
.sub-visual-construction .sub-visual-bg {
    background-image:
        linear-gradient(rgba(3, 24, 55, 0.72), rgba(3, 30, 68, 0.78)),
        url('../images/sub_visual_construction.jpg');
    background-position: center 48%;
    background-size: cover;
}

/* Sub-visual background for Portfolio (시공실적) */
.sub-visual-portfolio .sub-visual-bg {
    background-image:
        linear-gradient(rgba(4, 25, 58, 0.70), rgba(6, 28, 62, 0.76)),
        url('../images/sub_visual_portfolio.jpg');
    background-position: center 38%;
    background-size: cover;
}

/* Sub-visual background for Customer Support (고객지원: 견적문의, 자료실) */
.sub-visual-customer .sub-visual-bg {
    background-image:
        linear-gradient(rgba(4, 25, 58, 0.70), rgba(6, 28, 62, 0.76)),
        url('../images/sub_visual_customer.jpg');
    background-position: center 42%;
    background-size: cover;
}

/* Product Navigation (5 Tabs) */
.product-nav-wrap {
    position: relative;
    z-index: 10;
    margin-top: -32px;
    margin-bottom: 60px;
}

.product-nav {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    background: #ffffff;
    border: 1px solid #DCE3EC;
    border-radius: 16px;
    padding: 6px;
    gap: 6px;
    box-shadow: none;
}

.product-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 12px;
    font-size: 15px;
    font-weight: 600;
    color: #475569;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.2s ease;
    text-align: center;
    white-space: nowrap;
    border: 1px solid transparent;
}

.product-nav a:hover {
    color: var(--sub-blue);
    background: #F8FBFF;
    border-color: #E2E8F0;
}

.product-nav a.active {
    background: var(--sub-blue);
    color: #ffffff;
    font-weight: 700;
}

/* Product Section (회사소개 페이지 .message-section과 동일한 상단 125px 여백 부여) */
.product-section {
    padding: 125px 0 100px;
    background: #ffffff;
}

/* Product Design Filter Tabs */
.product-filter-bar {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.product-filter-btn {
    padding: 10px 22px;
    border-radius: 30px;
    border: 1px solid #DCE3EC;
    background: #ffffff;
    color: #475569;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: none;
}

.product-filter-btn:hover {
    border-color: var(--sub-blue);
    color: var(--sub-blue);
    background: #F8FBFF;
}

.product-filter-btn.active {
    background: var(--sub-navy);
    color: #ffffff;
    border-color: var(--sub-navy);
}

/* Product Card Grid */
.product-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 80px;
}

.product-card {
    background: #ffffff;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.25s ease;
    position: relative;
    box-shadow: none;
    cursor: pointer;
}

.product-card:hover {
    border-color: var(--sub-blue);
    transform: translateY(-4px);
}

.product-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--sub-blue);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.product-card:hover::after {
    opacity: 1;
}

.product-card-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    background: #000000;
    overflow: hidden;
    border-bottom: 1px solid #EDF1F6;
}

.product-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.35s ease;
}

.product-card:hover .product-card-thumb img {
    transform: scale(1.03);
}

.product-card-badge-box {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
}

.product-type-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    font-family: 'Outfit', sans-serif;
    background: rgba(4, 30, 66, 0.85);
    backdrop-filter: blur(4px);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.product-zoom-hint {
    position: absolute;
    right: 14px;
    bottom: 14px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sub-navy);
    font-size: 16px;
    opacity: 0;
    transform: scale(0.85);
    transition: all 0.25s ease;
}

.product-card:hover .product-zoom-hint {
    opacity: 1;
    transform: scale(1);
}

.product-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-card-title-wrap {
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid #EDF1F6;
}

.product-card-code {
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--sub-blue);
    margin-bottom: 4px;
    display: block;
}

.product-card-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--sub-navy);
    line-height: 1.35;
}

.product-spec-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    line-height: 1.5;
    margin-top: auto;
}

.product-spec-table tr:not(:last-child) td,
.product-spec-table tr:not(:last-child) th {
    border-bottom: 1px dashed #E2E8F0;
}

.product-spec-table th {
    text-align: left;
    color: #64748B;
    font-weight: 600;
    padding: 8px 4px 8px 0;
    width: 32%;
    white-space: nowrap;
}

.product-spec-table td {
    color: #1E293B;
    font-weight: 500;
    padding: 8px 0 8px 4px;
    word-break: break-all;
}

/* Technical Specification & Hoistway Table Section */
.spec-section {
    background: #F8FBFF;
    padding: 80px 0;
    border-top: 1px solid #E2E8F0;
    border-bottom: 1px solid #E2E8F0;
    margin-bottom: 80px;
}

.spec-tab-bar {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    justify-content: center;
}

.spec-tab-btn {
    padding: 12px 28px;
    border-radius: 12px;
    border: 1px solid #DCE3EC;
    background: #ffffff;
    color: #475569;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.spec-tab-btn:hover {
    border-color: var(--sub-blue);
    color: var(--sub-blue);
}

.spec-tab-btn.active {
    background: var(--sub-navy);
    color: #ffffff;
    border-color: var(--sub-navy);
}

.spec-table-card {
    background: #ffffff;
    border: 1px solid #DCE3EC;
    border-radius: 16px;
    padding: 24px;
    box-shadow: none;
    margin-bottom: 24px;
}

.spec-table-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.spec-data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    text-align: center;
    white-space: nowrap;
}

.spec-data-table th,
.spec-data-table td {
    padding: 12px 10px;
    border: 1px solid #E2E8F0;
}

.spec-data-table thead th {
    background: #F1F5F9;
    color: var(--sub-navy);
    font-weight: 700;
    font-size: 13px;
}

.spec-data-table thead tr:first-child th {
    background: #041E42;
    color: #ffffff;
    border-color: #1E3A5F;
}

.spec-data-table thead tr:first-child th.accent-th {
    background: #0B63F6;
}

.spec-data-table tbody tr:hover {
    background: #F8FBFF;
}

.spec-data-table tbody tr:nth-child(even) {
    background: #FAFCFE;
}

.spec-data-table td.primary-cell {
    font-weight: 700;
    color: var(--sub-blue);
    font-family: 'Outfit', sans-serif;
}

.spec-notes-box {
    background: #ffffff;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 20px 24px;
    margin-top: 20px;
    font-size: 13px;
    color: #64748B;
    line-height: 1.7;
}

.spec-notes-box h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--sub-navy);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.spec-notes-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.spec-notes-box li {
    position: relative;
    padding-left: 14px;
}

.spec-notes-box li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--sub-blue);
}

/* BF Elevator Standard Grid */
.bf-section {
    margin-bottom: 80px;
}

.bf-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.bf-card {
    background: #ffffff;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 20px;
    box-shadow: none;
    transition: all 0.2s ease;
}

.bf-card:hover {
    border-color: var(--sub-blue);
}

.bf-card-num {
    font-family: 'Outfit', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: var(--sub-blue);
    margin-bottom: 6px;
    display: block;
}

.bf-card-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--sub-navy);
    margin-bottom: 8px;
}

.bf-card-standard {
    font-size: 13px;
    font-weight: 600;
    color: #0F172A;
    background: #F1F5F9;
    padding: 6px 10px;
    border-radius: 6px;
    margin-bottom: 8px;
    display: inline-block;
}

.bf-card-desc {
    font-size: 12px;
    color: #64748B;
    line-height: 1.5;
}

@media (max-width: 1024px) {
    .product-section {
        padding: 92px 0 80px;
    }
    .product-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .bf-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .product-nav {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .product-section {
        padding: 75px 0 60px;
    }
    .product-card-grid {
        grid-template-columns: 1fr;
    }
    .bf-grid {
        grid-template-columns: 1fr;
    }
    .product-nav {
        grid-template-columns: 1fr;
    }
    .spec-table-card {
        padding: 14px;
    }
}

/* ==========================================================================
   화물용 엘리베이터 (Freight Elevator) 전용 컴포넌트 스타일
   ========================================================================== */

/* 1. 법적 정의 및 적용 기준 카드 (카탈로그 21p) */
.freight-legal-box {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-left: 4px solid var(--sub-blue);
    border-radius: 12px;
    padding: 24px 28px;
    margin-bottom: 50px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.freight-legal-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(11, 99, 246, 0.1);
    color: var(--sub-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.freight-legal-content h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--sub-navy);
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}

.freight-legal-content p {
    font-size: 14px;
    color: #475569;
    line-height: 1.65;
    margin: 0;
    word-break: keep-all;
}

.freight-legal-content .legal-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--sub-blue);
    background: #EFF6FF;
    padding: 2px 8px;
    border-radius: 4px;
    margin-right: 6px;
}

/* 2. 도어 개폐 시스템 (카탈로그 23p) */
.freight-doors-section {
    padding: 90px 0;
    background: #F8FBFF;
    border-top: 1px solid #EDF1F6;
    border-bottom: 1px solid #EDF1F6;
}

.freight-door-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.freight-door-card {
    background: #ffffff;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    padding: 24px 20px;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
}

.freight-door-card:hover {
    border-color: var(--sub-blue);
    transform: translateY(-3px);
}

.door-card-badge {
    font-family: 'Outfit', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: var(--sub-blue);
    margin-bottom: 6px;
    display: block;
}

.door-card-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--sub-navy);
    margin-bottom: 14px;
}

.door-card-formula {
    background: #F1F5F9;
    border-radius: 8px;
    padding: 12px;
    font-size: 12px;
    color: #334155;
    line-height: 1.6;
    margin-top: auto;
}

.door-card-formula strong {
    color: var(--sub-navy);
    display: block;
    margin-bottom: 4px;
    font-size: 11px;
    letter-spacing: 0.05em;
}

/* 3. 표시기류 및 도장강판 색상표 (카탈로그 24p) */
.freight-fixtures-section {
    padding: 90px 0;
    background: #ffffff;
}

.fixtures-showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 36px;
    margin-top: 40px;
}

.fixtures-visual-box {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.fixtures-visual-box img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.color-chips-box {
    background: #ffffff;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.color-chips-box h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--sub-navy);
    margin-bottom: 8px;
}

.color-chips-box p.note {
    font-size: 13px;
    color: #64748B;
    margin-bottom: 24px;
}

.color-chips-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.color-chip-card {
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    overflow: hidden;
    background: #ffffff;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.color-chip-card:hover {
    border-color: var(--sub-blue);
    transform: translateY(-2px);
}

.color-chip-preview {
    height: 70px;
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.color-chip-info {
    padding: 10px;
    text-align: center;
}

.color-chip-code {
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--sub-navy);
    display: block;
}

.color-chip-desc {
    font-size: 11px;
    color: #64748B;
    margin-top: 2px;
    display: block;
}

/* 반응형 */
@media (max-width: 1024px) {
    .freight-door-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .fixtures-showcase-grid {
        grid-template-columns: 1fr;
    }
    .color-chips-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .freight-door-grid {
        grid-template-columns: 1fr;
    }
    .color-chips-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .freight-legal-box {
        flex-direction: column;
        padding: 20px;
    }
}

/* ==========================================================================
   에스컬레이터 전용 스타일 (Escalator Page - 카탈로그 29~34p)
   ========================================================================== */

/* 1. 혁신 기술 & 트러스 구조 섹션 (29p) - 2개 카드 2열 배열, 아이콘 배경 워터마크 */
.esca-tech-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.esca-tech-card {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 42px 36px;
    box-shadow: none;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.esca-tech-card:hover {
    transform: translateY(-4px);
    border-color: var(--sub-blue);
}

.esca-tech-bg-icon {
    position: absolute;
    right: -15px;
    bottom: -25px;
    font-size: 160px;
    line-height: 1;
    color: var(--sub-blue);
    opacity: 0.05;
    pointer-events: none;
    user-select: none;
    z-index: 1;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.esca-tech-bg-icon.diamond {
    color: #E11D48;
    opacity: 0.045;
}

.esca-tech-card:hover .esca-tech-bg-icon {
    transform: scale(1.08) rotate(-3deg);
    opacity: 0.085;
}

.esca-tech-content {
    position: relative;
    z-index: 2;
}

.esca-tech-header {
    margin-bottom: 18px;
}

.esca-tech-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    background: #EFF6FF;
    color: var(--sub-blue);
    margin-bottom: 10px;
}

.esca-tech-badge.diamond {
    background: #FFF1F2;
    color: #E11D48;
}

.esca-tech-header h3 {
    font-size: 23px;
    font-weight: 700;
    color: var(--sub-navy);
    line-height: 1.38;
    margin: 0;
}

.esca-tech-highlight {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 16px 24px;
    margin: 22px 0;
}

.esca-stat-item {
    display: flex;
    flex-direction: column;
}

.esca-stat-label {
    font-size: 13px;
    color: #64748B;
    margin-bottom: 4px;
}

.esca-stat-val.primary {
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: var(--sub-blue);
}

.esca-stat-val.muted {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #94A3B8;
}

.esca-stat-vs {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 14px;
    color: #CBD5E1;
    padding: 0 12px;
}

.esca-tech-desc {
    font-size: 15.5px;
    line-height: 1.75;
    color: #475569;
    margin: 0;
}

/* 2. 34대 안전장치 섹션 (30p) - 박스/테두리 제거, 순수 이미지 투명 배치 */
.esca-3d-wrap {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    margin: 0 auto 32px;
    max-width: 1040px;
}

.esca-3d-img-box {
    position: relative;
    background: transparent;
    text-align: center;
}

.esca-3d-img-box img {
    width: 100%;
    max-height: 520px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.esca-3d-caption {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13.5px;
    color: #64748B;
    margin-top: 14px;
    padding: 0 4px;
}

.esca-3d-caption i {
    color: var(--sub-blue);
    font-size: 16px;
}

.safety-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.safety-card {
    background: #ffffff;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    box-shadow: none;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.safety-card:hover {
    transform: translateY(-2px);
    border-color: var(--sub-blue);
}

.safety-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.safety-num {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #EFF6FF;
    color: var(--sub-blue);
}

.safety-num.option {
    background: #FFFBEB;
    color: #D97706;
}

.safety-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
}

.safety-badge.standard {
    background: #EFF6FF;
    color: var(--sub-blue);
}

.safety-badge.option {
    background: #FFFBEB;
    color: #D97706;
}

.safety-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--sub-navy);
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.safety-desc {
    font-size: 13px;
    line-height: 1.6;
    color: #64748B;
    margin: 0;
}

/* 3. 완벽한 레이아웃 & 설치 주의사항 섹션 (31p) */
.esca-layout-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.esca-layout-card {
    background: #ffffff;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    overflow: hidden;
    cursor: default;
    box-shadow: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
}

.esca-layout-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08);
}

.esca-layout-thumb {
    position: relative;
    background: #F8FAFC;
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #E2E8F0;
    padding: 16px;
}

.esca-layout-thumb img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.esca-layout-info {
    padding: 24px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.esca-layout-badge {
    display: inline-block;
    align-self: flex-start;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    background: #F1F5F9;
    color: #475569;
    margin-bottom: 10px;
}

.esca-layout-badge.popular {
    background: #EFF6FF;
    color: var(--sub-blue);
}

.esca-layout-info h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--sub-navy);
    margin: 0 0 14px 0;
    line-height: 1.35;
}

.esca-layout-features {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 13px;
    line-height: 1.65;
    color: #64748B;
}

.esca-layout-features li {
    margin-bottom: 8px;
}

.esca-layout-features strong {
    color: var(--sub-navy);
}

/* 설치 주의사항 및 안전거리 박스 (단일 와이드 컬럼) */
.esca-safety-guide-wrap {
    background: #ffffff;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 40px;
    box-shadow: none;
}

.esca-guide-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.esca-guide-header i {
    color: #E11D48;
    font-size: 28px;
}

.esca-guide-header h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--sub-navy);
    margin: 0;
}

.esca-guide-sub {
    font-size: 15px;
    color: #64748B;
    margin-bottom: 28px;
}

.esca-guide-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.esca-guide-item {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 22px 28px;
}

.esca-guide-item h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--sub-navy);
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 10px 0;
}

.esca-guide-item h4 i {
    color: var(--sub-blue);
}

.esca-guide-item p {
    font-size: 14.5px;
    line-height: 1.7;
    color: #475569;
    margin: 0;
}

.guide-warn {
    display: block;
    color: #E11D48;
    font-weight: 600;
    margin-top: 8px;
}

.esca-guide-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.esca-guide-item ul li {
    font-size: 14px;
    line-height: 1.65;
    color: #475569;
    padding-left: 14px;
    position: relative;
}

.esca-guide-item ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--sub-blue);
    font-weight: bold;
}

.esca-guide-item ul strong {
    color: var(--sub-navy);
}
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.esca-guide-diagram img {
    max-height: 380px;
    width: auto;
    object-fit: contain;
    margin: 0 auto;
    display: block;
}

.esca-diagram-caption {
    font-size: 12px;
    color: #64748B;
    margin-top: 10px;
    display: block;
}

/* 4. 규격 및 반력표 섹션 (32p) */
.esca-param-bar {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    background: #ffffff;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 28px;
}

.param-item {
    display: flex;
    flex-direction: column;
}

.param-label {
    font-size: 12px;
    color: #64748B;
    margin-bottom: 4px;
}

.param-val {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--sub-navy);
}

.param-val.high-rise {
    color: #E11D48;
}

.esca-drawing-spec-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 24px;
    margin-bottom: 32px;
}

.esca-drawing-card {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    cursor: default;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.esca-drawing-card:hover {
    transform: none;
}

.drawing-img-box {
    position: relative;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    text-align: center;
}

.drawing-img-box img {
    width: 100%;
    max-height: 320px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.drawing-caption {
    font-size: 13px;
    color: #64748B;
    margin: 14px 0 0 0;
    text-align: center;
}

.esca-model-spec-table-wrap {
    background: #ffffff;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 24px;
}

.table-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.table-card-head h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--sub-navy);
    margin: 0;
}

.table-tag {
    font-size: 12px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    background: #EFF6FF;
    color: var(--sub-blue);
}

.table-tag.high-rise {
    background: #FFF1F2;
    color: #E11D48;
}

.table-tag.reaction {
    background: #F0FDF4;
    color: #16A34A;
}

.table-tag.formula {
    background: #FAF5FF;
    color: #9333EA;
}

.spec-table-custom {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.spec-table-custom th,
.spec-table-custom td {
    padding: 10px 14px;
    border: 1px solid #E2E8F0;
    text-align: center;
}

.spec-table-custom thead th {
    background: #F8FAFC;
    font-weight: 700;
    color: var(--sub-navy);
}

.spec-table-custom tbody th {
    background: #F8FAFC;
    font-weight: 600;
    color: #475569;
    text-align: left;
}

.esca-note-box {
    margin-top: 16px;
    padding: 14px 18px;
    background: #F8FAFC;
    border-radius: 8px;
    font-size: 12.5px;
    line-height: 1.65;
    color: #64748B;
}

.esca-note-box strong {
    color: var(--sub-navy);
    display: block;
    margin-bottom: 4px;
}

.esca-note-box ol {
    margin: 0;
    padding-left: 20px;
}

/* 반력 테이블 */
.esca-reaction-wrap {
    background: #ffffff;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 24px;
}

.reaction-table-custom {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
    text-align: center;
}

.reaction-table-custom th,
.reaction-table-custom td {
    padding: 9px 12px;
    border: 1px solid #E2E8F0;
}

.reaction-table-custom thead th {
    background: #F8FAFC;
    font-weight: 700;
    color: var(--sub-navy);
}

.reaction-table-custom tbody tr:hover {
    background: #F8FAFC;
}

.col-step {
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    background: #F8FAFC;
    color: var(--sub-navy);
}

.row-divider td {
    border-top: 2px solid #CBD5E1;
}

/* 공식 테이블 */
.formula-table-custom {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    text-align: center;
}

.formula-table-custom th,
.formula-table-custom td {
    padding: 12px 16px;
    border: 1px solid #E2E8F0;
}

.formula-table-custom thead th {
    background: #F8FAFC;
    font-weight: 700;
    color: var(--sub-navy);
}

.code-val {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--sub-navy);
}

.code-val.highlight {
    color: #9333EA;
    background: #FAF5FF;
}

.desc-val {
    font-size: 12.5px;
    color: #64748B;
    text-align: left;
}

.formula-guide-box {
    margin-top: 16px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    background: #F8FAFC;
    border-radius: 8px;
    padding: 14px 18px;
    font-size: 13px;
    line-height: 1.65;
    color: #64748B;
}

.formula-guide-box i {
    color: var(--sub-blue);
    font-size: 16px;
    margin-top: 2px;
}

/* 5. 의장 옵션 (34p) */
.esca-handrail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.esca-option-card {
    background: #ffffff;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 24px;
    cursor: pointer;
    box-shadow: none;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.esca-option-card:hover {
    transform: translateY(-3px);
    border-color: var(--sub-blue);
}

.option-thumb {
    position: relative;
    background: #F8FAFC;
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    margin-bottom: 20px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.option-thumb img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.option-badge {
    display: inline-block;
    font-family: 'Outfit', sans-serif;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    background: #EFF6FF;
    color: var(--sub-blue);
    margin-bottom: 8px;
}

.option-body h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--sub-navy);
    margin: 0 0 16px 0;
}

.handrail-type-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.handrail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: #F8FAFC;
    border-radius: 8px;
    border: 1px solid #E2E8F0;
}

.item-code {
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 800;
    color: var(--sub-navy);
    padding: 3px 8px;
    background: #ffffff;
    border: 1px solid #CBD5E1;
    border-radius: 4px;
}

.item-desc {
    font-size: 13.5px;
    color: #475569;
}

.handrail-color-swatches {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.swatch-card {
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 14px;
    text-align: center;
    background: #ffffff;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.swatch-card:hover {
    transform: translateY(-2px);
    border-color: var(--sub-blue);
}

.swatch-color {
    height: 48px;
    border-radius: 6px;
    margin-bottom: 10px;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.swatch-color.gold {
    background: linear-gradient(135deg, #DFBA73 0%, #C49A45 100%);
}

.swatch-color.bronze {
    background: linear-gradient(135deg, #B58863 0%, #8C5835 100%);
}

.swatch-color.black {
    background: linear-gradient(135deg, #474747 0%, #1A1A1A 100%);
}

.swatch-name {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--sub-navy);
    display: block;
}

.swatch-desc {
    font-size: 12px;
    color: #64748B;
    margin-top: 2px;
    display: block;
}

/* 반응형 미디어 쿼리 */
@media (max-width: 1200px) {
    .esca-layout-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .esca-tech-grid {
        grid-template-columns: 1fr;
    }
    .esca-structure-banner {
        grid-template-columns: 1fr;
    }
    .safety-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .esca-safety-guide-wrap {
        grid-template-columns: 1fr;
    }
    .esca-param-bar {
        grid-template-columns: repeat(3, 1fr);
    }
    .esca-drawing-spec-grid {
        grid-template-columns: 1fr;
    }
    .esca-handrail-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .safety-card-grid {
        grid-template-columns: 1fr;
    }
    .esca-layout-grid {
        grid-template-columns: 1fr;
    }
    .esca-param-bar {
        grid-template-columns: 1fr 1fr;
    }
    .handrail-color-swatches {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   공통 고해상도 라이트박스 모달 완벽한 화면 정중앙 고정 (좌측 치우침 방지)
   ========================================================================== */
.cert-modal {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 99999 !important;
    display: none;
    align-items: center !important;
    justify-content: center !important;
    padding: 24px !important;
    box-sizing: border-box !important;
}

.cert-modal.active,
.cert-modal[style*="display: block"],
.cert-modal[style*="display: flex"] {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.cert-modal-dialog,
.cert-modal-container {
    position: relative !important;
    z-index: 2 !important;
    margin: auto !important;
    width: 100% !important;
    max-width: 960px !important;
    max-height: 90vh !important;
    overflow: hidden !important;
    display: block !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
}

/* ==========================================================================
   디자인시스템 12-컬럼 그리드 시스템 & 차량용 스토퍼 전용 스타일 (stopper.html)
   ========================================================================== */

/* 1. 디자인시스템 12-컬럼 모듈러 그리드 유틸리티 */
.ds-grid-12 {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
    width: 100%;
}

.ds-col-12 { grid-column: span 12; }
.ds-col-8  { grid-column: span 8; }
.ds-col-6  { grid-column: span 6; }
.ds-col-4  { grid-column: span 4; }
.ds-col-3  { grid-column: span 3; }

/* 2. 섹션 상단 영문 라벨 (DESIGN_GUIDE.md 및 greeting.html 표준 규격: 배경 없는 순수 텍스트) */
.sec-kicker {
    display: block;
    font-family: var(--font-en);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .18em;
    color: var(--sub-blue);
    margin-bottom: 12px;
    text-transform: uppercase;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
}

/* 3. 디자인시스템 표준 카드 컴포넌트 (box-shadow 완전 배제, ::after 블루 드로잉 라인) */
.ds-card {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--sub-line);
    border-radius: 16px;
    box-shadow: none;
    transition: transform .35s ease, border-color .35s ease;
}

.ds-card::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--sub-blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s ease;
    z-index: 3;
}

.ds-card:hover {
    border-color: var(--sub-blue);
    transform: translateY(-4px);
    box-shadow: none;
}

.ds-card:hover::after {
    transform: scaleX(1);
}

/* 4. 디자인시스템 워터마크 아이콘 (인사말 .value-icon 시그니처 계승) */
.ds-watermark-icon {
    position: absolute;
    top: -24px;
    right: -24px;
    color: rgba(11, 99, 246, 0.045);
    font-size: 150px;
    line-height: 1;
    pointer-events: none;
    transform: rotate(-7deg);
    transition: color .35s ease, transform .45s ease;
    z-index: 1;
}

.ds-card:hover .ds-watermark-icon {
    color: rgba(11, 99, 246, 0.08);
    transform: rotate(-2deg) scale(1.03);
}

/* ==========================================================================
   차량용 스토퍼 자유롭고 개방적인 프리미엄 오픈 레이아웃 (카드 박스 전면 탈피)
   ========================================================================== */

/* --- 공통 섹션 서브 타이틀 --- */
.side-title {
    font-size: 21px;
    font-weight: 700;
    color: var(--sub-navy);
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--sub-blue);
    letter-spacing: -0.02em;
}

/* --------------------------------------------------------------------------
   [섹션 1] 독보적인 3대 혁신 기술 & 5대 특징 & 시공 비교
   -------------------------------------------------------------------------- */

/* 1. 3대 핵심 기술 (박스 없는 3열 플랫 컬럼) */
.tech-feature-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.tech-feature-col {
    position: relative;
    border-top: 2px solid var(--sub-blue);
    padding-top: 28px;
}

.tech-serial-num {
    display: block;
    font-family: var(--font-en);
    font-size: 32px;
    font-weight: 800;
    color: var(--sub-blue);
    line-height: 1;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.tech-feature-col h3 {
    font-size: 21px;
    font-weight: 700;
    color: var(--sub-navy);
    margin: 0 0 14px 0;
    line-height: 1.4;
    letter-spacing: -0.02em;
}

.tech-feature-col p {
    font-size: 15.5px;
    line-height: 1.7;
    color: var(--text-body);
    margin: 0;
}

/* 2. 5대 공식 특징 (박스 테두리 없는 미니멀 인라인 메트릭스 바) */
.stopper-metrics-bar {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    border-top: 1px solid var(--sub-line);
    border-bottom: 1px solid var(--sub-line);
    padding: 28px 0;
    margin-bottom: 72px;
}

.metric-item {
    text-align: center;
    border-right: 1px solid var(--sub-line);
    padding: 0 16px;
}

.metric-item:last-child {
    border-right: none;
}

.metric-item strong {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: var(--sub-navy);
    line-height: 1.35;
    margin-bottom: 4px;
}

.metric-item span {
    font-size: 13px;
    color: var(--text-muted);
}

/* 3. 시공 방식 비교 (박스 걷어낸 대형 도면 vs 비교표 2단) */
.compare-showcase-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: flex-start;
}

.compare-visual-side,
.compare-table-side {
    display: flex;
    flex-direction: column;
}

/* 도면 이미지: 박스 테두리 없이 투명 배경 위에서 큼직하게 100% 노출! */
.diagram-open-frame {
    width: 100%;
    padding: 10px 0 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.diagram-open-frame img {
    max-width: 100%;
    height: auto;
    max-height: 380px;
    object-fit: contain;
    display: block;
}

.diagram-plain-caption {
    font-size: 13.5px;
    color: var(--text-body);
    text-align: center;
    margin: 0;
    padding-top: 12px;
    border-top: 1px solid var(--sub-line);
}

.diagram-plain-caption strong {
    color: var(--sub-navy);
}

/* 비교 테이블: 박스 없이 깔끔한 모던 테이블 */
.compare-table-slim {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    background: #ffffff;
    border: 1px solid var(--sub-line);
}

.compare-table-slim th,
.compare-table-slim td {
    padding: 15px 18px;
    border: 1px solid var(--sub-line);
    vertical-align: middle;
}

.compare-table-slim thead th {
    background: var(--bg-gray);
    color: var(--sub-navy);
    font-weight: 700;
    text-align: center;
    font-size: 15px;
    height: 48px;
}

.compare-table-slim thead th.col-elim {
    background: var(--bg-light);
    color: var(--sub-blue);
    border-top: 3px solid var(--sub-blue);
}

.compare-table-slim tbody th {
    background: var(--bg-light);
    color: var(--sub-navy);
    font-weight: 600;
    text-align: center;
    width: 24%;
}

.compare-table-slim tbody td.col-elim {
    background: #ffffff;
    font-weight: 600;
    color: var(--sub-blue);
}

/* --------------------------------------------------------------------------
   [섹션 2] 자동차용 승강기 진입방지장치 법적 적용기준 & 시퀀스
   -------------------------------------------------------------------------- */
.legal-seq-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: flex-start;
}

/* 좌측: 법적 의무 설치 기준 (박스 없는 클린 아티클 리스트) */
.legal-article-list {
    display: flex;
    flex-direction: column;
}

.legal-article-item {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--sub-line);
    align-items: flex-start;
}

.legal-article-item:first-child {
    padding-top: 0;
}

.legal-article-item:last-child {
    border-bottom: none;
}

.legal-num {
    font-family: var(--font-en);
    font-size: 20px;
    font-weight: 800;
    color: var(--sub-blue);
    flex-shrink: 0;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.legal-text h4 {
    font-size: 17.5px;
    font-weight: 700;
    color: var(--sub-navy);
    margin: 0 0 6px 0;
    line-height: 1.4;
}

.legal-text p {
    font-size: 15px;
    line-height: 1.65;
    color: var(--text-body);
    margin: 0;
}

/* 우측: 인터록 연동 시퀀스 (박스 없는 시원한 비주얼 & 수평 플로우) */
.seq-showcase-side {
    display: flex;
    flex-direction: column;
}

.seq-open-visual {
    width: 100%;
    padding: 10px 0 24px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.seq-open-visual img {
    max-width: 100%;
    max-height: 250px;
    object-fit: contain;
    display: block;
}

.seq-timeline-horizontal {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding-top: 20px;
    border-top: 1px solid var(--sub-line);
}

.seq-node {
    position: relative;
    padding-left: 14px;
    border-left: 2px solid var(--sub-blue);
}

.seq-node strong {
    display: block;
    font-family: var(--font-en);
    font-size: 12px;
    font-weight: 800;
    color: var(--sub-blue);
    letter-spacing: .5px;
    margin-bottom: 2px;
}

.seq-node h5 {
    font-size: 15px;
    font-weight: 700;
    color: var(--sub-navy);
    margin: 0 0 4px 0;
}

.seq-node p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

/* --------------------------------------------------------------------------
   [섹션 3] KTL 공인 시험성적서 & 특허 인증 (오픈 서류 갤러리)
   -------------------------------------------------------------------------- */
.cert-open-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 56px;
}

.cert-open-item {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: transform .3s ease;
}

.cert-open-item:hover {
    transform: translateY(-4px);
}

.cert-paper-sheet {
    background: #ffffff;
    border: 1px solid #dbe2ea;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-radius: 6px;
    padding: 12px;
    height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    transition: box-shadow .3s ease, border-color .3s ease;
}

.cert-open-item:hover .cert-paper-sheet {
    border-color: var(--sub-blue);
    box-shadow: 0 12px 32px rgba(11, 99, 246, 0.12);
}

.cert-paper-sheet img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    display: block;
}

.cert-open-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cert-open-info .cert-doc-id {
    font-size: 13px;
    font-weight: 700;
    color: var(--sub-blue);
    font-family: var(--font-en);
}

.cert-open-info h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--sub-navy);
    margin: 0;
    line-height: 1.35;
}

.cert-open-info p {
    font-size: 14.5px;
    color: var(--text-body);
    margin: 2px 0 0 0;
    line-height: 1.55;
}

/* 선제 통과 공식 팩트: 시원한 풀 와이드 밴드 */
.cert-banner-strip {
    background: var(--bg-light);
    border-left: 4px solid var(--sub-blue);
    border-radius: 12px;
    padding: 28px 36px;
    display: flex;
    align-items: center;
    gap: 36px;
}

.banner-metric {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    padding-right: 36px;
    border-right: 1px solid var(--sub-line);
    text-align: center;
    flex-shrink: 0;
}

.banner-metric .metric-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.banner-metric .metric-val {
    font-family: var(--font-en);
    font-size: 32px;
    font-weight: 800;
    color: var(--sub-blue);
    line-height: 1.1;
    margin-bottom: 4px;
}

.banner-metric .metric-val span {
    font-size: 18px;
    font-weight: 700;
    margin-left: 2px;
}

.banner-metric .metric-desc {
    font-size: 12px;
    color: var(--sub-navy);
    font-weight: 600;
}

.banner-detail {
    flex: 1;
}

.banner-detail h4 {
    font-size: 18.5px;
    font-weight: 700;
    color: var(--sub-navy);
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.banner-detail h4 i {
    color: var(--sub-blue);
    font-size: 22px;
}

.banner-detail p {
    font-size: 15.5px;
    line-height: 1.7;
    color: var(--text-body);
    margin: 0;
}

/* --------------------------------------------------------------------------
   [섹션 4] 기술 제원 & 3단 완충 메커니즘
   -------------------------------------------------------------------------- */
.spec-buffer-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: flex-start;
}

.spec-table-clean {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    background: #ffffff;
    border: 1px solid var(--sub-line);
}

.spec-table-clean th,
.spec-table-clean td {
    padding: 16px 18px;
    border: 1px solid var(--sub-line);
    vertical-align: middle;
}

.spec-table-clean th {
    background: var(--bg-light);
    font-weight: 600;
    color: var(--sub-navy);
    width: 32%;
}

.spec-table-clean td {
    color: var(--text-dark);
}

/* 3단 완충 수직 타임라인 (박스 없는 연결선 플로우) */
.buffer-flow-list {
    display: flex;
    flex-direction: column;
    position: relative;
    padding-left: 20px;
    border-left: 2px solid var(--sub-line);
    margin-left: 10px;
}

.buffer-flow-item {
    position: relative;
    padding-bottom: 28px;
}

.buffer-flow-item:last-child {
    padding-bottom: 0;
}

.buffer-flow-item .flow-mark {
    position: absolute;
    left: -31px;
    top: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid var(--sub-blue);
    color: var(--sub-blue);
    font-family: var(--font-en);
    font-size: 10px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.buffer-flow-item h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--sub-navy);
    margin: 0 0 6px 0;
    line-height: 1.35;
}

.buffer-flow-item p {
    font-size: 15px;
    line-height: 1.65;
    color: var(--text-body);
    margin: 0;
}

/* --------------------------------------------------------------------------
   [섹션 5] 실제 현장 시공 갤러리 (박스 걷어낸 16:9 와이드 인라인 쇼케이스)
   -------------------------------------------------------------------------- */
.gallery-open-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.gallery-open-item {
    display: flex;
    flex-direction: column;
}

.gallery-full-img {
    width: 100%;
    height: 380px;
    border-radius: 14px;
    overflow: hidden;
    background: #0f172a;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.gallery-full-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}

.gallery-open-item:hover .gallery-full-img img {
    transform: scale(1.03);
}

.gallery-full-caption {
    padding: 18px 4px 0 4px;
}

.gallery-full-caption h4 {
    font-size: 19px;
    font-weight: 700;
    color: var(--sub-navy);
    margin: 0 0 8px 0;
    line-height: 1.35;
}

.gallery-full-caption p {
    font-size: 15px;
    color: var(--text-body);
    margin: 0;
    line-height: 1.65;
}

/* --- 반응형 미디어 쿼리 --- */
@media (max-width: 1024px) {
    .tech-feature-row {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .stopper-metrics-bar {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
    .compare-showcase-row,
    .legal-seq-layout,
    .spec-buffer-layout,
    .gallery-open-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .cert-open-gallery {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .gallery-full-img {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .stopper-metrics-bar {
        grid-template-columns: 1fr;
        gap: 12px;
        text-align: left;
    }
    .metric-item {
        border-right: none;
        border-bottom: 1px solid var(--sub-line);
        padding-bottom: 12px;
        text-align: left;
    }
    .metric-item:last-child {
        border-bottom: none;
    }
    .cert-banner-strip {
        flex-direction: column;
        align-items: flex-start;
        padding: 22px 20px;
        gap: 16px;
    }
    .banner-metric {
        min-width: unset;
        width: 100%;
        padding-right: 0;
        padding-bottom: 16px;
        border-right: none;
        border-bottom: 1px solid var(--sub-line);
        align-items: flex-start;
        text-align: left;
    }
    .seq-timeline-horizontal {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .gallery-full-img {
        height: 240px;
    }
}

/* ==========================================================================
   차량용 스토퍼 전용 고해상도 라이트박스 모달 (이미지 잘림 100% 방지 및 완벽 핏)
   ========================================================================== */
.cert-modal.stopper-modal {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 99999 !important;
    display: none;
    align-items: center !important;
    justify-content: center !important;
    padding: 24px !important;
    box-sizing: border-box !important;
}

.cert-modal.stopper-modal.active {
    display: flex !important;
}

.stopper-modal .cert-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 30, 66, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.stopper-modal .cert-modal-dialog {
    position: relative !important;
    z-index: 2 !important;
    margin: auto !important;
    width: 100% !important;
    max-width: 960px !important;
    height: 90vh !important;
    max-height: 90vh !important;
    background: #ffffff !important;
    border-radius: 16px !important;
    border: 1px solid var(--sub-line) !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35) !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
}

.stopper-modal .cert-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    background: #ffffff;
    border-bottom: 1px solid var(--sub-line);
    flex-shrink: 0;
}

.stopper-modal .cert-modal-title-group {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.stopper-modal .cert-modal-badge,
.stopper-modal .cert-modal-category {
    font-family: var(--font-en);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .5px;
    color: var(--sub-blue);
    margin: 0;
}

.stopper-modal .cert-modal-title {
    font-size: 17.5px;
    font-weight: 700;
    color: var(--sub-navy);
    margin: 0;
    line-height: 1.35;
}

.stopper-modal .cert-modal-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-light);
    border: 1px solid var(--sub-line);
    color: var(--sub-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
    flex-shrink: 0;
}

.stopper-modal .cert-modal-close:hover {
    background: var(--sub-blue);
    border-color: var(--sub-blue);
    color: #ffffff;
}

.stopper-modal .cert-modal-body {
    flex: 1 1 auto;
    min-height: 0;
    background: #f8fafc;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.stopper-modal .cert-modal-img-wrap {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stopper-modal #certModalImg {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    border: 1px solid #dbe2ea;
    background: #ffffff;
    display: block;
}

@media (max-width: 768px) {
    .cert-modal.stopper-modal {
        padding: 12px !important;
    }
    .stopper-modal .cert-modal-dialog {
        height: 94vh !important;
        max-height: 94vh !important;
        border-radius: 12px !important;
    }
    .stopper-modal .cert-modal-header {
        padding: 12px 16px;
    }
    .stopper-modal .cert-modal-title {
        font-size: 15px;
    }
    .stopper-modal .cert-modal-body {
        padding: 12px;
    }
}

/* ==========================================================================
   부품교체주기 (parts-cycle.html) 오픈 레이아웃 (카드 박스 전면 탈피)
   ========================================================================== */

/* 1. 3대 권장 교체주기 요약 (3열 플랫 컬럼) */
.parts-summary-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 48px;
}

.parts-summary-col {
    position: relative;
    border-top: 2px solid var(--sub-blue);
    padding-top: 28px;
}

.parts-serial-num {
    display: block;
    font-family: var(--font-en);
    font-size: 32px;
    font-weight: 800;
    color: var(--sub-blue);
    line-height: 1;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.parts-summary-col h3 {
    font-size: 21px;
    font-weight: 700;
    color: var(--sub-navy);
    margin: 0 0 6px 0;
    line-height: 1.35;
    letter-spacing: -0.02em;
}

.parts-period-label {
    display: inline-block;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--sub-blue);
    margin-bottom: 12px;
}

.parts-summary-col p {
    font-size: 15px;
    line-height: 1.65;
    color: var(--text-body);
    margin: 0 0 16px 0;
}

.parts-sample-items {
    font-size: 13px;
    color: var(--text-muted);
    background: var(--bg-light);
    padding: 10px 14px;
    border-radius: 6px;
    line-height: 1.5;
    border-left: 3px solid var(--sub-blue);
}

/* 2. 4대 핵심 메트릭스 바 (박스 테두리 없는 미니멀 인라인) */
.parts-metrics-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    border-top: 1px solid var(--sub-line);
    border-bottom: 1px solid var(--sub-line);
    padding: 26px 0;
    margin-bottom: 60px;
}

.parts-metric-item {
    text-align: center;
    border-right: 1px solid var(--sub-line);
    padding: 0 16px;
}

.parts-metric-item:last-child {
    border-right: none;
}

.parts-metric-item strong {
    display: block;
    font-size: 17px;
    font-weight: 700;
    color: var(--sub-navy);
    line-height: 1.35;
    margin-bottom: 4px;
}

.parts-metric-item span {
    font-size: 13px;
    color: var(--text-muted);
}

/* 3. 인터랙티브 데이터 테이블 컨트롤 패널 */
.parts-control-panel {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 24px;
}

.parts-tab-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 0;
}

.parts-tab-btn {
    position: relative;
    background: none;
    border: none;
    padding: 12px 18px;
    font-size: 15px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: color .2s ease;
}

.parts-tab-btn:hover {
    color: var(--sub-blue);
}

.parts-tab-btn.active {
    color: var(--sub-blue);
    font-weight: 700;
}

.parts-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--sub-blue);
    border-radius: 3px 3px 0 0;
}

.parts-tab-btn .tab-count {
    display: inline-block;
    margin-left: 4px;
    font-size: 12px;
    font-weight: 700;
    color: #94a3b8;
}

.parts-tab-btn.active .tab-count {
    color: var(--sub-blue);
}

/* 검색 바 & 주기 칩 필터 행 */
.parts-filter-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.parts-search-box {
    position: relative;
    flex: 1;
    min-width: 260px;
    max-width: 420px;
}

.parts-search-box i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #94a3b8;
}

.parts-search-input {
    width: 100%;
    height: 44px;
    padding: 0 38px 0 42px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14.5px;
    color: var(--sub-navy);
    background: #ffffff;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.parts-search-input:focus {
    outline: none;
    border-color: var(--sub-blue);
    box-shadow: 0 0 0 3px rgba(11, 99, 246, 0.12);
}

.parts-search-clear {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 16px;
    display: none;
}

.parts-cycle-chips {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.parts-chip-label {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--sub-navy);
    margin-right: 4px;
}

.parts-chip {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 500;
    color: #475569;
    cursor: pointer;
    transition: all .2s ease;
}

.parts-chip:hover {
    border-color: var(--sub-blue);
    color: var(--sub-blue);
}

.parts-chip.active {
    background: var(--sub-blue);
    border-color: var(--sub-blue);
    color: #ffffff;
    font-weight: 600;
}

/* 4. 부품 데이터 테이블 */
.parts-table-wrap {
    width: 100%;
    overflow-x: auto;
    border: 1px solid var(--sub-line);
    background: #ffffff;
}

.parts-table-clean {
    width: 100%;
    border-collapse: collapse;
    font-size: 14.5px;
    min-width: 960px;
}

.parts-table-clean thead th {
    background: #f1f5f9;
    color: var(--sub-navy);
    font-weight: 700;
    text-align: center;
    padding: 14px 16px;
    border-bottom: 2px solid #cbd5e1;
    border-right: 1px solid var(--sub-line);
    font-size: 14px;
    white-space: nowrap;
}

.parts-table-clean thead th:last-child {
    border-right: none;
}

.parts-table-clean tbody tr {
    border-bottom: 1px solid var(--sub-line);
    transition: background-color .15s ease;
}

.parts-table-clean tbody tr:hover {
    background-color: #f8fbff;
}

.parts-table-clean tbody tr.hidden-row {
    display: none;
}

.parts-table-clean tbody td {
    padding: 13px 16px;
    border-right: 1px solid var(--sub-line);
    color: var(--text-body);
    vertical-align: middle;
}

.parts-table-clean tbody td:last-child {
    border-right: none;
}

.parts-table-clean td.td-center {
    text-align: center;
}

.parts-table-clean td.td-right {
    text-align: right;
}

.parts-table-clean td.td-sec {
    font-weight: 600;
    color: var(--sub-navy);
    background: #fafcff;
    font-size: 13.5px;
    text-align: center;
}

.parts-table-clean td.td-sub {
    font-weight: 500;
    color: #475569;
    font-size: 13.5px;
    text-align: center;
}

.parts-table-clean td.td-name {
    font-weight: 600;
    color: #1e293b;
}

.parts-cycle-tag {
    display: inline-block;
    font-weight: 700;
    font-size: 14px;
    color: var(--sub-blue);
    font-family: var(--font-en);
}

.parts-price-val {
    font-family: var(--font-en);
    font-weight: 700;
    font-size: 14.5px;
    color: var(--sub-navy);
}

.parts-note-text {
    font-size: 13px;
    color: #64748b;
    line-height: 1.45;
}

.parts-table-empty {
    text-align: center;
    padding: 48px 16px;
    color: #94a3b8;
    font-size: 15px;
    display: none;
}

.parts-table-empty i {
    font-size: 32px;
    display: block;
    margin-bottom: 8px;
    color: #cbd5e1;
}

/* 5. 장기수선계획 수립 가이드 (박스 없는 수평 연결선 타임라인) */
.maint-plan-flow {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
    margin-top: 10px;
}

.maint-plan-node {
    position: relative;
    border-top: 2px solid var(--sub-blue);
    padding-top: 24px;
}

.maint-plan-node .node-step {
    display: block;
    font-family: var(--font-en);
    font-size: 13px;
    font-weight: 800;
    color: var(--sub-blue);
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.maint-plan-node h4 {
    font-size: 17.5px;
    font-weight: 700;
    color: var(--sub-navy);
    margin: 0 0 8px 0;
    line-height: 1.35;
}

.maint-plan-node p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-body);
    margin: 0;
}

/* 6. 엘림이앤에스 부품 경쟁력 (3열 플랫 컬럼) */
.elim-parts-strength-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.elim-parts-strength-col {
    position: relative;
    border-top: 2px solid var(--sub-blue);
    padding-top: 26px;
}

.elim-parts-strength-col .str-num {
    display: block;
    font-family: var(--font-en);
    font-size: 28px;
    font-weight: 800;
    color: var(--sub-blue);
    margin-bottom: 12px;
    line-height: 1;
}

.elim-parts-strength-col h3 {
    font-size: 19px;
    font-weight: 700;
    color: var(--sub-navy);
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.elim-parts-strength-col p {
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--text-body);
    margin: 0;
}

/* 7. 반응형 미디어 쿼리 */
@media (max-width: 1024px) {
    .parts-summary-row {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .parts-metrics-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .parts-metric-item:nth-child(2) {
        border-right: none;
    }
    .maint-plan-flow {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }
    .elim-parts-strength-row {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

@media (max-width: 768px) {
    .parts-filter-row {
        flex-direction: column;
        align-items: stretch;
    }
    .parts-search-box {
        max-width: 100%;
    }
    .parts-metrics-bar {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 20px 0;
    }
    .parts-metric-item {
        border-right: none;
        border-bottom: 1px solid var(--sub-line);
        padding-bottom: 12px;
    }
    .parts-metric-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    .maint-plan-flow {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* ==========================================================================
   16. REPLACEMENT WORK (노후 승강기 교체공사)
   ========================================================================== */

/* Section wrapper */
.rep-section {
    padding: 100px 0;
    position: relative;
}

.rep-section-alt {
    background-color: #f8fafc;
}

/* 1. Editorial Layout (Section 1) */
.rep-editorial-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
    align-items: center;
}

.rep-tag-mono {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--primary-color, #1e40af);
    background: rgba(30, 64, 175, 0.06);
    padding: 6px 14px;
    border-radius: 4px;
    margin-bottom: 18px;
}

.rep-editorial-title {
    font-size: clamp(28px, 3.2vw, 38px);
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -0.03em;
    color: var(--sub-text-dark, #0f172a);
    margin-bottom: 22px;
    word-break: keep-all;
}

.rep-editorial-lead {
    font-size: 16px;
    line-height: 1.75;
    color: var(--sub-text-muted, #475569);
    margin-bottom: 36px;
    word-break: keep-all;
}

/* Flat Feature Merit List (No Box Cards) */
.rep-merit-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid rgba(15, 23, 42, 0.12);
}

.rep-merit-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.rep-merit-num {
    font-family: var(--font-en, 'Outfit', sans-serif);
    font-size: 20px;
    font-weight: 800;
    color: var(--primary-color, #1e40af);
    line-height: 1;
    min-width: 32px;
}

.rep-merit-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--sub-text-dark, #0f172a);
    margin-bottom: 0;
    line-height: 1.4;
}

/* Editorial Image Column */
.rep-visual-wrap {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.rep-visual-wrap img {
    width: 100%;
    height: 100%;
    max-height: 580px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.rep-visual-wrap:hover img {
    transform: scale(1.02);
}

.rep-visual-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px 20px;
    background: linear-gradient(transparent, rgba(3, 24, 55, 0.92));
    color: #fff;
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: -0.01em;
}

/* 2. Process Timeline (Section 2 - Horizontal Flat Steps, No Box Cards) */
.rep-process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
    margin-top: 50px;
    border-top: 2px solid var(--primary-color, #1e40af);
    padding-top: 36px;
}

.rep-process-step {
    position: relative;
}

.rep-step-num {
    font-family: var(--font-en, 'Outfit', sans-serif);
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-color, #1e40af);
    line-height: 1;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.rep-step-badge {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #64748b;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: block;
}

.rep-process-step h3 {
    font-size: 21px;
    font-weight: 700;
    color: var(--sub-text-dark, #0f172a);
    margin-bottom: 12px;
    line-height: 1.35;
}

.rep-process-step p {
    font-size: 16px;
    line-height: 1.65;
    color: var(--sub-text-muted, #475569);
    margin-bottom: 14px;
    word-break: keep-all;
}

.rep-step-tags {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px dashed rgba(15, 23, 42, 0.12);
    padding-top: 12px;
}

.rep-step-tags li {
    font-size: 14px;
    color: #475569;
    padding: 4px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.rep-step-tags li i {
    color: var(--primary-color, #1e40af);
    font-size: 14px;
}

/* 3. Mandatory Safety & Scope Grid (Section 3 - 2 Columns Minimal Border Grid) */
.rep-scope-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 48px;
    margin-top: 48px;
    border-top: 1px solid rgba(15, 23, 42, 0.15);
}

.rep-scope-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 28px 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.rep-scope-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: rgba(30, 64, 175, 0.06);
    color: var(--primary-color, #1e40af);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.rep-scope-body h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--sub-text-dark, #0f172a);
    margin-bottom: 8px;
    line-height: 1.35;
}

.rep-scope-body p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--sub-text-muted, #475569);
    margin: 0 0 10px 0;
    word-break: keep-all;
}

.rep-scope-law {
    font-size: 14px;
    color: #64748b;
    font-weight: 600;
    display: block;
}

/* 4. Portfolio Showcase Gallery (Section 4 - 3 Columns Open Photo Grid) */
.rep-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px 28px;
    margin-top: 48px;
}

.rep-gallery-item {
    display: flex;
    flex-direction: column;
}

.rep-gallery-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    overflow: hidden;
    background: #e2e8f0;
    margin-bottom: 16px;
}

.rep-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.rep-gallery-item:hover .rep-gallery-thumb img {
    transform: scale(1.04);
}

.rep-gallery-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(3, 24, 55, 0.85);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 4px;
    backdrop-filter: blur(4px);
    letter-spacing: -0.01em;
}

.rep-gallery-info h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--sub-text-dark, #0f172a);
    margin-bottom: 8px;
    line-height: 1.35;
}

.rep-gallery-info .rep-meta-row {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 8px;
    display: flex;
    gap: 12px;
}

.rep-gallery-info p {
    font-size: 16px;
    line-height: 1.65;
    color: var(--sub-text-muted, #475569);
    margin: 0;
    word-break: keep-all;
}

/* Responsive */
@media (max-width: 1024px) {
    .rep-editorial-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .rep-process-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 36px;
    }
    .rep-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .rep-process-timeline {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .rep-scope-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .rep-gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   ELEVATOR INSTALLATION (installation.html) SPECIFIC STYLES
   ========================================================================== */

/* 1. Tailored Types Grid (Section 2 - 3 Columns Flat Editorial) */
.inst-type-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
    margin-top: 48px;
}

.inst-type-item {
    border-top: 2px solid var(--secondary, #0B63F6);
    padding-top: 24px;
    display: flex;
    flex-direction: column;
}

.inst-type-num {
    font-family: var(--font-en, 'Outfit');
    font-size: 14px;
    font-weight: 700;
    color: var(--secondary, #0B63F6);
    letter-spacing: 0.05em;
    margin-bottom: 8px;
    display: block;
}

.inst-type-item h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--sub-text-dark, #041E42);
    margin-bottom: 8px;
    line-height: 1.35;
}

.inst-type-meta {
    font-size: 14px;
    font-weight: 600;
    color: #64748B;
    margin-bottom: 14px;
    display: block;
}

.inst-type-item p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--sub-text-muted, #475569);
    margin: 0 0 18px 0;
    word-break: keep-all;
    flex-grow: 1;
}

.inst-type-tags {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 1px dashed rgba(15, 23, 42, 0.12);
    padding-top: 14px;
}

.inst-type-tags li {
    font-size: 15px;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.45;
}

.inst-type-tags li i {
    color: var(--secondary, #0B63F6);
    font-size: 15px;
    flex-shrink: 0;
}

/* 2. 6-Step Installation Process Grid (Section 3 - 3x2 Flat Flow) */
.inst-process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 32px;
    margin-top: 48px;
}

.inst-process-item {
    position: relative;
    border-top: 2px solid var(--secondary, #0B63F6);
    padding-top: 22px;
    display: flex;
    flex-direction: column;
}

.inst-process-item .inst-step-num {
    font-family: var(--font-en, 'Outfit');
    font-size: 15px;
    font-weight: 700;
    color: var(--secondary, #0B63F6);
    margin-bottom: 6px;
    display: block;
}

.inst-process-item .inst-step-badge {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: #475569;
    letter-spacing: 0.04em;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.inst-process-item h3 {
    font-size: 21px;
    font-weight: 700;
    color: var(--sub-text-dark, #041E42);
    margin-bottom: 10px;
    line-height: 1.35;
}

.inst-process-item p {
    font-size: 16px;
    line-height: 1.65;
    color: var(--sub-text-muted, #475569);
    margin: 0 0 16px 0;
    word-break: keep-all;
    flex-grow: 1;
}

.inst-process-tags {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-top: 1px dashed rgba(15, 23, 42, 0.1);
    padding-top: 12px;
}

.inst-process-tags li {
    font-size: 14px;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 6px;
    line-height: 1.45;
}

.inst-process-tags li i {
    color: var(--secondary, #0B63F6);
    font-size: 14px;
    flex-shrink: 0;
}

/* Responsive for Installation Page */
@media (max-width: 1024px) {
    .inst-type-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .inst-process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

@media (max-width: 640px) {
    .inst-process-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

/* ==========================================================================
   SCAFFOLDING & LIFTING (scaffolding-lifting.html) SPECIFIC STYLES
   ========================================================================== */

/* 1. Specialized Services (Section 2 - 2 Columns Wide Open Editorial) */
.scaff-solution-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
    margin-top: 48px;
}

.scaff-solution-item {
    border-top: 2px solid var(--secondary, #0B63F6);
    padding-top: 28px;
    display: flex;
    flex-direction: column;
}

.scaff-solution-num {
    font-family: var(--font-en, 'Outfit');
    font-size: 14px;
    font-weight: 700;
    color: var(--secondary, #0B63F6);
    letter-spacing: 0.06em;
    margin-bottom: 8px;
    display: block;
}

.scaff-solution-item h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--sub-text-dark, #041E42);
    margin-bottom: 8px;
    line-height: 1.35;
}

.scaff-solution-meta {
    font-size: 14px;
    font-weight: 600;
    color: #64748B;
    margin-bottom: 16px;
    display: block;
}

.scaff-solution-item p {
    font-size: 16.5px;
    line-height: 1.7;
    color: var(--sub-text-muted, #475569);
    margin: 0 0 20px 0;
    word-break: keep-all;
    flex-grow: 1;
}

.scaff-solution-tags {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 1px dashed rgba(15, 23, 42, 0.12);
    padding-top: 16px;
}

.scaff-solution-tags li {
    font-size: 15px;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.45;
}

.scaff-solution-tags li i {
    color: var(--secondary, #0B63F6);
    font-size: 15px;
    flex-shrink: 0;
}

/* 2. 5-Step Safety & Work Process Grid (Section 3 - 5 Columns Flat Flow) */
.scaff-process-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.scaff-process-item {
    position: relative;
    border-top: 2px solid var(--secondary, #0B63F6);
    padding-top: 20px;
    display: flex;
    flex-direction: column;
}

.scaff-process-item .scaff-step-num {
    font-family: var(--font-en, 'Outfit');
    font-size: 15px;
    font-weight: 700;
    color: var(--secondary, #0B63F6);
    margin-bottom: 6px;
    display: block;
}

.scaff-process-item .scaff-step-badge {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: #475569;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.scaff-process-item h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--sub-text-dark, #041E42);
    margin-bottom: 10px;
    line-height: 1.35;
}

.scaff-process-item p {
    font-size: 15.5px;
    line-height: 1.65;
    color: var(--sub-text-muted, #475569);
    margin: 0 0 14px 0;
    word-break: keep-all;
    flex-grow: 1;
}

.scaff-process-tags {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-top: 1px dashed rgba(15, 23, 42, 0.1);
    padding-top: 12px;
}

.scaff-process-tags li {
    font-size: 14px;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 6px;
    line-height: 1.45;
}

.scaff-process-tags li i {
    color: var(--secondary, #0B63F6);
    font-size: 14px;
    flex-shrink: 0;
}

/* Responsive for Scaffolding & Lifting Page */
@media (max-width: 1200px) {
    .scaff-process-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px 24px;
    }
}

@media (max-width: 1024px) {
    .scaff-solution-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .scaff-process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

@media (max-width: 640px) {
    .scaff-process-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

/* ==========================================================================
   방안 1: 와이드 풀스크린 모달 뷰어 (클린 화이트 테마, 화면 95% 점유 극대화)
   ========================================================================== */
.cert-modal {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 99999 !important;
    display: none;
    align-items: center !important;
    justify-content: center !important;
    padding: 16px !important;
    box-sizing: border-box !important;
}

.cert-modal.active {
    display: flex !important;
}

.cert-modal-backdrop {
    position: absolute !important;
    inset: 0 !important;
    background: rgba(15, 23, 42, 0.6) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    cursor: pointer !important;
}

/* 메인 모달 창: 너비 96vw, 높이 94vh 화면 95% 점유, 클린 화이트 */
.cert-modal-dialog,
.cert-modal-container {
    position: relative !important;
    z-index: 2 !important;
    width: 96vw !important;
    max-width: 1760px !important;
    height: 94vh !important;
    max-height: 94vh !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.25) !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    margin: 0 !important;
    animation: modalPop 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

@keyframes modalPop {
    from {
        opacity: 0;
        transform: scale(0.97) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* 상단 슬림 화이트 헤더 바 */
.cinematic-bar {
    height: 56px !important;
    min-height: 56px !important;
    background: #ffffff !important;
    border-bottom: 1px solid #e2e8f0 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0 24px !important;
    z-index: 5 !important;
}

.cinematic-title-box {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    overflow: hidden;
}

.cinematic-badge {
    background: #eff6ff !important;
    color: #0b63f6 !important;
    border: 1px solid #bfdbfe !important;
    padding: 4px 10px !important;
    border-radius: 4px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    font-family: 'Outfit', sans-serif !important;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.cinematic-title {
    color: #041e42 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    margin: 0 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cinematic-actions {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    flex-shrink: 0;
}

.cinematic-tag {
    color: #64748b !important;
    font-size: 13px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.cinematic-close-btn {
    background: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
    color: #1e293b !important;
    padding: 6px 16px !important;
    border-radius: 20px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    transition: all 0.2s ease !important;
}

.cinematic-close-btn:hover {
    background: #ef4444 !important;
    border-color: #ef4444 !important;
    color: #ffffff !important;
    transform: scale(1.02);
}

/* 이미지 뷰어 영역 (화이트 / 은은한 오프화이트 바탕) */
.cinematic-viewer {
    flex: 1 1 auto !important;
    height: calc(94vh - 56px) !important;
    background: #f8fafc !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 16px !important;
    overflow: auto !important;
    box-sizing: border-box !important;
}

.cinematic-img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    border-radius: 6px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
    background: #ffffff !important;
    transition: transform 0.2s ease;
}

/* 구형 productModal 마크업 래퍼 호환 오버라이드 */
#productModal .cert-modal-dialog {
    padding: 0 !important;
    background: #ffffff !important;
}
#productModal .cert-modal-dialog > div:last-child {
    background: #ffffff !important;
    padding: 0 !important;
    border-radius: 0 !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
}
#productModal .cert-modal-dialog > div:last-child > div:first-child {
    height: 56px !important;
    min-height: 56px !important;
    background: #ffffff !important;
    border-bottom: 1px solid #e2e8f0 !important;
    padding: 0 24px !important;
    margin: 0 !important;
}
#productModal .cert-modal-dialog > div:last-child > div:first-child h3 {
    color: #041e42 !important;
    font-size: 18px !important;
}
#productModal .cert-modal-dialog > div:last-child > div:first-child span {
    color: #0b63f6 !important;
}
#productModal .cert-modal-dialog > div:last-child > div:last-child {
    flex: 1 1 auto !important;
    max-height: calc(94vh - 56px) !important;
    height: calc(94vh - 56px) !important;
    background: #f8fafc !important;
    border-radius: 0 !important;
    padding: 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: auto !important;
}
#productModal .cert-modal-dialog > div:last-child > div:last-child img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    border-radius: 6px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
}
#productModal .cert-modal-close {
    position: absolute !important;
    top: 10px !important;
    right: 16px !important;
    z-index: 20 !important;
    background: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
    color: #1e293b !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 20px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}
#productModal .cert-modal-close:hover {
    background: #ef4444 !important;
    border-color: #ef4444 !important;
    color: #ffffff !important;
}

/* 인증서 (certificates.php) 화이트 뷰어 레이아웃 */
#certModal .cert-modal-dialog {
    flex-direction: row !important;
    background: #ffffff !important;
}

#certModal .cert-modal-viewer {
    flex: 1 1 auto !important;
    height: 100% !important;
    background: #f8fafc !important;
    padding: 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: auto !important;
}

#certModal .cert-modal-viewer img {
    max-width: 100% !important;
    max-height: calc(94vh - 48px) !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    border-radius: 6px !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1) !important;
    background: #ffffff !important;
}

#certModal .cert-modal-details {
    flex: 0 0 380px !important;
    width: 380px !important;
    max-width: 380px !important;
    background: #ffffff !important;
    border-left: 1px solid #e2e8f0 !important;
    padding: 32px 28px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    overflow-y: auto !important;
    color: #041e42 !important;
}

#certModal .cert-modal-top {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 20px !important;
    width: 100% !important;
}

#certModal .cert-modal-badge {
    background: #eff6ff !important;
    color: #0b63f6 !important;
    border: 1px solid #bfdbfe !important;
    padding: 4px 10px !important;
    border-radius: 4px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
}

#certModal .cert-modal-close {
    position: static !important;
    background: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
    color: #475569 !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 20px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    margin: 0 !important;
}

#certModal .cert-modal-close:hover {
    background: #ef4444 !important;
    border-color: #ef4444 !important;
    color: #ffffff !important;
}

#certModal .cert-modal-details h3 {
    color: #041e42 !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    margin-bottom: 12px !important;
}

#certModal .cert-modal-desc {
    color: #475569 !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
    margin-bottom: 24px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    padding-bottom: 20px !important;
}

#certModal .cert-modal-meta-row .label {
    color: #64748b !important;
}

#certModal .cert-modal-meta-row .value {
    color: #041e42 !important;
    font-weight: 600 !important;
}

#certModal .cert-modal-nav {
    border-top: 1px solid #e2e8f0 !important;
    padding-top: 20px !important;
    margin-top: 20px !important;
}

#certModal .cert-modal-btn {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    color: #1e293b !important;
    padding: 8px 18px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

#certModal .cert-modal-btn:hover:not(:disabled) {
    background: #0b63f6 !important;
    border-color: #0b63f6 !important;
    color: #ffffff !important;
}

#certModal .cert-modal-indicator {
    color: #64748b !important;
    font-size: 14px !important;
    font-weight: 600 !important;
}

/* 시공실적 (portfolio/list.skin.php) 화이트 모달 스타일 */
#portfolioModal .cert-modal-container {
    background: #ffffff !important;
}

#portfolioModal .cert-modal-content {
    display: flex !important;
    height: 100% !important;
    max-height: 100% !important;
    flex-direction: row !important;
    overflow: hidden !important;
}

#portfolioModal .cert-modal-img-box {
    flex: 1 1 auto !important;
    height: 100% !important;
    background: #f8fafc !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
    overflow: auto !important;
}

#portfolioModal .cert-modal-img-box img {
    max-width: 100% !important;
    max-height: calc(94vh - 40px) !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    border-radius: 6px !important;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1) !important;
}

#portfolioModal .cert-modal-info {
    flex: 0 0 380px !important;
    width: 380px !important;
    max-width: 380px !important;
    background: #ffffff !important;
    border-left: 1px solid #e2e8f0 !important;
    padding: 32px 28px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    overflow-y: auto !important;
    color: #041e42 !important;
}

#portfolioModal .cert-modal-title {
    color: #041e42 !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    margin-top: 8px !important;
    margin-bottom: 24px !important;
}

#portfolioModal .cert-modal-badge {
    background: #eff6ff !important;
    color: #0b63f6 !important;
    border: 1px solid #bfdbfe !important;
    padding: 4px 10px !important;
    border-radius: 4px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
}

#portfolioModal .modal-label {
    color: #64748b !important;
    font-size: 14px !important;
}

#portfolioModal .modal-val {
    color: #041e42 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
}

#portfolioModal .cert-modal-close {
    position: absolute !important;
    top: 16px !important;
    right: 16px !important;
    z-index: 15 !important;
    background: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
    color: #1e293b !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 22px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

#portfolioModal .cert-modal-close:hover {
    background: #ef4444 !important;
    border-color: #ef4444 !important;
    color: #ffffff !important;
}

#portfolioModal .modal-nav-btn {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    color: #1e293b !important;
    padding: 8px 16px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    transition: all 0.2s ease !important;
}

#portfolioModal .modal-nav-btn:hover:not(:disabled) {
    background: #0b63f6 !important;
    border-color: #0b63f6 !important;
    color: #ffffff !important;
}

#portfolioModal .modal-indicator {
    color: #64748b !important;
    font-size: 14px !important;
    font-weight: 600 !important;
}

/* 스토퍼 (stopper.php) 화이트 모달 스타일 */
.stopper-modal .cert-modal-dialog {
    background: #ffffff !important;
}

.stopper-modal .cert-modal-header {
    height: 56px !important;
    background: #ffffff !important;
    border-bottom: 1px solid #e2e8f0 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0 24px !important;
}

.stopper-modal .cert-modal-title {
    color: #041e42 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    margin: 0 !important;
}

.stopper-modal .cert-modal-category {
    background: #eff6ff !important;
    color: #0b63f6 !important;
    border: 1px solid #bfdbfe !important;
    padding: 3px 8px !important;
    border-radius: 4px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    margin-right: 8px !important;
}

.stopper-modal .cert-modal-body {
    flex: 1 1 auto !important;
    height: calc(94vh - 56px) !important;
    background: #f8fafc !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
    overflow: auto !important;
}

.stopper-modal .cert-modal-img-wrap img {
    max-width: 100% !important;
    max-height: calc(94vh - 96px) !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    border-radius: 6px !important;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1) !important;
    background: #ffffff !important;
}

.stopper-modal .cert-modal-close {
    background: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
    color: #1e293b !important;
    padding: 6px 14px !important;
    border-radius: 20px !important;
    font-size: 13px !important;
    cursor: pointer !important;
}

.stopper-modal .cert-modal-close:hover {
    background: #ef4444 !important;
    border-color: #ef4444 !important;
}

/* 모바일/태블릿 반응형 */
@media (max-width: 991px) {
    .cert-modal-dialog,
    .cert-modal-container {
        width: 98vw !important;
        height: 96vh !important;
        max-height: 96vh !important;
    }
    #certModal .cert-modal-dialog,
    #portfolioModal .cert-modal-content {
        flex-direction: column !important;
    }
    #certModal .cert-modal-viewer,
    background: #f8fafc !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
    overflow: auto !important;
}

#portfolioModal .cert-modal-img-box img {
    max-width: 100% !important;
    max-height: calc(94vh - 40px) !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    border-radius: 6px !important;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1) !important;
}

#portfolioModal .cert-modal-info {
    flex: 0 0 380px !important;
    width: 380px !important;
    max-width: 380px !important;
    background: #ffffff !important;
    border-left: 1px solid #e2e8f0 !important;
    padding: 32px 28px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    overflow-y: auto !important;
    color: #041e42 !important;
}

#portfolioModal .cert-modal-title {
    color: #041e42 !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    margin-top: 8px !important;
    margin-bottom: 24px !important;
}

#portfolioModal .cert-modal-badge {
    background: #eff6ff !important;
    color: #0b63f6 !important;
    border: 1px solid #bfdbfe !important;
    padding: 4px 10px !important;
    border-radius: 4px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
}

#portfolioModal .modal-label {
    color: #64748b !important;
    font-size: 14px !important;
}

#portfolioModal .modal-val {
    color: #041e42 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
}

#portfolioModal .cert-modal-close {
    position: absolute !important;
    top: 16px !important;
    right: 16px !important;
    z-index: 15 !important;
    background: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
    color: #1e293b !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 22px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

#portfolioModal .cert-modal-close:hover {
    background: #ef4444 !important;
    border-color: #ef4444 !important;
    color: #ffffff !important;
}

#portfolioModal .modal-nav-btn {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    color: #1e293b !important;
    padding: 8px 16px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    transition: all 0.2s ease !important;
}

#portfolioModal .modal-nav-btn:hover:not(:disabled) {
    background: #0b63f6 !important;
    border-color: #0b63f6 !important;
    color: #ffffff !important;
}

#portfolioModal .modal-indicator {
    color: #64748b !important;
    font-size: 14px !important;
    font-weight: 600 !important;
}

/* 스토퍼 (stopper.php) 화이트 모달 스타일 */
.stopper-modal .cert-modal-dialog {
    background: #ffffff !important;
}

.stopper-modal .cert-modal-header {
    height: 56px !important;
    background: #ffffff !important;
    border-bottom: 1px solid #e2e8f0 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0 24px !important;
}

.stopper-modal .cert-modal-title {
    color: #041e42 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    margin: 0 !important;
}

.stopper-modal .cert-modal-category {
    background: #eff6ff !important;
    color: #0b63f6 !important;
    border: 1px solid #bfdbfe !important;
    padding: 3px 8px !important;
    border-radius: 4px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    margin-right: 8px !important;
}

.stopper-modal .cert-modal-body {
    flex: 1 1 auto !important;
    height: calc(94vh - 56px) !important;
    background: #f8fafc !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
    overflow: auto !important;
}

.stopper-modal .cert-modal-img-wrap img {
    max-width: 100% !important;
    max-height: calc(94vh - 96px) !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    border-radius: 6px !important;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1) !important;
    background: #ffffff !important;
}

.stopper-modal .cert-modal-close {
    background: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
    color: #1e293b !important;
    padding: 6px 14px !important;
    border-radius: 20px !important;
    font-size: 13px !important;
    cursor: pointer !important;
}

.stopper-modal .cert-modal-close:hover {
    background: #ef4444 !important;
    border-color: #ef4444 !important;
}

/* 모바일/태블릿 반응형 */
@media (max-width: 991px) {
    .cert-modal-dialog,
    .cert-modal-container {
        width: 98vw !important;
        height: 96vh !important;
        max-height: 96vh !important;
    }
    #certModal .cert-modal-dialog,
    #portfolioModal .cert-modal-content {
        flex-direction: column !important;
    }
    #certModal .cert-modal-viewer,
    #portfolioModal .cert-modal-img-box {
        flex: 1 1 55% !important;
        height: 55% !important;
        padding: 12px !important;
    }
    #certModal .cert-modal-details,
    #portfolioModal .cert-modal-info {
        flex: 0 0 45% !important;
        width: 100% !important;
        max-width: 100% !important;
        height: 45% !important;
        border-left: none !important;
        border-top: 1px solid #e2e8f0 !important;
        padding: 16px 20px !important;
    }
}

/* 견적문의 페이지 자동등록방지(CAPTCHA) 스타일 */
#fwrite #captcha {
    border: none;
    padding: 16px 20px;
    margin: 0;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    text-align: left;
}
#fwrite #captcha legend {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
#fwrite #captcha #captcha_img {
    height: 44px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    background: #fff;
    vertical-align: middle;
    cursor: pointer;
}
#fwrite #captcha #captcha_reload,
#fwrite #captcha #captcha_mp3 {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    background-color: #fff;
    background-image: url('../../../img/captcha2.png');
    background-repeat: no-repeat;
    cursor: pointer;
    text-indent: -9999px;
    overflow: hidden;
    transition: all 0.2s;
    vertical-align: middle;
}
#fwrite #captcha #captcha_mp3 {
    background-position: 2px 2px;
}
#fwrite #captcha #captcha_reload {
    background-position: 2px -38px;
}
#fwrite #captcha #captcha_reload:hover,
#fwrite #captcha #captcha_mp3:hover {
    background-color: #f1f5f9;
    border-color: #94a3b8;
}
#fwrite #captcha #captcha_key {
    width: 110px;
    height: 44px;
    padding: 0 10px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #1e293b;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
    text-align: center;
    vertical-align: middle;
    outline: none;
}
#fwrite #captcha #captcha_key:focus {
    border-color: #004ea2;
    box-shadow: 0 0 0 2px rgba(0, 78, 162, 0.15);
}
#fwrite #captcha #captcha_info {
    display: block;
    width: 100%;
    margin-top: 4px;
    font-size: 13px;
    color: #64748b;
    letter-spacing: -0.02em;
}
