/* =========================================================
   (주)큐엔큐 메인 페이지 (index.html) 전용 스타일시트
   ========================================================= */

:root {
    --primary-blue: #1a73e8;
    --primary-hover: #1557b0;
    --accent-gold: #f59e0b;
    --accent-green: #10b981;
    --accent-purple: #8b5cf6;
    --dark-bg: #0b1329;
    --dark-card: #13203f;
    --text-light: #f8fafc;
    --text-muted: #94a3b8;
    --border-color: #e2e8f0;
    --border-dark: #1e293b;
}

/* 기본 레이아웃 */
.index-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.bg-alt {
    background-color: #f8fafc;
}

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

/* =========================================================
   1. GNB 네비게이션 마우스 오버 시 강조색 (빨간색 적용)
   ========================================================= */
.nav-link:hover,
.nav-item:hover > .nav-link {
    color: #e53935 !important; /* 선명하고 세련된 레드 컬러 (#e53935) */
}

/* 드롭다운 메뉴 항목 호버 시에도 빨간색 통일 */
.dropdown-menu a:hover {
    color: #e53935 !important;
    background-color: #fef2f2 !important; /* 연한 붉은빛 배경 */
}

/* =========================================================
   Section 1: Hero Section (비디오 & 슬라이더)
   ========================================================= */
.hero-slider-section {
    position: relative;
    width: 100%;
    min-height: 640px;
    height: 75vh;
    max-height: 820px;
    background-color: var(--dark-bg);
    overflow: hidden;
    color: #ffffff;
}

.hero-slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 3;
}

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

.hero-bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transform: scale(1.02);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(11, 19, 41, 0.45) 0%, rgba(7, 12, 26, 0.82) 100%);
    z-index: 2;
}

.hero-content-wrap {
    position: relative;
    z-index: 4;
    max-width: 980px;
    padding: 0 24px;
    text-align: center;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(26, 115, 232, 0.2);
    border: 1px solid rgba(147, 197, 253, 0.35);
    color: #93c5fd;
    font-size: 13.5px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    backdrop-filter: blur(4px);
    animation: fadeInDown 0.6s ease-out;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #38bdf8;
    box-shadow: 0 0 10px #38bdf8;
}

.badge-accent {
    background: rgba(245, 158, 11, 0.2);
    border-color: rgba(253, 230, 138, 0.4);
    color: #fde68a;
}
.dot-accent {
    background-color: #f59e0b;
    box-shadow: 0 0 10px #f59e0b;
}

.badge-green {
    background: rgba(16, 185, 129, 0.2);
    border-color: rgba(167, 243, 208, 0.4);
    color: #a7f3d0;
}
.dot-green {
    background-color: #10b981;
    box-shadow: 0 0 10px #10b981;
}

.hero-title {
    font-size: 42px;
    font-weight: 900;
    line-height: 1.35;
    color: #ffffff;
    margin-bottom: 20px;
    letter-spacing: -0.8px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
    word-break: keep-all;
    animation: fadeInUp 0.7s ease-out;
}

.text-highlight {
    background: linear-gradient(135deg, #60a5fa 0%, #93c5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-highlight-accent {
    background: linear-gradient(135deg, #fbbf24 0%, #fcd34d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-highlight-green {
    background: linear-gradient(135deg, #34d399 0%, #6ee7b7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 18px;
    color: #e2e8f0;
    line-height: 1.65;
    max-width: 820px;
    margin: 0 auto 35px;
    word-break: keep-all;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 0.8s ease-out;
}

.hero-cta-group {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 0.9s ease-out;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.hero-btn.btn-primary {
    background-color: var(--primary-blue);
    color: #ffffff;
}
.hero-btn.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 115, 232, 0.4);
}

.hero-btn.btn-accent {
    background-color: #d97706;
}
.hero-btn.btn-accent:hover {
    background-color: #b45309;
    box-shadow: 0 6px 20px rgba(217, 119, 6, 0.4);
}

.hero-btn.btn-green {
    background-color: #059669;
}
.hero-btn.btn-green:hover {
    background-color: #047857;
    box-shadow: 0 6px 20px rgba(5, 150, 105, 0.4);
}

.hero-btn.btn-outline {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(4px);
}
.hero-btn.btn-outline:hover {
    background: #ffffff;
    color: #0f172a;
    transform: translateY(-2px);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.25s ease;
}
.slider-arrow:hover {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    transform: translateY(-50%) scale(1.1);
}
.slider-arrow.prev { left: 25px; }
.slider-arrow.next { right: 25px; }

.slider-pagination {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.page-dot {
    width: 12px;
    height: 12px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.35);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}
.page-dot.active {
    width: 32px;
    background: #ffffff;
}

.slider-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 10;
}
.progress-fill {
    height: 100%;
    width: 0%;
    background: var(--primary-blue);
}

/* =========================================================
   Section 2: Trust & Performance (성과 지표 & 고객사)
   ========================================================= */
.section.index-trust-section,
.index-trust-section {
    margin-top: 40px !important;    /* 히어로 섹션과 확실하게 떨어지도록 외부 여백 추가 */
    padding-top: 50px !important;   /* 내부 상단 여백 확장 */
    padding-bottom: 50px !important;
    background: #ffffff !important;
    position: relative;
}

/* TRUST & PERFORMANCE 파란색 라벨 상단 여백 보정 */
.index-trust-section .section-header {
    margin-bottom: 50px !important;
}

.index-trust-section .section-label {
    margin-bottom: 14px !important;
    letter-spacing: 1.5px !important;
}

.counter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.counter-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 32px 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.counter-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1a73e8, #60a5fa);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.counter-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(26, 115, 232, 0.1);
    border-color: #93c5fd;
}
.counter-card:hover::before {
    opacity: 1;
}

/* =========================================================
   Section 2: 카운터 카드 (<a> 링크 스타일 보정)
   ========================================================= */
.counter-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 32px 20px 24px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none; /* 링크 밑줄 제거 */
    color: inherit;         /* 기본 텍스트 색상 유지 */
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.counter-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1a73e8, #60a5fa);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.counter-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(26, 115, 232, 0.12);
    border-color: #93c5fd;
}

.counter-card:hover::before {
    opacity: 1;
}

/* 카드 하단 바로가기 텍스트 안내 */
.counter-card-more {
    margin-top: auto;
    padding-top: 14px;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-blue);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    opacity: 0.85;
    transition: all 0.2s ease;
}

.counter-card:hover .counter-card-more {
    opacity: 1;
    color: var(--primary-hover);
    transform: translateX(3px);
}

.counter-icon-wrap {
    font-size: 32px;
    margin-bottom: 12px;
}

.counter-num-wrap {
    font-size: 36px;
    font-weight: 900;
    color: #0f172a;
    line-height: 1.1;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.counter-plus, .counter-unit, .counter-percent {
    color: var(--primary-blue);
    font-size: 28px;
    margin-left: 2px;
}

.counter-title {
    font-size: 16px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 8px;
    word-break: keep-all;
}

.counter-desc {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
    word-break: keep-all;
}

.client-slider-wrapper {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 30px 24px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.client-slider-title {
    text-align: center;
    font-size: 15px;
    font-weight: 800;
    color: #475569;
    margin-bottom: 22px;
    letter-spacing: 0.5px;
}

.client-ticker-track {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 6px 0;
}

.client-ticker-track::before,
.client-ticker-track::after {
    content: '';
    position: absolute;
    top: 0;
    width: 80px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}
.client-ticker-track::before {
    left: 0;
    background: linear-gradient(to right, #f8fafc 0%, rgba(248, 250, 252, 0) 100%);
}
.client-ticker-track::after {
    right: 0;
    background: linear-gradient(to left, #f8fafc 0%, rgba(248, 250, 252, 0) 100%);
}

.client-ticker-content {
    display: flex;
    gap: 16px;
    width: max-content;
    will-change: transform;
}

.client-logo-item {
    flex-shrink: 0;
    width: 260px;
    height: 110px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    box-sizing: border-box;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.client-logo-item:hover {
    transform: translateY(-3px);
    border-color: var(--primary-blue);
    box-shadow: 0 6px 16px rgba(26, 115, 232, 0.12);
}

.client-logo-item img {
    max-width: 92%;
    max-height: 92%;
    object-fit: contain;
    filter: none !important;
    opacity: 1 !important;
}

/* =========================================================
   Section 3: Smart ICT & Solutions (사업 및 제품 하이라이트)
   ========================================================= */
.index-solution-section {
    padding: 40px 0;
}

.solution-card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.solution-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}

.solution-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.solution-badge {
    font-size: 11px;
    font-weight: 800;
    background: #eff6ff;
    color: #2563eb;
    padding: 4px 10px;
    border-radius: 20px;
}
.badge-orange { background: #fff7ed; color: #ea580c; }
.badge-green { background: #f0fdf4; color: #16a34a; }
.badge-purple { background: #faf5ff; color: #9333ea; }

.solution-icon {
    font-size: 28px;
}

.solution-card-title {
    font-size: 19px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.35;
    margin-bottom: 12px;
    word-break: keep-all;
}

.solution-card-desc {
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 20px;
    word-break: keep-all;
}

.solution-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 24px;
}
.solution-tags span {
    font-size: 12px;
    color: #64748b;
    background: #f1f5f9;
    padding: 3px 8px;
    border-radius: 4px;
}

.solution-link-btn {
    margin-top: auto;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-blue);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s ease;
}
.solution-link-btn:hover {
    gap: 10px;
    color: var(--primary-hover);
}

/* =========================================================
   Section 4: 공공조달 & MRO 전문 솔루션
   ========================================================= */
.index-mro-section {
    padding: 80px 0;
    background: #ffffff;
}

.mro-category-4grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.mro-cat-box {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 28px 20px 22px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.02);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.mro-cat-box:hover {
    transform: translateY(-6px);
    border-color: var(--primary-blue);
    box-shadow: 0 10px 22px rgba(26, 115, 232, 0.12);
}

.cat-box-icon {
    font-size: 36px;
    margin-bottom: 12px;
}
.cat-box-title {
    font-size: 19px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 4px;
}
.cat-box-sub {
    font-size: 12.5px;
    color: #94a3b8;
    margin-bottom: 14px;
    font-weight: 500;
}
.cat-box-list {
    list-style: none;
    padding: 12px 0 0;
    margin: 0 0 16px;
    width: 100%;
    font-size: 13.5px;
    color: #475569;
    line-height: 1.7;
    border-top: 1px solid #f1f5f9;
}

.cat-box-more {
    margin-top: auto;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-blue);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.mro-cat-box:hover .cat-box-more {
    color: var(--primary-hover);
    text-decoration: underline;
}

/* 3대 조달 특장점 바 */
.mro-benefits-box {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
    color: #ffffff !important;
    border-radius: 14px;
    padding: 38px 30px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    margin-top: 35px;
    box-sizing: border-box;
}

.benefit-box-header {
    text-align: center;
    margin-bottom: 30px;
}

.benefit-tag {
    display: inline-block;
    background: #f4e58e !important; /* 배경색을 #f4e58e로 변경 */
    color: #0f172a !important;       /* 가독성을 위한 진한 텍스트 컬러 */
    font-size: 13px;
    font-weight: 800;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.benefit-box-header h3 {
    font-size: 24px;
    font-weight: 800;
    color: #ffffff !important;
    margin: 0;
    line-height: 1.35;
}

.benefit-3grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

/* =========================================================
   Section 4: 3대 조달 특장점 카드 (<a> 링크 스타일 보정)
   ========================================================= */
.benefit-item {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    padding: 26px 22px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    text-decoration: none !important; /* 링크 밑줄 제거 */
    color: inherit !important;         /* 기본 폰트 색상 상속 */
    cursor: pointer;                  /* 마우스 손가락 포인터 */
    transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.benefit-item:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(244, 229, 142, 0.5); /* 호버 시 노란빛 은은한 테두리 */
    transform: translateY(-4px);            /* 카드 살짝 떠오름 */
}

.benefit-item .b-icon {
    font-size: 28px;
    margin-bottom: 14px;
    display: inline-block;
}

.benefit-item h4 {
    font-size: 18px;
    font-weight: 800;
    color: #fde68a !important; /* 골드 옐로우 강조 */
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.benefit-item p {
    font-size: 14px;
    color: #cbd5e1 !important;
    line-height: 1.65;
    margin: 0;
    word-break: keep-all;
}

/* =========================================================
   Section 5: Quick Inquiry CTA (상담 및 견적 배너)
   ========================================================= */
.index-cta-section {
    padding: 10px 20px 50px;
    background: #f8fafc;
}

.cta-inner-box {
    max-width: 1100px;
    margin: 0 auto;
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #2563eb 100%);
    color: #ffffff;
    border-radius: 16px;
    padding: 50px 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.25);
    position: relative;
    overflow: hidden;
}

.cta-inner-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.cta-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #bfdbfe;
    font-size: 13px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.cta-title {
    font-size: 32px;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 14px;
    line-height: 1.35;
    word-break: keep-all;
}

.cta-desc {
    font-size: 16px;
    color: #dbeafe;
    max-width: 750px;
    margin: 0 auto 30px;
    line-height: 1.6;
    word-break: keep-all;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    font-size: 16px;
    font-weight: 800;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-primary-white {
    background: #ffffff;
    color: #1e40af;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}
.btn-primary-white:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.btn-call {
    background: rgba(15, 23, 42, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
    gap: 8px;
}
.btn-call:hover {
    background: rgba(15, 23, 42, 0.6);
    transform: translateY(-2px);
}

/* 카카오톡 노란색 버튼 스타일 추가 */
.btn-kakao {
    background-color: #fee500;
    color: #191919 !important;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.btn-kakao:hover {
    background-color: #fada0a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(250, 218, 10, 0.35);
}


/* =========================================================
   애니메이션 & 미디어 쿼리
   ========================================================= */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-15px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1024px) {
    .counter-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .solution-card-grid { grid-template-columns: repeat(2, 1fr); }
    .mro-category-4grid { grid-template-columns: repeat(2, 1fr); }
    .benefit-3grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .hero-slider-section { min-height: 540px; height: 65vh; }
    .hero-title { font-size: 28px; }
    .hero-desc { font-size: 15px; margin-bottom: 25px; }
    .slider-arrow { display: none; }
    .counter-grid { grid-template-columns: 1fr; }
    .client-slider-wrapper { padding: 20px 15px; }
    .client-logo-item { width: 180px; height: 85px; padding: 8px 12px; }
    .solution-card-grid { grid-template-columns: 1fr; }
    .mro-category-4grid { grid-template-columns: 1fr; }
    .benefit-3grid { grid-template-columns: 1fr; }
    .cta-inner-box { padding: 35px 20px; }
    .cta-title { font-size: 24px; }
    .cta-actions { flex-direction: column; }
    .cta-btn { width: 100%; box-sizing: border-box; }
}


@media (max-width: 992px) {
    /* 1행: 4대 메뉴 25%씩 균등 정렬 */
    .nav-item:not(.nav-btn-wrap) {
        flex: 0 0 25% !important;
        max-width: 25%;
        text-align: center;
    }

    .nav-link {
        font-size: 13.5px;
        padding: 10px 2px;
        white-space: nowrap;
    }

    /* 2행: 상담문의 버튼 가로 100% 확장 */
    .nav-btn-wrap {
        flex: 0 0 100% !important;
        width: 100% !important;
        margin-left: 0 !important;
        margin-top: 10px;
    }

    .nav-list .btn-contact {
        display: block;
        width: 100%;
        text-align: center;
        box-sizing: border-box;
        padding: 12px 0;
    }
}

/* =========================================================
   2. 모바일 반응형 최적화 (992px 이하)
   ========================================================= */
@media (max-width: 992px) {
    /* 모바일 헤더 패딩: 좌우 여백을 14px로 미세 조정하여 메뉴 공간 추가 확보 */
    .header-top {
        padding: 10px 14px;
    }
    
    .nav-container {
        flex-direction: column;
        padding: 10px 14px !important;
    }
    
    .logo-img {
        height: 35px;
        margin-bottom: 12px;
    }
    
    /* GNB 컨테이너: 1행 4개 메뉴 간격을 균등하게 분배 */
    .nav-list {
        width: 100%;
        margin-left: 0;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between !important; /* 모든 메뉴 사이 간격을 균등 배치 */
        align-items: center;
    }
    
    /* ★ 1행 4개 메뉴: 고정 25% 해제 -> 글자 크기에 맞추고 균등 간격 배치 */
    .nav-item:not(.nav-btn-wrap) {
        flex: 0 0 auto !important; /* 고정 25% 제거 */
        max-width: none !important;
        text-align: center;
    }
    
    .nav-link {
        font-size: 13px !important;       /* 모바일 최적 글꼴 크기 */
        letter-spacing: -0.6px;           /* 자간을 살짝 조여 긴 글자 폭 압축 */
        padding: 8px 2px !important;
        text-align: center;
        white-space: nowrap;
    }
    
    /* ★ 2행 상담문의 버튼: 100% 가로 확장 유지 */
    .nav-btn-wrap {
        flex: 0 0 100% !important;
        width: 100% !important;
        margin-left: 0 !important;
        margin-top: 12px;
    }
    
    .nav-list .btn-contact {
        display: block;
        width: 100%;
        text-align: center;
        box-sizing: border-box;
        padding: 12px 0;
    }

    /* 모바일 드롭다운 숨김 유지 */
    .dropdown-menu,
    .nav-item:hover .dropdown-menu {
        display: none !important;
    }
}