/* =========================================
           0. RESET & GLOBAL UTILS
           ========================================= */
* {
    margin: 0;
    padding: 0;
    font-family: 'Pretendard', sans-serif;
    box-sizing: border-box;
}

:root {
    --color-primary: #46bfdb;
    --color-primary-dark: #3aa6bf;
    --color-navy: #233075;
    --color-dark: #1a1f3c;
    --color-text-body: #475569;
    --color-bg-light: #f8fafc;
    --color-white: #ffffff;
    --color-border: #e2e8f0;

    --max-width: 1280px;
    --section-spacing: 140px;

    --radius-md: 16px;
    --radius-lg: 24px;

    --shadow-card: 0 20px 40px -10px rgba(35, 48, 117, 0.08);
    --shadow-float: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

body {
    background: #ffffff;
    line-height: 1.6;
    color: #334155;
    word-break: keep-all;
    overflow-x: hidden;
}

ul,
li {
    list-style: none;
}

a {
    color: inherit;
    text-decoration: none;
    transition: 0.3s;
}

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

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

/* P Tag Reset (To use as div alternative if needed, but per guide mainly div/span used) */
p {
    margin: 0;
    padding: 0;
}


.inner {
    position: relative;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Line Break Utility */
.pc_br {
    display: inline;
}

.m_br {
    display: none;
}

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

    .m_br {
        display: inline;
    }
}

/* Animation */
.fade-up {
    transition: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
    transform: translateY(30px);
}

.fade-up.active {
    opacity: 1;
    transform: translateY(0);
}

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

.section-header .tag-sm {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 100px;
    background: rgba(70, 191, 219, 0.1);
    font-size: 14px;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.section-header .title_main {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--color-dark);
    margin-bottom: 16px;
}

.section-header .desc {
    max-width: 600px;
    margin: 0 auto;
    font-size: 18px;
    color: #64748b;
}

@media (max-width: 768px) {
    .section-header .title_main {
        font-size: 24px;
        line-height: 1.4;
    }

    .section-header .desc {
        padding: 0 20px;
        /* Add padding for better reading */
        font-size: 16px;
        word-break: keep-all;
    }
}

/* =========================================
           2. 헤더 (Header)
           ========================================= */
.header-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    height: 90px;
    padding: 0 40px;
    background: transparent;
    transition: all 0.3s ease;
    border-bottom:1px solid rgba(255, 255, 255, 0.2);
}

.header-wrap.scrolled {
    height: 80px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    background: rgba(255, 255, 255, 0.98);
}

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

        border-bottom:1px solid rgba(255, 255, 255, 0.2);
    }

    .header-wrap.scrolled {
        height: 70px;
    }
}

.header-logo {
    width: auto;
    height: 50px;
}

.header-logo img {
    width: auto;
    height: 100%;
    object-fit: contain;
}

/* GNB PC */
.gnb-pc {
    display: flex;
    gap: 50px;
    height: 100%;
}

.gnb-pc>li {
    display: flex;
    align-items: center;
    position: relative;
    height: 100%;
}

.gnb-pc>li>a {
    padding: 10px 0;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    transition: color 0.3s;
}

.header-wrap.scrolled .gnb-pc>li>a {
    color: #222;
}

.gnb-pc>li:hover>a {
    color: #46bfdb;
}

.gnb-pc .submenu {
    position: absolute;
    top: 100%;
    left: 50%;
    min-width: 180px;
    visibility: hidden;
    padding: 15px 0;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: #fff;
    transition: all 0.3s;
    transform: translateX(-50%) translateY(10px);
    opacity: 0;
}

.gnb-pc>li:hover .submenu {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.gnb-pc .submenu li a {
    display: block;
    padding: 10px 25px;
    font-size: 16px;
    font-weight: 500;
    color: #555;
    transition: all 0.2s;
}

.gnb-pc .submenu li a:hover {
    background: #f9fbfd;
    color: #46bfdb;
}

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

/* Header Util Btns */
.header-util {
    display: flex;
    gap: 15px;
    align-items: center;
}

.btn-consult {
    padding: 10px 24px;
    border-radius: 30px;
    background: #46bfdb;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    transition: background 0.3s;
}

.btn-consult:hover {
    background: #3aa6bf;
}

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

.btn-mo-open {
    display: none;
    font-size: 28px;
    color: #222;
}

@media (max-width: 1024px) {
    .btn-mo-open {
        display: block;
        color: #fff;
        /* White on transparent background */
    }

    .header-wrap.scrolled .btn-mo-open {
        color: #222;
        /* Black on white sticky header */
    }
}

/* Mobile Nav */
.gnb-mo-wrap {
    position: fixed;
    top: 0;
    right: -100%;
    z-index: 2000;
    width: 100%;
    height: 100vh;
    visibility: hidden;
    background: rgba(0, 0, 0, 0.5);
    transition: all 0.3s;
    opacity: 0;
}

.gnb-mo-wrap.active {
    right: 0;
    visibility: visible;
    opacity: 1;
    z-index: 2000;

}

.gnb-mo-panel {
    position: absolute;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100%;
    padding: 20px;
    background: #fff;
    transition: right 0.4s ease;
    overflow-y: auto;

}

.gnb-mo-wrap.active .gnb-mo-panel {
    right: 0;
}

.mo-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.btn-mo-close {
    font-size: 28px;
    color: #333;
}

.gnb-mo-list>li {
    border-bottom: 1px solid #f5f5f5;
}

.gnb-mo-list>li>a {
    display: block;
    display: flex;
    justify-content: space-between;
    padding: 16px 0;
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

.gnb-mo-list>li>a i {
    transition: transform 0.3s;
}

.gnb-mo-list>li.active>a {
    color: #46bfdb;
}

.gnb-mo-list>li.active>a i {
    transform: rotate(180deg);
}

.gnb-mo-sub {
    display: none;
    padding: 10px 15px 20px;
    border-radius: 8px;
    background: #fafafa;
    margin-bottom: 10px;
}

.gnb-mo-sub li a {
    display: block;
    padding: 8px 0;
    font-size: 16px;
    color: #666;
}

.gnb-mo-list>li.on .gnb-mo-sub {
    display: block;
}

/* =========================================
           3. HERO SECTION (Dynamic)
           ========================================= */
.hero-sec {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 850px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    animation: moveBg 10s infinite alternate;
    transition: opacity 1.2s ease-in-out;
    opacity: 0;
}

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

/* Desktop Hero Images */
.hero-slide.slide-1 {
    background-image: url('../img/main_slide/m1.jpg');
}

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

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

/* Mobile Hero Images */
@media (max-width: 767px) {
    .hero-slide.slide-1 {
        background-image: url('../img/main_slide/mm1.jpg');
    }

    .hero-slide.slide-2 {
        background-image: url('../img/main_slide/mm2.jpg');
    }

    .hero-slide.slide-3 {
        background-image: url('../img/main_slide/mm3.jpg');
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.2));
}

@keyframes moveBg {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.1);
    }
}


.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    width: 100%;
    padding: 0 20px;
    margin-top: 200px;
        }

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.1);
    font-size: 14px;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 1px;
    backdrop-filter: blur(2px);
    margin-bottom: 20px;
}

.hero-txt {
    width: 100%;
    text-align: center;
    margin-bottom: 0;
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.2;
    color: #fff;
    transition: 0.8s ease-out;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
}

.hero-desc {
    font-size: 20px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    transition: 0.8s 0.2s ease-out;
    opacity: 0;
    transform: translateY(30px);
}

.hero-content.active .hero-title,
.hero-content.active .hero-desc {
    opacity: 1;
    transform: translateY(0);
}

    /* Enhanced Quote Form */
        .quote-form {
            background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.2); padding: 25px; border-radius: 15px;
            display: inline-flex; gap: 10px; align-items: flex-end;
            box-shadow: 0 20px 50px rgba(0,0,0,0.2);
        }
        .q-field { text-align: left; }
        .q-label { display: block; font-size: 12px; color: rgba(255,255,255,0.7); margin-bottom: 5px; padding-left: 5px; }
        .q-input, .q-select {
            width: 180px; height: 50px; background: rgba(0,0,0,0.4); border: 1px solid rgba(255,255,255,0.15);
            color: #fff; padding: 0 15px; font-size: 15px; border-radius: 8px; outline: none; transition: 0.3s;
        }
        .q-input:focus, .q-select:focus { background: rgba(0,0,0,0.6); border-color: var(--color-primary); }
        .btn-submit {
            height: 50px; padding: 0 35px; background: var(--color-primary); color: #fff;
            font-weight: 700; border-radius: 8px; font-size: 16px; transition: 0.3s;
        }
        .btn-submit:hover { background: #3aa6bf; transform: translateY(-2px); }


/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        justify-content: center;
        flex-direction: column;
        text-align: center;
        padding-top: 100px;
        margin-top:0;
    }

    .hero-txt {
        width: 100%;
        min-height: auto;
        text-align: center;
        margin-bottom: 40px;
    }

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

    .hero-desc {
        font-size: 18px;

        br {
            display: none;
        }

        /* Show in single line or allow wrap */
    }

  .quote-form { flex-direction: column; width: 90%; max-width: 400px; align-items: stretch; }
            .q-input, .q-select { width: 100%; }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 32px;
        word-break: keep-all;
    }

    .hero-desc {
        padding: 0 10px;
        font-size: 16px;
        word-break: keep-all;
    }

    .hero-badge {
        margin-bottom: 15px;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 32px;
        word-break: keep-all;
        /* Prevent awkward breaks */
    }

    .hero-desc {
        font-size: 16px;
        word-break: keep-all;
        margin-bottom: 30px;
    }

    .quote-form {
        padding: 20px;
        margin-top: 20px;
        flex-direction: column;
    }
}



.section-padding {
    padding: 120px 0;
}

@media (max-width: 1024px) {
    .section-padding {
        padding: 80px 0;
    }
}

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

    .section-header {
        margin-bottom: 30px;
    }
}

/* 타이포그래피 */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header .sub-title {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #46bfdb;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.section-header .main-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.3;
    color: #111;
    margin-bottom: 16px;
    /* Reduced from 20px */
}

.section-header .desc {
    font-size: 18px;
    line-height: 1.6;
    color: #666;
}

@media (max-width: 1024px) {
    .section-header .main-title {
        font-size: 32px;
    }

    .section-header .desc {
        padding: 0 20px;
        /* Add padding for better reading */
        font-size: 16px;
        word-break: keep-all;
    }
}

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

    .section-header .main-title {
        font-size: 26px;
    }

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


/* =========================================
           3. WHY US & SERVICES (Standard)
           ========================================= */
.why-sec,
.srv-sec {
    padding: var(--section-spacing) 0;
}

.why-sec {
    position: relative;
    padding: var(--section-spacing) 0;
    overflow: hidden;
    background: url('/img/why_bg.png') no-repeat center/cover;
    background-attachment: fixed;
}

.why-sec::before {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    content: '';
}

.why-sec .inner {
    position: relative;
    z-index: 1;
}

/* Why Section Header Overrides */
.why-sec .section-header .tag-sm {
    background: rgba(255, 255, 255, 0.1);
}

.why-sec .section-header .title_main {
    color: #fff;
}

.why-sec .section-header .desc {
    color: rgba(255, 255, 255, 0.8);
}

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

.why-card {
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    background: #fff;
    /* Make it pop against dark bg */
    transition: 0.3s;
}

.why-card:hover {
    box-shadow: var(--shadow-card);
    background: #fff;
    transform: translateY(-10px);
}

.why-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    background: #fff;
    background-color: #46bfdb;
    font-size: 28px;
    margin-bottom: 20px;
}

.why-icon i {
    font-size: 48px;
    color: #fff;
}

.why-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 12px;
}

.why-card p {
    font-size: 16px;
    color: #64748b;
}

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

.srv-card {
    position: relative;
    height: 500px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
}

.srv-bg {
    position: absolute;
    background-position: center;
    background-size: cover;
    transition: transform 0.6s;
    inset: 0;
}

.srv-overlay {
    position: absolute;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95), transparent);
    inset: 0;
}

.srv-info {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 2;
    width: 100%;
    padding: 40px 30px;
    color: #fff;
}

.srv-icon {
    display: block;
    font-size: 36px;
    color: var(--color-primary);
    margin-bottom: 15px;
}

.srv-tit {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.srv-desc {
    display: block;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 20px;
}

.srv-link {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
}

.srv-card:hover .srv-bg {
    transform: scale(1.1);
}

@media (max-width: 1024px) {

    .why-grid,
    .srv-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {

    .why-grid,
    .srv-grid {
        gap: 20px;
        grid-template-columns: 1fr;
    }

    .why-card,
    .srv-card {
        height: auto;
        min-height: 300px;
    }
}


/* =========================================
           3. SERVICES SECTION (.srv-sec)
           ========================================= */
.srv-sec {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 140px 0;
    padding-left: 24px;
    padding-right: 24px;
}

@media (max-width: 1024px) {
    .srv-sec {
        padding: 100px 24px;
    }
}

@media (max-width: 768px) {
    .srv-sec {
        padding: 80px 24px;
    }
}

.srv-sec .head-area {
    text-align: center;
    margin-bottom: 50px;
    /* Reduced from 60px */
}

.srv-sec .tag-sm {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 100px;
    background: rgba(14, 165, 233, 0.1);
    font-size: 13px;
    font-weight: 700;
    color: #0ea5e9;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.srv-sec .title_main {
    font-size: 36px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 16px;
    /* Reduced from 20px */
}

@media (max-width: 1024px) {
    .srv-sec .title_main {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .srv-sec .title_main {
        font-size: 24px;
    }
}

.srv-sec .desc-sub {
    max-width: 600px;
    margin: 0 auto;
    font-size: 20px;
    /* 본문 기준 */
    color: #64748b;
}

@media (max-width: 1024px) {
    .srv-sec .desc-sub {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .srv-sec .desc-sub {
        font-size: 15px;
    }
}

/* Grid */
.srv-sec .grid-wrap {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
    .srv-sec .grid-wrap {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .srv-sec .grid-wrap {
        grid-template-columns: 1fr;
    }
}

.srv-sec .card-item {
    position: relative;
    height: 500px;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
}

/* Background Images via Classes */
.srv-sec .bg-1 {
    background: url('/img/banner_01.png') no-repeat 50% 50%;
    background-size: cover;
}

.srv-sec .bg-2 {
    background: url('/img/banner_02.png') no-repeat 50% 50%;
    background-size: cover;
}

.srv-sec .bg-3 {
    background: url('/img/banner_03.png') no-repeat 50% 50%;
    background-size: cover;
}

.srv-sec .bg-4 {
    background: url('/img/banner_04.png') no-repeat 50% 50%;
    background-size: cover;
}

.srv-sec .card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
}

.srv-sec .card-item:hover .card-bg {
    transform: scale(1.1);
}

.srv-sec .card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent 90%);
    transition: 0.4s;
}



.srv-sec .txt-box {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 10;
    width: 100%;
    padding: 40px 30px;
    color: #ffffff;
    transition: 0.4s;
    transform: translateY(0);
}

.srv-sec .card-item:hover .txt-box {
    transform: translateY(-10px);
}

.srv-sec .icon-lg {
    font-size: 32px;
    color: #38bdf8;
    margin-bottom: 15px;
}

.srv-sec .card-tit {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

@media (max-width: 1024px) {
    .srv-sec .card-tit {
        font-size: 20px;
    }
}

.srv-sec .card-desc {
    max-height: 100px;
    /* Visible by default */
    overflow: hidden;
    font-size: 15px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.7);
    transition: 0.4s;
    opacity: 1;
    /* Visible by default */
    margin-bottom: 10px;
}

.srv-sec .card-item:hover .card-desc {
    /* Hover state remains same or slightly enhanced */
    opacity: 1;
}

.srv-sec .link-more {
    display: inline-flex;
    gap: 5px;
    align-items: center;
    font-size: 14px;
    font-weight: 700;
    color: #38bdf8;
    transition: 0.4s;
    margin-top: 20px;
    opacity: 1;
    /* Visible by default */
    transform: translateY(0);
    /* Visible by default */
}

.srv-sec .card-item:hover .link-more {
    opacity: 1;
    transform: translateY(0);
}




.tech-sec {
    padding: var(--section-spacing) 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/icon_01.png');
}
.tech-bg-2 {
    background-image: url('/img/icon_02.jpg');
}
.tech-bg-3 {
    background-image: url('/img/icon_03.png');
}
.tech-bg-4 {
    background-image: url('/img/icon_04.png');
}
.tech-overlay {
    position: absolute;
    z-index: 1;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.1) 100%);
    inset: 0;
}

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

.tech-tag {
    display: block;
    font-size: 12px;
    font-weight: 800;
    color: var(--color-primary);
    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: 20px;
    right: 20px;
    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-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .tech-grid {
        grid-template-columns: 1fr;
    }
}


/* =========================================
           5. GALLERY
           ========================================= */
.gal-sec {
    padding: var(--section-spacing) 0;

    overflow: hidden;
    background: #fff;
}

.marquee-wrap {
    display: flex;
    gap: 30px;
    width: max-content;
    padding: 20px 0;
    animation: scrollLeft 40s linear infinite;
}

.marquee-wrap:hover {
    animation-play-state: paused;
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-33.333%);
        /* 1/3 of total width (one set) */
    }
}

.gal-item {
    width: 400px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    background: #fff;
}

.gal-img {
    height: 240px;
    overflow: hidden;
}

.gal-img img {
    transition: 0.5s;
}

.gal-item:hover .gal-img img {
    transform: scale(1.1);
}

.gal-info {
    padding: 24px;
}

.gal-cat {
    font-size: 12px;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    margin-bottom: 6px;
}

.gal-tit {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-dark);
}

.gal-loc {
    display: flex;
    gap: 4px;
    align-items: center;
    font-size: 14px;
    color: #94a3b8;
    margin-top: 5px;
}

@media (max-width: 768px) {
    .gal-item {
        width: 300px;
    }
}


/* =========================================
           6. LIVE BOOKING STATUS (New Design: Professional Schedule)
           ========================================= */
.live-sec {
    padding: var(--section-spacing) 0;

    background: #f8fafc;
}

/* New Style: Clean White Board, not Dark Command Center */
/* New 2-Col Layout for Live Section */
.live-content-wrap {
    display: grid;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    grid-template-columns: 400px 1fr;
}

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

.quick-link-card {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 24px;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    background: #fff;
    transition: 0.3s;
}

.quick-link-card:hover {
    box-shadow: var(--shadow-card);
    transform: translateX(10px);
    border-color: var(--color-primary);
}

.quick-link-card .icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #f0f9ff;
    font-size: 24px;
    color: var(--color-primary);
    margin-right: 20px;
}

.quick-link-card .ql-text h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
}

.quick-link-card .ql-text p {
    font-size: 14px;
    color: #64748b;
}

.quick-link-card .arrow {
    font-size: 20px;
    color: #cbd5e1;
    margin-left: auto;
}

/* Booking Board Adjustments */
.booking-board {
    height: 100%;
    /* max-width: 1000px; Removed max-width */
    margin: 0;
    padding: 40px;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    background: #ffffff;
}

.booking-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 5px;
    padding-bottom: 15px;
    border-bottom: 0px solid #f1f5f9;
}

.booking-title {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 22px;
    font-weight: 700;
    color: var(--color-navy);
}

.booking-info {
    font-size: 13px;
    color: #64748b;
}

.list-container {
    position: relative;
    height: 350px;
    overflow: hidden;
}

.list-track {
    position: relative;
}

.list-row {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    transition: 0.2s;
    border-bottom: 1px solid #f1f5f9;
}

.list-row:hover {
    background: #f8fafc;
}

.bk-date {
    display: none;
    /* Hide Date Column */
}

.bk-region {
    width: 20%;
    /* Increased */
    font-size: 17px;
    font-weight: 700;
    color: #334155;
}

.bk-service {
    width: 45%;
    /* Increased */
    overflow: hidden;
    font-size: 17px;
    color: #475569;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.bk-user {
    width: 15%;
    font-size: 15px;
    color: #64748b;
}

.bk-status {
    width: 20%;
    text-align: right;
}

.status-badge {
    display: flex;
    justify-content: center;
    max-width: 100px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    margin-left: auto;
}

.status-badge.confirmed {
    border: 1px solid #dbeafe;
    background: #eff6ff;
    color: #2563eb;
}

@media (max-width: 1024px) {
    .live-content-wrap {
        grid-template-columns: 1fr;
    }

    .live-links {
        flex-wrap: wrap;
        flex-direction: row;
    }

    .quick-link-card {
        flex: 1;
    }
}

@media (max-width: 767px) {
    .live-links {
        flex-direction: column;
    }

    .booking-title {
        font-size: 18px;
    }

    .bk-region {
        font-size: 15px;
    }

    .bk-service {
        font-size: 15px;
    }
}

/* 예약확정 */
.status-badge.progress {
    border: 1px solid #d1fae5;
    background: #ecfdf5;
    color: #059669;

}

/* 작업중 */
.status-badge.done {
    border: 1px solid #e2e8f0;
    background: #f1f5f9;
    color: #475569;
}

/* 완료 */

@media (max-width: 768px) {
    .booking-board {
        padding: 15px;
    }

    .booking-header {
        gap: 10px;
        align-items: flex-start;
        flex-direction: column;
    }

    .bk-date,
    .bk-user {
        display: none;
    }

    /* Optimized Mobile Layout */
    .list-row {
        padding: 12px 10px;
    }

    .bk-region {
        width: 20%;
        font-size: 13px;
    }

    .bk-service {
        width: 50%;
        font-size: 13px;
        padding-right: 10px;
    }

    .bk-status {
        width: 30%;
    }

    .status-badge {
        padding: 3px 8px;
        font-size: 11px;
    }
}


/* =========================================
           8. CONTACT & FOOTER
           ========================================= */
.contact-sec {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
    background: url('/img/online_bg.jpg') no-repeat center/cover;
    background-attachment: fixed;
    /* Parallax effect */
}

.contact-sec::before {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    /* Dark layout */
    content: '';
}

.contact-sec .inner {
    position: relative;
    z-index: 2;
}

.contact-sec .section-header .tag-sm {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-primary);
    border-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
}

.contact-sec .section-header .title_main {
    color: #fff;
}

.contact-sec .section-header .desc {
    color: rgba(255, 255, 255, 0.8);
}

.map-bg {
    display: none;
}

.area-list {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto 50px;
    margin-bottom: 50px;
}

.area-pill {
    padding: 10px 20px;
    border: 1px solid #e2e8f0;
    border-radius: 30px;
    background: #fff;
    font-size: 15px;
    font-weight: 600;
    color: #64748b;
    transition: 0.3s;
}

.area-pill.active {
    background: #eef2ff;
    color: var(--color-navy);
    border-color: var(--color-navy);
}

.cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 10;
    max-width: 900px;
    margin: 0 auto;
    padding: 60px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 40px;
    box-shadow: var(--shadow-float);
    background: #fff;
}

.ctt-num {
    margin: 0;
    padding: 0;
    font-size: 28px;
    color: var(--color-navy);
}

.cta-num {
    display: block;
    margin: 10px 0;
    font-size: 42px;
    font-weight: 900;
    line-height: 1;
    color: var(--color-navy);
    letter-spacing: -1px;
}

.cta-num i {
    margin-right: 7px;
}

.cta-btns {
    display: flex;
    gap: 15px;
}

.btn-talk {
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 14px 15px;
    border-radius: 12px;
    font-weight: 700;
    transition: 0.3s;
}

.btn-talk.kakao {
    background: #FEE500;
    color: #3c1e1e;
}

.btn-talk.kakao i {
    font-size: 24px;
}

.btn-talk.naver {
    background: #03C75A;
    color: #fff;
}

.btn-talk.naver i {
    font-size: 24px;
}

footer {
    padding: 80px 0 100px;
    background:#0d122c;
    font-size: 15px;
    color: #94a3b8;
}

.foot-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 30px;
    margin-bottom: 30px;
}

.f-logo {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
}

.f-sns a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transition: 0.3s;
    margin-left: 10px;
}

.f-info {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    line-height: 1.8;
}

@media (max-width: 1024px) {
    .cta-box {
        gap: 30px;
        flex-direction: column;
        padding: 40px 20px;
        text-align: center;
    }

    .ctt-num {
        font-size: 22px;
    }

    .cta-num {
        font-size: 26px;
    }

    .cta-btns {
        flex-direction: column;
        width: 100%;
    }

    .btn-talk {
        justify-content: center;
        width: 100%;
    }

    .area-list {
        flex-direction: column;
        width: 80%;
        text-align: center;
    }

}




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

.q-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 56px;
    height: 56px;
    border: 1px solid #eee;
    border-radius: 50%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    background: #fff;
    font-size: 24px;
    color: var(--color-navy);
    transition: 0.3s;
}

.q-btn:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    background: var(--color-primary);
    color: #fff;
    transform: scale(1.1);
    border-color: transparent;
}


.q-btn.mail {
    background: #46bfdb;
    color: #fff;
    border: none;
}


/* Kakao & Naver Signature Colors */
.q-btn.kakao {
    border: none;
    background: #FEE500;
    color: #3c1e1e;
}

.q-btn.kakao:hover {
    background: #FEE500;
    animation: wobble 0.5s;
    transform: scale(1.1);
}

.q-btn.naver {
    border: none;
    background: #03C75A;
    color: #fff;
}

.q-btn.naver:hover {
    background: #03C75A;
    animation: wobble 0.5s;
    transform: scale(1.1);
}

.q-tooltip {
    position: absolute;
    top: 50%;
    right: 70px;
    padding: 6px 12px;
    border-radius: 6px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    background: #1e293b;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    transition: 0.3s;
    pointer-events: none;
    transform: translateY(-50%);
    opacity: 0;
}

.q-btn:hover .q-tooltip {
    right: 65px;
    opacity: 1;
}

@keyframes wobble {
    0% {
        transform: scale(1.1) rotate(0);
    }

    25% {
        transform: scale(1.1) rotate(-10deg);
    }

    50% {
        transform: scale(1.1) rotate(10deg);
    }

    75% {
        transform: scale(1.1) rotate(-5deg);
    }

    100% {
        transform: scale(1.1) rotate(0);
    }
}

/* Mobile Quick Menu (Bottom Bar) */
.quick-mo {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 100;
    width: 100%;
    height: 60px;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.05);
    background: #fff;
    transition: transform 0.3s;
    border-top: 0px solid #eee;
    transform: translateY(100%);

}

.quick-mo.active {
    transform: translateY(0);
}

.quick-mo ul {
    display: flex;
    height: 100%;
}

.quick-mo li {
    flex: 1;
}

.quick-mo a {
    display: flex;
    gap: 4px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: 100%;
    font-size: 12px;
    color: #333;
}

.quick-mo i {
    font-size: 20px;
}

.quick-mo .call-btn {
    background: var(--color-primary);
    color: #fff;
}

.quick-mo .kakao-btn {
    background: #FEE500;
    color: #3c1e1e;
}

.quick-mo .naver-btn {
    background: #03C75A;
    color: #fff;
}

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

    .quick-mo {
        display: block;
    }
}