:root {
    --primary-color: #4054b2;
    --secondary-color: #5c6bc0;
    --light-bg: #fcfdff;
    --white-color: #fff;
    --dark-text: #444;
    --light-text: #777;
    --border-color: #e5e5e5;
    --header-sticky-zindex: 1000;
    --modal-zindex: 2000;
    --floating-cta-zindex: 999;
    --mobile-service-zindex: 998;
    --floating-cta-size: 55px;
    /* 768px 이하 기본 크기 */
    --floating-cta-right: 25px;
    --mobile-button-size: 55px;
    /* 768px 이하 기본 크기 */
    --mobile-button-gap: 10px;
    --box-shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.07);
    --box-shadow-md: 0 4px 10px rgba(0, 0, 0, 0.15);
    --box-shadow-lg: 0 5px 15px rgba(0, 0, 0, 0.15);
    --transition-default: all 0.3s ease;
    --transition-fast: all 0.2s ease;
    --transition-color: color 0.3s ease;
    --transition-transform: transform 0.3s ease;
    --error-color: #f44336;
    --special-color: #ff7043;
    --accent-color: #80deea;
    --success-color: #66bb6a;
    --highlight-color: #fff0c4;
    --gray-bg: #f9f9f9;
    --light-gray: #f2f2f2;
    --medium-gray: #bbbbbb;
}


/* 공통 리셋 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    background: var(--light-bg);
    color: var(--dark-text);
    position: relative;
}


/* 유틸리티 클래스 */

.text-center {
    text-align: center;
}

.warning-text {
    color: var(--error-color);
    font-size: 0.85em;
    margin-top: 5px;
}


/* 컨테이너 */

.container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 20px;
}


/* 상단 서비스 메뉴 */

.top-menu {
    background: var(--white-color);
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    transition: transform 0.3s ease;
    width: 100%;
    overflow: hidden;
}

.top-menu .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-menu {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
}

.service-menu a {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 500;
    padding: 5px 15px;
    transition: var(--transition-color);
    white-space: nowrap;
}

.service-menu a:hover {
    color: var(--primary-color);
}

.service-menu a+a {
    border-left: 1px solid var(--light-gray);
}

.special-offer {
    background: var(--highlight-color);
    color: var(--special-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.9em;
    margin-left: 15px;
    white-space: nowrap;
    display: inline-block;
}


/* 서비스 토글 버튼 스타일 */

.service-toggle {
    display: flex;
    gap: 0;
    margin-right: 15px;
}

.toggle-btn {
    background: var(--white-color);
    border: 2px solid var(--border-color);
    padding: 8px 20px;
    font-weight: 500;
    font-size: 0.9em;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--dark-text);
    white-space: nowrap;
    position: relative;
}

.toggle-btn:first-child {
    border-radius: 20px 0 0 20px;
    border-right: none;
}

.toggle-btn:last-child {
    border-radius: 0 20px 20px 0;
}

.toggle-btn.active {
    background: var(--primary-color);
    color: var(--white-color);
    border-color: var(--primary-color);
    z-index: 1;
}

.toggle-btn:not(.active):hover {
    background: var(--light-bg);
}

.toggle-btn i {
    margin-right: 5px;
}

.contact-phone {
    display: flex;
    align-items: center;
}

.contact-phone img {
    height: 50px;
}


/* Quick 메뉴 */

.quick-menu {
    background: #536dfe;
    padding: 8px 0;
    color: var(--white-color);
    transition: var(--transition-transform);
}

.quick-menu .container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.quick-item {
    display: flex;
    align-items: center;
}

.quick-item+.quick-item {
    margin-left: 25px;
}

.quick-menu a,
.quick-menu button {
    color: var(--white-color);
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.9em;
    display: flex;
    align-items: center;
    transition: var(--transition-color);
    height: 100%;
    padding: 2px 0;
}

.quick-menu a:hover,
.quick-menu button:hover {
    color: var(--accent-color);
}

.quick-menu i {
    margin-right: 5px;
    font-size: 1.1em;
}


/* 헤더 영역 */

.header {
    background: var(--white-color);
    box-shadow: var(--box-shadow-sm);
    position: relative;
    z-index: var(--header-sticky-zindex);
    transition: var(--transition-default);
    width: 100%;
}

.header.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    animation: slideDown 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    overflow: visible;
    /* 추가: 스티키 헤더에서 오버플로우 방지 */
}

.scroll-down .top-menu,
.scroll-down .quick-menu {
    transform: translateY(-100%);
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

.header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    flex-wrap: wrap;
    position: relative;
    overflow: visible;
    /* overflow 설정이 있다면 visible로 변경 */
}

.logo {
    flex: 0 0 auto;
    max-width: 300px;
    padding-right: 20px;
    z-index: 5;
}

.logo img {
    width: 100%;
    height: auto;
    max-width: 250px;
    display: block;
}

.logo-subtitle {
    font-size: 0.8em;
    color: var(--light-text);
    margin-left: 8px;
    line-height: 1.3;
    font-weight: bold;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
    color: var(--primary-color);
    padding: 10px;
    margin: -10px;
    z-index: 5;
}


/* 메인 네비게이션 */

.main-nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    overflow: visible;
    /* overflow 설정이 있다면 visible로 변경 */
}

.main-nav ul {
    list-style: none;
    display: flex;
    column-gap: 25px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    margin: 0;
    padding: 0;
}

.main-nav li {
    position: relative;
    padding: 5px 0;
}

.main-nav a {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    transition: var(--transition-color);
    white-space: nowrap;
    display: block;
}

.main-nav a:hover {
    color: #5c6bc0;
}

.main-nav a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #5c6bc0;
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.has-submenu {
    position: relative;
    /* 다시 relative로 변경 */
}


/* 스티키 헤더 상단 영역 레이아웃 */

.header.sticky .header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}


/* 서비스 버튼 스티키 헤더에 추가 */

.sticky-service-buttons {
    display: none;
}

.header.sticky .sticky-service-buttons {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    padding: 0;
    gap: 10px;
}


/* 스티키 헤더의 토글 래퍼 */

.sticky-toggle-wrapper {
    display: flex;
    align-items: center;
    margin-right: 15px;
}


/* 스티키 헤더에서의 토글 버튼 스타일 */

.sticky-toggle .toggle-btn {
    padding: 6px 15px;
    font-size: 0.8em;
}

.sticky-toggle .toggle-btn:first-child {
    border-radius: 15px 0 0 15px;
}

.sticky-toggle .toggle-btn:last-child {
    border-radius: 0 15px 15px 0;
}

.sticky-service-button {
    padding: 6px 10px;
    margin: 0 5px;
    font-size: 0.8em;
    background: var(--gray-bg);
    color: var(--dark-text);
    border-radius: 4px;
    text-decoration: none;
    transition: var(--transition-default);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    font-weight: 500;
}

.sticky-service-button:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
}

.sticky-service-button i {
    margin-right: 5px;
    font-size: 1.1em;
}


/* 반응형 (768px 이하) */

@media screen and (max-width: 768px) {
    .container {
        padding: 0 !important;
    }
    .service-menu {
        display: flex !important;
        justify-content: center;
        padding: 0 15px;
    }
    /* 모바일에서 서비스 토글 표시 */
    .service-toggle {
        display: flex !important;
        justify-content: center;
        width: 100%;
        margin: 10px 0;
        padding: 0 15px;
    }
    .toggle-btn {
        flex: 1;
        padding: 10px 15px;
        font-size: 0.85em;
    }
    /* 모바일 스티키 헤더에서 서비스 버튼 숨김, 토글만 표시 */
    .header.sticky .sticky-service-buttons {
        display: flex !important;
        justify-content: center;
        padding: 0 10px;
    }
    .header.sticky .sticky-toggle-wrapper {
        margin: 0;
        width: 100%;
    }
    .header.sticky .sticky-toggle {
        width: 100%;
        display: flex;
        padding: 0;
    }
    .header.sticky .sticky-toggle .toggle-btn {
        flex: 1;
        padding: 8px 10px;
        font-size: 0.8em;
    }
    /* 모바일 스티키 헤더에서 다른 서비스 버튼들 숨기기 */
    .header.sticky .dynamic-sticky-btn-1,
    .header.sticky .dynamic-sticky-btn-2 {
        display: none;
    }
    /* 모바일 스티키 헤더에서 계산/문의 버튼 숨기기 */
    .header.sticky .calc-btn-sticky,
    .header.sticky .inquiry-btn-sticky {
        display: none;
    }
    .special-offer {
        display: none;
    }
    .contact-phone {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-top: 5px;
    }
    .top-menu {
        padding: 10px 0;
        border-bottom: 1px solid #eee;
        height: auto;
        /* 높이를 auto로 변경하여 내용이 보이도록 함 */
        overflow: visible;
        /* 내용이 잘리지 않도록 함 */
    }
    /* 헤더 레이아웃 개선 */
    .header-main {
        flex-wrap: nowrap;
        padding: 10px 15px;
        align-items: center;
        justify-content: space-between;
    }
    .header-top {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .logo {
        max-width: 100%;
        padding-right: 0;
    }
    .logo img {
        max-width: 120px;
    }
    /* 로고 부제목 모바일 스타일 */
    .logo-subtitle {
        font-size: 0.7em;
        margin-top: 3px;
    }
    /* 모바일 메뉴 토글 버튼 위치 고정 */
    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--primary-color);
        font-size: 1.8em;
        position: relative;
        right: 0;
        z-index: 110;
    }
    /* 모바일 메뉴 표시 개선 */
    .main-nav {
        width: 100%;
        display: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease;
        background: var(--white-color);
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 100;
        /* 헤더보다는 낮게 */
        box-shadow: var(--box-shadow-sm);
    }
    .main-nav.nav-open {
        display: block;
        /* JS에서 클래스 토글 */
        margin-top: 0;
        max-height: 80vh;
        /* 높이 제한 추가 */
        padding: 0;
        border-top: 1px solid var(--light-gray);
        overflow-y: auto;
        /* 스크롤 가능하도록 */
    }
    .main-nav ul {
        flex-direction: column;
        gap: 0;
        align-items: flex-start;
        padding: 10px 0;
        margin: 0;
    }
    .main-nav li {
        width: 100%;
        margin: 0;
        border-bottom: 1px solid #f1f3f5;
        padding: 0;
    }
    .main-nav a {
        display: block;
        padding: 14px 20px;
        font-size: 16px;
    }
    .main-nav a::after {
        display: none;
    }
    /* 모바일 서브메뉴 스타일 개선 */
    .has-submenu {
        position: relative;
    }
    .has-submenu>a {
        position: relative;
    }
    .has-submenu>a::after {
        content: '\f078';
        /* Font Awesome 아이콘 (화살표 아래) */
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 0.75em;
        transition: transform 0.3s ease;
    }
    .has-submenu.open>a::after {
        transform: translateY(-50%) rotate(180deg);
    }
    .has-submenu .sub-menu {
        position: static;
        box-shadow: none;
        width: 100%;
        min-width: 100%;
        padding: 0;
        background: var(--light-bg);
        border-radius: 0;
        display: none;
        /* 기본 숨김 */
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: none;
        flex-direction: column;
        flex-wrap: nowrap;
    }
    .has-submenu:hover .sub-menu {
        display: none;
        /* 호버 비활성화 */
    }
    .has-submenu.open .sub-menu {
        display: block;
        /* JS에서 클래스 토글 */
        border-top: 1px solid var(--light-gray);
    }
    .sub-menu li {
        margin: 0;
        border-bottom: 1px solid var(--light-gray);
    }
    .sub-menu li:last-child {
        border-bottom: none;
    }
    .sub-menu li a {
        padding: 14px 15px 14px 35px;
        font-size: 15px;
        display: block;
        color: var(--dark-text);
        text-align: left;
        position: relative;
    }
    .sub-menu li a::before {
        left: 20px;
        width: 4px;
        height: 4px;
        opacity: 1;
    }
    .sub-menu li a:hover {
        background-color: rgba(92, 107, 192, 0.05);
        color: var(--primary-color);
        padding-left: 40px;
    }
    .sub-menu li a:hover::before {
        left: 25px;
    }
    /* 모바일에서 버튼 스타일 */
    .calc-btn,
    .inquiry-btn {
        margin: 0;
        width: 100%;
        border-bottom: 1px solid #f1f3f5;
        display: block;
    }
    .calc-btn a,
    .inquiry-btn a {
        display: block;
        text-align: left;
        margin: 0;
        padding: 14px 20px;
        width: 100%;
        border-radius: 0;
        background: transparent;
        color: var(--dark-text);
    }
    .calc-btn a:hover,
    .inquiry-btn a:hover {
        background: #f5f5f5;
        color: var(--primary-color);
    }
    .calc-btn a i,
    .inquiry-btn a i {
        margin-right: 10px;
        color: var(--primary-color);
    }
    /* 모바일에서 스티키 헤더 영역 수정 */
    .header.sticky .sticky-service-buttons {
        display: none;
        /* 모바일에서는 서비스 버튼 숨김 */
    }
    .header.sticky .logo {
        max-width: 70%;
    }
    .header.sticky .header-main {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 10px 15px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    /* 스티키 헤더에서도 calc-btn, inquiry-btn 표시 - 중요한 수정 부분 */
    .header.sticky .calc-btn,
    .header.sticky .inquiry-btn {
        display: block;
        /* 모바일에서는 스티키 헤더에서도 표시 */
    }
    /* 메뉴 열릴 때 body 스크롤 방지 */
    body.menu-open {
        overflow: hidden;
    }
    /* 모바일에서 퀵메뉴 완전히 숨기기 */
    .quick-menu,
    .scroll-quick-menu {
        display: none !important;
    }
    /* 모바일 전용 CTA 버튼 표시 */
    .mobile-call-cta {
        display: block !important;
        /* !important 추가로 항상 표시 강제 */
        z-index: 1500;
        /* z-index 값 높이기 */
        top: 62%;
    }
    /* 모바일 하단 네비게이션 바 표시 */
    .mobile-bottom-nav {
        display: flex;
        height: auto;
    }
}


/* PC 버전에서 서브메뉴가 여러 줄로 표시되도록 설정 */

@media screen and (min-width: 769px) {
    .has-submenu .sub-menu {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        max-height: none;
        /* 드롭다운 자동 높이 */
    }
}


/* 중간 화면 크기 (769px ~ 1024px) 대응 추가 */

@media screen and (min-width: 769px) and (max-width: 1024px) {
    /* 상단 서비스 메뉴 안정화 */
    .service-menu {
        flex-wrap: wrap;
        justify-content: center;
    }
    .service-toggle {
        margin-right: 10px;
    }
    .toggle-btn {
        padding: 6px 15px;
        font-size: 0.85em;
    }
    .service-menu a {
        padding: 5px 10px;
        font-size: 0.9em;
    }
    .special-offer {
        width: 100%;
        text-align: center;
        margin: 8px 0 0 0;
    }
    /* 헤더 메인 영역 조정 */
    .header-main {
        padding: 12px 0;
        justify-content: space-between;
        align-items: center;
    }
    /* 메인 네비게이션 안정화 */
    .main-nav {
        justify-content: center;
        padding-top: 5px;
    }
    .main-nav ul {
        column-gap: 18px;
        row-gap: 8px;
        justify-content: center;
    }
    .main-nav li {
        padding: 3px 0;
    }
    .main-nav a {
        font-size: 0.9em;
        padding: 3px 0;
    }
    .logo {
        max-width: 100%;
        padding-right: 15px;
    }
    .logo img {
        width: 160px;
    }
    /* 로고 부제목 태블릿 스타일 */
    .logo-subtitle {
        font-size: 0.75em;
        margin-top: 4px;
    }
    /* 스티키 헤더 조정 */
    .header.sticky .header-main {
        padding: 10px 0;
    }
    .header.sticky .header-top {
        align-items: center;
        justify-content: space-between;
    }
    .header.sticky .logo {
        max-width: 70%;
    }
    /* 태블릿에서 스티키 토글 버튼 크기 조정 */
    .header.sticky .sticky-toggle .toggle-btn {
        padding: 5px 12px;
        font-size: 0.75em;
    }
    .header.sticky .sticky-service-buttons {
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
        justify-content: flex-end;
    }
}


/* 스크롤 퀵메뉴 스타일 */

.scroll-quick-menu {
    position: fixed;
    right: var(--floating-cta-right);
    top: 70%;
    transform: translateY(-50%);
    z-index: var(--floating-cta-zindex);
    display: flex;
    flex-direction: column;
    gap: 15px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.scroll-quick-menu.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-quick-item {
    position: relative;
}

.scroll-quick-item a,
.scroll-quick-item button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #5c6bc0;
    /* 기존 var(--primary-color)에서 더 밝은 색상으로 변경 */
    color: var(--white-color);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(92, 107, 192, 0.4);
    /* 컬러에 맞는 그림자 */
    font-size: 1.3em;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition-default);
}

.scroll-quick-item a:hover,
.scroll-quick-item button:hover {
    background: #3949ab;
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(92, 107, 192, 0.5);
}

.scroll-quick-item a:active,
.scroll-quick-item button:active {
    transform: scale(0.95);
}

.scroll-quick-item .tooltip {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: var(--white-color);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8em;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.scroll-quick-item:hover .tooltip {
    opacity: 1;
    visibility: visible;
}

.scroll-quick-item .tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -5px;
    transform: translateY(-50%);
    border-width: 5px 0 5px 5px;
    border-style: solid;
    border-color: transparent transparent transparent rgba(0, 0, 0, 0.8);
}


/* 퀵메뉴 텍스트 분리하기 */

.quick-text {
    display: inline-block;
}


/* 필수 스타일 요소 복원 */

.inquiry-section {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--white-color);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    scroll-margin-top: 100px;
}

.inquiry-section h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
    transition: all 0.3s ease;
}

.form-group label {
    display: flex;
    margin-bottom: 5px;
    font-weight: 500;
    color: var(--dark-text);
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group.focused input {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 2px rgba(57, 73, 171, 0.25);
}

.form-group input::placeholder {
    color: var(--medium-gray);
    transition: opacity 0.3s;
}

.form-group.focused input::placeholder {
    opacity: 0.5;
}

.agreement {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.agreement input {
    margin-top: 5px;
    margin-right: 10px;
}

.agreement-text {
    flex: 1;
}

.terms-view {
    color: var(--primary-color);
    text-decoration: underline;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    font-size: 0.9em;
}

.terms-table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
    font-size: 0.9em;
}

.terms-table th,
.terms-table td {
    border: 1px solid var(--border-color);
    padding: 10px;
}

.terms-table th {
    background: var(--light-bg);
}

.submit-btn {
    text-align: center;
}

.submit-btn button {
    background: #5c6bc0;
    color: var(--white-color);
    padding: 12px 30px;
    border: none;
    border-radius: 30px;
    font-size: 1.1em;
    cursor: pointer;
    transition: var(--transition-default);
    box-shadow: 0 4px 10px rgba(92, 107, 192, 0.3);
}

.submit-btn button:hover {
    background: #3949ab;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(92, 107, 192, 0.4);
}

.popular-plan {
    margin-bottom: 30px;
    scroll-margin-top: 100px;
}

.popular-plan h2 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 30px;
}

.plan-cards {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    justify-content: center;
}

.plan-card {
    width: 100%;
    max-width: 480px;
    border-radius: 8px;
    overflow: hidden;
    /* box-shadow: var(--box-shadow-sm); */
    transition: var(--transition-default);
    cursor: pointer;
    flex: 1;
}

.plan-card:hover {
    transform: translateY(-5px);
}

.plan-card img {
    width: 100%;
    height: auto;
}

.emphasis {
    background: #fafafa;
    /* light-bg 보다 약간 밝게 */
    padding: 30px 0;
    text-align: center;
    margin-bottom: 30px;
}


/* 모달 */

.modal {
    display: none;
    /* JS로 제어 */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    /* 기존 0.7에서 약간 투명하게 */
    justify-content: center;
    align-items: center;
    z-index: var(--modal-zindex);
}

.modal-content {
    background: var(--white-color);
    padding: 30px;
    width: 90%;
    max-width: 600px;
    position: relative;
    border-radius: 16px;
    /* 기존 8px에서 더 둥글게 변경 */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    /* 더 부드러운 그림자 */
    animation: modalOpen 0.4s ease;
}

@keyframes modalOpen {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    cursor: pointer;
    font-size: 1.2em;
    color: var(--light-text);
    transition: var(--transition-color);
}

.modal-close:hover {
    color: var(--primary-color);
}

.modal h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.calc-tab-links {
    list-style: none;
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.calc-tab-links li {
    padding: 8px 15px;
    cursor: pointer;
    background: #f1f3f5;
    border-radius: 20px;
    transition: var(--transition-default);
}

.calc-tab-links li.active {
    background: var(--primary-color);
    color: var(--white-color);
    font-weight: 500;
}

.calc-result {
    background: var(--light-bg);
    padding: 15px;
    margin-top: 20px;
    border-radius: 5px;
    border-left: 3px solid var(--primary-color);
}

.calc-result p {
    margin-bottom: 5px;
}

.calc-result span {
    font-weight: 500;
    color: var(--primary-color);
}

.calc-actions {
    margin-top: 25px;
}

.calc-actions .btn {
    display: inline-block;
    padding: 12px 24px;
    background: var(--primary-color);
    color: var(--white-color);
    text-decoration: none;
    margin-right: 10px;
    border-radius: 4px;
    transition: var(--transition-default);
    border: none;
    cursor: pointer;
}

.calc-actions .btn:hover {
    background: var(--secondary-color);
}


/* 약관 모달 */

.terms-modal {
    display: none;
    /* JS로 제어 */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    /* 기존 0.7에서 약간 투명하게 */
    z-index: var(--modal-zindex);
    justify-content: center;
    align-items: center;
}

.terms-modal-content {
    background: var(--white-color);
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    padding: 30px;
    border-radius: 16px;
    /* 기존 8px에서 더 둥글게 변경 */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    /* 더 부드러운 그림자 */
}

.terms-modal-close {
    float: right;
    font-size: 1.5em;
    cursor: pointer;
}

.terms-modal-body p,
.terms-modal-body h4 {
    margin-bottom: 15px;
}


/* 푸터 */

.footer {
    background: #4054b2;
    color: var(--white-color);
    padding: 40px 0 20px;
    margin-top: 50px;
    position: relative;
}

.footer-info a {
    color: var(--accent-color);
    text-decoration: none;
}

.footer-info a:hover {
    text-decoration: underline;
}

.footer-copy {
    margin-top: 20px;
    font-size: 0.9em;
    opacity: 0.8;
}


/* 모바일 전용 문의전화 CTA 버튼 */

.mobile-call-cta {
    display: none;
    /* 기본적으로 숨김 (PC) */
    position: fixed;
    bottom: 80px;
    right: var(--floating-cta-right);
    z-index: var(--floating-cta-zindex);
    transition: bottom 0.3s ease;
}

.mobile-call-cta a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--floating-cta-size);
    height: var(--floating-cta-size);
    background: #5c6bc0;
    /* 기존 var(--primary-color)에서 더 밝은 색상으로 변경 */
    color: var(--white-color);
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(92, 107, 192, 0.4);
    /* 컬러에 맞는 그림자 */
    text-decoration: none;
    transition: var(--transition-default);
}

.mobile-call-cta a i {
    font-size: 1.5em;
}

.mobile-call-cta a:active {
    transform: scale(0.95);
    box-shadow: 0 2px 10px rgba(92, 107, 192, 0.3);
}


/* 이미지 최대 너비 설정 */

img {
    max-width: 100%;
    height: auto;
}


/* 컨테이너 최대 너비 설정 */

.container,
.modal-content,
.terms-modal-content {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}


/* 미디어 쿼리 */

@media screen and (min-width: 1200px) {
    .container {
        max-width: 1500px;
    }
    .modal-content {
        max-width: 600px;
    }
    .terms-modal-content {
        max-width: 600px;
    }
}

.calc-option-row {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
    margin-bottom: 10px;
}

.calc-option-row:last-child {
    border-bottom: none;
}

.calc-option-title {
    width: 180px;
    flex-shrink: 0;
    font-weight: 500;
    padding: 8px 10px;
    background: var(--light-bg);
    border-radius: 4px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.4;
}

.calc-option-items {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.calc-option-item {
    flex: 1;
    min-width: 160px;
    position: relative;
}

.calc-option-item input[type="radio"],
.calc-option-item input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.calc-option-item label {
    display: block;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 100%;
    line-height: 1.4;
}

.calc-option-item label strong {
    display: block;
    margin-bottom: 5px;
    font-size: 1.1em;
}

.calc-option-item label span {
    display: block;
    font-size: 0.9em;
    color: var(--light-text);
}

.calc-option-item input[type="radio"]:checked+label,
.calc-option-item input[type="checkbox"]:checked+label {
    border-color: var(--primary-color);
    background-color: rgba(92, 107, 192, 0.05);
}

.calc-option-item input[type="radio"]:disabled+label,
.calc-option-item input[type="checkbox"]:disabled+label {
    opacity: 0.6;
    cursor: not-allowed;
}

.calc-option-item.checkbox-item label {
    position: relative;
    padding-left: 40px;
}

.calc-option-item.checkbox-item label::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 15px;
    width: 18px;
    height: 18px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    transition: all 0.2s ease;
}

.calc-option-item.checkbox-item input[type="checkbox"]:checked+label::before {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.calc-option-item.checkbox-item input[type="checkbox"]:checked+label::after {
    content: '✓';
    position: absolute;
    left: 21px;
    top: 15px;
    color: white;
    font-size: 14px;
}

.calc-total-price {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: white;
    padding: 20px;
    margin-top: 30px;
    border-radius: 8px;
    text-align: center;
}

.total-price-text strong {
    font-size: 1.5em;
    display: block;
    margin-bottom: 5px;
}

.total-price-text p {
    opacity: 0.8;
    font-size: 0.9em;
}


/* 이달의 행사 섹션 스타일 */

.monthly-event-section {
    margin: 40px 0;
}

.monthly-event-section h2 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 30px;
    font-size: 2em;
}

.event-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.event-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

.event-card {
    flex: 1;
    min-width: calc(25% - 20px);
    background: var(--white-color);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-default);
    border-top: 3px solid #5c6bc0;
    min-height: 280px;
    gap: 15px;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.event-text {
    font-size: 1em;
    line-height: 1.5;
    font-weight: 500;
    color: var(--dark-text);
    margin-bottom: 10px;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.event-card img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    max-height: 130px;
    object-fit: contain;
    margin-top: auto;
}


/* 반응형 이달의 행사 섹션 */

@media screen and (max-width: 768px) {
    .monthly-event-section {
        margin: 30px 0;
    }
    .monthly-event-section h2 {
        font-size: 1.8em;
        margin-bottom: 20px;
    }
    .event-row {
        flex-direction: column;
        gap: 15px;
    }
    .event-card {
        min-width: 100%;
        min-height: auto;
        padding: 15px;
        flex-direction: row;
        gap: 10px;
        height: auto;
    }
    .event-text {
        font-size: 0.95em;
        margin-bottom: 0;
        text-align: left;
        width: 60%;
    }
    .event-card img {
        max-height: 100px;
        width: 40%;
        margin-top: 0;
    }
}

@media screen and (max-width: 480px) {
    .monthly-event-section h2 {
        font-size: 1.6em;
    }
    .event-card {
        padding: 12px;
        flex-direction: column;
    }
    .event-text {
        font-size: 0.9em;
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }
    .event-card img {
        width: 80%;
        max-height: 90px;
    }
}


/* 반응형 스타일 */

@media screen and (max-width: 768px) {
    .calc-option-row {
        flex-direction: column;
    }
    .calc-option-title {
        width: 100%;
        margin-bottom: 15px;
        padding: 10px;
    }
    .calc-option-items {
        flex-direction: column;
        gap: 8px;
    }
    .calc-option-item {
        min-width: 100%;
    }
    .calc-option-item label {
        padding: 15px;
    }
    .calc-option-item.checkbox-item label {
        padding-left: 45px;
    }
    .calc-option-item.checkbox-item label::before {
        left: 15px;
        top: 17px;
    }
    .calc-option-item.checkbox-item input[type="checkbox"]:checked+label::after {
        left: 21px;
        top: 17px;
    }
}


/* 모바일 하단 고정 합산요금 영역 스타일 */

.mobile-fixed-price {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary-color);
    padding: 10px 15px;
    color: #fff;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.mobile-fixed-price.visible {
    transform: translateY(0);
}

.fixed-price-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fixed-price-info {
    flex: 1;
}

.fixed-price-info strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 2px;
}

.fixed-price-info p {
    font-size: 0.75rem;
    margin: 0;
    opacity: 0.8;
}

.fixed-price-button {
    background: #fff;
    color: var(--primary-color);
    padding: 8px 15px;
    border-radius: 4px;
    font-weight: bold;
    text-decoration: none;
    font-size: 0.9rem;
    white-space: nowrap;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.fixed-price-button:hover {
    background: #f8f8f8;
    transform: translateY(-2px);
}

.fixed-price-button i {
    margin-right: 4px;
}


/* 모바일 하단 내비게이션 메뉴와 겹치지 않도록 조정 */

@media screen and (max-width: 768px) {
    .mobile-fixed-price {
        bottom: 65px;
        /* mobile-bottom-nav 높이 */
    }
    .mobile-bottom-nav {
        z-index: 1001;
        /* 하단 합산요금보다 위에 표시 */
    }
    /* 콘텐츠가 모바일 하단 고정 요소에 가려지지 않도록 패딩 추가 */
    .content {
        padding-bottom: calc(50px + 70px);
        /* 하단 내비게이션 + 합산요금 영역 높이 */
    }
}


/* 스크롤 감지 시 효과 추가 */

.mobile-fixed-price {
    animation-duration: 0.3s;
    animation-fill-mode: forwards;
}

.mobile-fixed-price.visible {
    animation-name: slideUp;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}


/* 계산기 섹션에 여유 공간 추가 */

.calculator-section {
    margin-bottom: 20px;
}


/* 작은 모바일 화면에서 폰트 사이즈 조정 */

@media screen and (max-width: 360px) {
    .fixed-price-info strong {
        font-size: 0.9rem;
    }
    .fixed-price-info p {
        font-size: 0.7rem;
    }
    .fixed-price-button {
        font-size: 0.8rem;
        padding: 6px 10px;
    }
}


/* 셋탑박스 이미지 스타일 */

.calc-option-item label img {
    max-width: 100%;
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-top: 10px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}


/* 버튼 스타일 정의 */


/* 월요금계산 버튼 스타일 */

.calc-btn a {
    background: var(--primary-color);
    color: var(--white-color);
    padding: 10px 15px;
    border-radius: 4px;
    transition: background 0.3s ease, transform 0.2s ease;
    display: inline-block;
}

.calc-btn a:hover {
    background: var(--secondary-color);
    color: var(--white-color);
    transform: translateY(-2px);
}

.calc-btn a::after {
    display: none;
}

.calc-btn a i {
    margin-right: 5px;
}


/* 빠른견적문의 버튼 스타일 */

.inquiry-btn a {
    background: var(--special-color);
    color: var(--white-color);
    padding: 10px 15px;
    border-radius: 4px;
    transition: background 0.3s ease, transform 0.2s ease;
    display: inline-block;
}

.inquiry-btn a:hover {
    background: #ff8a65;
    /* 약간 밝은 톤의 special-color */
    color: var(--white-color);
    transform: translateY(-2px);
}

.inquiry-btn a::after {
    display: none;
}

.inquiry-btn a i {
    margin-right: 5px;
}


/* 모바일 환경에서 버튼 스타일 */

@media screen and (max-width: 768px) {
    /* 모바일에서 월요금계산 버튼 스타일 */
    .calc-btn {
        margin: 10px 20px;
        width: calc(100% - 40px);
    }
    .calc-btn a {
        display: block;
        text-align: center;
        margin: 0;
        padding: 12px 0;
        width: 100%;
        border-radius: 30px;
    }
    /* 모바일에서 빠른견적문의 버튼 스타일 */
    .inquiry-btn {
        margin: 10px 20px;
        width: calc(100% - 40px);
    }
    .inquiry-btn a {
        display: block;
        text-align: center;
        margin: 0;
        padding: 12px 0;
        width: 100%;
        border-radius: 30px;
    }
}


/* 스티키 헤더의 계산 버튼과 문의 버튼 스타일 */

.calc-btn-sticky {
    background: var(--primary-color);
    color: var(--white-color);
}

.calc-btn-sticky:hover {
    background: var(--secondary-color);
    color: var(--white-color);
}

.inquiry-btn-sticky {
    background: var(--special-color);
    color: var(--white-color);
}

.inquiry-btn-sticky:hover {
    background: #ff8a65;
    color: var(--white-color);
}


/* 서브메뉴 스타일 */

.has-submenu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1500;
    background: var(--white-color);
    border-radius: 8px;
    box-shadow: var(--box-shadow-md);
    min-width: 180px;
    width: 220px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    display: flex;
    flex-direction: column;
}


/* 스티키 헤더에서의 서브메뉴 위치 조정 */

.header.sticky .has-submenu .sub-menu {
    top: calc(100% + 5px);
    /* 스티키 헤더에서 서브메뉴 위치 약간 조정 */
}

.has-submenu:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu li {
    margin: 0;
    padding: 0;
    width: 100%;
    position: relative;
    /* 서브메뉴 아이템에도 position 설정 */
    z-index: 1;
    /* 최소한의 z-index 설정 */
}

.sub-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--dark-text);
    font-weight: normal;
    text-align: left;
    transition: var(--transition-fast);
    position: relative;
    padding-left: 25px;
}

.sub-menu li a:hover {
    background: rgba(92, 107, 192, 0.05);
    color: var(--primary-color);
    padding-left: 30px;
}

.sub-menu li a::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--primary-color);
    opacity: 0;
    transition: opacity 0.2s ease, left 0.2s ease;
}

.sub-menu li a:hover::before {
    opacity: 1;
    left: 18px;
}

.sub-menu li a::after {
    display: none;
}

.apply-btn a {
    background: var(--primary-color);
    color: var(--white-color);
    padding: 10px 20px;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.apply-btn a:hover {
    background: var(--secondary-color);
    color: var(--white-color);
}

.apply-btn a::after {
    display: none;
}


/* PC 스티키 헤더 설정 */

.header.sticky .logo {
    padding-right: 0;
    max-width: 70%;
}

.header.sticky .header-main {
    padding: 10px 0;
    flex-direction: column;
    align-items: flex-start;
}

.header.sticky .header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.header.sticky .sticky-service-buttons {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    padding: 0;
    gap: 10px;
}


/* PC에서는 스티키 헤더의 서비스 버튼 2개 숨기기 */

@media screen and (min-width: 769px) {
    .header.sticky .dynamic-sticky-btn-1,
    .header.sticky .dynamic-sticky-btn-2 {
        display: none;
    }
}

.header.sticky .main-nav {
    width: 100%;
    justify-content: flex-start;
    padding-top: 10px;
    margin-left: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    overflow: visible;
    /* 추가: 스티키 헤더에서 오버플로우 방지 */
}


/* 스티키 헤더에서 로고 부제목 숨김 처리 */

.header.sticky .logo-subtitle {
    /* display: none; */
}

.header.sticky .main-nav ul {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 5px 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    overflow: visible !important;
    /* 추가: x-스크롤 때문에 overflow 설정이 있어도 서브메뉴가 보이도록 함 */
}

.header.sticky .main-nav ul::-webkit-scrollbar {
    display: none;
}

.header.sticky .container {
    display: block;
}


/* 기본 PC 상태에서는 스티키 헤더에서 계산/문의 버튼 숨김 */

.header.sticky .calc-btn,
.header.sticky .inquiry-btn {
    display: none;
}


/* PC 화면 (1025px 이상) 추가 조정 */

@media screen and (min-width: 1025px) {
    .header.sticky .main-nav ul {
        column-gap: 20px;
    }
    .sticky-service-button {
        padding: 7px 12px;
        margin: 0 6px;
    }
}


/* 대형 화면 (1200px 이상) 추가 조정 */

@media screen and (min-width: 1200px) {
    .header.sticky .main-nav ul {
        column-gap: 25px;
    }
    .sticky-service-button {
        padding: 8px 15px;
        margin: 0 8px;
        font-size: 0.85em;
    }
}


/* 모바일에서 스티키 헤더 영역 수정 */

@media screen and (max-width: 768px) {
    /* 모바일에서 스티키 헤더 설정 */
    .header.sticky .logo {
        max-width: 70%;
    }
    .header.sticky .header-main {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 10px 15px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    .header.sticky .header-top {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    /* 모바일 스티키 헤더에서도 로고 부제목 숨김 유지 */
    .header.sticky .logo-subtitle {
        /* display: none; */
    }
    /* 모바일에서 서비스 버튼 숨김 */
    .header.sticky .sticky-service-buttons {
        display: flex !important;
        justify-content: center;
        padding: 0 10px;
    }
    /* 스티키 헤더 z-index 조정 */
    .header.sticky {
        z-index: 1100;
        /* 카카오톡 버튼(110)과 모바일 하단 네비(999)보다 높게 */
    }
}


/* 메인 콘텐츠 */

.content {
    padding: 30px 0;
    margin-top: 0;
}

.content.has-sticky-header {
    padding-top: 80px;
    /* JS에서 헤더 높이 기반으로 조정 가능 */
}


/* 배너 스타일 */

.banner-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 6248 / 2499;
    /* 원본 이미지 비율 유지 */
    /* min-height: 300px; */
    background-image: url('/public/assets/images/main-banner-01.jpg');
    background-size: 100%;
    background-position: center center;
    background-repeat: no-repeat;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 20px;
}

@media screen and (max-width: 1024px) {
    .banner-container {
        aspect-ratio: 4689 / 2501;
        /* 원본 이미지 비율 유지 */
        background-image: url('/public/assets/images/main-banner-01-mobile.jpg');
    }
}

.banner-container h1 {
    font-size: 2.8em;
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    line-height: 1.2;
    word-break: keep-all;
    max-width: 800px;
}

.banner-container p {
    font-size: 1.2em;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    line-height: 1.5;
    word-break: keep-all;
    max-width: 800px;
}

.banner-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.banner-buttons .btn {
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-default);
    text-shadow: none;
}

.btn-primary {
    background: #5c6bc0;
    color: white;
    box-shadow: 0 4px 10px rgba(92, 107, 192, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.25);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(5px);
}

.btn-primary:hover {
    background: #3949ab;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(92, 107, 192, 0.5);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.9);
}


/* 태블릿 최적화 (769px ~ 1024px) */

@media screen and (min-width: 769px) and (max-width: 1024px) {
    .banner-container {
        min-height: 280px;
    }
    .banner-buttons .btn {
        padding: 10px 25px;
        font-size: 0.95em;
    }
}


/* 모바일 최적화 (768px 이하) */

@media screen and (max-width: 768px) {
    .banner-container {
        min-height: 250px;
        aspect-ratio: 16 / 9;
        /* 모바일에서 더 적절한 비율로 변경 */
        padding: 0 20px;
    }
    .banner-buttons {
        flex-direction: column;
        gap: 12px;
        align-items: center;
        width: 100%;
    }
    .banner-buttons .btn {
        width: 100%;
        max-width: 280px;
        padding: 15px 25px;
        font-size: 1.0em;
    }
}


/* 작은 모바일 (480px 이하) */

@media screen and (max-width: 480px) {
    .banner-container {
        min-height: 220px;
        padding: 0 15px;
    }
    .banner-buttons {
        gap: 10px;
    }
    .banner-buttons .btn {
        max-width: 250px;
        padding: 12px 20px;
        font-size: 0.95em;
    }
}


/* 매우 작은 화면 (360px 이하) */

@media screen and (max-width: 360px) {
    .banner-container {
        min-height: 200px;
    }
    .banner-buttons .btn {
        padding: 10px 18px;
        font-size: 0.9em;
    }
}


/* 특징 카드 */

.features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    margin: 40px 0;
}

.feature-card {
    flex: 1;
    min-width: 250px;
    background: var(--white-color);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: var(--transition-default);
    border-top: 3px solid #5c6bc0;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    font-size: 3em;
    color: #5c6bc0;
    margin-bottom: 15px;
}

.feature-card h3 {
    margin-bottom: 10px;
    color: #4054b2;
}


/* 메인 섹션 스타일 */

.benefit-section {
    background: linear-gradient(135deg, #5c6bc0, #4054b2);
    color: var(--white-color);
    padding: 50px 0;
    text-align: center;
    margin-bottom: 30px;
    box-shadow: var(--box-shadow-sm);
}

.benefit-section h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.benefit-section p {
    font-size: 1.2em;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

.benefit-section .highlight {
    font-size: 1.5em;
    font-weight: 700;
    color: var(--highlight-color);
}

.why-section {
    background: var(--light-bg);
    padding: 40px 0;
    text-align: center;
    margin-bottom: 30px;
}

.why-section h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.why-section p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1em;
    line-height: 1.6;
}


/* 후기 섹션 - 모든 후기 섹션 관련 클래스를 하나로 통합 */

.testimonial-section,
.testimonial-cards,
.testimonial-card,
.testimonial-text,
.testimonial-author,
.testimonial-avatar,
.testimonial-avatar img,
.testimonial-info h4,
.testimonial-info p,
.testimonial-quote {
    display: none;
}


/* 플로팅 CTA 버튼 */

.floating-cta,
.mobile-fixed-service {
    display: none;
    /* 완전히 제거 */
}


/* 모바일 하단 네비게이션 바 */

.mobile-bottom-nav {
    display: none;
    /* 기본적으로 보이지 않음 (PC에서) */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fcfcfc;
    /* 기존 var(--white-color)에서 더 밝게 */
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    /* 더 밝은 그림자 */
    z-index: var(--floating-cta-zindex);
    padding: 10px 0 5px;
    justify-content: space-around;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--dark-text);
    padding: 8px 0;
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 0.85em;
    cursor: pointer;
    transition: color 0.3s;
    width: 25%;
}

.mobile-nav-item i {
    font-size: 1.4em;
    margin-bottom: 3px;
}

.mobile-nav-item:hover,
.mobile-nav-item:active {
    color: var(--primary-color);
}


/* 모바일 하단 네비게이션 색상 구분 */

.mobile-bottom-nav .mobile-nav-item:nth-child(1) i {
    color: #5c6bc0;
    /* 문의전화 - 파란색 */
}

.mobile-bottom-nav .mobile-nav-item:nth-child(2) i {
    color: #7986cb;
    /* 월요금계산기/사전예약 - 연한 파란색 */
}

.mobile-bottom-nav .mobile-nav-item:nth-child(3) i {
    color: #ff7043;
    /* 빠른견적문의/휴대폰행사 - 주황색 */
}

.mobile-bottom-nav .mobile-nav-item:nth-child(4) i {
    color: #81c784;
    /* 기존 var(--success-color)에서 더 밝은 색상으로 변경 */
}


/* 반응형 (768px 이하) */

@media screen and (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    .service-menu {
        display: flex !important;
        justify-content: center;
        padding: 0 15px;
    }
    /* 모바일에서 서비스 토글 표시 */
    .service-toggle {
        display: flex !important;
        justify-content: center;
        width: 100%;
        margin: 10px 0;
        padding: 0 15px;
    }
    .toggle-btn {
        flex: 1;
        padding: 10px 15px;
        font-size: 0.85em;
    }
    /* 모바일 스티키 헤더에서 서비스 버튼 숨김, 토글만 표시 */
    .header.sticky .sticky-service-buttons {
        display: flex !important;
        justify-content: center;
        padding: 0 10px;
    }
    .header.sticky .sticky-toggle-wrapper {
        margin: 0;
        width: 100%;
    }
    .header.sticky .sticky-toggle {
        width: 100%;
        display: flex;
        padding: 0;
    }
    .header.sticky .sticky-toggle .toggle-btn {
        flex: 1;
        padding: 8px 10px;
        font-size: 0.8em;
    }
    /* 모바일 스티키 헤더에서 다른 서비스 버튼들 숨기기 */
    .header.sticky .dynamic-sticky-btn-1,
    .header.sticky .dynamic-sticky-btn-2 {
        display: none;
    }
    /* 모바일 스티키 헤더에서 계산/문의 버튼 숨기기 */
    .header.sticky .calc-btn-sticky,
    .header.sticky .inquiry-btn-sticky {
        display: none;
    }
    .special-offer {
        display: none;
    }
    .contact-phone {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-top: 5px;
    }
    .top-menu {
        padding: 10px 0;
        border-bottom: 1px solid #eee;
        height: auto;
        /* 높이를 auto로 변경하여 내용이 보이도록 함 */
        overflow: visible;
        /* 내용이 잘리지 않도록 함 */
    }
    .header-main {
        flex-wrap: nowrap;
        padding: 10px 15px;
        align-items: center;
        justify-content: space-between;
    }
    .logo {
        max-width: 100%;
        padding-right: 0;
    }
    .logo img {
        max-width: 120px;
    }
    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--primary-color);
        font-size: 1.8em;
        position: relative;
        right: 0;
        z-index: 110;
    }
    .main-nav {
        width: 100%;
        display: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease;
        background: var(--white-color);
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 100;
        /* 헤더보다는 낮게 */
        box-shadow: var(--box-shadow-sm);
    }
    .main-nav.nav-open {
        display: block;
        /* JS에서 클래스 토글 */
        margin-top: 0;
        max-height: 80vh;
        /* 높이 제한 추가 */
        padding: 0;
        border-top: 1px solid var(--light-gray);
        overflow-y: auto;
        /* 스크롤 가능하도록 */
    }
    .main-nav ul {
        flex-direction: column;
        gap: 0;
        align-items: flex-start;
        padding: 10px 0;
        margin: 0;
    }
    .main-nav li {
        width: 100%;
        margin: 0;
        border-bottom: 1px solid #f1f3f5;
        padding: 0;
    }
    .main-nav a {
        display: block;
        padding: 14px 20px;
        font-size: 16px;
    }
    .main-nav a::after {
        display: none;
    }
    /* 모바일 서브메뉴 스타일 개선 */
    .has-submenu {
        position: relative;
    }
    .has-submenu>a {
        position: relative;
    }
    .has-submenu>a::after {
        content: '\f078';
        /* Font Awesome 아이콘 (화살표 아래) */
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 0.75em;
        transition: transform 0.3s ease;
    }
    .has-submenu.open>a::after {
        transform: translateY(-50%) rotate(180deg);
    }
    .has-submenu .sub-menu {
        position: static;
        box-shadow: none;
        width: 100%;
        min-width: 100%;
        padding: 0;
        background: var(--light-bg);
        border-radius: 0;
        display: none;
        /* 기본 숨김 */
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: none;
        flex-direction: column;
        flex-wrap: nowrap;
    }
    .has-submenu:hover .sub-menu {
        display: none;
        /* 호버 비활성화 */
    }
    .has-submenu.open .sub-menu {
        display: block;
        /* JS에서 클래스 토글 */
        border-top: 1px solid var(--light-gray);
    }
    .sub-menu li {
        margin: 0;
        border-bottom: 1px solid var(--light-gray);
    }
    .sub-menu li:last-child {
        border-bottom: none;
    }
    .sub-menu li a {
        padding: 14px 15px 14px 35px;
        font-size: 15px;
        display: block;
        color: var(--dark-text);
        text-align: left;
        position: relative;
    }
    .sub-menu li a::before {
        left: 20px;
        width: 4px;
        height: 4px;
        opacity: 1;
    }
    .sub-menu li a:hover {
        background-color: rgba(92, 107, 192, 0.05);
        color: var(--primary-color);
        padding-left: 40px;
    }
    .sub-menu li a:hover::before {
        left: 25px;
    }
    /* 모바일에서 버튼 스타일 */
    .calc-btn,
    .inquiry-btn {
        margin: 0;
        width: 100%;
        border-bottom: 1px solid #f1f3f5;
        display: block;
    }
    .calc-btn a,
    .inquiry-btn a {
        display: block;
        text-align: left;
        margin: 0;
        padding: 14px 20px;
        width: 100%;
        border-radius: 0;
        background: transparent;
        color: var(--dark-text);
    }
    .calc-btn a:hover,
    .inquiry-btn a:hover {
        background: #f5f5f5;
        color: var(--primary-color);
    }
    .calc-btn a i,
    .inquiry-btn a i {
        margin-right: 10px;
        color: var(--primary-color);
    }
    /* 모바일에서 퀵메뉴 완전히 숨기기 */
    .quick-menu,
    .scroll-quick-menu {
        display: none !important;
    }
    /* 모바일 전용 CTA 버튼 표시 */
    .mobile-call-cta {
        display: block !important;
        /* !important 추가로 항상 표시 강제 */
        z-index: 1500;
        /* z-index 값 높이기 */
    }
    /* 모바일 하단 네비게이션 바 표시 */
    .mobile-bottom-nav {
        display: flex;
        height: auto;
    }
    /* 푸터 조정 - 하단 네비게이션 바를 위한 여백 추가 */
    .footer {
        text-align: center;
        padding: 35px 15px 100px;
        /* 하단 여백 100px로 증가 */
    }
    /* 탭 링크 스크롤 */
    .tab-links {
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 10px;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        /* Firefox */
    }
    .tab-links::-webkit-scrollbar {
        display: none;
        /* Chrome, Safari */
    }
    .tab-links li {
        padding: 10px 15px;
        flex: 0 0 auto;
    }
    .fee-tab-links {
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 10px;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .fee-tab-links::-webkit-scrollbar {
        display: none;
    }
    .fee-tab-links li {
        white-space: nowrap;
        flex: 0 0 auto;
    }
    /* 콘텐츠 여백 조정 */
    .content {
        padding: 20px 0;
    }
    .content.has-sticky-header {
        padding-top: 70px;
        /* 모바일 헤더 높이 고려 */
    }
    .product-section,
    .inquiry-section {
        padding: 25px 15px;
    }
    /* 버튼 스타일 */
    .action-buttons .btn,
    .calc-actions .btn,
    .submit-btn button {
        display: block;
        width: 100%;
        margin-bottom: 10px;
        text-align: center;
        padding: 15px;
        font-weight: 500;
    }
    /* 스크롤 마진 조정 */
    .inquiry-section {
        scroll-margin-top: 80px;
    }
    .popular-plan,
    .product-section {
        scroll-margin-top: 80px;
    }
    /* 플랜 카드 */
    .plan-cards {
        flex-direction: column;
        align-items: center;
    }
    .plan-card {
        max-width: 100%;
    }
    /* 반응형 특징 카드 조정 */
    .features {
        margin: 30px 0;
        gap: 15px;
    }
    .feature-card {
        min-width: 100%;
        padding: 25px 20px;
    }
    .feature-icon {
        font-size: 2.5em;
    }
    .feature-card h3 {
        font-size: 1.3em;
    }
    /* 혜택 섹션 조정 */
    .benefit-section,
    .why-section {
        padding: 40px 15px;
        text-align: center;
    }
    .benefit-section h2,
    .why-section h2,
    .popular-plan h2 {
        font-size: 1.8em;
        margin-bottom: 15px;
        padding: 4%;
    }
    .benefit-section p,
    .why-section p {
        font-size: 1.05em;
        line-height: 1.6;
    }
    /* 모바일 후기 섹션 조정 */
    .testimonial-section {
        padding: 30px 0;
    }
    .testimonial-cards {
        gap: 20px;
    }
    .testimonial-card {
        min-width: 100%;
        padding: 20px;
    }
    /* 모바일 form 조정 */
    .form-group input {
        padding: 15px 12px;
        font-size: 16px;
        /* 모바일에서 자동 줌 방지 */
    }
    .agreement {
        align-items: flex-start;
    }
    .agreement input {
        margin-top: 7px;
        transform: scale(1.2);
    }
    /* 모달 조정 */
    .modal-content,
    .terms-modal-content {
        width: 95%;
        padding: 25px 15px;
        max-height: 85vh;
    }
    .calc-tab-links {
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
        padding-bottom: 10px;
    }
    .calc-tab-links::-webkit-scrollbar {
        display: none;
    }
    .calc-tab-links li {
        flex: 0 0 auto;
        font-size: 0.9em;
        padding: 8px 12px;
    }
    /* 스크롤 퀵메뉴 (모바일에서는 숨김) */
    .scroll-quick-menu {
        display: none;
    }
    /* 셋탑박스 이미지 스타일 */
    .calc-option-item label img {
        width: 80px;
        height: 80px;
        margin-top: 5px;
    }
}


/* 리뷰 슬라이드 스타일 pjh */

.review-section {
    margin: 40px 0;
}

.review-title {
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 18px;
    display: flex;
    gap: 8px;
    flex-direction: column;
    align-items: center;
}

.review-title p {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.4em;
}

.review-count {
    color: #d32f2f;
    font-size: 0.95em;
}

.review-slider-wrapper {
    position: relative;
    display: flex;
    align-items: stretch;
}

.review-slider {
    width: 100%;
}

.review-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    padding: 20px;
    margin: 0 8px;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.review-img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4em;
    color: white;
    flex-shrink: 0;
}

.review-author {
    font-weight: bold;
    font-size: 1.1em;
    color: var(--dark-text);
}

.review-date {
    font-size: 0.85em;
    color: #888;
    margin-top: 2px;
}

.review-stars {
    color: #ffb400;
    font-size: 1.1em;
    letter-spacing: 1px;
    margin-top: 2px;
}

.review-text {
    font-size: 1.05em;
    color: #333;
    line-height: 1.6;
    word-break: keep-all;
    flex: 1;
    display: flex;
    align-items: flex-start;
    height: 190px;
    overflow: hidden;
    scrollbar-width: thin;
    scrollbar-color: transparent transparent;
    transition: border-color 0.3s, border-right-width 0.3s, box-shadow 0.3s;
}

.review-text::-webkit-scrollbar {
    width: 6px;
    background: transparent;
}

.review-text::-webkit-scrollbar-thumb {
    background: transparent;
    border-radius: 8px;
}

.review-text::-webkit-scrollbar-track {
    background: transparent;
}

.review-text:hover {
    overflow: auto;
    scrollbar-color: var(--primary-color) var(--light-bg);
}

.review-text:hover::-webkit-scrollbar-thumb {
    background: var(--primary-color);
}

.review-text:hover::-webkit-scrollbar-track {
    background: var(--light-bg);
}

.blur {
    background: #bbb;
    color: transparent;
    border-radius: 2px;
    padding: 0 5px;
    margin: 0 2px;
}

.review-arrow {
    background: #fff;
    border: 2px solid var(--border-color);
    position: absolute;
    top: 50%;
    z-index: 2;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.review-arrow:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
}

.review-arrow-left {
    left: -20px;
}

.review-arrow-right {
    right: -20px;
}

@media (max-width: 1024px) {
    .review-card {
        padding: 18px;
        min-height: 160px;
    }
    .review-img {
        width: 40px;
        height: 40px;
        font-size: 1.3em;
    }
    .review-arrow {
        width: 36px;
        height: 36px;
        font-size: 1.1em;
    }
    .review-arrow-left {
        left: -15px;
    }
    .review-arrow-right {
        right: -15px;
    }
}

@media (max-width: 600px) {
    .review-card {
        padding: 15px;
        min-height: 140px;
        gap: 12px;
    }
    .review-img {
        width: 36px;
        height: 36px;
        font-size: 1.2em;
    }
    .review-text {
        font-size: 1em;
        line-height: 1.5;
    }
    .review-arrow {
        width: 32px;
        height: 32px;
        font-size: 1em;
    }
    .review-arrow-left {
        left: -5px;
    }
    .review-arrow-right {
        right: -5px;
    }
}


/* 카카오톡 상담 스타일 pjh */

.kakao-cta {
    position: fixed;
    top: 60%;
    right: 24px;
    z-index: 110;
    display: block;
}

.kakao-cta img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #fee500;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
    object-fit: cover;
    border: 1.5px solid #e0e0e0;
    transition: box-shadow 0.2s, transform 0.2s;
}

.kakao-cta img:hover,
.kakao-cta img:active {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
    transform: translateY(-2px) scale(1.04);
}

@media (max-width: 900px) {
    .kakao-cta {
        right: 16px;
        bottom: 128px;
    }
}

@media (max-width: 768px) {
    .kakao-cta {
        top: 72%;
        right: 25px;
    }
}

.header.sticky .sticky-service-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: flex-end;
}

.header.sticky .main-nav {
    padding-top: 8px;
}

.header.sticky .main-nav ul {
    padding: 3px 0;
    column-gap: 15px;
}

.header.sticky .main-nav li {
    padding: 2px 0;
}


/* 서비스 버튼 조정 */

.sticky-service-button {
    padding: 5px 8px;
    font-size: 0.75em;
    margin: 0 3px 3px 0;
}


/* 월요금계산, 빠른견적문의 버튼 사이즈 조정 */

.calc-btn a,
.inquiry-btn a {
    font-size: 0.9em;
    padding: 8px 12px;
}

.calc-btn,
.inquiry-btn {
    margin-top: 0;
}

.calc-btn {
    /* background-image: url('/public/assets/images/btn-pre-order.png'); */
    /* background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%; */
}

.inquiry-btn {
    /* background-image: url('/public/assets/images/btn-phone-event.png'); */
    /* background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%; */
}


/* 퀵메뉴 조정 */

.quick-menu {
    padding: 6px 0;
}

.quick-menu a,
.quick-menu button {
    font-size: 0.85em;
}


/* 특징 카드 조정 */

.feature-card {
    min-width: 220px;
}


/* 콘텐츠 패딩 조정 */

.content {
    padding: 25px 0;
}


/* 계산기 섹션 */

.calculator-section {
    padding: 0 15px;
}

.calc-option-title {
    width: 160px;
}