﻿:root{
    --site_width:1440px;
    --color_primary:#1E6FA8;
    /* --color_primary:#82C3D5; */
    /* --color_secondary:#000080; */
    --color_secondary:#000080;
    --header_height:100px;
    --scroll_h:64px;
    --bg:#ffffff;
    --bg_soft:#CDC6BE;
    --line:#e8efe8;
    --txt:#0f172a;
    --muted:#64748b;
    --radius:16px;
    --shadow:0 8px 22px rgba(2,6,23,.06);
    --shadow2:0 10px 28px rgba(2,6,23,.08);
}
*,*::before,*::after{box-sizing:border-box;}html,body{height:100%;margin:0;padding:0;overflow-x:hidden;}
body{background:#000;font-family:"Pretendard Variable",Pretendard,-apple-system,BlinkMacSystemFont,system-ui,Roboto,"Helvetica Neue","Segoe UI","Apple SD Gothic Neo","Noto Sans KR","Malgun Gothic","Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol",sans-serif;color:#111;line-height:1.5;word-break:keep-all;}a{color:inherit;text-decoration:none;}a:hover,a:focus,a:active{text-decoration:none;}a:focus-visible,button:focus-visible,input:focus-visible,
textarea:focus-visible,select:focus-visible{outline:2px solid var(--color_primary);outline-offset:2px;}ul,ol{margin:0;padding:0;list-style:none;}img{vertical-align:middle;border:0;max-width:100%;height:auto;}
button{background:none;border:0;cursor:pointer;font:inherit;color:inherit;}
table{border-collapse:collapse;border-spacing:0;}
input,textarea,select{font-family:inherit;}::placeholder{color:#abb4bd;opacity:1;}::-webkit-input-placeholder{color:#abb4bd;}:-ms-input-placeholder{color:#abb4bd;}i{font-style:normal;}

/* ════════════════════════════════════
   HOMEPAGE (index.php)
════════════════════════════════════ */

/* ── 히어로 배경 ── */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: hidden;
    background: #000;
}
.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
    z-index: 0;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    /* background: linear-gradient(to bottom, rgba(0,0,0,.5) 0%, rgba(0,0,0,.25) 40%, rgba(0,0,0,.55) 100%); */
    z-index: 1;
}
/* ── GNB ── */
.gnb-wrap {
    position: absolute;
    top: 0; left: 0; right: 0;
    z-index: 200;
    display: flex;
    justify-content: center;
    border-bottom: 1px solid rgba(255,255,255,.15);
    background: transparent;
}
.gnb {
    width: 100%;
    max-width: 1440px;
    height: 72px;
    display: flex;
    align-items: center;
    padding: 0 60px;
}
.gnb-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    text-decoration: none;
}
.gnb-logo img {
    height: 20px;
    display: block;
    filter: brightness(0) invert(1);
}
.gnb-nav {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.gnb-nav a {
    color: rgba(255,255,255,.88);
    text-decoration: none;
    font-size: 17px;
    font-weight: 500;
    padding: 8px 15px 10px;
    white-space: nowrap;
    transition: color .22s;
}
.gnb-link-label {
    position: relative;
    display: inline-block;
}
.gnb-link-label::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background: #FEE500;
    transform: scaleX(0);
    transform-origin: center center;
    transition: transform .22s cubic-bezier(.4,0,.2,1);
}
.gnb-nav a:hover { color: #FEE500; background: none; }
.gnb-nav a:hover .gnb-link-label::after,
.gnb-nav a:focus-visible .gnb-link-label::after { transform: scaleX(1); }
.gnb-actions {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.gnb-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: .85rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: opacity .18s, background .18s;
    white-space: nowrap;
}
.gnb-btn-outline {
    border: 1.5px solid rgba(255,255,255,.7);
    color: #fff;
    background: transparent;
}
.gnb-btn-outline:hover { background: rgba(255,255,255,.15); }
.gnb-btn-kakao { background: #FEE500; color: #3A1D1D; border: none; }
.gnb-btn-kakao:hover { opacity: .88; }
.gnb-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    margin-left: auto;
    padding: 6px;
}
.gnb-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
}

/* 모바일 드로어 */
.gnb-drawer {
    position: fixed;
    top: 0; right: -300px;
    width: 280px;
    height: 100%;
    background: #1a2744;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    transition: right .28s cubic-bezier(.4,0,.2,1);
}
.gnb-drawer.open { right: 0; }
.gnb-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.gnb-drawer-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 4px 8px;
}
.gnb-drawer-nav {
    display: flex;
    flex-direction: column;
    padding: 12px 0;
    flex: 1;
    overflow-y: auto;
}
.gnb-drawer-nav a {
    color: rgba(255,255,255,.85);
    text-decoration: none;
    font-size: .95rem;
    font-weight: 600;
    padding: 14px 24px;
    border-bottom: 1px solid rgba(255,255,255,.06);
    transition: background .15s;
}
.gnb-drawer-nav a:hover { background: rgba(255,255,255,.08); color: #fff; }
.gnb-drawer-foot {
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 1px solid rgba(255,255,255,.1);
}
.gnb-drawer-bg {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 9998;
}
.gnb-drawer-bg.open { display: block; }

/* ── 히어로 본문 ── */
.hero-body {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    height: 100%;
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    gap: 40px;
}

/* 왼쪽 텍스트 */
.hero-text {
    flex: 1;
    color: #fff;
    text-align: left;
}
.hero-text .badge {
    display: inline-block;
    background: rgba(255,255,255,.18);
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 999px;
    padding: 5px 14px;
    font-size: .8rem;
    font-weight: 700;
    color: rgba(255,255,255,.9);
    letter-spacing: .04em;
    margin-bottom: 20px;
    backdrop-filter: blur(4px);
}
.hero-text h1 {
    font-size: clamp(2rem, 4.5vw, 3.8rem);
    font-weight: 900;
    line-height: 1.18;
    letter-spacing: -.03em;
    text-shadow: 0 2px 24px rgba(0,0,0,.4);
    margin-bottom: 20px;
}
.hero-text p {
    font-size: clamp(.9rem, 1.8vw, 1.1rem);
    color: rgba(255,255,255,.78);
    font-weight: 500;
    line-height: 1.65;
    text-shadow: 0 1px 10px rgba(0,0,0,.3);
    max-width: 480px;
    margin-bottom: 36px;
}
.hero-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.hero-cta a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: .95rem;
    font-weight: 800;
    text-decoration: none;
    transition: transform .15s, opacity .15s;
}
.hero-cta a:hover { transform: translateY(-2px); opacity: .92; }
.hero-cta-primary { background: #1e3a8a; color: #fff; }
.hero-cta-ghost { background: rgba(255,255,255,.15); color: #fff; border: 1.5px solid rgba(255,255,255,.5); backdrop-filter: blur(4px); }

/* ── 오른쪽 견적 위젯 ── */
.hero-widget {
    flex-shrink: 0;
    width: 300px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0,0,0,.5);
    backdrop-filter: blur(2px);
}
.widget-head {
    background: #1e3a8a;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
}
.widget-head i { font-size: 1.05rem; opacity: .9; }
.widget-head span {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -.01em;
}
.widget-form {
    background: #fff;
    padding: 22px 20px 20px;
}
.wf-group { margin-bottom: 14px; }
.wf-label {
    font-size: .78rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 6px;
    letter-spacing: -.01em;
}
.wf-label .req { color: #dc2626; margin-left: 2px; }
.wf-group input {
    width: 100%;
    height: 42px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 0 14px;
    font-size: .88rem;
    color: #0f172a;
    outline: none;
    background: #f8fafc;
    transition: border-color .15s, background .15s;
}
.wf-group input:focus { border-color: #1e3a8a; background: #fff; }
.wf-group input::placeholder { color: #b0bec5; }
.wf-radio-group { margin-bottom: 14px; }
.wf-radio-group .wf-label { margin-bottom: 8px; }
.wf-radios {
    display: flex;
    gap: 0;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
}
.wf-radios label {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: .83rem;
    font-weight: 700;
    color: #64748b;
    cursor: pointer;
    padding: 9px 0;
    background: #f8fafc;
    border-right: 1.5px solid #e2e8f0;
    transition: background .15s, color .15s;
    user-select: none;
}
.wf-radios label:last-child { border-right: none; }
.wf-radios input[type=radio] { display: none; }
.wf-radios label:has(input:checked) { background: #1e3a8a; color: #fff; }
.wf-agree {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    font-size: .76rem;
    color: #94a3b8;
    margin-bottom: 14px;
    line-height: 1.5;
}
.wf-agree input[type=checkbox] {
    accent-color: #1e3a8a;
    flex-shrink: 0;
    margin-top: 2px;
    width: 14px;
    height: 14px;
}
.wf-agree a { color: #1e3a8a; text-decoration: underline; }
.wf-submit {
    width: 100%;
    height: 46px;
    background: #1e3a8a;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: .95rem;
    font-weight: 800;
    cursor: pointer;
    letter-spacing: -.01em;
    transition: background .15s, transform .1s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.wf-submit:hover { background: #1e40af; }
.wf-submit:active { transform: scale(.98); }

/* ── 홈 반응형 ── */
@media (max-width: 1100px) {
    .hero-widget { width: 260px; }
}
@media (max-width: 900px) {
    .gnb { padding: 0 20px; height: 60px; }
    .gnb-nav { display: none; }
    .gnb-actions { display: none; }
    .gnb-hamburger { display: flex; }
    .hero { height: 100svh; min-height: 100svh; }
    .hero-body {
        height: 100%;
        min-height: 100%;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 0 20px;
        gap: 24px;
    }
    .hero-text {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .hero-text h1 {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
        white-space: nowrap;
    }
    .hero-text p {
        max-width: 100%;
        white-space: nowrap;
    }
    .hero-text h1 br,
    .hero-text p br { display: none; }
    .hero-cta { justify-content: center; }
    .hero-widget { width: 100%; max-width: 300px; }
}
@media (max-width: 480px) {
    .hero-widget { max-width: 100%; }
    .hero-text .badge { font-size: .74rem; }
    .hero-text h1 { font-size: clamp(1.45rem, 7vw, 1.8rem); }
    .hero-text p { font-size: .88rem; }
    .hero-cta a { padding: 12px 20px; font-size: .88rem; }
}

