/* =========================================================
   QUICK MENU FINAL
   - 데스크탑: 우측 세로 고정 퀵메뉴 + TOP 버튼
   - 모바일/태블릿: 하단 고정 퀵메뉴 + TOP 버튼
   ========================================================= */

:root {
    --blue: #00589f;
    --mint: #00aeb5;
}

.quick-floating {
    position: fixed;
    top: 50%;
    right: 28px;
    transform: translateY(-50%);
    z-index: 1200;
    width: 112px;
    background: rgba(255,255,255,0.96);
    border: 1px solid #D9E0E8;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.16);
    backdrop-filter: blur(10px);
}

.quick-floating .quick-item {
    min-height: 92px;
    padding: 14px 8px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    text-decoration: none;
    background: #fff;
    border-bottom: 1px solid #E5EAF0;
    color: #20242A;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.quick-floating .quick-item:hover,
.quick-floating .quick-item:focus {
    background: #F2F8FF;
    color: var(--blue);
    outline: none;
}

.quick-floating .quick-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #2F343A;
    color: #fff;
    font-size: 25px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.quick-floating .quick-icon::before,
.quick-mobile-nav .nav-ico::before {
    display: block;
    color: currentColor;
    font-weight: 900;
    line-height: 1;
}

.quick-floating .icon-time::before,
.quick-mobile-nav .ico-time::before {
    content: "T";
}

.quick-floating .icon-notice::before {
    content: "!";
}

.quick-floating .icon-location::before,
.quick-mobile-nav .ico-location::before {
    content: "P";
}

.quick-floating .icon-call::before,
.quick-mobile-nav .ico-call::before {
    content: "☎";
    font-size: 21px;
}

.quick-floating .brand-icon {
    background: #fff;
    border: 1px solid #E5EAF0;
}

.quick-floating .brand-icon::before,
.quick-mobile-nav .brand-nav-ico::before {
    content: "";
}

.quick-floating .brand-icon img {
    display: block;
    width: 29px;
    height: 29px;
    object-fit: contain;
}

.quick-floating .quick-blog,
.quick-floating .quick-talk {
    width: auto;
    min-width: 48px;
    height: 34px;
    padding: 0 8px;
    border-radius: 10px;
    font-size: 14px;
    letter-spacing: -0.03em;
}

.quick-floating .quick-talk {
    border-radius: 18px;
    font-size: 12px;
}

.quick-floating b {
    display: block;
    font-size: 16px;
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: -0.05em;
}

.quick-floating .quick-call {
    min-height: 102px;
    gap: 5px;
    background: linear-gradient(135deg, var(--blue), #2F7FD0);
    color: #fff;
    border-bottom: 0;
}

.quick-floating .quick-call:hover,
.quick-floating .quick-call:focus {
    background: linear-gradient(135deg, #004985, #1D70C0);
    color: #fff;
}

.quick-floating .quick-call span {
    font-size: 14px;
    font-weight: 800;
    opacity: 0.92;
}

.quick-floating .quick-call strong {
    display: block;
    font-size: 22px;
    line-height: 1.05;
    font-weight: 950;
    letter-spacing: -0.05em;
}

.quick-mobile-nav {
    display: none;
}

.quick-top-btn {
    position: fixed;
    right: 42px;
    bottom: 34px;
    z-index: 1201;
    width: 62px;
    height: 62px;
    border: 0;
    border-radius: 50%;
    background: var(--mint);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
    cursor: pointer;
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', sans-serif;
    transition: transform 0.2s ease, background 0.2s ease;
}

.quick-top-btn:hover,
.quick-top-btn:focus {
    transform: translateY(-4px);
    background: var(--blue);
    outline: none;
}

.quick-top-btn span {
    height: 20px;
    font-size: 27px;
    line-height: 1;
    font-weight: 900;
}

.quick-top-btn b {
    font-size: 12px;
    line-height: 1;
    font-weight: 950;
    letter-spacing: -0.03em;
}

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

    .quick-mobile-nav {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1200;
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        background: rgba(255,255,255,.98);
        border-top: 1px solid #D9E0E8;
        box-shadow: 0 -12px 30px rgba(15, 23, 42, 0.12);
    }

    .quick-mobile-nav a {
        min-height: 62px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        color: #20242A;
        text-align: center;
        text-decoration: none;
        border-right: 1px solid #E5EAF0;
    }

    .quick-mobile-nav a:last-child {
        border-right: 0;
    }

    .quick-mobile-nav .nav-ico {
        width: 25px;
        height: 25px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: var(--blue);
        font-size: 17px;
        line-height: 1;
        font-weight: 900;
    }

    .quick-mobile-nav .brand-nav-ico img {
        display: block;
        width: 24px;
        height: 24px;
        object-fit: contain;
    }

    .quick-mobile-nav b {
        font-size: 11px;
        line-height: 1;
        font-weight: 900;
        letter-spacing: -0.04em;
    }

    .quick-mobile-nav .mobile-call {
        color: #fff;
        background: var(--blue);
    }

    .quick-mobile-nav .mobile-call .nav-ico {
        color: #fff;
    }

    .quick-top-btn {
        right: 14px;
        bottom: 76px;
        width: 48px;
        height: 48px;
    }

    .quick-top-btn span {
        height: 16px;
        font-size: 22px;
    }

    .quick-top-btn b {
        font-size: 10px;
    }
}

* {
    max-height: 9999999999px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: rgba(0,0,0,1);
}
