/* --- Reset & Global Styles --- */

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

.main_onframe {
    height: 430px;
}

@media (max-width: 768px) {
    .main_onframe {
        height: 440px;
    }
}

button {
    border: none;
    background: none;
    cursor: pointer;
}

/* 변수 선언부 제거됨 (.the-high-page 삭제) */

/* --- Header & Navigation (Mega Menu) --- */
.header {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    height: 90px;
    padding: 0 50px;
    background-color: transparent;
    transition: background-color 0.4s ease-out, border-color 0.4s ease-out, box-shadow 0.4s ease-out;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.header.scrolled {
    position: fixed;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    background-color: #0a0e24;
    /* var(--secondary-color) */
    border-bottom: 1px solid #af8f6e;
    /* var(--accent-color) */
}

/* 추가: 마우스 호버 시 배경 변경 */
.header:not(.scrolled):hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    background-color: #0a0e24;
    /* var(--secondary-color) */
    border-bottom: 1px solid #af8f6e;
    /* var(--accent-color) */
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1280px;
}

.logo a {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    /* var(--primary-color) */
    text-decoration: none;
}

.logo img {
    width: auto;
    height: 40px;
}

.header.scrolled .logo {
    width: 200px;
}

.header.scrolled .logo img {
    width: 100%;
    height: auto;
}

/* GNB List */
.gnb ul {
    display: flex;
    list-style: none;
}

.gnb li {
    position: relative;
}

.gnb>ul>li>a {
    display: block;
    height: 90px;
    padding: 0 20px;
    font-size: 18px;
    font-weight: 500;
    line-height: 90px;
    color: #ffffff;
    /* var(--primary-color) */
    text-decoration: none;
}

.gnb>ul>li:hover>a {
    color: #af8f6e;
    /* var(--accent-color) */
}

.header.scrolled .gnb>ul>li>a {
    color: #ffffff;
    /* var(--primary-color) */
}

/* Mega Menu Dropdown Styles */
.submenu-dropdown {
    /* var(--accent-color) */
    display: none;
    gap: 30px;
    flex-wrap: wrap;
    position: absolute;
    top: 90px;
    left: 50%;
    z-index: 900;
    width: max-content;
    min-width: 200px;
    padding: 10px 0;
    border: 1px solid #eee;
    border-radius: 0 0 5px 5px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
    /* var(--primary-color) */
    border-top: 3px solid #af8f6e;
    transform: translateX(-50%);
    box-sizing: border-box;
}

.gnb li:hover>.submenu-dropdown {
    display: block;
}

.submenu-col {
    justify-content: center;
    width: 100%;
    min-width: auto;
    padding: 0 20px;
    text-align: center;
    list-style: none;
    box-sizing: border-box;
}

.submenu-col h4 {
    display: none;
}

.submenu-col li a {
    display: block;
    padding: 10px 25px;
    font-size: 15px;
    color: #333333;
    /* var(--text-color-dark) */
    text-align: left;
    text-decoration: none;
    white-space: nowrap;
}

.submenu-col li a:hover {
    background-color: #f0f0f0;
    color: #af8f6e;
    /* var(--accent-color) */
}

.mobile-menu-btn {
    display: none;
    position: relative;
    z-index: 1002;
    font-size: 24px;
    color: #fff;
    transition: color 0.3s;
}

.mobile-menu-btn,
.header:hover .mobile-menu-btn {
    color: #fff;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    height: 100%;
    visibility: hidden;
    background-color: rgba(0, 0, 0, 0.5);
    transition: opacity 0.4s ease, visibility 0.4s ease;
    opacity: 0;
}

.mobile-menu-overlay.active {
    visibility: visible;
    opacity: 1;
}

.mobile-gnb {
    display: none;
}

  /* --- Hero Section (Carousel) --- */
        .hero-section {
            position: relative;
            height: 800px; /* PC 기준 높이 */
            padding: 0;
            overflow: hidden;
            background-color: #000;
        }

        .carousel-container {
            position: relative;
            width: 100%;
            height: 100%;
            overflow: hidden;
        }

        .carousel-track {
            display: flex;
            /* JS에서 슬라이드 개수에 맞춰 자동 설정되지만, 기본값으로 300% 유지 */
            width: 300%;
            height: 100%;
            transition: transform 0.6s ease-in-out; /* 부드러운 이동 효과 */
        }

        .slide {
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            flex-direction: column;
            position: relative;
            /* JS에서 개수에 따라 자동 조정 (3개면 33.333%) */
            width: 33.333%;
            height: 100%;
            background-position: center;
            background-size: cover;
            text-align: center;
        }

        .slide::before {
            position: absolute;
            top: 0;
            left: 0;
            z-index: 1;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.4); /* 가독성을 위해 어둡게 처리 */
            content: "";
        }

        /* [이미지 설정] 테스트용 샘플 이미지 URL로 대체했습니다.
           실제 적용 시 기존 경로("/img/main_slide/m1.jpg")로 변경하세요. */
.slide-1 {
    background-image: url("/img/main_slide/m1.jpg");
}

.slide-2 {
    background-image: url("/img/main_slide/m2.jpg");
}

.slide-3 {
    background-image: url("/img/main_slide/m3.jpg");
}

        .hero-content {
            position: relative;
            z-index: 2;
            max-width: 900px;
            padding: 0 20px;
            color: #ffffff;
            text-align: center;
        }

        .hero-content .section-subtitle {
            background: linear-gradient(140deg, #e59f4a, #fdebc5, #e59f4a);
            -webkit-background-clip: text;
            background-clip: text;
            font-size: 22px;
            font-weight: 600;
            color: transparent;
            letter-spacing: 2px;
            margin-bottom: 16px;
        }

        .hero-content .section-title {
            font-size: 64px;
            font-weight: 800;
            line-height: 1.2;
            margin-bottom: 40px;
        }

        .hero-content .section-title span {
            font-weight: 400;
        }

        /* 버튼 스타일 추가 */
        .btn-primary {
            display: inline-block;
            padding: 15px 40px;
            border: 1px solid #fff;
            color: #fff;
            font-size: 16px;
            font-weight: 500;
            transition: all 0.3s;
        }
        .btn-primary:hover {
            background: #fff;
            color: #000;
        }

        /* 슬라이더 컨트롤 */
        .hero-slider-controls {
            display: flex;
            gap: 15px;
            align-items: center;
            position: absolute;
            bottom: 50px;
            left: 50%;
            z-index: 3;
            color: #ffffff;
            transform: translateX(-50%);
        }

        .hero-slider-controls .current-index {
            font-size: 24px;
            font-weight: 500;
            font-variant-numeric: tabular-nums; /* 숫자 너비 고정 */
        }

        .hero-slider-controls .total-index {
            font-size: 18px;
            color: rgba(255, 255, 255, 0.7);
        }

        .hero-slider-controls .progress-bar {
            width: 150px;
            height: 2px;
            border-radius: 1px;
            overflow: hidden;
            background-color: rgba(255, 255, 255, 0.3);
        }

        .hero-slider-controls .progress {
            width: 0%;
            height: 100%;
            background-color: #af8f6e; /* 포인트 컬러 */
            transition: none; /* JS에서 제어 */
        }

        .hero-slider-controls #pausePlayBtn {
            font-size: 20px;
            color: #ffffff;
            width: 30px;
            text-align: center;
        }

        /* 반응형 처리 (모바일) */
        @media (max-width: 768px) {
            .hero-section { height: 600px; }
            .hero-content .section-title { font-size: 36px; }
            .hero-content .section-subtitle { font-size: 16px; }
        }

/* Business Section */
.business-section {
    padding: 100px 50px;
    color: #292929;
    text-align: center;
}

.business-section .section-subtitle {
    font-size: 24px;
    font-weight: 500;
    color: #af8f6e;
    /* var(--accent-color) */
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.business-section .section-title {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.4;
    color: #292929;
    margin-bottom: 60px;
    margin-top: 10px;
}

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

.business-card {
    display: block;
    color: #f8f9fa;
    /* var(--text-color-light) */
    text-align: center;
    text-decoration: none;
}

.business-card .img-wrapper {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
    aspect-ratio: 9/5;
}

.img-wrapper img {
    display: block;
    width: 100%;
    height: 100%;
    background: #000;
    object-fit: cover;
}

.business-card .card-title {
    font-size: 22px;
    font-weight: 700;
    color: #000;
    margin-bottom: 8px;
}

.business-card .card-description {
    font-size: 18px;
    line-height: 1.6;
    color: #383838;
}

/* Commitment Section */
.commitment-section {
    padding: 100px 50px;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url("/img/banner/md_bg.jpg") no-repeat center center/cover;
    color: #ffffff;
    /* var(--primary-color) */
    text-align: center;
}

.commitment-section .section-subtitle {
    font-size: 24px;
    font-weight: 500;
    color: #af8f6e;
    /* var(--accent-color) */
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.commitment-section .section-title {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 80px;
    margin-top: 10px;
}

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

.feature-item {
    padding: 40px 0px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-item:first-child {
    border-left: none;
}

.feature-item .icon-wrapper {
    background: linear-gradient(140deg, #e59f4a, #fdebc5, #e59f4a);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 15px;
    box-sizing: border-box;
}

.feature-item .icon-wrapper i {
    font-size: 64px;
    font-weight: 700;
}

.feature-item .feature-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-item .feature-description {
    font-size: 18px;
    line-height: 1.4;
    color: #cccccc;
}

/* Portfolio Section */
.portfolio-section {
    padding: 100px 50px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.8)), url("/img/banner/comp_bg.jpg");
    background-position: center;
    background-size: cover;
    color: #ffffff;
    /* var(--primary-color) */
    text-align: center;
}

.portfolio-section .section-subtitle {
    font-size: 24px;
    font-weight: 500;
    color: #af8f6e;
    /* var(--accent-color) */
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.portfolio-section .section-title {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 60px;
    margin-top: 10px;
}

.top-cards {
    display: grid;
    gap: 30px;
    max-width: 1280px;
    margin: 0 auto 60px;
    grid-template-columns: 1fr 1fr;
}

.portfolio-card {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    position: relative;
    height: 250px;
    padding: 40px;
    border-radius: 10px;
    overflow: hidden;
    background-position: center;
    background-size: cover;
    text-align: left;
}

.portfolio-card::before {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.4);
    content: "";
}

.portfolio-card .card-content,
.portfolio-card .card-button {
    position: relative;
    z-index: 2;
}

.portfolio-card:nth-child(1) {
    background-image: url("/img/banner/comp_01.jpg");
}

.portfolio-card:nth-child(2) {
    background-image: url("/img/banner/comp_02.jpg");
}

.portfolio-card .card-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.portfolio-card .card-description {
    font-size: 16px;
    line-height: 1.6;
    color: #cccccc;
}

.portfolio-card .card-button {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #af8f6e;
    /* var(--accent-color) */
    font-size: 24px;
    color: #ffffff;
    /* var(--primary-color) */
    text-decoration: none;
}

/* --- Center Section (MODIFIED) --- */
.center-section {
    padding: 100px 50px;
    background-color: #0a0e24;
    /* var(--secondary-color) */
    color: #f8f9fa;
    /* var(--text-color-light) */
}

.center-section .section-subtitle {
    font-size: 24px;
    font-weight: 500;
    color: #af8f6e;
    /* var(--accent-color) */
    text-align: center;
    margin-bottom: 0px;
}

.center-section .section-title {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    margin-bottom: 60px;
    margin-top: 20px;
}

.center-grid {
    display: grid;
    gap: 60px;
    max-width: 1280px;
    margin: 0 auto;
    grid-template-columns: 1fr 1fr;
}

/* Hide Old Tab Styles */
.tab-nav,
.news-list,
.brochure-download {
    display: none;
}

/* --- NEW: Styles for Center Section Grid --- */
.center-grid .realtime-status,
.center-grid .quote-form-container {
    padding: 30px;
    border-radius: 10px;
    background: #1e1e2d;
}

.center-grid .realtime-status .card-title,
.center-grid .quote-form-container .card-title {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 700;
    color: #af8f6e;
    /* var(--accent-color) */
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #444;
}

.card-title i {
    margin-right: 4px;
}

.center-grid .icon-wrapper {
    font-size: 40px;
    color: #af8f6e;
    /* var(--accent-color) */
    text-align: left;
    margin-bottom: 20px;
}

.center-grid .realtime-status .card-title,
.center-grid .quote-form-container .card-title {
    text-align: left;
}

.center-grid .scroll-list-container {
    width: 100%;
    height: 250px;
    padding: 0;
    border: 1px solid #444;
    border-radius: 5px;
    overflow: hidden;
    background-color: #0a0e24;
    margin-bottom: 0;
}

.center-grid .scroll-list {
    padding: 10px;
    list-style: none;
    transform: translateY(0);
}

.center-grid .scroll-list li {
    display: flex;
    gap: 5px;
    justify-content: space-between;
    padding: 8px 10px;
    font-size: 15px;
    color: #ccc;
}

.center-grid .scroll-list li span {
    white-space: nowrap;
}

.center-grid .scroll-list li .name {
    font-weight: 700;
}

.center-grid .scroll-list li .status {
    padding: 2px 5px;
    border-radius: 3px;
    font-size: 13px;
    font-weight: 500;
}

.center-grid .scroll-list li .status.complete {
    background-color: #3a5a6a;
    color: #c8f0ff;
}

.center-grid .scroll-list li .status.ongoing {
    background-color: #6a553a;
    color: #ffe0b0;
}

/* New Quote Form Styles */
.quote-form input,
.quote-form textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #444;
    border-radius: 5px;
    background: #2c2c3e;
    font-size: 15px;
    color: #fff;
    margin-bottom: 15px;
}

.quote-form input::placeholder,
.quote-form textarea::placeholder {
    color: #888;
}

.quote-form textarea {
    min-height: 100px;
    resize: vertical;
}

.quote-form .btn-form-submit {
    width: 100%;
    padding: 14px;
    border-radius: 5px;
    background: #af8f6e;
    /* var(--accent-color) */
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

.quote-form .btn-form-submit:hover {
    background: #c8a88a;
}

/* --- CTA Section (NEW) --- */
.cta-section.new-cta-style {
    padding: 120px 50px;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.8)), url("/img/banner/online_bg.jpg") no-repeat center center/cover;
    color: #fff;
    text-align: center;
}

.new-cta-style .section-subtitle {
    font-size: 24px;
    font-weight: 500;
    color: #af8f6e;
    /* var(--accent-color) */
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.new-cta-style .section-title {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.4;
    color: #fff;
    margin-bottom: 20px;
}

.new-cta-style .cta-description {
    font-size: 18px;
    line-height: 1.7;
    color: #ccc;
    margin-bottom: 40px;
}

/* Override existing contact-info-block for new CTA */
.new-cta-style .contact-info-block {
    display: inline-block;
    margin-bottom: 40px;
}

.new-cta-style .contact-info-block h2 {
    font-size: 42px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0;
}

.new-cta-style .contact-info-block h2 a {
    color: #fff;
    text-decoration: none;
}

.new-cta-style .contact-info-block h2 i {
    margin: 0;
    font-size: 44px;
    font-weight: 500;
    color: #af8f6e;
    /* var(--accent-color) */
}

.new-cta-style .contact-info-block p {
    display: none;
}

/* Override btn-primary for this section */
.new-cta-style .btn-primary {
    padding: 16px 40px;
    background: #af8f6e;
    /* var(--accent-color) */
    font-size: 18px;
    color: #fff;
    border-color: #af8f6e;
    /* var(--accent-color) */
}

.new-cta-style .btn-primary:hover {
    background: #fff;
    color: #0a0e24;
    /* var(--secondary-color) */
    border-color: #fff;
}

.new-cta-style .btn-primary i {
    margin-left: 8px;
}

.new-cta-style .button-group {
    justify-content: center;
}

/* --- Original CTA Section (Now repurposed/removed) --- */
.cta-section {
    display: block;
    padding: 0;
}

.cta-card {
    display: none;
}

/* Original contact block styles */
.contact-info-block {
    display: table;
    width: auto;
    margin: 0 auto;
    padding: 15px 0;
    font-size: 20px;
    line-height: 2.2;
    margin-bottom: 30px;
}

.contact-info-block h2 {
    font-size: 36px;
    font-weight: 800;
    color: #000;
    margin-bottom: 0;
}

.contact-info-block h2 a {
    color: #000;
    text-decoration: none;
}

.contact-info-block h2 i {
    font-size: 28px;
    margin-right: 10px;
}

.contact-info-block p {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 24px;
    font-weight: 700;
    color: #0a0e24;
    /* var(--secondary-color) */
    margin-top: 0;
    margin-bottom: 0;
}

.contact-info-block p a {
    color: #000;
    text-decoration: none;
}

.contact-info-block i {
    width: 20px;
    font-size: 12px;
    color: #af8f6e;
    text-align: center;
}

.contact-info-block strong {
    width: 170px;
    padding: 3px 15px;
    border: 1px solid #0a0e24;
    /* var(--secondary-color) */
    border-radius: 100px;
    font-weight: 700;
    color: #0a0e24;
    /* var(--secondary-color) */
}

/* Original Scrolling List Styles */
.scroll-list-container {
    width: auto;
    height: 180px;
    padding: 50px 20px;
    border: 1px solid #e0e0e0;
    /* var(--border-color) */
    border-radius: 15px;
    overflow: hidden;
    background-color: #ffffff;
    /* var(--primary-color) */
    text-align: left;
    margin-bottom: 30px;
    box-sizing: border-box;
}

.scroll-list {
    display: flex;
    flex-direction: column;
    padding: 40px 40px;
    list-style: none;
    transform: translateY(0);
    box-sizing: border-box;
}

.scroll-list li {
    display: flex;
    gap: 5px;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 15px;
    color: #333333;
    /* var(--text-color-dark) */
}

.scroll-list li span {
    white-space: nowrap;
}

.scroll-list li .name {
    font-weight: 700;
}

.scroll-list li .status {
    padding: 2px 5px;
    border-radius: 3px;
    font-size: 13px;
    font-weight: 500;
}

.scroll-list li .status.complete {
    background-color: #e0f7fa;
    color: #0a0e24;
    /* var(--secondary-color) */
}

.scroll-list li .status.ongoing {
    background-color: #fff3e0;
    color: #af8f6e;
    /* var(--accent-color) */
}

/* Footer */
.footer {
    padding: 50px 50px;
    background-color: #1a1a1a;
    /* var(--background-dark) */
    color: #999;
    box-sizing: border-box;
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    /* var(--primary-color) */
    margin-right: 50px;
}

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

.footer-links a {
    color: #999;
    text-decoration: none;
}

.family-sites button {
    display: none;
    padding: 10px 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    color: #ccc;
}

.family-sites i {
    margin-left: 10px;
}

.footer-bottom {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.8;
}

.footer-bottom .address span {
    margin-right: 20px;
}

.copyright {
    margin-top: 10px;
}

/* --- Tablet Styles (1024px) --- */
@media (max-width: 1024px) {
    .center-grid {
        max-width: 100%;
    }

    .header {
        height: 80px;
        padding: 0 30px;
    }

    .gnb {
        display: none;
    }

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

    .mobile-gnb {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        z-index: 1001;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        padding: 0;
        box-shadow: -4px 0 15px rgba(0, 0, 0, 0.1);
        background-color: #fff;
        transition: right 0.4s ease;
    }

    .mobile-gnb.active {
        right: 0;
    }

    .mobile-gnb-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-shrink: 0;
        padding: 15px 20px;
        border-bottom: 1px solid #eee;
    }

    .mobile-gnb-header .logo {
        height: 30px;
    }

    .mobile-gnb-header .logo img {
        width: auto;
        height: 100%;
    }

    .mobile-menu-close-btn {
        font-size: 24px;
        color: #333;
    }

    .mobile-gnb .menu {
        gap: 0;
        flex-grow: 1;
        flex-direction: column;
        padding: 20px 20px;
        list-style: none;
        overflow-y: auto;
    }

    .mobile-gnb .menu .item>a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 15px 0;
        font-size: 18px;
        font-weight: 500;
        color: #333;
        text-decoration: none;
        border-bottom: 1px solid #eee;
    }

    .mobile-gnb .menu .item a .arrow {
        transition: transform 0.3s;
    }

    .mobile-gnb .menu .item.active a .arrow {
        transform: rotate(180deg);
    }

    .mobile-gnb .sub-menu {
        display: none;
        padding: 10px 0 10px 15px;
        background-color: #f9f9f9;
        list-style: none;
    }

    .mobile-gnb .sub-menu .item a {
        padding: 8px 0;
        font-size: 16px;
        color: #555;
        border-bottom: none;
    }

    .hero-section {
        height: 600px;
    }

    .hero-content .section-title {
        font-size: 42px;
    }

    .business-section {
        padding: 80px 30px;
    }

    .business-section .section-title {
        font-size: 32px;
    }

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

    .commitment-section {
        padding: 80px 30px;
    }

    .commitment-section .section-title {
        font-size: 32px;
    }

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

    .feature-item {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }

    .feature-item:first-child {
        border-top: none;
    }

    .portfolio-section {
        padding: 80px 30px;
    }

    .portfolio-section .section-title {
        font-size: 32px;
    }

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

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

    .center-section {
        padding: 80px 30px;
    }

    .center-section .section-title {
        font-size: 32px;
    }

    .center-grid {
        max-width: 90%;
        font-size: 13px;
        grid-template-columns: 1fr;
    }

    .new-cta-style {
        padding: 80px 30px;
    }

    .new-cta-style .section-title {
        font-size: 32px;
    }

    .footer {
        padding: 40px 30px;
        text-align: center;
    }

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

    .footer-links {
        justify-content: center;
        width: 100%;
        order: 2;
    }

    .footer-logo {
        margin: 0;
        order: 1;
    }

    .family-sites {
        order: 3;
    }

    .footer-bottom .address {
        max-width: 100%;
        margin-bottom: 10px;
    }

    .footer-bottom .address span {
        margin: 0 5px;
    }
}

/* --- Mobile Styles (767px) --- */
@media (max-width: 767px) {
    .header {
        height: 70px;
        padding: 0 20px;
    }

    .header.scrolled .logo {
        width: 140px;
    }

    .hero-section {
        height: 500px;
    }

    .hero-content .section-title {
        font-size: 32px;
    }

    .hero-content .section-subtitle {
        font-size: 16px;
    }

    .btn-primary {
        padding: 12px 30px;
        font-size: 16px;
    }

    .business-section {
        padding: 60px 20px;
    }

    .business-section .section-subtitle {
        font-size: 14px;
    }

    .business-section .section-title {
        font-size: 28px;
        margin-bottom: 40px;
    }

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

    .business-card {
        text-align: center;
    }

    .business-card:nth-child(5) {
        grid-column: span 1;
        margin-top: 0;
    }

    .commitment-section {
        padding: 60px 20px;
    }

    .commitment-section .section-subtitle {
        font-size: 14px;
    }

    .commitment-section .section-title {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .portfolio-section {
        padding: 60px 20px;
    }

    .portfolio-section .section-subtitle {
        font-size: 14px;
    }

    .portfolio-section .section-title {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .portfolio-card {
        height: 200px;
        padding: 30px;
    }

    .portfolio-card .card-button {
        position: absolute;
        top: 20px;
        right: 20px;
        width: 30px;
        height: 30px;
    }

    .portfolio-card .card-button i {
        font-size: 14px;
    }

    .portfolio-card .card-title {
        font-size: 20px;
    }

    .news-slider {
        flex-wrap: wrap;
    }

    .more-link {
        display: none;
    }

    .slider-controls {
        width: 100%;
        text-align: right;
        margin-top: 10px;
    }

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

    .center-section {
        padding: 60px 20px;
        box-sizing: border-box;
    }

    .center-section .section-subtitle {
        font-size: 18px;
    }

    .center-section .section-title {
        font-size: 20px;
    }

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

    .center-grid .realtime-status,
    .center-grid .quote-form-container {
        padding: 0px 10px;
        box-sizing: border-box;
    }

    .center-grid .realtime-status {
        height: 430px;
    }

    .cta-section.new-cta-style {
        padding: 80px 0px;
    }

    .cta-section .section-subtitle {
        font-size: 14px;
    }

    .new-cta-style .section-title {
        font-size: 28px;
    }

    .new-cta-style .cta-description {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .new-cta-style .contact-info-block {
        margin-bottom: 0px;
    }

    .new-cta-style .contact-info-block h2 {
        font-size: 30px;
    }

    .new-cta-style .contact-info-block h2 i {
        font-size: 26px;
    }

    .button-group {
        flex-direction: column;
    }

    .footer {
        padding: 30px 0px 80px;
        text-align: center;
    }

    .footer-logo {
        font-size: 16px;
    }

    .footer-top {
        justify-content: center;
    }

    .footer-links,
    .family-sites {
        display: none;
    }

    .footer-bottom {
        font-size: 12px;
    }

    .contact-info-block {
        display: flex;
        flex-direction: column;
        font-size: 16px;
        padding-top: 0;
    }

    .contact-info-block h2 {
        font-size: 28px;
    }

    .contact-info-block p {
        font-size: 20px;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .contact-info-block p.email-link {
        font-size: 18px;
    }
}

/* Quick Menu Styles */
.quick-menu {
    display: flex;
    gap: 12px;
    flex-direction: column;
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 999;
}

.quick-menu a {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    min-width: 95px;
    padding: 12px 10px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    background: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.quick-menu a strong {
    font-size: 12px;
    font-weight: 500;
}

.quick-menu a:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(-3px);
}

/* .quick-call (대표전화) */
.quick-menu .quick-call {
    background: linear-gradient(140deg, #e59f4a, #fdebc5, #e59f4a);
    color: #333;
}

.quick-menu .quick-call i {
    font-size: 24px;
    color: #333;
}

.quick-menu .quick-call span {
    font-size: 14px;
    font-weight: 500;
}

.quick-menu .quick-call b {
    font-family: "Montserrat";
    font-size: 14px;
    font-weight: 700;
}

.quick-menu .quick-mail {
    background-color: #0a0e24;
}

.quick-menu .quick-mail i,
.quick-menu .quick-mail span {
    font-size: 28px;
    color: #fff;
}

.quick-menu .quick-brochure {
    background-color: #c69d74; /* 문서/다운로드를 상징하는 파란색 */
    color: #ffffff;
}

.quick-menu .quick-brochure i {
    font-size: 30px;
    color: #ffffff;
}


.quick-menu .quick-kakao {
    background-color: #fee500;
    color:#000;
}

.quick-menu .quick-kakao i,
.quick-menu .quick-kakao span {
    font-size: 30px;
    color: #3c1e1e;
}

.quick-menu .quick-blog {
    background-color: #03c75a;
    color: #ffffff;
}

.quick-menu .quick-blog i,
.quick-menu .quick-blog span {
    font-size: 30px;
    color: #ffffff;
}

.bottom-bar-mobile {
    display: none;
}

@media (max-width: 767px) {
    .quick-menu {
        gap: 8px;
        right: 5px;
        bottom: 80px;
    }

    .quick-menu a {
        width: 40px;
        min-width: 0;
        height: 40px;
        padding: 0;
        border-radius: 50%;
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);

    }

    .quick-menu a strong {display: none;}



    .quick-menu .quick-call span,
    .quick-menu .quick-call b {
        display: none;
    }

    .quick-menu .quick-call i {
        font-size: 23px;
        font-weight: 500;
    }

    .quick-menu .quick-mail i {
        font-size: 23px;
        font-weight: 500;
    }

    .quick-menu .quick-kakao i,
    .quick-menu .quick-blog i {
        font-size: 22px;
    }

    .quick-menu .quick-brochure i {
        font-size: 22px; /* 모바일에서는 아이콘 크기 축소 */
    }

    .bottom-bar-mobile {
        display: grid;
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 999;
        height: 45px;
        background-color: #fff;
        grid-template-columns: 1fr 1fr;
    }

    .bottom-bar-mobile a {
        display: flex;
        gap: 8px;
        align-items: center;
        justify-content: center;
        font-size: 16px;
        font-weight: 600;
        transition: background-color 0.3s;
    }

    .bottom-bar-mobile .call {
        background-color: #af8f6e;
        color: #fff;
    }

    .bottom-bar-mobile .sms {
        background-color: #f8f9fa;
        color: #343a40;
    }
}

/* Gallery Styles */
.gallery {
    width: 100%;
    padding: 100px 0;
}

.gallery .inner {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

.gallery .gallery-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    text-align: left;
    margin-bottom: 30px;
    box-sizing: border-box;
}

.gallery .gallery-header h2 {
    font-size: 38px;
    font-weight: 700;
    color: #fff;
}

.gallery .gallery-header h2 span {
    color: #af8f6e;
    /* var(--accent-color) */
}

.gallery .gallery-header h3 {
    font-size: 18px;
    font-weight: 400;
    color: #6c757d;
}

.gallery .gslider-container {
    position: relative;
}

.gallery .gslider {
    display: flex;
    scroll-behavior: auto;
    scrollbar-width: none;
    overflow-x: auto;
    -ms-overflow-style: none;
}

.gallery .gslider::-webkit-scrollbar {
    display: none;
}

.gallery .item {
    flex: 0 0 calc(100% / 3);
    padding: 0 10px;
    text-align: center;
    box-sizing: border-box;
}

.gallery .item a {
    display: block;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    transition: box-shadow 0.3s ease;
}

.gallery .item a:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.gallery .item .img {
    width: 100%;
    height: 250px;
}

.gallery .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery .item .txt {
    padding: 15px;
    overflow: hidden;
    background-color: #ffffff;
    font-size: 20px;
    font-weight: 500;
    color: #343a40;
    white-space: nowrap;
    border-top: 1px solid #e9ecef;
    text-overflow: ellipsis;
}

.gallery .btn-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    z-index: 10;
    width: 44px;
    height: 44px;
    border: 1px solid #dee2e6;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    background-color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    color: #343a40;
    transition: all 0.2s ease;
    cursor: pointer;
    transform: translateY(-50%);
}

.gallery .btn-nav:hover {
    background-color: #ffffff;
    transform: translateY(-50%) scale(1.05);
}

.gallery .btn-prev {
    left: -22px;
}

.gallery .btn-next {
    right: -22px;
}

.gallery .more-link {
    display: flex;
    align-items: center;
    font-size: 18px;
}

.gallery .more-link i {
    font-size: 14px;
    margin-left: 5px;
}

/* --- Tablet (1024px and below) --- */
@media (max-width: 1024px) {
    .gallery .item {
        flex-basis: calc(100% / 2);
    }

    .gallery .inner {
        padding: 0 40px;
    }

    .gallery .btn-prev {
        left: 10px;
    }

    .gallery .btn-next {
        right: 10px;
    }

    .gallery .gallery-header h2 {
        font-size: 32px;
    }

    .gallery .gallery-header h3 {
        font-size: 16px;
    }
}

/* --- Mobile (767px and below) --- */
@media (max-width: 767px) {
    .gallery {
        padding: 60px 0;
    }

    .gallery .inner {
        padding: 0;
    }

    .gallery .gallery-header {
        justify-content: center;
        padding: 0 20px;
        text-align: center;
    }

    .gallery .item {
        flex-basis: 100%;
        padding: 0 9px;
        scroll-snap-align: center;
    }

    .gallery .gslider {
        padding: 0 50px;
        scroll-snap-type: x mandatory;
        overflow-x: auto;
    }

    .gallery .item .img {
        width: 100%;
        height: 150px;
    }

    .gallery .btn-nav {
        display: none;
    }

    .gallery .gallery-header h2 {
        font-size: 28px;
    }

    .gallery .gallery-header h3 {
        font-size: 15px;
    }
}

/* --- Dimmed Background --- */
#layoutDimmed {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

/* --- Sidebar Container (#aside) --- */
#aside {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    bottom: 0;
    left: -80%;
    z-index: 1001;
    width: 80%;
    max-width: 320px;
    visibility: hidden;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    background-color: #000;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow-y: auto;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

/* --- Sidebar Content Styles --- */
#aside .intro {
    padding: 40px 20px 20px 20px;
    background: #151f49;
    text-align: center;
}

#aside .intro .log {
    width: 150px;
}

#aside .intro .log img {
    width: 100%;
}

#aside .btnClose {
    position: absolute;
    top: 15px;
    right: 15px;
    border: none;
    background: none;
    font-size: 24px;
    color: #fff;
    cursor: pointer;
}

#aside .scustom {
    padding: 20px;
    margin-top: auto;
}

#aside .scustom h2 {
    background: linear-gradient(140deg, #e59f4a, #fdebc5, #e59f4a);
    -webkit-background-clip: text;
    background-clip: text;
    font-size: 16px;
    font-weight: 500;
    color: transparent;
    margin-bottom: 10px;
}

#aside .scustom h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

#aside .scustom h3 a {
    display: flex;
    gap: 5px;
    align-items: center;
    color: #fff;
    text-decoration: none;
}

#aside .scustom h3 a i {
    vertical-align: middle;
    color: #f0c283;
    margin-top: 2px;
}

/* --- Social Links in Sidebar --- */
#aside .social-links {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

#aside .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-size: 24px;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

#aside .social-links a:hover {
    opacity: 0.85;
}

#aside .social-links .kakao-link {
    background-color: #fee500;
    color: #191919;
}

#aside .social-links .naver-link {
    background-color: #03c75a;
    color: #ffffff;
}

/* --- Accordion Menu (#lnb) --- */
#lnb {
    width: 100%;
    padding: 10px 0;
}

#lnb>ul {
    width: 100%;
    margin: 0 auto;
    list-style: none;
}

#lnb>ul>li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

#lnb>ul>li>a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 25px;
    font-size: 17px;
    font-weight: 500;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
}

#lnb>ul>li>a::after {
    font-family: "Font Awesome 6 Free";
    font-size: 12px;
    font-weight: 900;
    transition: transform 0.3s ease;
    content: "\f078";
}

#lnb>ul>li.on>a::after {
    transform: rotate(180deg);
}

#lnb ul ul {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-in-out;
    list-style: none;
    padding-left: 15px;
}

#lnb ul ul li a {
    display: block;
    padding: 12px 10px;
    font-size: 15px;
    color: #fff;
    text-decoration: none;
}

#lnb ul ul li:last-child {
    border-bottom: none;
}

/* --- State for when menu is open --- */
body.expand {
    overflow: hidden;
}

body.expand #layoutDimmed {
    display: block;
}

body.expand #aside {
    left: 0;
    visibility: visible;
}

.mark {
    display: flex;
    align-items: center;
    width: 600px;
    margin: 0 auto;
    padding: 20px 20px;
    border-radius: 100px;
    background: #fff;
    margin-top: 30px;
}

.mark img {
    width: 100%;
}

@media (max-width: 1024px) {
    .mark {
        width: 100%;
        padding: 15px 20px;
        margin-top: 20px;
    }
}