.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    border-bottom: 1px solid rgba(223, 229, 237, 0.86);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(100% - 48px, var(--container-wide));
    min-height: 82px;
    margin-inline: auto;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    min-width: 190px;
}

.site-logo img {
    width: 176px;
    height: auto;
}

.site-nav__list {
    display: flex;
    align-items: center;
    gap: 2px;
}

.site-nav__item {
    position: relative;
}

.site-nav__link {
    display: flex;
    align-items: center;
    min-height: 82px;
    padding: 0 18px;
    color: #07111f;
    font-size: 18px;
    font-weight: 700;
}

.site-nav__link:hover,
.site-nav__item:focus-within .site-nav__link {
    color: #1593a3;
}

.site-nav__sub {
    position: absolute;
    top: calc(100% - 6px);
    left: 50%;
    min-width: 210px;
    padding: 14px;
    border: 1px solid rgba(37, 185, 203, 0.18);
    border-radius: var(--radius-card);
    background: #ffffff;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 8px);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.site-nav__item:hover .site-nav__sub,
.site-nav__item:focus-within .site-nav__sub {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.site-nav__sub a {
    display: block;
    padding: 11px 14px;
    border-radius: 6px;
    color: #596579;
    font-size: 14px;
    font-weight: 720;
}

.site-nav__sub a:hover {
    background: rgba(37, 185, 203, 0.1);
    color: #1593a3;
}

.site-header__call {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    background: #1b3067;
    color: #ffffff;
    font-weight: 800;
}

.site-menu-button {
    display: none;
    position: relative;
    z-index: 80;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    background: transparent;
}

.site-menu-button span {
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px auto;
    border-radius: 999px;
    background: #07111f;
    transition: transform 0.22s ease, opacity 0.22s ease;
}

.site-menu-button[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.site-menu-button[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.site-menu-button[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav__backdrop {
    position: fixed;
    inset: 0;
    z-index: 55;
    background: rgba(7, 17, 31, 0.42);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.24s ease;
}

.mobile-nav__backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 70;
    display: flex;
    flex-direction: column;
    width: min(390px, 100%);
    height: 100dvh;
    max-height: none;
    margin: 0;
    padding: 22px 24px 28px;
    overflow-y: auto;
    border-left: 1px solid rgba(15, 23, 42, 0.08);
    background: #ffffff;
    gap: 0;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transform: translateX(100%);
    transition: opacity 0.28s ease, transform 0.28s ease, visibility 0s linear 0.28s;
}

.mobile-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transform: translateX(0);
    transition: opacity 0.28s ease, transform 0.28s ease, visibility 0s;
}

.mobile-nav__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    margin-bottom: 30px;
}

.mobile-nav__brand {
    display: inline-flex;
    align-items: center;
}

.mobile-nav__brand img {
    width: 146px;
    height: auto;
}

.mobile-nav__close {
    position: relative;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    background: transparent;
}

.mobile-nav__close span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 2px;
    border-radius: 999px;
    background: #07111f;
}

.mobile-nav__close span:first-child {
    transform: translate(-50%, -50%) rotate(45deg);
}

.mobile-nav__close span:last-child {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.mobile-nav__intro {
    display: grid;
    gap: 6px;
    padding-bottom: 22px;
    border-bottom: 1px solid #eef2f7;
}

.mobile-nav__intro strong {
    color: var(--color-text);
    font-size: 24px;
    font-weight: 860;
    line-height: 1.2;
}

.mobile-nav__intro span {
    color: var(--color-subtext);
    font-size: 14px;
    line-height: 1.6;
}

.mobile-nav__group {
    border-bottom: 1px solid #eef2f7;
}

.mobile-nav__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 60px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #07111f;
    font-size: 17px;
    font-weight: 820;
    text-align: left;
}

.mobile-nav__toggle i {
    width: 9px;
    height: 9px;
    border-right: 2px solid #94a3b8;
    border-bottom: 2px solid #94a3b8;
    transform: rotate(45deg);
    transition: transform 0.22s ease, border-color 0.22s ease;
}

.mobile-nav__group.is-open .mobile-nav__toggle {
    color: var(--color-primary);
}

.mobile-nav__group.is-open .mobile-nav__toggle i {
    border-color: var(--color-primary);
    transform: rotate(-135deg);
}

.mobile-nav__links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.26s ease, opacity 0.18s ease, padding-bottom 0.26s ease;
}

.mobile-nav__group.is-open .mobile-nav__links {
    max-height: 360px;
    padding-bottom: 14px;
    opacity: 1;
}

.mobile-nav__links a {
    display: block;
    padding: 10px 12px;
    border-radius: 6px;
    color: #1b3067;
    font-size: 14px;
    font-weight: 720;
}

.mobile-nav__links a:hover {
    background: #f4f8fb;
    color: var(--color-primary);
}

.mobile-nav__contact {
    display: grid;
    gap: 7px;
    margin-top: auto;
    padding: 18px 0 16px;
    border-bottom: 1px solid #eef2f7;
}

.mobile-nav__contact span,
.mobile-nav__contact small {
    color: var(--color-subtext);
    font-size: 13px;
    line-height: 1.5;
}

.mobile-nav__contact a {
    color: #07111f;
    font-size: 26px;
    font-weight: 900;
    line-height: 1.1;
}

.mobile-nav__sns {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 16px;
}

.mobile-nav__sns a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    padding: 0 14px;
    border: 1px solid transparent;
    border-radius: 999px;
    color: #334155;
    font-size: 13px;
    font-weight: 760;
    transition: filter 0.2s ease, transform 0.2s ease;
}

.mobile-nav__sns a i {
    font-size: 17px;
    line-height: 1;
}

.mobile-nav__sns .mobile-nav__sns-link--kakao {
    background: #fee500;
    color: #191919;
}

.mobile-nav__sns .mobile-nav__sns-link--blog {
    background: #03c75a;
    color: #ffffff;
}

.mobile-nav__sns a.is-disabled {
    cursor: default;
    opacity: 0.48;
    pointer-events: none;
}

.mobile-nav__sns a:hover {
    filter: brightness(0.96);
    transform: translateY(-1px);
}

body.mobile-nav-open {
    overflow: hidden;
}

.button:focus-visible,
.site-nav__link:focus-visible,
.quick-menu a:focus-visible,
.quick-menu button:focus-visible {
    outline: 3px solid rgba(37, 185, 203, 0.32);
    outline-offset: 3px;
}

body:not(.page-home) main {
    padding-top: 82px;
}

/* =================================================================
   신규 푸터 스타일 (Site Footer)
   ================================================================= */
.site-footer {
    background: #0f1115; /* 심해의 신뢰감을 주는 고급스러운 초어두운 네이비/블랙 계열 */
    color: #94a3b8; /* 어두운 배경에서도 가독성이 우수한 은회색 계열 */
    font-family: 'Pretendard', sans-serif;
}

/* 푸터 내부 컨테이너 공통 */
.site-footer__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: min(100% - 48px, var(--container));
    margin-inline: auto;
}

/* 1. 푸터 상단 영역 */
.site-footer__top {
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer__menu {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-footer__menu a {
    color: #b5c2d5;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-footer__menu a:hover {
    color: #ffffff;
}

/* 개인정보처리방침 강조 */
.site-footer__menu a.policy-highlight {
    color: #ffffff;
    font-weight: 700;
}

.site-footer__menu .divider {
    color: rgba(255, 255, 255, 0.15);
    font-size: 12px;
    user-select: none;
}

/* SNS 링크 스타일 */
.site-footer__sns {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sns-link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: #ffffff;
    font-size: 18px;
    text-decoration: none;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.2s ease;
}

.sns-link:hover {
    transform: scale(1.1);
    filter: brightness(1.15);
}

.sns-link--blog {
    background-color: #03c75a; /* 네이버 블로그 그린 */
}

.sns-link--youtube {
    background-color: #e52d27; /* 유튜브 레드 */
}

.sns-link--instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); /* 인스타그램 그라데이션 */
}

/* 2. 푸터 하단 영역 */
.site-footer__bottom {
    padding: 48px 0;
}

.site-footer__bottom .site-footer__container {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 40px;
}

.site-footer__left {
    flex: 0 0 auto;
}

.site-footer__logo img {
    width: 156px;
    height: auto;
    filter: brightness(0) invert(1); /* 어두운 푸터 배경에 맞춰 로고를 깔끔한 단색 흰색으로 표시 */
    opacity: 0.9;
}

.site-footer__center {
    flex: 1 1 0%;
    min-width: 290px;
}

.site-footer__info {
    display: grid;
    gap: 10px;
}

.info-company {
    display: block;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.info-details {
    color: #94a3b8;
    font-size: 13.5px;
    font-style: normal;
    line-height: 1.7;
    letter-spacing: -0.01em;
}

.info-item {
    display: inline-block;
}

.info-divider {
    color: rgba(255, 255, 255, 0.15);
    margin-inline: 10px;
    user-select: none;
}

.info-row-br {
    display: block;
    margin-top: 4px;
}

.site-footer__right {
    flex: 0 0 auto;
    align-self: flex-end;
}

.site-footer__copyright {
    color: #64748b;
    font-size: 13px;
    letter-spacing: -0.01em;
}

/* 3. 모바일 반응형 처리 */
@media (max-width: 1024px) {
    .site-footer__bottom .site-footer__container {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .site-footer__right {
        align-self: flex-start;
        width: 100%;
        margin-top: 10px;
        padding-top: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
    }
}

@media (max-width: 768px) {
    .site-footer__container {
        width: min(100% - 32px, var(--container)) !important;
    }

    .site-footer__top .site-footer__container {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .site-footer__menu {
        flex-wrap: wrap;
        gap: 6px 10px;
    }

    .site-footer__menu a {
        font-size: 13px;
    }

    .site-footer__menu .divider {
        font-size: 10px;
    }

    .site-footer__bottom {
        padding: 36px 0;
    }

    .site-footer__logo img {
        width: 130px;
    }

    .info-details {
        font-size: 12.5px;
        line-height: 1.8;
    }

    /* 모바일에서는 세로선 구분 기호를 줄바꿈으로 처리하여 모바일 레이아웃 최적화 */
    .info-divider {
        display: none;
    }

    .info-item {
        display: block;
        margin-bottom: 2px;
    }

    .info-row-br {
        display: none;
    }
}








.home-footer {
    padding: 58px 0 34px;
    background: #07111f;
    color: rgba(255, 255, 255, 0.76);
}

.home-footer__grid {
    display: grid;
    grid-template-columns: 1.1fr 0.7fr 1fr;
    gap: 36px;
    padding-bottom: 34px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.home-footer__logo {
    width: 170px;
    margin-bottom: 18px;
    padding: 8px 10px;
    border-radius: var(--radius-card);
    background: #ffffff;
}

.home-footer h3 {
    margin-bottom: 16px;
    color: #ffffff;
    font-size: 16px;
}

.home-footer ul {
    display: grid;
    gap: 8px;
}

.home-footer a:hover {
    color: #d7fbff;
}

.home-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    padding-top: 24px;
    font-size: 14px;
}

.quick-menu {
    position: fixed;
    bottom: 102px; /* [개선] TOP 버튼의 바로 위에 오도록 bottom 하단 배치 */
    right: 0;
    top: auto; /* [개선] 기존 top: 50% 리셋 */
    z-index: 45;
    display: grid;
    gap: 0;
    padding: 8px 6px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-right: 0;
    border-radius: 14px 0 0 14px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
    transform: none; /* [개선] 기존 translateY(-50%) 리셋 */
}

.quick-menu a,
.quick-menu button,
.quick-menu > span.quick-menu__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 62px;
    min-height: 58px;
    border: 0;
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 0;
    background: transparent;
    color: #1b3067;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0;
    transition: color 0.2s ease;
}

.quick-menu .quick-menu__item:last-child {
    border-bottom: 0;
}

.quick-menu a:hover,
.quick-menu button:hover {
    background: transparent;
    color: var(--color-primary);
    transform: none;
}

.quick-menu i {
    display: block;
    font-size: 22px;
    line-height: 1;
}

.quick-menu span {
    display: block;
    max-width: 100%;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.quick-menu .quick-menu__item--kakao i {
    color: #191919;
}

.quick-menu .quick-menu__item--blog i {
    color: #03c75a;
}

.quick-menu .quick-menu__item--phone i,
.quick-menu .quick-menu__item--estimate i {
    color: var(--color-primary);
}

.quick-menu .quick-menu__item--estimate i {
    width: 24px;
    height: 24px;
    background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3.5' y='5.5' width='17' height='13' rx='2.4' fill='none' stroke='%2325b9cb' stroke-width='2'/%3E%3Cpath d='M5 7l7 6 7-6' fill='none' stroke='%2325b9cb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M5.5 17l5-4.5M18.5 17l-5-4.5' fill='none' stroke='%2325b9cb' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E");
    color: transparent;
    font-size: 0;
}

.quick-menu .quick-menu__item--kakao:hover {
    background: transparent;
    color: #191919;
}

.quick-menu .quick-menu__item--blog:hover {
    background: transparent;
    color: #026d34;
}

.quick-menu .quick-menu__item--disabled {
    cursor: default;
    opacity: 0.48;
    pointer-events: none;
}

/* 완전 분리 독립 배치된 최상단 TOP 버튼 (데스크탑 및 모바일 공용) */
.quick-top-button {
    position: fixed;
    bottom: 40px; /* bottom 기준으로 하단에 깔끔하게 배치 */
    right: 12px;
    z-index: 45;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    width: 50px;
    height: 50px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    color: #1b3067;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.quick-top-button:hover {
    background: var(--color-primary);
    color: #ffffff;
    border-color: var(--color-primary);
    transform: translateY(-3px); /* 호버 시 스무스하게 위로 리프트 */
    box-shadow: 0 6px 16px rgba(37, 185, 203, 0.3);
}

.quick-top-button i {
    font-size: 16px;
    line-height: 1;
}

.quick-top-button span {
    font-size: 9px;
    font-weight: 800;
    line-height: 1;
}

.mobile-bottom-bar {
    display: none;
}

@media (max-width: 1180px) {
    .site-nav,
    .site-header__call {
        display: none;
    }

    .site-menu-button {
        display: block;
    }

    .home-footer__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    body.has-cd-quick {
        padding-bottom: 72px;
    }

    body:not(.page-home) main {
        padding-top: 68px;
    }

    .site-header__inner,
    .site-footer__inner {
        width: min(100% - 32px, var(--container));
        min-height: 68px;
    }

    .site-logo {
        min-width: 146px;
    }

    .site-logo img {
        width: 142px;
    }

    .mobile-nav {
        padding-top: 22px;
    }

    .site-footer__inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .home-footer__bottom {
        display: grid;
    }

    body {
        padding-bottom: calc(56px + env(safe-area-inset-bottom)) !important;
    }

    .quick-menu {
        right: 0;
        bottom: calc(126px + env(safe-area-inset-bottom));
        left: auto;
        top: auto;
        display: grid;
        gap: 0;
        padding: 4px 3px 4px 4px;
        border: 1px solid rgba(226, 232, 240, 0.95);
        border-right: 0;
        border-radius: 12px 0 0 12px;
        background: rgba(255, 255, 255, 0.95);
        box-shadow: 0 4px 14px rgba(15, 23, 42, 0.1);
        backdrop-filter: blur(12px);
        transform: none;
    }

    .quick-menu .quick-menu__item--phone {
        display: none;
    }

    .quick-menu a,
    .quick-menu button {
        width: 36px;
        min-height: 40px;
        height: auto;
        gap: 0;
        border: 0;
        border-bottom: 1px solid rgba(226, 232, 240, 0.82);
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        font-size: 10px;
    }

    .quick-menu i {
        font-size: 19px;
    }

    .quick-menu span {
        display: none;
    }

    .quick-menu .quick-menu__item--estimate i {
        width: 21px;
        height: 21px;
    }

    /* 모바일 탑버튼 스타일 */
    .quick-top-button {
        right: 2px;
        bottom: calc(76px + env(safe-area-inset-bottom)); /* 하단바 56px 회피하며 bottom 기준 배치 */
        top: auto; /* 데스크탑의 top 기준 리셋 */
        transform: none; /* 데스크탑의 translateY 리셋 */
        width: 34px;
        height: 34px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
    }

    .quick-top-button:hover {
        transform: translateY(-3px); /* 모바일 호버 대응 */
    }

    .quick-top-button i {
        font-size: 15px;
    }

    .quick-top-button span {
        font-size: 8px;
        display:none;
    }

    /* 모바일 하단 고정 대표전화/문자상담 바 */
    .mobile-bottom-bar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 50;
        display: flex;
        background: #ffffff;
        padding-bottom: env(safe-area-inset-bottom);
        box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.05);
    }

    .mobile-bottom-bar__item {
        flex: 1;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        height: 56px;
        font-size: 15px;
        font-weight: 800;
        text-decoration: none;
        transition: background 0.2s ease;
    }

    .mobile-bottom-bar__item--phone {
        background: #1b3067;
        color: #ffffff;
    }

    .mobile-bottom-bar__item--phone:active {
        background: #12214a;
    }

    .mobile-bottom-bar__item--sms {
        background: #25b9cb;
        color: #ffffff;
    }

    .mobile-bottom-bar__item--sms:active {
        background: #1da3b3;
    }

    .mobile-bottom-bar__item i {
        font-size: 18px;
    }
}






