.main-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: calc(100vh - var(--header-height));
    overflow: hidden;
    background: var(--color-ink);
}

.main-hero__slide {
    position: absolute;
    inset: 0;
}

.main-hero__slide::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(2, 6, 23, 0.78), rgba(2, 6, 23, 0.3));
    content: "";
}

.main-hero__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-hero__content {
    position: relative;
    z-index: 1;
    color: #ffffff;
}

.main-hero h1 {
    max-width: 820px;
    margin-top: var(--space-4);
    font-weight: 820;
    line-height: 1.16;
}

.main-hero p:not(.eyebrow) {
    max-width: 620px;
    margin-top: var(--space-5);
    color: #dbeafe;
    }

.page-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    height: 300px; /* [개선] 기존 420px에서 콤팩트 축소 */
    overflow: hidden;
    isolation: isolate;
    background: var(--color-ink);
    --hero-accent: var(--color-accent);
    --hero-shade-left: rgba(7, 17, 31, 0.82);
    --hero-shade-bottom: rgba(7, 17, 31, 0.78);
}

.page-hero::after {
    content: "";
    position: absolute;
    left: max(var(--space-6), calc((100vw - var(--container-max)) / 2));
    bottom: 0;
    z-index: 1;
    width: min(360px, 48vw);
    height: 4px;
    background: linear-gradient(90deg, var(--hero-accent), rgba(255, 255, 255, 0));
}

.page-hero__image,
.page-hero__overlay {
    position: absolute;
    inset: 0;
}

.page-hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transform: scale(1.01);
    filter: saturate(1.05) contrast(1.03);
}

.page-hero__overlay {
    background:
        linear-gradient(90deg, var(--hero-shade-left) 0%, rgba(2, 6, 23, 0.48) 52%, rgba(2, 6, 23, 0.18) 100%),
        linear-gradient(180deg, rgba(2, 6, 23, 0.1), var(--hero-shade-bottom));
}

.page-hero__content {
    position: relative;
    z-index: 1;
    padding: 0 0 var(--space-16);
    color: #ffffff;
}

.page-hero h1 {
    font-weight: 820;
    line-height: var(--line-heading);
    font-size:46px;

}

.page-hero .eyebrow {
    color: var(--hero-accent);
    font-size:22px;
}



.page-hero p:not(.eyebrow) {
    display: none;
    max-width: 680px;
    margin-top: var(--space-4);
    color: #dbeafe;
    }

.section-tabs {
    position: sticky;
    top: var(--header-height);
    z-index: 30;
    display: flex;
    gap: 8px;
    justify-content: center;
    padding: 12px;
    border: 1px solid var(--color-border);
    border-left: 0; /* [개선] 양단 테두리선 소거 */
    border-right: 0; /* [개선] 양단 테두리선 소거 */
    border-radius: 0; /* [개선] 라운딩 완전히 제거 */
    margin-top: -28px;

    /* [개선] 데스크탑 가로 꽉 참 및 불투명 화이트 적용 */
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    background: #ffffff; /* 반투명 제거, 완전 불투명 화이트 배경 */
}

.section-tabs a {
    padding: 10px 16px;
    border-radius: 999px;
    color: var(--color-subtext);
    font-weight: 750;
    white-space: nowrap;
}

.section-tabs a:hover {
    background: var(--color-section);
    color: var(--color-primary);
}

.section-tabs a.is-active,
.section-tabs a[aria-current="page"] {
    background: var(--color-primary);
    color: #ffffff;
}

.section-tabs a:focus-visible {
    outline: 3px solid rgba(14, 165, 233, 0.28);
    outline-offset: 3px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-4);
}

.stat-card {
    padding: var(--space-8);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    background: #ffffff;
}

.stat-card strong {
    display: block;
    color: var(--color-primary);
    line-height: 1;
}

.stat-card span {
    display: block;
    margin-top: var(--space-3);
    color: var(--color-subtext);
    font-weight: 750;
}

.service-link-grid,
.process-grid,
.certificate-grid,
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.service-link-card,
.process-card,
.certificate-card,
.gallery-card,
.target-card {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    background: #ffffff;
    overflow: hidden;
    transition: transform 0.2s ease;
}

.service-link-card:hover,
.target-card:hover {
    transform: translateY(-5px);
}

.service-link-card img,
.gallery-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.service-link-card span,
.service-link-card p,
.process-card,
.target-card {
    padding: var(--space-6);
}

.service-link-card span {
    display: block;
    padding-bottom: 0;
    color: var(--color-text);
    font-weight: 800;
}

.service-link-card p {
    padding-top: var(--space-3);
    color: var(--color-subtext);
}

.process-card span {
    color: var(--color-primary);
    font-weight: 900;
}

.process-card h3,
.target-card h3 {
    margin-top: var(--space-3);
    }

.process-card p,
.target-card p {
    margin-top: var(--space-3);
    color: var(--color-subtext);
}

.detail-cta {
    background: var(--color-primary-dark);
    color: #ffffff;
}

.detail-cta__inner {
    display: flex;
    gap: var(--space-8);
    align-items: center;
    justify-content: space-between;
}

.detail-cta h2,
.detail-cta p,
.detail-cta .eyebrow {
    color: #ffffff;
}

.detail-cta p {
    max-width: 680px;
    color: #dbeafe;
}

.detail-cta__note {
    margin-top: var(--space-3);
    color: rgba(255, 255, 255, 0.72) !important;
    font-size: 14px;
    line-height: 1.6;
}

.detail-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
}

.site-phone-cta {
    position: relative;
    padding: 130px 0;
    overflow: hidden;
    background: #07111f;
}

.site-phone-cta .cta-bg-wrapper {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.site-phone-cta .cta-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
    opacity: 0.32;
    filter: grayscale(15%) contrast(108%);
}

.site-phone-cta .cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(7, 24, 68, 0.94) 0%, rgba(27, 48, 103, 0.82) 50%, rgba(7, 17, 31, 0.94) 100%);
}

.site-phone-cta .cta-container {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff;
}

.site-phone-cta .cta-title {
    color: #ffffff !important;
    font-size: clamp(28px, 4.5vw, 44px) !important;
    font-weight: 900;
    line-height: 1.22;
    letter-spacing: 0;
    margin-bottom: 22px;
}

.site-phone-cta .cta-desc {
    color: rgba(255, 255, 255, 0.86) !important;
    font-size: clamp(15px, 2vw, 19px) !important;
    line-height: 1.65;
    font-weight: 500;
    margin: 0 0 42px;
}

.site-phone-cta .cta-buttons {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.site-phone-cta .cta-note {
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.68) !important;
    font-size: 14px;
    line-height: 1.6;
}

.site-phone-cta .cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 0 42px;
    border-radius: 999px;
    font-size: 18px;
    font-weight: 800;
    text-decoration: none;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease, color 0.3s ease;
}

.site-phone-cta .cta-btn--call {
    background: #25b9cb;
    color: #ffffff !important;
}

.site-phone-cta .cta-btn--call:hover {
    background: #7cecf6;
    color: #ffffff !important;
    transform: translateY(-3px);
}

.site-phone-cta .cta-icon {
    margin-right: 10px;
    font-size: 12px;
    letter-spacing: 0.04em;
    opacity: 0.78;
}

.site-phone-cta .cta-phone-number {
    letter-spacing: 0;
}

.site-phone-cta .cta-btn--inquiry {
    background: transparent;
    color: #ffffff !important;
    border: 1.5px solid rgba(255, 255, 255, 0.45);
}

.site-phone-cta .cta-btn--inquiry:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.85);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .site-phone-cta {
        padding: 86px 0;
    }

    .site-phone-cta .cta-buttons {
        flex-direction: column;
        width: 80%;
        gap: 12px;
    }

    .site-phone-cta .cta-btn {
        width: 100%;
        min-height: 52px;
        padding: 0 24px;
        font-size: 16px;
    }
}

/* --- 추가된 프리미엄 컴포넌트 CSS --- */

/* 1. ESG 슬라이드 섹션 */
.esg-slide-section {
    width: 100%;
    height: 700px;
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    overflow: hidden;
    background-color: #111;
    color: #FFFFFF;
}
.esg-content-block {
    grid-area: 1 / 1;
    width: 100%;
    height: 100%;
    position: relative;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
    z-index: 1;
}
.esg-content-block.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}
.esg-slide-section .bg-image {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    transition: transform 6s ease-out;
}
.esg-content-block.active .bg-image {
    transform: scale(1);
}
.esg-slide-section .bg-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.2) 100%);
}
.esg-text-wrap {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    max-width: 600px;
    z-index: 10;
}
.esg-eyebrow {
    font-weight: 700; letter-spacing: 1px; color: #FFFFFF;
    margin-bottom: 20px; display: block;
    opacity: 0; transform: translateY(20px);
}
.esg-title {
    font-weight: 700; line-height: 1.3; margin-bottom: 30px;
    opacity: 0; transform: translateY(20px);
    color: #fff;
}
.esg-desc {
    line-height: 1.6; font-weight: 300; color: #E0E0E0;
    opacity: 0; transform: translateY(20px);
}
.esg-content-block.active .esg-eyebrow { animation: fadeInUp 0.8s 0.2s forwards; }
.esg-content-block.active .esg-title { animation: fadeInUp 0.8s 0.4s forwards; }
.esg-content-block.active .esg-desc { animation: fadeInUp 0.8s 0.6s forwards; }
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }
.esg-tabs-container {
    grid-area: 1 / 1;
    z-index: 20;
    justify-self: end;
    align-items: center;
    align-self: center;
    margin-right: 10%;
    width: 300px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.esg-tab-item {
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 20px 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.6);
}
.esg-tab-item:hover { background-color: rgba(255, 255, 255, 0.1); color: #FFFFFF; }
.esg-tab-item.active {
    background-color: #FFFFFF;
    color: #111111;
    transform: scale(1.03);
    border-color: #FFFFFF;
}
.tab-num { display: block; margin-bottom: 5px; }
.tab-text { font-weight: 700; }
.progress-bar { position: absolute; bottom: 0; left: 0; height: 4px; background-color: var(--color-primary); width: 0%; }
.esg-tab-item.active .progress-bar { animation: progressAnimation 5s linear forwards; }
@keyframes progressAnimation { from { width: 0%; } to { width: 100%; } }
@media (max-width: 1024px) {
    .esg-text-wrap { left: 5%; max-width: 50%; }
    .esg-tabs-container { margin-right: 5%; width: 250px; }
}
@media (max-width: 767px) {
    .esg-slide-section { height: auto; min-height: 800px; display: flex; flex-direction: column; }
    .esg-content-block { position: absolute; }
    .esg-slide-section .bg-overlay { background: rgba(0,0,0,0.6); }
    .esg-text-wrap { position: relative; top: auto; left: auto; transform: none; padding: 60px 20px 40px 20px; text-align: center; max-width: 100%; }
    .esg-tabs-container { position: relative; width: 90%; margin: 0 auto 40px auto; justify-self: center; }
    .esg-desc { }
}





/* 2. Open API 섹션 */
.open-api-section {
    width: 100%;
    min-height: 600px;
    position: relative;
    background: linear-gradient(135deg, #000428 0%, #004e92 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    color: #FFFFFF;
    overflow: hidden;
}
.open-api-section::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 40px 40px; opacity: 0.3; pointer-events: none;
}
.api-container { width: 100%; max-width: var(--container-wide); display: flex; justify-content: space-between; align-items: center; gap: 60px; position: relative; z-index: 2; margin: 0 auto;}
.api-text-area { flex: 1; max-width: 500px; }
.api-title-group { margin-bottom: 20px; }
.api-sub-title { font-weight: 700; margin-bottom: 5px; opacity: 0.9; }
.api-main-title { font-weight: 900; line-height: 1.2; color:#fff;}
.api-desc { font-weight: 300; color: rgba(255, 255, 255, 0.8); line-height: 1.6; }
.api-cards-area { flex: 1; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.api-card { background-color: #FFFFFF; border-radius: 8px; padding: 30px; color: #333333; transition: transform 0.3s ease; cursor: pointer; display: flex; flex-direction: column; justify-content: space-between; min-height: 220px; }
.api-card:hover { transform: translateY(-5px); }
.card-icon-wrap { margin-bottom: 20px; }
.card-icon { }
.card-content { display: flex; flex-direction: column; }
.card-category { font-weight: 700; color: #555; margin-bottom: 5px; display: block; }
.card-title { font-weight: 900; color: #000; margin-bottom: 10px; }
.card-desc { color: #666; line-height: 1.5; word-break: keep-all; }
@media (max-width: 1024px) {
    .api-container { flex-direction: column; align-items: center; text-align: center; gap: 50px; }
    .api-text-area { max-width: 80%; }
    .api-cards-area { width: 100%; max-width: 700px; }
}
@media (max-width: 767px) {
    .open-api-section { padding: 60px 20px; }
    .api-sub-title { }
    .api-desc { }
    .api-cards-area { grid-template-columns: 1fr; gap: 15px; width: 100%; }
    .api-card { min-height: auto; padding: 25px; }

.page-hero h1 {
    font-size:24px;
}
.page-hero .eyebrow {
    font-size:10px;
    }
}





/* 3. Network 파트너 섹션 */
.network-partners-section {
    width: 100%; min-height: 600px; position: relative;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.pexels.com/photos/4483610/pexels-photo-4483610.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1');
    background-size: cover; background-position: center; background-attachment: fixed;
    display: flex; align-items: center; justify-content: center; padding: 80px 20px; color: #FFFFFF;
}
.network-container { width: 100%; max-width: var(--container-wide); display: flex; justify-content: space-between; align-items: center; gap: 60px; margin: 0 auto;}
.network-text-area { flex: 1; max-width: 500px; }
.network-title { font-weight: 900; margin-bottom: 20px; position: relative; display: inline-block; line-height: 1; color:#fff;}
.network-title::after { content: ''; position: absolute; top: 0; right: -15px; width: 12px; height: 12px; background-color: #FF4081; border-radius: 50%; }
.network-desc { font-weight: 300; line-height: 1.6; opacity: 0.9; }
.network-cards-area { flex: 1.5; display: flex; gap: 30px; justify-content: flex-end; }
.partner-card { width: 320px; height: 380px; border-radius: 20px; overflow: hidden; position: relative; background-size: cover; background-position: center; display: flex; flex-direction: column; justify-content: flex-end; padding: 30px; cursor: pointer; transition: transform 0.3s ease; }
.partner-card:hover { transform: translateY(-10px); }
.partner-card .card-content { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: flex-end; width:100%;}
.partner-card .card-title { font-weight: 700; color:#fff; }
.more-icon { opacity: 0.7; }
.partner-card.brand::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(233, 30, 99, 0.6) 60%, rgba(233, 30, 99, 0.9) 100%); z-index: 1; transition: opacity 0.3s ease; }
.partner-card.channel::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 60%, rgba(0, 0, 0, 0.9) 100%); z-index: 1; transition: opacity 0.3s ease; }
.partner-card:hover::before { opacity: 0.9; }
@media (max-width: 1024px) {
    .network-container { flex-direction: column; align-items: center; text-align: center; gap: 50px; }
    .network-text-area { max-width: 80%; }
    .network-cards-area { width: 100%; justify-content: center; }
    .partner-card { width: 45%; min-width: 280px; }
}
@media (max-width: 767px) {
    .network-partners-section { padding: 60px 20px; }
    .network-desc { }
    .network-cards-area { flex-direction: column; align-items: center; gap: 20px; }
    .partner-card { width: 100%; max-width: 350px; height: 300px; }
}





/* 4. Footer 섹션 */
.footer-wrap { padding: 80px 0 40px; background: #111111; color: #999999; }
.footer-grid { display: grid; gap: 50px; grid-template-columns: 2fr 1fr 1fr 1fr; margin-bottom: 60px; border-bottom: 1px solid #222222; padding-bottom: 60px; }
@media (max-width: 767px) { .footer-grid { gap: 40px; grid-template-columns: 1fr; } }




.ft-logo { font-weight: 600; color: #ffffff; margin-bottom: 20px; }
.ft-desc { max-width: 300px; line-height: 1.6; color:#999; }
.ft-col h4 { color: #ffffff; margin-bottom: 20px; }
.ft-links li { margin-bottom: 12px; }
.ft-links a { color: #ccc; }
.ft-links a:hover { color: #21cbbe; text-decoration: underline; }
.contact-list { color: #cccccc; }
.ft-info { display: flex; gap: 20px; flex-wrap: wrap; }
.ft-info span b { color: #cccccc; margin-right: 5px; }
.ft-copyright { color: #555555; margin-top: 20px; }


/* =================================================================
   신규 추가 섹션 (역량 아이콘, 갤러리 슬라이드, 문의 히어로)
   ================================================================= */

/* 1. 역량 통계 섹션 (.capability-stats-section) */
.capability-stats-section {
    width: 100%;
    padding: 80px 20px;
    background-color: #FFFFFF;
}
.capability-stats-section .stats-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px auto;
}
.capability-stats-section .stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}
.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 0;
}
.stat-item .stat-icon-wrapper {
    width: 60px;
    height: 60px;
    margin-bottom: 24px;
}
.stat-item .stat-icon-wrapper svg {
    width: 100%;
    height: 100%;
}
.stat-item .stat-label {
    font-weight: 700;
    color: #495057;
    margin-bottom: 12px;
}
.stat-item .stat-number {
    font-family: 'Roboto', sans-serif;
    font-weight: 900;
    color: #212529;
    line-height: 1.1;
    margin-bottom: 8px;
}
.stat-item .stat-number .stat-unit {
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 700;
    margin-left: 4px;
}
.stat-item .stat-subtext {
    color: #6C757D;
}
@media (max-width: 1024px) {
    .capability-stats-section .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
    .stat-item .stat-number { }
    .stat-item .stat-number .stat-unit { }
}
@media (max-width: 767px) {
    .capability-stats-section { padding: 60px 15px; }
    .capability-stats-section .stats-grid { gap: 30px 20px; }
    .stat-item .stat-icon-wrapper { width: 50px; height: 50px; margin-bottom: 20px; }
    .stat-item .stat-label { }
    .stat-item .stat-number { }
    .stat-item .stat-number .stat-unit { }
    .stat-item .stat-subtext { }
}





/* 2. 갤러리 섹션 (.gallery) */
.gallery {
    width: 100%;
    padding: 100px 0;
    background-color: #F8F9FA; /* 연한 회색 배경으로 위 섹션과 분리 */
}
.gallery .inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.gallery .gslider-container {
    position: relative;
}
.gallery .gslider {
    display: flex;
    overflow-x: auto;
    scroll-behavior: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.gallery .gslider::-webkit-scrollbar {
    display: none;
}
.gallery .item {
    flex: 0 0 calc(100% / 3);
    padding: 0 10px;
    text-align: center;
}
.gallery .item a {
    display: block;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    transition: none;
}
.gallery .item a:hover {
}
.gallery .item .img {
    width: 100%;
    height: auto;
}
.gallery .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.gallery .item .txt {
    padding: 15px;
    font-weight: 500;
    color: #343a40;
    background-color: #ffffff;
    border-top: 1px solid #e9ecef;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.gallery .btn-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid #dee2e6;
    color: #343a40;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}
.gallery .btn-nav:hover {
    background-color: #ffffff;
    transform: translateY(-50%) scale(1.05);
}
.gallery .btn-prev { left: -22px; }
.gallery .btn-next { right: -22px; }
@media (max-width: 1024px) {
    .gallery .item { flex-basis: calc(100% / 2); }
    .gallery .btn-prev { left: 10px; }
    .gallery .btn-next { right: 10px; }
}
@media (max-width: 767px) {
    .gallery { padding: 60px 0; }
    .gallery .item {
        flex-basis: 100%;
        padding: 0 15px;
        scroll-snap-align: center;
    }
    .gallery .gslider {
        padding: 0 50px;
        scroll-snap-type: x mandatory;
    }
    .gallery .btn-nav { display: none; }
}





/* 3. 문의하기 히어로 섹션 (.contact-form-hero-section) */
.contact-form-hero-section {
    position: relative;
    width: 100%;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    color: #FFFFFF;
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.pexels.com/photos/220769/pexels-photo-220769.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
.contact-container {
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
}
.contact-text-area {
    flex: 1;
    max-width: 500px;
}
.contact-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.2;
}
.contact-title span {
    font-weight: 300;
    opacity: 0.8;
}
.contact-desc {
    font-weight: 300;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.6;
}
.contact-info-box {
    border-left: 4px solid var(--color-primary);
    padding-left: 20px;
}
.info-label {
    font-weight: 500;
    margin-bottom: 5px;
    opacity: 0.8;
}
.info-phone {
    font-family: 'Roboto', sans-serif;
    font-weight: 900;
    color: #FFFFFF;
    letter-spacing: 1px;
}
.contact-form-area {
    flex: 1;
    max-width: 480px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.form-title {
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}
.form-group {
    margin-bottom: 15px;
}
.form-label {
    display: block;
    margin-bottom: 5px;
    opacity: 0.9;
}
.form-input, .form-textarea {
    width: 100%;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    transition: all 0.3s ease;
}
.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background-color: rgba(255, 255, 255, 0.2);
}
.form-input::placeholder, .form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}
.form-textarea {
    resize: vertical;
    min-height: 100px;
}
.submit-btn {
    width: 100%;
    padding: 15px;
    background-color: var(--color-primary);
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 10px;
}
.submit-btn:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
}
@media (max-width: 1024px) {
    .contact-container {
        flex-direction: column;
        align-items: center;
        gap: 50px;
    }
    .contact-text-area { max-width: 100%; text-align: center; }
    .contact-info-box { border-left: none; border-top: 4px solid var(--color-primary); padding-left: 0; padding-top: 20px; display: inline-block; }
    .contact-form-area { width: 100%; }
}
@media (max-width: 767px) {
    .contact-form-hero-section { padding: 60px 20px; }
    .contact-title { }
    .contact-desc { }
    .info-phone { }
    .contact-form-area { padding: 30px 20px; }
}





/* ----------------- 버그 수정 및 보완 스타일 ----------------- */
.capability-stats-section .stats-header,
.gallery .section-header {
    text-align: center;
    margin-bottom: 50px;
}
.capability-stats-section .stats-header h2 {
    color: #343A40;
    font-weight: 700;
}
.gallery .section-header p.eyebrow {
    color: var(--color-primary);
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 1px;
}
.gallery .section-header h2.titlect {
    color: #212529;
    font-weight: 700;
}

@media (max-width: 1180px) {
    .stats-grid,
    .service-link-grid,
    .process-grid,
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .main-hero {
        min-height: 640px;
    }

    .main-hero h1 {
        font-size: 40px;
    }

    .main-hero p:not(.eyebrow),
    .page-hero p:not(.eyebrow) {
        font-size: 16px;
    }

    .page-hero {
        align-items: flex-end;
        height: 160px;
    }

    .page-hero__image {
        inset: 0;
        height: 100%;
        object-fit: cover;
        object-position: center center;
        transform: none;
    }

    .page-hero__content {
        padding: 0 0 var(--space-8);
    }

    .main-hero .button,
    .page-hero .button {
        min-height: 40px;
        padding: 0 14px;
        font-size: 14px;
    }

    .section-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        scrollbar-width: none; /* Firefox 스크롤바 제거 */
        -ms-overflow-style: none; /* IE/Edge 스크롤바 제거 */
        padding: 8px 16px; /* 좌우 패딩을 주어 가로 스크롤 글씨가 양 벽면에 바로 달라붙지 않게 조율 */
        gap: 6px;
        margin-top: -20px;

        /* [모바일 가로 꽉 참, 라운딩 소거 및 투명도 완전 제거 사양] */
        width: 100% !important;
        max-width: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        border-radius: 0; /* 외각 둥근 라운딩 제거 */
        background: #ffffff; /* 반투명 제거 및 완전 불투명 화이트 배경 주입 */
        border-left: 0; /* 양쪽 세로 테두리 개방 */
        border-right: 0; /* 양쪽 세로 테두리 개방 */
    }

    .section-tabs::-webkit-scrollbar {
        display: none; /* Chrome/Safari/Webkit 스크롤바 제거 */
    }

    .section-tabs a {
        flex: 0 0 auto;
        padding: 6px 12px;
        font-size: 13.5px;
        font-weight: 750;
    }

    .detail-cta__inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .stats-grid,
    .service-link-grid,
    .process-grid,
    .certificate-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .capability-stats-section .stats-header,
    .gallery .section-header {
        margin-bottom: 30px;
    }
}





/* ----------------- 통합 타이포그래피 (Unified Typography) ----------------- */
.api-title,
.network-title,
.contact-title,
.capability-stats-section .stats-header h2,
.gallery .section-header h2.titlect {
    font-size: clamp(32px, 5vw, 48px) !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
    letter-spacing: -1px !important;
}
@media (max-width: 767px) {
    .api-title,
    .network-title,
    .contact-title,
    .capability-stats-section .stats-header h2,
    .gallery .section-header h2.titlect {
        font-size: clamp(28px, 8vw, 36px) !important;
    }
}




