@charset "utf-8";

/* =========================================
   1. Reset & Global Styles
========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Pretendard", "Noto Sans KR", sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    color: #3f3f3f;
    background-color: #ffffff;
    word-break: keep-all;
}

ul,
ol {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    display: inline-block;
}

img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* Colors (Reference) */
/* Gold Primary: #ae8132 */
/* Gold Light: #d5bc5f */
/* Dark: #3f3f3f */

/* Common Utilities */
.pc_br {
    display: inline;
}

.m_br {
    display: none;
}

@media (max-width: 1024px) {
    .pc_br {
        display: none;
    }

    .m_br {
        display: inline;
    }
}



/* =================================================================
               CONSOLIDATED STYLES - Organized by Section
               ================================================================= */

/* ===== Global Styles & Typography ===== */

:root {
    /* Colors */
    --color-gold: #ae8132;
    --color-gold-light: #d5bc5f;
    --color-dark: #1a1a1a;
    --color-primary: #0057a8;
    --color-text: #1e1e1e;
    --color-text-light: #555555;
    --color-bg-light: #f8f9fa;

    /* Spacing */
    --section-padding: 124px;
    --section-padding-tablet: 100px;
    /* New Tablet Padding */
    --container-width: 1280px;
    --mobile-padding: 80px;

    /* Typography */
    --font-size-xs: 14px;
    --font-size-sm: 15px;
    --font-size-base: 16px;
    --font-size-lg: 18px;
    --font-size-xl: 24px;

    --title-md: 24px;
    --title-lg: 36px;
    --title-xl: 48px;
    --title-hero: 64px;
}

body {
    font-family: "Pretendard";
}

/* Global Container Utility */
.container,
.wrap,
.inner,
.api-container {
    max-width: var(--container-width) !important;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    box-sizing: border-box;
}

/* =========================================
               Unified Section Header Components
               ======================================== */

/* Section Tag (Small Label) */
.tag,
.tag-sm,
.section-tagline {
    display: block;
    font-size: 14px;
    font-weight: 800;
    color: #ae8132;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

@media (max-width: 767px) {

    .tag,
    .tag-sm,
    .section-tagline {
        font-size: 12px;
        letter-spacing: 2px;
    }
}

/* Section Main Title */
.titlect,
.title_main,
.section-title {
    font-size: 48px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
    margin-bottom: 24px;
    word-break: keep-all;
}

@media (max-width: 1024px) {

    .titlect,
    .title_main,
    .section-title {
        font-size: 38px;
    }
}

@media (max-width: 767px) {

    .titlect,
    .title_main,
    .section-title {
        font-size: 28px;
    }
}

/* Section Description */
.desc,
.section-desc,
.section-description {
    font-size: 18px;
    color: #555555;
    line-height: 1.7;
    word-break: keep-all;
}

@media (max-width: 1024px) {

    .desc,
    .section-desc,
    .section-description {
        font-size: 16px;
    }
}

@media (max-width: 767px) {

    .desc,
    .section-desc,
    .section-description {
        font-size: 15px;
    }
}

/* Section Header Container */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

@media (max-width: 1024px) {
    .section-header {
        margin-bottom: 50px;
    }
}

@media (max-width: 767px) {
    .section-header {
        margin-bottom: 20px;
    }
}

/* Responsive Line Breaks */
.pc_br {
    display: inline;
}

.m_br {
    display: none;
}

@media (max-width: 1024px) {
    .pc_br {
        display: none;
    }

    .m_br {
        display: inline;
    }
}

/* Common Shadow Variables */
:root {
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-float: 0 24px 40px rgba(0, 0, 0, 0.12);
    --radius-lg: 16px;
}

/* Global Container Utility */
.container,
.wrap,
.inner,
.api-container {
    max-width: var(--container-width) !important;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    box-sizing: border-box;
}


/* ===== Header & Navigation ===== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    height: 90px;
    background-color: transparent;
    transition:
        background-color 0.3s,
        box-shadow 0.3s,
        height 0.4s ease-out;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

@media (max-width: 1024px) {
    .header {
        height: 70px;
    }
}

.header.scrolled,
.header.menu-open {
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    background-color: #ffffff;
    border-bottom: 1px solid #eeeeee;
}



.header .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    justify-content: space-between;
    max-width: var(--container-width);
    height: 90px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (max-width: 1200px) {
    .header .wrap {
        padding: 0 24px;
    }
}

@media (max-width: 1024px) {
    .header .wrap {
        height: 70px;
    }
}

.header .logo {
    width: 200px;
}

@media (max-width: 1024px) {
    .header .logo {
        width: 150px;
    }
}

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

.header .logo-dark {
    display: none;
}

.header .logo-white {
    display: block;
}

.header.scrolled .logo-dark,
.header.menu-open .logo-dark {
    display: block;
}

.header.scrolled .logo-white,
.header.menu-open .logo-white {
    display: none;
}

/* Desktop Nav */
.nav-desktop .gnb {
    display: flex;
}

@media (max-width: 1024px) {
    .nav-desktop {
        display: none;
    }
}

.nav-desktop .gnb>li>a {
    display: flex;
    align-items: center;
    position: relative;
    height: 90px;
    padding: 0 24px;
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
}

@media (max-width: 1200px) {
    .nav-desktop .gnb>li>a {
        padding: 0 15px;
        font-size: 16px;
    }
}

.header.scrolled .nav-desktop .gnb>li>a,
.header.menu-open .nav-desktop .gnb>li>a {
    color: #343a40;
}

.nav-desktop .gnb>li>a:hover {
    color: #c4a349;

}

.nav-desktop .gnb>li>a::after {
    position: absolute;
    bottom: 24px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #c4a349;
    transition: width 0.3s;
    content: "";
    transform: translateX(-50%);
}

.header:not(.scrolled):not(.menu-open) .nav-desktop .gnb>li>a::after {
    background-color: #ffffff;
}

.nav-desktop .gnb>li:hover>a::after {
    width: calc(100% - 40px);
}

/* Header Contact */
.header-contact a {
    display: flex;
    gap: 5px;
    align-items: center;
    padding: 8px 24px;
    border-radius: 100px;
    background: linear-gradient(135deg, #bf953f 0%, #e6d47a 40%, #b38728 70%, #e6d47a 100%);
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
}

@media (max-width: 1200px) {
    .header-contact {
        display: none;
    }
}

.header.scrolled .header-contact a,
.header:hover .header-contact a,
.header.menu-open .header-contact a {
    color: #ffffff;
}

/* Mega Menu */
.mega-menu-panel {
    position: absolute;
    top: 90px;
    left: 0;
    width: 100%;
    height: 275px;
    visibility: hidden;
    padding: 40px 0;
    background-color: #ffffff;
    transition: all 0.4s ease-out;
    opacity: 0;
    border-top: 1px solid #eeeeee;
    transform: translateY(-10px);
}

@media (max-width: 1024px) {
    .mega-menu-panel {
        display: none;
    }
}

.header.menu-open .mega-menu-panel {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.mega-menu-panel .wrap {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    justify-content: center;
}

.submenu-column {
    width: 180px;
}

.submenu-column h4 a {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 0px;
    padding-bottom: 10px;
}

.submenu-column ul li a {
    display: block;
    padding: 8px 0;
    font-size: 15px;
    color: #666666;
    transition: 0.3s;
}

.submenu-column ul li a:hover {
    color: #c4a349;
    transform: translateX(5px);
}

/* Mobile Toggle */
#menu-toggle {
    display: none;
    z-index: 10;
    border: none;
    background: none;
    font-size: 32px;
    color: #ffffff;
    cursor: pointer;
}

@media (max-width: 1024px) {
    #menu-toggle {
        display: block;
    }
}

.header.scrolled #menu-toggle {
    color: #1e1e1e;
}

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

#aside {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: -100%;
    bottom: 0;
    z-index: 1001;
    width: 80%;
    max-width: 324px;
    visibility: hidden;
    background: #ffffff;
    transition: all 0.4s;
    overflow-y: auto;
}

body.expand #layoutDimmed {
    display: block;
}

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

#aside .btnClose {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    color: #1e1e1e;
}

#aside .intro {
    padding: 30px 24px;
    text-align: center;
    border-bottom: 1px solid #eeeeee;
}

#aside .intro img {
    width: 140px;
}

/* Accordion Menu */
#lnb {
    flex: 1;
    padding: 0;
}

#lnb>ul>li {
    border-bottom: 1px solid #f0f0f0;
}

#lnb>ul>li>a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 600;
    color: #1e1e1e;
}

#lnb>ul>li>a:not(.no-sub)::after {
    font-family: "Material Icons";
    font-size: 24px;
    transition: 0.3s;
    content: "expand_more";
}

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

#lnb ul ul {
    display: none;
    padding: 10px 0;
    background: #f8f9fa;
}

#lnb ul ul li a {
    display: block;
    padding: 10px 30px;
    font-size: 14px;
    color: #555555;
}

/* Sidebar Contact */
#aside .scustom {
    padding: 30px 24px;
    background: #fff;
}

#aside .scustom h2 {
    font-size: 16px;
    color: #1e1e1e;
    margin-bottom: 0px;
}

#aside .scustom h3 a {
    display: flex;
    gap: 5px;
    align-items: center;
    font-size: 26px;
    font-weight: 700;
    color: #c4a349;
    margin-bottom: 15px;
}

.mobile-tel a {
    font-size: 16px !important;
    color: #555555 !important;
}

#aside .social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

#aside .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 5px;
    font-size: 28px;
    color: #ffffff;
}

.kakao-link {
    background: #fee500;
    color: #191919 !important;
}

.naver-link {
    background: #03c75a;
}


/* ===== Hero Section ===== */

/* CSS */
/* =========================================
   5. Hero Section (Main Slider)
   ========================================= */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 740px;
    overflow: hidden;
    background: #000000;
}

@media (max-width: 767px) {
    .hero-section {
        height: 100vh;
        min-height: 100%;
    }
}

.hero-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    visibility: hidden;
    transition:
        opacity 1s ease-in-out,
        visibility 1s;
    opacity: 0;
}

.hero-item.active {
    visibility: visible;
    opacity: 1;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    transition: transform 6s ease;
    transform: scale(1.0);
}

.bg-business {
    background-image: url("/img/main_slide/m1.jpg");
}

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

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

.hero-item.active .hero-bg {
    transform: scale(1.05);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
}

.hero-content {
    display: flex;
    justify-content: center;
    flex-direction: column;
    position: relative;
    z-index: 10;
    position: relative;
    z-index: 10;
    max-width: var(--container-width);
    height: 100%;
    margin: 0 auto;
    padding: 0 24px;
    color: #ffffff;
}

@media (max-width: 1024px) {
    .hero-content {
        align-items: center;
        padding: 0 40px;
        /* Tablet Padding increase */
        text-align: center;
    }
}

@media (max-width: 767px) {
    .hero-content {
        padding: 0 20px;
    }
}

.hero-item .slide-sub {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: #d5bc5f;
    letter-spacing: 3px;
    transition: 0.8s 0.2s;
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(30px);
}

@media (max-width: 767px) {
    .hero-item .slide-sub {
        font-size: var(--font-size-base);
        margin-bottom: 10px;
    }
}

.hero-item .slide-title {
    font-size: var(--title-hero);
    font-weight: 700;
    line-height: 1.3;
    color: #ffffff;
    transition: 0.8s 0.4s;
    margin-bottom: 10px;
    opacity: 0;
    transform: translateY(30px);
}

@media (max-width: 1024px) {
    .hero-item .slide-title {
        font-size: var(--title-xl);
        /* Tablet Size */
    }
}

@media (max-width: 767px) {
    .hero-item .slide-title {
        font-size: 32px;
        /* Mobile Size */
        margin-bottom: 15px;
    }
}

.hero-item .slide-desc {
    max-width: 600px;
    font-size: var(--font-size-xl);
    transition: 0.8s 0.6s;
    opacity: 0;
    margin-bottom: 50px;
    transform: translateY(30px);
}

@media (max-width: 767px) {
    .hero-item .slide-desc {
        font-size: var(--font-size-base);
        margin-bottom: 25px;
    }
}

.hero-btn {
    display: inline-block;
    width: fit-content;
    padding: 10px 40px;
    border: 2px solid #ffffff;
    font-weight: 600;
    color: #ffffff;
    transition: 0.8s 0.8s;
    opacity: 0;
    transform: translateY(30px);
}

@media (max-width: 767px) {
    .hero-btn {
        padding: 6px 25px;
    }
}

.hero-btn:hover {
    background: #ffffff;
    color: #06348b;
}

.hero-item.active .slide-sub,
.hero-item.active .slide-title,
.hero-item.active .slide-desc,
.hero-item.active .hero-btn {
    opacity: 1;
    transform: translateY(0);
}

.hero-dots {
    display: flex;
    gap: 15px;
    position: absolute;
    bottom: 50px;
    left: 50%;
    z-index: 20;
    transform: translateX(-50%);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: 0.3s;
    cursor: pointer;
}

.dot.active {
    width: 30px;
    border-radius: 10px;
    background: #d5bc5f;
    /* 골드 컬러 포인트 */
}


/* ===== Tech Section ===== */

/* CSS */

.tech-sec {
    padding: var(--section-padding) 0;
    background: var(--color-bg-light);
}

.tech-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(2, 1fr);
}

.tech-card {
    display: flex;
    justify-content: flex-end;
    flex-direction: column;
    position: relative;
    height: 300px;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    background: #0f172a;
    transition: 0.3s;
}

.tech-card:hover {
    box-shadow: var(--shadow-float);
    transform: translateY(-8px);
}

.tech-bg {
    position: absolute;
    background-position: center;
    background-size: cover;
    transition: 0.5s;
    inset: 0;
    opacity: 0.9;
}

.tech-card:hover .tech-bg {
    opacity: 0.4;
    transform: scale(1.05);
}

.tech-bg-1 {
    background-image: url("/img/banner_01.png");
}

.tech-bg-2 {
    background-image: url("/img/banner_02.png");
}

.tech-bg-3 {
    background-image: url("/img/banner_03.png");
}

.tech-bg-4 {
    background-image: url("/img/banner_04.png");
}

.tech-overlay {
    position: absolute;
    z-index: 1;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 10%, rgba(0, 0, 0, 0.0) 80%);
    inset: 0;
}

.tech-content {
    position: relative;
    z-index: 2;
    color: #fff;
}

.tech-tag {
    display: block;
    font-size: 12px;
    font-weight: 800;
    color: #d5bc5f;
    /* 골드 */
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.tech-tit {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 10px;
}

.tech-desc {
    font-size: 15px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

.tech-icon-float {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 2;
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    font-size: 24px;
    color: #fff;
    backdrop-filter: blur(5px);
}

@media (max-width: 1024px) {
    .tech-sec {
        padding: var(--section-padding-tablet) 0;
    }

    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .tech-tit {
        font-size: var(--title-md);
    }
}

@media (max-width: 600px) {
    .tech-sec {
        padding: var(--mobile-padding) 0;
    }

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


/* ===== Sustainability Section ===== */

/* CSS */
/* --- Sustainability Section Styles --- */
.sustainability {
    position: relative;
    padding: var(--section-padding) 0;
    overflow: hidden;
}

.sustainability-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    /* background-image는 HTML img 태그로 대체 */
    background-color: #000;
    /* Fallback */
}

.sustainability-bg-wrapper img {
    /* 이미지 태그에 대한 스타일 추가 */
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    filter: blur(0px);
    opacity: 1.0;
}

.sustainability-bg-wrapper .overlay {
    width: 100%;
    height: 100%;
    /* New Color Gradient - Dark Greyish Blue */
    background: linear-gradient(#2c3e50, #000000);
    opacity: 0.9;
    position: relative;
    /* img 태그 위에 오도록 z-index 설정 */
    z-index: 2;
}

.sustainability .container {
    position: relative;
    z-index: 3;
    /* 오버레이보다 위에 오도록 */
}

.sustainability .section-header .tag {
    color: #d5bc5f;
}

.sustainability .section-header .titlect,
.sustainability .section-header .desc {
    color: #ffffff;
}

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

.sustainability .item {
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.1);
    /* 반투명 배경 */
    text-align: center;
    transition:
        background-color 0.3s,
        transform 0.3s;
}

.sustainability .item:hover {
    background-color: rgba(174, 129, 50, 0.3);
    /* Gold Hover */
    transform: translateY(-8px);
    border-color: #d5bc5f;
}

.sustainability .item .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border: 0px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0);
    margin-bottom: 5px;
}

.sustainability .item .icon .material-symbols-outlined {
    font-size: 56px;
    font-weight: 300;
    color: #d5bc5f;
    /* Gold Icon */
}

.sustainability .item h3 {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.sustainability .item p {
    font-size: 16px;
    line-height: 1.7;
    color: #e0e0e0;
}

/* --- Sustainability Responsive --- */
@media (max-width: 1024px) {
    .sustainability {
        padding: var(--section-padding-tablet) 0;
    }

    .sustainability .grid {
        gap: 20px;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .sustainability {
        padding: var(--mobile-padding) 0;
    }

    .sustainability .grid {
        gap: 40px;
        grid-template-columns: 1fr;
    }
}


/* ===== Technology Section ===== */

/* CSS */
/* --- [신규] Technology Section Styles --- */
.technology-section {
    padding: var(--section-padding) 0;
    background-color: #ffffff;
    /* 흰색 배경 */
}

.technology-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.technology-content .section-tagline {
    font-size: 18px;
    font-weight: 500;
    color: #ae8132;
    /* 메인 골드 */
    letter-spacing: 6px;
    margin-bottom: 12px;
}

.technology-content .section-title {
    font-size: 42px;
    font-weight: 700;
    color: #222;
    line-height: 1.4;
    margin-bottom: 24px;
}

.technology-content .section-description {
    font-size: 18px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
}

.technology-content .section-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border: 1px solid #ae8132;
    border-radius: 8px;
    /* 둥근 모서리 */
    font-size: 16px;
    font-weight: 600;
    color: #ae8132;
    transition: all 0.3s ease;
}

.technology-content .section-button:hover {
    background-color: #ae8132;
    color: #fff;
    transform: translateY(-2px);
}

.technology-section .img-wrapper {
    border-radius: 12px;
    overflow: hidden;

}

.technology-section .img-wrapper img {
    border-radius: 12px;
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* --- [신규] Technology Section Responsive --- */
@media (max-width: 1024px) {
    .technology-section {
        padding: var(--section-padding-tablet) 0;
    }

    .technology-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }

    .technology-content .section-button {
        margin: 0 auto;
    }

    .technology-content .section-title {
        font-size: var(--title-lg);
    }
}

@media (max-width: 767px) {
    .technology-section {
        padding: var(--mobile-padding) 0;
    }

    .technology-content .section-title {
        font-size: 28px;
    }

    .technology-content .section-description {
        font-size: var(--font-size-base);
    }

    .technology-section .img-wrapper {
        order: 1;
    }

    .technology-content {
        order: 2;
    }
}


/* ===== Services (API) Section ===== */

/* CSS */

/* 1. 기본 스타일 및 리셋 (제거 - Global Style과 충돌 방지) */
/*
            body, h1, h2, h3, p, div, span, a {
                margin: 0;
                padding: 0;
                box-sizing: border-box;
                font-family: "Noto Sans KR", sans-serif;
            }
            body { background-color: #ffffff; }
            */

/* 2. 컴포넌트: Open API 섹션 Repurposed */
.open-api-section {
    width: 100%;
    min-height: 600px;
    position: relative;
    /* 배경: 골드 포인트가 가미된 다크 그레이 그라데이션 */
    background: url("../img/icon_bg.png") no-repeat 50% 50%;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    justify-content: center;
    padding: var(--section-padding) 0;
    color: #ffffff;
    overflow: hidden;
}

.open-api-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

/* 배경 패턴 */
.open-api-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(213, 188, 95, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.5;
    pointer-events: none;
}

.api-container {
    width: 100%;
    /* max-width controlled by global utility */
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 2;
}

/* 3. 좌측 텍스트 영역 */
.api-text-area {
    flex: 1;
    max-width: 450px;
}

.api-title-group {
    margin-bottom: 10px;
}

.api-sub-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    opacity: 0.9;
    letter-spacing: 2px;
}

.api-main-title {
    font-family: "Pretendard", sans-serif;
    font-size: var(--title-xl);
    font-weight: 900;
    line-height: 1.25;
    color: #fff;
}

.api-desc {
    font-size: var(--font-size-lg);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

/* 4. 우측 카드 그리드 영역 */
.api-cards-area {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2열 그리드 */
    gap: 24px;
}

/* 5. API 카드 스타일 */
.api-card {
    position: relative;
    background-color: rgba(255, 255, 255, 0.05);
    /* 어두운 배경에 맞는 반투명 카드 */
    border-radius: 12px;
    padding: 35px;
    color: #fff;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 240px;
    overflow: hidden;
}

.api-card:nth-child(1) {
    background: url("/img/icon_01.png") no-repeat 50% center;
    background-size: cover;
    background-position: center;
}

.api-card:nth-child(2) {
    background: url("/img/icon_02.png") no-repeat 50% center;
    background-size: cover;
    background-position: center;
}

.api-card:nth-child(3) {
    background: url("/img/icon_03.png") no-repeat 50% center;
    background-size: cover;
    background-position: center;
}

.api-card:nth-child(4) {
    background: url("/img/icon_04.png") no-repeat 50% center;
    background-size: cover;
    background-position: center;
}

.api-card .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.0) 100%);
    z-index: 1;
}

.api-card:hover {
    transform: translateY(-8px);
    background-color: #fff;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}


/* 카드 상단 아이콘 */
.card-icon-wrap {
    margin-bottom: 25px;
    z-index: 2;
}

.card-icon {
    font-size: 40px;
    color: #d5bc5f;
    /* 골드 */
    transition: 0.3s;
}

/* 카드 텍스트 내용 */
.card-content {
    display: flex;
    flex-direction: column;
    z-index: 2;
}

.card-category {
    font-size: 10px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 8px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
}

.card-title {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0px;
    transition: 0.3s;
}

.card-desc {
    font-size: 14px;
    color: #fff;
    line-height: 1.6;
    word-break: keep-all;
    transition: 0.3s;
}

/* 6. 반응형 디자인 */
/* 1024px 이하 (태블릿) */
@media (max-width: 1024px) {
    .open-api-section {
        padding: var(--section-padding-tablet) 0;
    }

    .api-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 60px;
    }

    .api-text-area {
        max-width: 100%;
        text-align: center;
        margin: 0 auto;
    }

    .api-title-group {
        text-align: center;
    }

    .api-cards-area {
        width: 100%;
    }
}

/* 767px 이하 (모바일) */
@media (max-width: 767px) {
    .open-api-section {
        padding: var(--mobile-padding) 20px;
    }

    .api-main-title {
        font-size: 36px;
    }

    .api-cards-area {
        grid-template-columns: 1fr;
        /* 모바일 1열 */
        gap: 16px;
    }

    .api-card {
        min-height: auto;
        padding: 30px;
    }
}


/* ===== Gallery Section ===== */

/* CSS */
/* --- Gallery Styles --- */
.gallery {
    padding: var(--section-padding) 0;
    background-color: #ffffff;
}

@media (max-width: 1024px) {
    .gallery {
        padding: var(--mobile-padding) 0;
    }
}

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

.gallery .header {
    text-align: center;
    margin-bottom: 50px;
}

.gallery .header h2 {
    font-size: var(--title-lg);
    font-weight: 600;
    color: #212529;
    margin-bottom: 12px;
}

.gallery .header h2 span {
    color: #ae8132;
    /* New Color */
}

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

.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: box-shadow 0.3s ease;
}

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

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

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

.gallery .item .txt {
    padding: 15px;
    font-size: 20px;
    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;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    color: #343a40;
    font-size: 18px;
    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 {
        padding: var(--section-padding-tablet) 0;
    }

    .gallery .item {
        flex-basis: calc(100% / 2);
    }

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

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

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

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

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

@media (max-width: 767px) {
    .gallery {
        padding: var(--mobile-padding) 0;
    }

    .gallery .inner {
        padding: 0;
    }

    .gallery .header {
        padding: 0 20px;
    }

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

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

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

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

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


/* ===== Logo Scroller ===== */

/* CSS */
/* --- Logo Scroller Styles --- */
.logo-scroller-section {
    padding: var(--section-padding) 0;
    background-color: #fcfcfc;
    overflow: hidden;
    text-align: center;
}

.logo-scroller {
    width: 1480px;
    margin: 0 auto;
    overflow: hidden;
    -webkit-mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
    mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
}

.logo-scroller:last-child {
    margin-top: 24px;
}

.logo-track {
    display: flex;
    align-items: center;
    justify-content: center;
    width: max-content;
    animation-duration: 40s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.logo-item {
    display: flex;
    align-items: center;
    padding: 0 40px;
    margin-bottom: 20px;
    width: 100%;
    height: 100%;
}

.logo-item img {
    max-width: 100%;
    max-height: 40px;
}


/* --- Performance Responsive --- */
@media (max-width: 1024px) {
    .logo-scroller-section {
        padding: var(--section-padding-tablet) 0;
    }

    .logo-scroller {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .logo-scroller-section {
        padding: var(--mobile-padding) 0;
    }

    .logo-item {
        padding: 0 20px;
    }

    .logo-item img {
        max-width: 120px;
    }
}


/* ===== CTA Banner ===== */

.cta-banner {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
    background-color: #1a1a1a;
    text-align: center;
}

/* 배경 이미지 설정 */
.cta-banner-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.cta-banner-bg-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.1);
    transform: scale(1.05);
    transition: transform 10s ease;
}

.cta-banner:hover .cta-banner-bg-wrapper img {
    transform: scale(1);
}

.cta-banner-bg-wrapper .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), #1a1a1a);
    z-index: 2;
}

.cta-banner .container {
    position: relative;
    z-index: 3;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* 텍스트 스타일 */
.cta-banner .section-tagline {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: #bf953f;
    background: linear-gradient(135deg, #bf953f 0%, #fcf6ba 40%, #b38728 70%, #fbf5b7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.cta-banner .section-title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    /* Pretendard Bold */
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.3;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    letter-spacing: -1px;
}

.cta-banner .section-title span {
    color: #bf953f;
    font-style: normal;
}

.cta-banner .section-desc {
    font-size: 18px;
    color: #ccc;
    margin-bottom: 60px;
    line-height: 1.8;
    font-weight: 300;
    max-width: 600px;
    word-break: keep-all;
}

/* --- 신규: 대표 전화번호 강조 영역 (Main Hero Phone) --- */
.hero-phone-wrapper {
    margin-bottom: 20px;
    text-align: center;
}

.hero-phone-label {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-phone-number {
    display: inline-block;
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 800;
    letter-spacing: -2px;
    background: linear-gradient(135deg, #bf953f 0%, #fcf6ba 40%, #b38728 70%, #fbf5b7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: transform 0.3s ease, text-shadow 0.3s ease;
    line-height: 1;
}

.hero-phone-number:hover {
    transform: scale(1.05);
}

.hero-phone-icon {
    font-size: clamp(28px, 4vw, 48px);
    color: #bf953f;
    margin-right: 15px;
    vertical-align: middle;
    -webkit-text-fill-color: initial;
}


/* 메인 버튼 (위치 이동됨) */
.cta-button-wrapper {
    margin-bottom: 50px;
}

.main-cta-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 50px;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.main-cta-btn:hover {
    background-color: rgba(0, 0, 0, 0.2);
    border-color: #bf953f;
    color: #fff;
}

/* 추가 연락처 (이메일 등) */
.sub-contact-info {
    font-size: 15px;
    color: #888;
    display: flex;
    gap: 20px;
    justify-content: center;
}

.sub-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
}

.sub-contact-link:hover {
    color: #fff;
}

/* =========================================
           Quick Menu Wrap (Floating Side Bar)
           ========================================= */
/* =========================================
               Quick Menu Wrap (Premium Floating Style)
               ========================================= */
.quick-menu-wrap {
    position: fixed;
    right: 30px;
    bottom: 40px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-end;
    pointer-events: none;
    /* Allow interaction with underlying elements if needed, buttons will be auto */
}

.quick-menu-wrap>* {
    pointer-events: auto;
}

.pc_br {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Common Button Style */
.qm-btn {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 60px;
    height: 60px;
    border-radius: 30px;
    /* Fully rounded */
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    text-decoration: none;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    padding: 0;
    position: relative;
}

/* Icon Styling */
.qm-btn i {
    min-width: 60px;
    /* Fixed width for icon center */
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #333;
    transition: transform 0.4s ease, color 0.3s;
    position: relative;
    z-index: 2;
}

/* Text Styling */
.qm-btn span {
    opacity: 0;
    width: 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
    transform: translateX(10px);
    transition: all 0.4s ease;
    font-family: 'Pretendard', sans-serif;
}

/* Hover Effects */
.qm-btn:hover {
    width: 170px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
}

.qm-btn:hover span {
    opacity: 1;
    width: auto;
    transform: translateX(0);
    padding-right: 25px;
}

/* Highlight Button (Gold Gradient) */
.qm-btn.highlight {
    background: linear-gradient(135deg, #bf953f 0%, #d4af37 100%);
    border: none;
}

.qm-btn.highlight i,
.qm-btn.highlight span {
    color: #fff;
}

.qm-btn.highlight:hover {
    box-shadow: 0 15px 35px rgba(191, 149, 63, 0.4);
}

/* Green Button (Online Quote) */
.qm-btn.q_green {
    background: #1a1a1a;
    /* Premium Dark */
    border: 1px solid #333;
}

.qm-btn.q_green i,
.qm-btn.q_green span {
    color: #fff;
}

.qm-btn.q_green:hover {
    background: #000;
}

/* Social Buttons */
.qm-btn.kakao i {
    color: #3c1e1e;
    font-size: 32px;
}

.qm-btn.kakao {
    background: #fee500;
}

.qm-btn.blog i {
    color: #fff;
    font-size: 32px;
}

.qm-btn.blog {
    background: #03c75a;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .quick-menu-wrap {
        right: 20px;
        bottom: 80px;
        gap: 10px;
    }

    /* Lifted above mobile nav */
    .qm-btn {
        width: 50px;
        height: 50px;
    }

    .qm-btn i {
        min-width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .qm-btn:hover {
        width: 50px;
    }

    /* Disable expand on mobile if needed, or keep small */
    .qm-btn:hover span {
        display: none;
    }

    /* Hide text on mobile hover to avoid layout issues */
    .pc_br {
        display: none;
    }

    /* Hide PC specific buttons if they are duplicated in mobile bar */
    .qm-btn.kakao i {
        font-size: 30px;
    }

    .qm-btn.blog i {
        font-size: 30px;
    }
}

/* =========================================
   14. Mobile Bottom Bar
========================================= */
.mobile-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 45px;
    z-index: 99;
    background: #ffffff;
    display: none;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

@media (max-width: 767px) {
    .mobile-bar {
        display: flex;
    }
}

.mobile-bar .bar-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 700;
    gap: 8px;
    font-size: 16px;
}

.mobile-bar .bar-btn.call {
    background: #0057a8;
}

.mobile-bar .bar-btn.sms {
    background: #00a0e8;
}


/* ===== Footer ===== */

/* CSS */
/* --- Footer Styles --- */
#footer {
    padding: 60px 0;
    background-color: #000;
    font-size: var(--font-size-sm);
    line-height: 1.8;
    color: #adb5bd;
}

#footer .container {
    max-width: 1280px;
}

#footer .footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 30px;
    margin-bottom: 10px;
    border-bottom: 1px solid #333;
}

#footer .footer-logo img {
    max-width: 180px;
    opacity: 0.8;
}

#footer .footer-nav {
    display: flex;
    gap: 24px;
}

#footer .footer-nav a {
    font-size: var(--font-size-base);
    font-weight: 500;
    color: #fbfbfb;
    text-decoration: none;
    transition: color 0.3s;
}

#footer .footer-nav a:hover {
    color: #d5bc5f;
    /* Gold Accent */
}

#footer .footer-bottom {
    display: flex;
    gap: 24px;
    align-items: flex-end;
    justify-content: space-between;
}

#footer .footer-info p {
    margin-bottom: 8px;
}

#footer .footer-info span {
    display: inline-block;
    position: relative;
    margin-right: 16px;
}

#footer .footer-info p span:last-child {
    margin-right: 0;
}

#footer .footer-info p span:not(:last-child)::after {
    position: absolute;
    top: 50%;
    right: -10px;
    font-size: 12px;
    color: #495057;
    content: "|";
    transform: translateY(-50%);
}

#footer .copyright {
    font-size: 14px;
    color: #868e96;
    margin-top: 24px;
}

#footer .footer-call {
    text-align: right;
    white-space: nowrap;
}

#footer .footer-call strong {
    font-size: 16px;
    font-weight: 500;
    color: #fbfbfb;
}

#footer .footer-call .tel {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin-top: 0px;
}

.m_br_span {
    display: inline-block;
}

@media (max-width: 1024px) {
    #footer .footer-top {
        gap: 20px;
        align-items: flex-start;
        flex-direction: column;
    }

    #footer .footer-bottom {
        gap: 30px;
        align-items: flex-start;
        flex-direction: column;
    }

    #footer .footer-call {
        text-align: left;
    }
}

@media (max-width: 767px) {
    #footer {
        padding: 40px 0;
    }

    #footer .footer-top {
        align-items: center;
        margin-bottom: 20px;
        padding-bottom: 20px;
    }

    #footer .footer-logo img {
        max-width: 160px;
    }

    #footer .footer-nav {
        gap: 12px 20px;
        justify-content: center;
        flex-wrap: wrap;
    }

    #footer .footer-nav a {
        font-size: 14px;
    }

    #footer .footer-bottom {
        align-items: center;
        text-align: center;
    }

    #footer .footer-info p {
        margin-bottom: 0;
    }

    #footer .footer-info span {
        display: block;
        margin: 4px 0;
    }

    #footer .footer-info p span::after {
        display: none;
    }

    .m_br_span {
        display: block;
    }

    #footer .copyright {
        font-size: 12px;
        margin-top: 16px;
    }

    #footer .footer-call {
        text-align: center;
        display: none;
    }

    #footer .footer-call .tel {
        font-size: 24px;
    }
}