* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Pretendard", -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
    background: #ffffff;
    min-height: 100vh;
}

/* 헤더 */
.header {
    background: #ffffff;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-box {
    height: 40px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    gap: 100px;
    align-items: center;
    max-width: 946px;
    width: 100%;
    height: 28px;
    opacity: 1;
    justify-content: center;
}

@media (max-width: 1200px) {
    .nav-menu {
        gap: 60px;
    }
}

@media (max-width: 992px) {
    .nav-menu {
        gap: 40px;
    }
}

.nav-menu a {
    text-decoration: none;
    color: #1E1E1E;
    font-family: Pretendard;
    font-weight: 600;
    font-style: normal;
    font-size: 18px;
    line-height: 160%;
    letter-spacing: -0.01em;
    text-align: center;
    background: #1E1E1E;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #4865FF;
    font-weight: bold;
    font-size: 16px;
}

.test-consultation-btn {
    background: #4865FF;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    margin-left: 15px;
    transition: background 0.3s;
}

.test-consultation-btn:hover {
    background: #365a9b;
}

.phone-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
}

/* 메인 배경 영역 */
.main-background {
    background-image: url('/images/bg.gif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    min-height: 780px;
    position: relative;
    padding: 40px 0 100px;
    opacity: 1;
}

/* 메인 컨테이너 */
.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    position: relative;
}

/* 메인 타이틀 */
.main-title {
    margin-bottom: 50px;
}

.title-small {
    font-family: Pretendard;
    font-weight: 500;
    font-style: normal;
    font-size: 30px;
    line-height: 130%;
    letter-spacing: -0.01em;
    text-align: center;
    vertical-align: middle;
    color: #666;
    margin-bottom: 15px;
}

.title-large {
    font-family: Pretendard;
    font-weight: 700;
    font-style: normal;
    font-size: 50px;
    line-height: 135%;
    letter-spacing: -0.01em;
    text-align: center;
    vertical-align: middle;
    color: #333;
    margin-bottom: 12px;
}

.highlight-blue {
    color: #4865FF;
}

.title-subtitle {
    font-family: Pretendard;
    font-weight: 700;
    font-style: normal;
    font-size: 50px;
    line-height: 135%;
    letter-spacing: -0.01em;
    text-align: center;
    vertical-align: middle;
    color: #333;
    margin-bottom: 0;
}

/* 통계 박스들 */
.stats-section {
    width: 522px;
    height: 246px;
    margin: 0 auto 60px;

    opacity: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
}

.stats-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 0;
    text-align: center;
}

.stat-box {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(68, 114, 196, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    text-align: center;
}

.stat-box:nth-child(1) {
    width: 294px;
    height: 74px;
    left: -65px;
}

.stat-box:nth-child(1) .stat-content-wrapper {
    width: 213px;
    height: 35px;
}

.stat-box:nth-child(1) .stat-number {
    width: 162px;
    height: 29px;
}

.stat-box:nth-child(2) {
    left: 85px;
    width: 350px;
    height: 74px;
}

.stat-box:nth-child(2) .stat-content-wrapper {
    width: 264px;
    height: 35px;
}

.stat-box:nth-child(2) .stat-number {
    width: 213px;
    height: 29px;
}

.stat-box:nth-child(3) {
    left: -55px;
    width: 430px;
    height: 74px;
}

.stat-box:nth-child(3) .stat-content-wrapper {
    width: 350px;
    height: 35px;
}

.stat-box:nth-child(3) .stat-icon {
    width: 31px;
    height: 35px;
}

.stat-box:nth-child(3) img.stat-icon {
    width: 31px;
    height: 35px;
}

.stat-box:nth-child(3) .stat-number {
    width: 299px;
    height: 29px;
}

.stat-content-wrapper {
    width: 213px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    opacity: 1;
    text-align: center;
}

.stat-icon {
    width: 35px;
    height: 35px;
    background: #4865FF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    flex-shrink: 0;
    opacity: 1;
}

img.stat-icon {
    width: 35px;
    height: 35px;
    background: transparent;
    object-fit: contain;
    padding: 0;
    border-radius: 0;
}

.stat-number {
    width: 162px;
    height: 29px;
    font-family: Pretendard;
    font-weight: 700;
    font-style: normal;
    font-size: 22px;
    line-height: 130%;
    letter-spacing: -0.01em;
    vertical-align: middle;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    text-align: center;
}

.stat-highlight {
    color: #2E5FF1;
}

.stat-normal {
    color: #232323;
}

.stat-text {
    font-size: 16px;
    color: #666;
    line-height: 1.4;
}

/* 상담 신청 폼 */
.consultation-section {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 1000px;
}

.consultation-form {
    position: relative;
    bottom: 55px;
    width: 1000px;
    height: 148px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 30px;
    padding: 25px 40px;
    box-shadow: 0 15px 40px rgba(68, 114, 196, 0.2);
    backdrop-filter: blur(15px);
    border: 1px solid #D0D0D0;
    opacity: 1;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    align-items: end;
}

.form-group {
    flex: 1;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
    font-weight: 500;
}

.required {
    color: #ff0000;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 15px 10px;
    border: none;
    border-bottom: 2px solid #e5e5e5;
    border-radius: 0;
    font-size: 15px;
    background: white;
    color: #333;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-bottom-color: #4865FF;
    background: white;
}

.form-group input::placeholder {
    color: #aaa;
}

.form-group select {
    color: #aaa;
}

.form-group select:focus,
.form-group select:valid {
    color: #333;
}

.submit-btn {
    background: #4865ff;
    color: white;
    border: none;
    padding: 18px 35px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
    height: 80px;
    white-space: nowrap;
    min-width: 140px;
}

.submit-btn:hover {
    background: #365a9b;
}

.privacy-notice {
    position: relative;
    bottom: 15px;
    text-align: right;
    font-size: 13px;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.privacy-checkbox {
    margin-right: 5px;
}

.privacy-link {
    color: #4865FF;
    text-decoration: underline;
}

/* 누적 탕감액 섹션 */
.total-reduction-section {
    background: linear-gradient(135deg, #4865FF 0%, #365a9b 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.reduction-container {
    max-width: 1200px;
    margin: 0 auto;
}

.reduction-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.reduction-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-weight: 500;
}

.reduction-title {
    font-size: 36px;
    font-weight: bold;
    color: white;
    margin: 0;
}

.amount-display {
    background: white;
    color: #4865FF;
    padding: 10px;
    border-radius: 50px;
    font-size: 32px;
    font-weight: bold;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    min-width: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    overflow: visible;
}

.wheel-picker {
    display: flex;
    align-items: center;
    gap: 0px;
    font-family: "Pretendard", -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
    font-weight: bold;
    letter-spacing: -4px;
}

.digit-container {
    width: 24px;
    height: 45px;
    overflow: hidden;
    position: relative;
}

.digit-wheel {
    display: flex;
    flex-direction: column;
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    transform: translateY(0);
}

.wheel-picker .digit-wheel span {
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: bold !important;
    color: #333;
    position: relative;
    right: 1px;
}

.wheel-picker .comma,
.wheel-picker .currency {
    font-size: 36px;
    font-weight: bold !important;
    color: #333;
}

.currency {
    margin-left: 8px;
}

/* 푸터 섹션 */
.footer-section {
    background: #f5f5f5;
    padding: 40px 20px 150px;
    border-top: 1px solid #e0e0e0;
}

.footer-container {
    max-width: 1000px;
    margin: 0 auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-left {
    flex: 1;
}

.company-info h3 {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.company-info p {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
    line-height: 1.4;
}

.copyright {
    margin-top: 20px;
}

.copyright p {
    font-size: 12px;
    color: #999;
}

.footer-right {
    text-align: right;
}

.contact-info p {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.phone-number {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin: 10px 0;
}

.ace-logo {
    display: inline-block;
    margin-top: 10px;
}

.ace-logo img {
    height: 50px;
    object-fit: contain;
}

/* body 스타일 수정 */
body {
    font-family: "Pretendard", -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
    background: #ffffff;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

/* PC용 하단 상담 신청 바 */
.pc-consultation-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    background: transparent;
    padding: 20px;
}

.pc-consultation-container {
    max-width: 1000px;
    width: 100%;
    background: #4a4a4a;
    border-radius: 15px;
    padding: 20px 30px;
    display: none;
    align-items: center;
    gap: 30px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pc-consultation-container.show {
    display: flex;
    opacity: 1;
}

.pc-consultation-message {
    color: white;
    font-family: Pretendard;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.3;
    white-space: nowrap;
    flex-shrink: 0;
}

.pc-highlight {
    color: white;
    font-family: Pretendard;
    font-weight: bold;
}

.pc-consultation-form {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    flex: 1;
}

.pc-input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.pc-input {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: Pretendard;
    font-size: 14px;
    font-weight: 500;
    background: white;
}

.pc-input:focus {
    outline: none;
    border-color: #4865FF;
}

.pc-privacy-check {
    display: flex;
    align-items: center;
    gap: 5px;
    color: white;
    font-size: 11px;
    white-space: nowrap;
}

.pc-privacy-check input[type="checkbox"] {
    margin: 0;
    transform: scale(0.8);
}

.pc-consultation-btn {
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 120px;
    justify-content: center;
}

.pc-consultation-btn.primary {
    background: #4865FF;
    color: white;
}

.pc-consultation-btn.primary:hover {
    background: #365a9b;
}

.pc-consultation-btn.primary:disabled {
    background: #ccc;
    color: #666;
    cursor: not-allowed;
    transform: none;
}

.pc-consultation-btn.primary:active {
    transform: none;
}

.pc-consultation-btn.secondary {
    background: #ffd700;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pc-consultation-btn.secondary:hover {
    background: #ffed4e;
}

.pc-consultation-btn.secondary img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.pc-consultation-btn img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* 1000px 이하에서는 PC용 상담바 숨기고 모바일 버전 사용 */
@media (max-width: 1000px) {
    .pc-consultation-bar {
        display: none;
    }
}

/* 하단 상담 신청 바 - PC에서는 숨김 */
.bottom-consultation-bar {
    background: transparent;
    padding: 0;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: none;
    /* PC에서는 기본적으로 숨김 */
    justify-content: center;
    transition: bottom 0.3s ease;
}

/* 모바일 키패드 대응 - 하단 바가 키패드에 가려지지 않도록 */
@supports (-webkit-touch-callout: none) {
    .bottom-consultation-bar {
        bottom: env(safe-area-inset-bottom, 0);
        padding-bottom: env(safe-area-inset-bottom, 0);
    }
}

/* 키패드가 나올 때 하단 바 숨기기 */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .bottom-consultation-bar {
        display: none !important;
    }
}

.consultation-bar-container {
    max-width: 1000px;
    width: 100%;
    background: #4a4a4a;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    border-radius: 25px;
    padding: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.consultation-message {
    color: white;
    font-family: Pretendard;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.3;
    white-space: nowrap;
    text-align: left;
}

.consultation-message .highlight {
    color: white;
    font-family: Pretendard;
    font-weight: bold;
    font-size: 23px;
}

.consultation-form-inline {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 15px;
    flex: 1;
}

.mobile-toggle-header {
    display: none;
}

.toggle-btn {
    display: none;
}

.desktop-message {
    display: block;
}

.input-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    background: white;
    border: none;
    margin-bottom: 10px;
    width: 100%;
}

.input-group label {
    display: block;
    font-size: 13px;
    color: #000000;
    margin-bottom: 0;
    font-weight: 800;
    width: 50px;
}

.inline-input {
    flex: 1;
    padding: 15px 18px;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    font-family: Pretendard;
    font-size: 14px;
    font-weight: 500;
    background: white;
    color: #333;
    transition: border-color 0.3s;
}

.inline-input:focus {
    outline: none;
    background: white;
    border: none;
}

.inline-input::placeholder {
    color: #999;
    font-size: 12px;
}

.inline-input:focus::placeholder {
    color: #bbb;
}

/* 필수 항목 표시를 위한 스타일 */
.inline-input[placeholder*="*"]::placeholder {
    color: #666;
}

.input-with-label {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 3px;
    width: 100%;
}

.input-label {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 0;
    white-space: nowrap;
    min-width: 50px;
    flex-shrink: 0;
    text-align: left;
}

.required {
    color: #ff4444;
    font-weight: bold;
}

.privacy-check {
    display: flex;
    align-items: center;
    gap: 5px;
    color: white;
    font-size: 12px;
    cursor: pointer;
    white-space: nowrap;
    padding-left: 3%;
}

.privacy-checkbox {
    margin: 0;
}

.consultation-btn {
    padding: 12px 20px;
    border: none;
    border-radius: 15px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
}

.consultation-btn img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.consultation-btn.primary {
    background: #4865FF;
    color: white;
}

.consultation-btn.primary:hover {
    background: #365a9b;
}

.consultation-btn.secondary {
    background: #ffd700;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.consultation-btn.secondary:hover {
    background: #ffed4e;
}

.consultation-btn.secondary img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* 하단 바 때문에 body에 패딩 추가 - PC에서는 제거 */
body {
    background: #ffffff;
}

/* 상단 고정 버튼 컨테이너 (기존 플로팅 버튼을 상단으로) */
.floating-btn-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1002;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: none;
    /* PC에서는 기본적으로 숨김 */
}

/* 모바일 키패드 대응 - iOS Safari 키패드가 나올 때 고정 요소가 올라가지 않도록 */
@supports (-webkit-touch-callout: none) {
    .floating-btn-container {
        position: -webkit-sticky;
        position: sticky;
        top: env(safe-area-inset-top, 0);
    }
}

/* 키패드가 나올 때 고정 요소 위치 조정 */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .floating-btn-container {
        display: none !important;
    }
}

.floating-btn-container.show {
    transform: translateY(0);
}

.floating-btn-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    height: 55px;
    gap: 1%;
    width: 100%;
}

.floating-btn-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #4865FF;
    font-weight: bold;
    font-size: clamp(13px, 2.5vw, 15px);
    text-decoration: none;
    padding: 10px 8px;
    border-radius: 15px;
    transition: all 0.3s;
    background: white;
    border: 2px solid #4865FF;
    flex: 1;
    max-width: 180px;
    min-width: 100px;
    height: 40px;
    box-sizing: border-box;
    white-space: nowrap;
}

.floating-btn-phone:hover {
    background: #4865FF;
    color: white;
}

.floating-btn-phone img {
    width: clamp(14px, 3vw, 16px);
    height: clamp(14px, 3vw, 16px);
}

/* consultation-btn 스타일 상단 플로팅용 조정 */
.floating-btn-container .consultation-btn {
    padding: 10px 8px;
    border: none;
    border-radius: 15px;
    font-size: clamp(13px, 2.5vw, 15px);
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex: 1;
    max-width: 180px;
    min-width: 100px;
    height: 40px;
    box-sizing: border-box;
}

.floating-btn-container .consultation-btn img {
    width: clamp(14px, 3vw, 16px);
    height: clamp(14px, 3vw, 16px);
    object-fit: contain;
}

.floating-btn-container .consultation-btn.primary {
    background: #4865FF;
    color: white;
}

.floating-btn-container .consultation-btn.primary:hover {
    background: #365a9b;
}

.floating-btn-container .consultation-btn.secondary {
    background: #ffd700;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.floating-btn-container .consultation-btn.secondary:hover {
    background: #ffed4e;
}

.floating-btn-container .consultation-btn.secondary img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* 태블릿 크기 */
@media (max-width: 1024px) {
    .floating-btn-content {
        padding: 10px 15px;
        gap: 1.5%;
    }

    .floating-btn-phone,
    .floating-btn-container .consultation-btn {
        max-width: 160px;
        min-width: 90px;
    }
}

/* 모바일 상단 고정 버튼 */
@media (max-width: 768px) {
    .floating-btn-container {
        display: block;
        /* 모바일에서만 표시 */
    }

    .floating-btn-content {
        padding: 8px 10px;
        height: 50px;
        gap: 2%;
    }

    .floating-btn-phone {
        padding: 8px 6px;
        height: 36px;
        max-width: 140px;
        min-width: 80px;
        gap: 4px;
    }

    .floating-btn-container .consultation-btn {
        padding: 8px 6px;
        height: 36px;
        max-width: 140px;
        min-width: 80px;
        gap: 4px;
    }
}

/* 작은 모바일 */
@media (max-width: 480px) {
    .floating-btn-content {
        padding: 8px 8px;
        gap: 1%;
    }

    .floating-btn-phone,
    .floating-btn-container .consultation-btn {
        max-width: 120px;
        min-width: 70px;
        font-size: 12px;
    }

    .floating-btn-phone img,
    .floating-btn-container .consultation-btn img {
        width: 12px;
        height: 12px;
    }
}

/* 기존 오른쪽 플로팅 버튼들은 숨김 */
.floating-buttons {
    display: none;
}

/* TOP 버튼 */
.top-button {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: #4865FF;
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(72, 101, 255, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.top-button.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.top-button:hover {
    background: #365a9b;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(72, 101, 255, 0.4);
}

.top-button-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.top-button-text {
    font-size: 10px;
    line-height: 1;
}

/* 모바일 TOP 버튼 */
@media (max-width: 768px) {
    .top-button {
        bottom: 250px;
        /* 하단 상담바 위로 */
        right: 15px;
        width: 45px;
        height: 45px;
    }

    .top-button-icon {
        width: 14px;
        height: 14px;
    }

    .top-button-text {
        font-size: 9px;
    }
}

/* 상단 고정 버튼 컨테이너가 보일 때 body 패딩 조정 */
body.floating-btn-visible {
    padding-top: 55px;
}

@media (max-width: 768px) {
    body.floating-btn-visible {
        padding-top: 50px;
    }
}

/* 하단 여백 */
.bottom-spacer {
    height: 120px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* AI 자가진단 섹션 */
.ai-diagnosis-section {
    padding: 80px 20px;
}

.ai-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.ai-title {
    margin-bottom: 60px;
}

.ai-title h3 {
    font-size: 24px;
    color: #666;
    margin-bottom: 15px;
    font-weight: normal;
}

.ai-title h2 {
    font-size: 40px;
    color: #333;
    font-weight: bold;
    margin-bottom: 20px;
}

.ai-subtitle {
    font-size: 16px;
    color: #666;
}

/* 진단 카드들 */
.diagnosis-cards {
    display: flex;
    justify-content: center;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.diagnosis-card {
    box-shadow: 0 3px 20px rgb(113 113 113 / 20%);
    flex: 1;
    background: #f8f9fa;
    border: none;
    border-radius: 20px;
    padding: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    min-height: 180px;
    display: flex;
    flex-direction: column;
}


.card-content {
    flex: 1;
    text-align: left;
}

.card-subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 12px;
    line-height: 1.4;
}

.card-title {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin: 0 0 20px 0;
}

.diagnosis-start-btn {
    background: #4865FF;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
}

.card-icon {
    font-size: 70px;
    color: #4865FF;
    text-align: right;
    margin-top: auto;
}

img.card-icon {
    width: 70px;
    height: 70px;
    object-fit: contain;
    align-self: flex-end;
    margin-left: auto;
    position: relative;
    bottom: 15px;
}

/* 고객 사례 섹션 */
.customer-cases-section {
    background: white;
    padding: 80px 20px 100px;
}

.cases-container {
    max-width: 1090px;
    margin: 0 auto;
    padding-bottom: 80px;
}

.cases-header {
    text-align: center;
    margin-bottom: 40px;
}

.cases-subtitle {
    font-size: 20px;
    color: #424242;
    margin-bottom: 15px;
}

.cases-title {
    font-size: 30px;
    font-weight: bold;
    color: #232323;
    margin-bottom: 40px;
}

.cases-wrapper {
    padding: 15px 20px;
    position: relative;
    overflow: hidden;
}

.casesSwiper {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    overflow: visible;
    position: relative;
}

.casesSwiper .swiper-slide {
    overflow: visible;
}

.arrow-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 10;
    display: block;
}

.arrow-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    cursor: pointer;
    pointer-events: auto;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.arrow-btn:hover {
    transform: translateY(-50%) scale(1.1);
}

.arrow-btn svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: #333;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.arrow-btn:hover svg {
    stroke: #4865FF;
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.arrow-btn:hover svg {
    stroke: #000;
}

.case-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.tab-btn {
    padding: 10px 25px;
    border: none;
    border-radius: 25px;
    background: #f0f0f0;
    color: #666;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    min-width: 100px;
}

.tab-btn.active {
    background: #333;
    color: white;
}

.tab-btn:hover:not(.active) {
    background: #e0e0e0;
}

.case-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 15px;
    padding: 20px;
    transition: all 0.3s;
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    min-width: 280px;
}

.case-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #4865FF;
    z-index: 10;
    position: relative;
}

.case-profile {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.profile-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    border: 2px solid #e9ecef;
}

.case-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.case-name-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.case-badges {
    display: flex;
    gap: 8px;
    margin-bottom: 5px;
}

.case-type {
    background: #e9ecef;
    color: #666;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
}

.case-success {
    background: #e8f2ff;
    color: #4865FF;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
}

.case-name {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin: 0;
}

.case-age {
    font-size: 13px;
    color: #999;
    margin-top: 2px;
}

.case-result {
    margin-bottom: 25px;
}

.result-badge {
    background: #4865FF;
    color: white;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    position: relative;
}

.result-badge::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #4865FF;
}

.case-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    background: #fafafa;
    min-height: 120px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    font-size: 14px;
    min-height: 24px;
}

.detail-row.empty {
    visibility: hidden;
}

.detail-row .label {
    font-weight: 400;
}

.detail-row .value {
    font-weight: 600;
}

/* 총 채무액 - label과 value 모두 #727272 */
.case-details .detail-row.total-debt .label,
.case-details .detail-row.total-debt .value {
    color: #727272 !important;
    font-weight: 600;
}

/* 탕감 후 원금 - label과 value 모두 #424242 */
.case-details .detail-row.reduced-principal .label,
.case-details .detail-row.reduced-principal .value {
    color: #424242 !important;
    font-weight: 600;
}

/* 월 변제액 - label과 value 모두 #4865FF */
.case-details .detail-row.monthly-payment .label,
.case-details .detail-row.monthly-payment .value {
    color: #4865FF !important;
    font-weight: 600;
}

/* 상담 신청 알림 */
.consultation-alerts {
    background: #4865FF;
    color: white;
    overflow: hidden;
    position: relative;
    height: 80px;
    display: flex;
    flex-direction: column;
}

.alert-row {
    display: flex;
    animation: scrollLeft 30s linear infinite;
    white-space: nowrap;
    height: 40px;
    align-items: center;
}

.alert-row:nth-child(1) {
    animation-delay: 0s;
}

.alert-row:nth-child(2) {
    animation-delay: -2.5s;
}

.alert-item {
    padding: 0 50px;
    font-size: 14px;
    font-weight: 500;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.time-badge {
    background: white;
    color: #4865FF;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    min-width: 60px;
    text-align: center;
}

/* PC에서는 모바일용 Swiper 숨김 */
.mobile-consultation-swiper {
    display: none;
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* 특별한 서비스 섹션 */
.special-services-section {
    background: white;
    padding: 80px 20px;
}

.services-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 10px;
}

.services-header {
    text-align: center;
    margin-bottom: 60px;
}

.services-subtitle {
    font-size: 25px;
    color: #232323;
    margin-bottom: 5px;
    font-weight: 600;
}

.services-title {
    font-size: 36px;
    font-weight: bold;
    color: #232323;
    margin: 0;
}

.services-title-mobile {
    display: none;
}

.mobile-br {
    display: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    max-width: 900px;
    margin: 0 auto;
}

.service-item {
    background: white;
    border-radius: 15px;
    padding: 20px 25px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.service-text {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    line-height: 1.4;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .mobile-br {
        display: inline;
    }

    .services-header {
        margin-bottom: 40px;
    }

    .services-subtitle {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .services-title {
        font-size: 22px;
        line-height: 1.4;
        word-break: keep-all;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .service-item {
        padding: 25px 15px;
    }

    .service-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 15px;
    }

    .service-text {
        font-size: 13px;
    }
}

/* FAQ 섹션 */
.faq-section {
    background: white;
    padding: 80px 20px;
}

.faq-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 10px
}

.faq-header {
    text-align: center;
    margin-bottom: 40px;
}

.faq-title {
    font-size: 36px;
    font-weight: bold;
    color: #333;
    margin: 0;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    background: transparent;
    margin-bottom: 5px;
}

.faq-question {
    background: #f5f5f5;
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: Pretendard;
    font-weight: 700;
    font-style: normal;
    font-size: 20px;
    line-height: 140%;
    letter-spacing: -0.01em;
    color: #333;
    transition: background 0.3s ease;
    border: none;
    width: 100%;
    text-align: left;
    border-radius: 10px;
}

.faq-question:hover {
    background: #e9e9e9;
}

.faq-question.active {
    background: #e8f2ff;
    color: #333;
    border-radius: 10px 10px 0 0;
}

.faq-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-icon svg {
    width: 12px;
    height: 12px;
    fill: none;
    stroke: #666;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.faq-question.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #f5f5f5;
    border-radius: 0 0 10px 10px;
}

.faq-answer.active {
    padding: 0 25px 20px 25px;
    max-height: 200px;
    background: #e8f2ff;
    border-radius: 0 0 10px 10px;
}

.faq-answer-content {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    font-weight: 500;
}

/* 오시는 길 섹션 */
.location-section {
    background: white;
    padding: 80px 20px;
}

.location-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 10px;
}

.location-header {
    text-align: center;
    margin-bottom: 20px;
}

.location-title {
    font-size: 36px;
    font-weight: bold;
    color: #333;
    margin-bottom: 30px;
}

.location-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 15px;
}

.location-text {
    flex: 1;
    text-align: left;
}

.location-address {
    font-size: 16px;
    color: #333;
    margin-bottom: 8px;
}

.location-address .label {
    font-weight: bold;
}

.location-phone {
    font-size: 16px;
    color: #333;
}

.location-phone .label {
    font-weight: bold;
}

.location-buttons {
    display: flex;
    gap: 10px;
    margin-left: 20px;
}

.location-btn {
    padding: 8px 16px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 6px;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.location-btn img {
    width: 16px;
    height: 16px;
}

.location-btn:hover {
    background: #f5f5f5;
}

.location-map {
    width: 100%;
    height: 400px;
    background: #f0f0f0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 16px;
    border: 1px solid #ddd;
    margin-bottom: 40px;
}

/* 대표 변호사 소개 섹션 */
.lawyer-intro-section {
    background: white;
    padding: 80px 20px;
}

.lawyer-container {
    max-width: 1000px;
    margin: 0 auto;
}

.lawyer-header {
    text-align: center;
    margin-bottom: 60px;
}

.lawyer-subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 15px;
}

.lawyer-title {
    font-size: 36px;
    font-weight: bold;
    color: #333;
    margin: 0;
}

.lawyer-content {
    display: flex;
    gap: 80px;
    align-items: flex-start;
    max-width: 1200px;
    overflow: hidden;
    margin: 0 auto;
}

.lawyer-image-area {
    flex: 0 0 50%;
    max-width: 50%;
    display: flex;
    justify-content: flex-end;
    padding: 0 20px 50px 20px;
}

.certificateSwiper {
    width: 450px;
    height: 590px;
    border-radius: 15px;
    overflow: hidden;
}

.certificateSwiper .swiper-slide {
    width: 100%;
    height: 550px;
}

.certificate-image {
    width: 100%;
    height: 100%;
    background: transparent;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 15px;
}

.certificate-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* 증서 스와이프 pagination 커스텀 - 내비게이션 닷 스타일 */
.certificateSwiper .swiper-pagination {
    bottom: 10px !important;
    text-align: center;
    position: absolute !important;
    left: 0;
    right: 0;
    z-index: 10;
}

.certificateSwiper .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    margin: 0 4px;
    transition: all 0.3s ease;
    opacity: 1;
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.1);
    position: relative;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.certificateSwiper .swiper-pagination-bullet:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.certificateSwiper .swiper-pagination-bullet-active {
    width: 24px;
    height: 8px;
    border-radius: 4px;
    background: #ffffff;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transform: none;
}

.certificateSwiper .swiper-pagination-bullet-active:hover {
    transform: scale(1.3);
}

.lawyer-info-area {
    flex: 0 0 50%;
    max-width: 50%;
    min-width: 0;
    overflow: hidden;
}

.lawyer-description {
    margin-bottom: 40px;
    font-size: 18px;
    line-height: 1.6;
    color: #333;
}

.lawyer-description p {
    margin-bottom: 8px;
}

.lawyer-description strong {
    color: #333;
    font-weight: bold;
}

.lawyer-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.detail-section h4 {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #333;
    display: inline-block;
}

.detail-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.detail-section li {
    font-size: 13px;
    color: #666;
    margin-bottom: 5px;
    padding-left: 15px;
    position: relative;
    line-height: 1.3;
}

.detail-section li::before {
    content: '•';
    color: #333;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* 상단 플로팅 배너 */
.floating-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    border-bottom: 1px solid #e0e0e0;
}

.floating-header.show {
    transform: translateY(0);
}

.floating-header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    height: 60px;
}

.floating-logo {
    display: flex;
    align-items: center;
}

.floating-logo img {
    height: 32px;
    object-fit: contain;
}

.floating-nav {
    display: flex;
    gap: 40px;
    align-items: center;
}

.floating-nav a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s;
}

.floating-nav a:hover {
    color: #4865FF;
}

.floating-contact {
    display: flex;
    align-items: center;
    gap: 15px;
}

.floating-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #4865FF;
    font-weight: bold;
    font-size: 16px;
    text-decoration: none;
}

.floating-phone img {
    width: 18px;
    height: 18px;
}

.floating-cta-btn {
    background: #4865FF;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.3s;
    white-space: nowrap;
}

.floating-cta-btn:hover {
    background: #365a9b;
    transform: translateY(-1px);
}

/* 모바일 플로팅 헤더 */
@media (max-width: 768px) {
    .floating-header-container {
        padding: 10px 15px;
        height: 55px;
    }

    .floating-nav {
        display: none;
    }

    .floating-contact {
        gap: 10px;
    }

    .floating-phone {
        font-size: 14px;
    }

    .floating-phone img {
        width: 16px;
        height: 16px;
    }

    .floating-cta-btn {
        padding: 8px 16px;
        font-size: 13px;
    }

    .floating-logo img {
        height: 28px;
    }

    /* 플로팅 헤더가 보일 때 기존 헤더 숨기기 */
    .floating-header.show~.header {
        opacity: 0;
        visibility: hidden;
    }
}

/* 데스크톱에서도 플로팅 헤더가 보일 때 기존 헤더 숨기기 */
.floating-header.show~.header {
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.header {
    transition: all 0.3s ease;
}

/* 플로팅 헤더가 보일 때 body 패딩 조정 */
body.floating-header-visible {
    padding-top: 60px;
}

@media (max-width: 768px) {
    body.floating-header-visible {
        padding-top: 55px;
    }
}

/* 상담 신청 팝업 스타일 */
.consultation-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.consultation-popup-overlay.show {
    display: flex;
    opacity: 1;
}

.consultation-popup-content {
    background: white;
    border-radius: 25px;
    width: 90%;
    max-width: 420px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.consultation-popup-overlay.show .consultation-popup-content {
    transform: scale(1);
}

.consultation-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px 20px;
    border-bottom: 1px solid #e9ecef;
}

.consultation-popup-header h2 {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin: 0;
}

.consultation-popup-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.consultation-popup-close:hover {
    background: #f5f5f5;
    color: #333;
}

.consultation-popup-body {
    padding: 30px;
}

.popup-form-group {
    margin-bottom: 25px;
}

.popup-form-group label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.popup-form-group input,
.popup-form-group select {
    width: 100%;
    padding: 15px 18px;
    border: none;
    border-bottom: 2px solid #e5e5e5;
    border-radius: 0;
    font-size: 16px;
    background: white;
    color: #333;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.popup-form-group input:focus,
.popup-form-group select:focus {
    outline: none;
    border-bottom-color: #4865FF;
    background: white;
}

.popup-form-group input::placeholder {
    color: #aaa;
}

.popup-form-group select {
    color: #666;
}

.popup-form-group select:focus,
.popup-form-group select:valid {
    color: #333;
}

.privacy-check-popup {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
}

.privacy-check-popup input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.consultation-submit-popup-btn {
    width: 100%;
    background: #4865FF;
    color: white;
    border: none;
    padding: 18px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.consultation-submit-popup-btn:hover:not(:disabled) {
    background: #365a9b;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(72, 101, 255, 0.3);
}

.consultation-submit-popup-btn:disabled {
    background: #ccc !important;
    cursor: not-allowed !important;
    opacity: 0.6 !important;
    color: #999 !important;
    transform: none !important;
    box-shadow: none !important;
}

.consultation-submit-popup-btn:enabled {
    background: #4865FF !important;
    cursor: pointer !important;
    opacity: 1 !important;
    color: white !important;
}

.required {
    color: #ff4444;
    font-weight: bold;
}

/* 성공 팝업 스타일 */
.success-popup {
    text-align: center;
}

.success-popup .consultation-popup-body {
    padding: 40px 30px;
}

.success-message {
    padding: 20px 0;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: #4865FF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: white;
    margin: 0 auto 20px;
}

.success-message p {
    font-size: 18px;
    color: #333;
    margin: 10px 0;
    line-height: 1.5;
}

.success-confirm-btn {
    background: #4865FF;
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 20px;
}

.success-confirm-btn:hover {
    background: #365a9b;
}

/* 모바일 팝업 스타일 */
@media (max-width: 768px) {
    .consultation-popup-content {
        width: 95%;
        margin: 20px;
    }

    .consultation-popup-header {
        padding: 20px 25px 15px;
    }

    .consultation-popup-header h2 {
        font-size: 20px;
    }

    .consultation-popup-body {
        padding: 25px;
    }

    .popup-form-group {
        margin-bottom: 20px;
    }

    .popup-form-group label {
        font-size: 15px;
    }

    .popup-form-group input,
    .popup-form-group select {
        padding: 12px 15px;
        font-size: 15px;
    }

    .consultation-submit-popup-btn {
        padding: 15px;
        font-size: 16px;
    }
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    z-index: 9999;
    position: relative;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger-menu.active .hamburger-line:nth-child(1) {
    transform: rotate(-45deg) translate(-3px, 7px);
}

.hamburger-menu.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active .hamburger-line:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -10px);
}

/* 모바일 네비게이션 메뉴 */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1003;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-nav.active {
    opacity: 1;
    visibility: visible;
}

/* 모바일 네비게이션이 열렸을 때 아일랜드 숨기기 */
.mobile-nav.active~.floating-btn-container,
body:has(.mobile-nav.active) .floating-btn-container {
    display: none !important;
}

.mobile-nav-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: white;
    padding: 30px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mobile-nav.active .mobile-nav-content {
    transform: translateX(0);
}

.mobile-nav-logo {
    width: 100%;
    text-align: center;
    margin-bottom: 50px;
    padding-top: 20px;
}

.mobile-nav-logo img {
    height: 40px;
    width: auto;
}

.mobile-nav-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 32px;
    color: #333;
    cursor: pointer;
    padding: 8px;
    line-height: 1;
    font-weight: normal;
    font-family: Arial, sans-serif;
}

.mobile-nav-menu {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    max-width: 400px;
}

.mobile-nav-menu a {
    display: block;
    padding: 20px 0;
    text-decoration: none;
    color: #333;
    font-size: 18px;
    font-weight: 600;
    border-bottom: 1px solid #f0f0f0;
    transition: color 0.3s ease;
    text-align: center;
}

.mobile-nav-menu a:hover {
    color: #4865FF;
}

.mobile-nav-menu a:last-child {
    border-bottom: none;
}

.mobile-contact {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #f0f0f0;
    width: calc(100% - 100px);
}

.mobile-contact-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.mobile-contact-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #4865FF;
    font-weight: bold;
    font-size: 18px;
    text-decoration: none;
    margin-bottom: 20px;
}

.mobile-contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.mobile-contact-btn.consultation {
    background: #E8F0FE;
    color: #4865FF;
}

.mobile-contact-btn.consultation:hover {
    background: #d0e3fc;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(72, 101, 255, 0.2);
}

.mobile-contact-btn.primary {
    background: #4865FF;
    color: white;
}

.mobile-contact-btn.primary:hover {
    background: #365a9b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(72, 101, 255, 0.3);
}

.mobile-contact-btn.secondary {
    background: #FEE500;
    color: #333;
}

.mobile-contact-btn.secondary:hover {
    background: #ffed4e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(254, 229, 0, 0.3);
}

.mobile-contact-btn img {
    width: 24px;
    height: 24px;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .header-container {
        padding: 15px 20px;
        justify-content: space-between;
    }

    .nav-menu {
        display: none;
    }

    .contact-phone {
        display: none;
    }

    .hamburger-menu {
        display: flex;
    }

    .mobile-nav {
        display: block;
    }

    .main-background {
        padding: 30px 0 120px;
    }

    .main-container {
        padding: 0 15px;
    }

    .title-large {
        font-size: 24px;
    }

    .title-subtitle {
        font-size: 24px;
    }

    .stats-container {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }

    .stat-box {
        min-width: auto;
        width: 100%;
        max-width: 350px;
        padding: 20px 25px;
    }

    .consultation-section {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        width: 100%;
        margin-top: 60px;
    }

    .consultation-form {
        padding: 30px 25px;
        margin: 0 15px;
    }

    .form-row {
        flex-direction: column;
        gap: 15px;
    }

    .submit-btn {
        width: 100%;
        min-width: auto;
    }

    .ai-diagnosis-section {
        padding: 60px 15px;
    }

    .ai-title h2 {
        font-size: 32px;
    }

    .diagnosis-cards {
        flex-direction: column;
        gap: 25px;
        max-width: 100%;
    }

    .diagnosis-card {
        padding: 25px;
        min-height: 160px;
    }

    .card-title {
        font-size: 24px;
    }

    .card-subtitle {
        font-size: 15px;
    }

    .card-icon {
        font-size: 60px;
    }

    .cases-container {
        padding: 0 15px;
        margin-bottom: 30px;
    }

    .cases-title {
        font-size: 28px;
    }

    .cases-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cases-wrapper {
        padding: 15px;
        overflow: hidden;
    }

    .consultation-alerts {
        height: auto;
        min-height: 400px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        overflow: visible;
        position: relative;
        background: linear-gradient(135deg, #FF8C00 0%, #FFA500 100%);
        border-radius: 20px;
        margin: 20px;
        padding: 30px 20px;
        display: flex;
        gap: 15px;
    }

    .consultation-alerts::before {
        content: "실시간으로\A고객님이 신청하고 있어요";
        white-space: pre-line;
        color: white;
        font-size: 18px;
        font-weight: 700;
        text-align: left;
        line-height: 1.3;
        display: block;
        position: absolute;
        top: 20px;
        left: 20px;
        width: auto;
        margin: 0;
        z-index: 10;
    }

    .alert-row {
        height: auto;
        animation: none;
        position: relative;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        overflow: hidden;
        gap: 0;
        margin-top: 80px;
        height: 240px;
        /* 5개 아이템 + 여유 공간 */
    }

    .alert-row:nth-child(1) {
        animation: verticalScroll 10s linear infinite;
    }

    .alert-row:nth-child(2) {
        display: none;
    }

    .alert-item {
        padding: 12px 16px;
        font-size: 13px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 90%;
        display: flex;
        align-items: center;
        gap: 10px;
        background: white;
        border-radius: 25px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        color: #333;
        margin: 0 auto 8px auto;
        width: 100%;
        max-width: 350px;
        height: 40px;
        flex-shrink: 0;
    }

    @keyframes verticalScroll {
        0% {
            transform: translateY(0);
        }

        10% {
            transform: translateY(-20px);
        }

        20% {
            transform: translateY(-40px);
        }

        30% {
            transform: translateY(-60px);
        }

        40% {
            transform: translateY(-80px);
        }

        50% {
            transform: translateY(-100px);
        }

        60% {
            transform: translateY(-120px);
        }

        70% {
            transform: translateY(-140px);
        }

        80% {
            transform: translateY(-160px);
        }

        90% {
            transform: translateY(-180px);
        }

        100% {
            transform: translateY(-200px);
        }
    }

    .alert-item .time-badge {
        background: #FF8C00;
        color: white;
        padding: 3px 10px;
        border-radius: 15px;
        font-size: 11px;
        font-weight: 600;
        white-space: nowrap;
        flex-shrink: 0;
    }

    /* 모바일에서는 처음 10개 아이템 표시 */
    .alert-row:nth-child(1) .alert-item:nth-child(n+11) {
        display: none;
    }

    .alert-row:nth-child(2) {
        display: none;
    }

}

/* 모바일에서 모달 크기 조정 */
@media (max-width: 768px) {
    .modal-content {
        width: 90%;
        height: 550px;
        padding: 30px;
    }
}

/* 모달 스타일 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: all 0.4s ease;
}

.modal-overlay.show {
    background: rgba(0, 0, 0, 0.7);
    display: flex !important;
}

.modal-content {
    background: white;
    border-radius: 20px;
    padding: 40px;
    width: 500px;
    height: 530px;
    position: relative;
    transform: translateY(50px) scale(0.9);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
    overflow: hidden;
    margin: 0 15px;
}

/* 첫 페이지 패딩 */
.modal-content.first-page {
    padding: 40px;
    transition: none !important;
}

/* 다음 단계 패딩 */
.modal-content.next-page {
    padding: 40px;
    transition: none !important;
}

.modal-overlay.show .modal-content {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 30px;
    color: #666;
    transition: all 0.2s ease;
}

.modal-close:hover {
    color: #333;
}

.modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.modal-title {
    font-size: 26px;
    font-weight: bold;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

.modal-subtitle {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
    text-align: center;
    margin-left: -40px;
    margin-right: -40px;
}

.modal-body {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal-divider {
    width: 100%;
    height: 1px;
    background: #eeeeee;
    margin: 0 auto 20px;
}

.modal-icon {
    width: 120px;
    height: 120px;
    margin: 10px auto 40px;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.modal-icon::before {
    content: '👤';
    font-size: 40px;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.modal-icon::after {
    content: '🔍';
    font-size: 50px;
    position: absolute;
    right: 15px;
    bottom: 15px;
}

.modal-description {
    font-size: 22px !important;
    color: #333;
    line-height: 1.5;
    margin-bottom: 20px;
    font-weight: 500;
}

.modal-description .highlight {
    color: #4865FF;
    font-weight: bold;
}

.diagnosis-start-btn {
    background: linear-gradient(135deg, #4865FF 0%, #5a7fd8 100%);
    color: white;
    border: none;
    border-radius: 9px;
    padding: 0 20px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 180px;
    height: 45px;
    box-shadow: 0 4px 15px rgba(68, 114, 196, 0.3);
    position: absolute;
    bottom: 20px;
    left: 20px;
}

/* 모달 다음 버튼 - diagnosis-start-btn과 동일한 스타일 */
.modal-next-btn {
    background: linear-gradient(135deg, #4865FF 0%, #5a7fd8 100%);
    color: white;
    border: none;
    border-radius: 15px;
    padding: 18px 40px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 4px 15px rgba(68, 114, 196, 0.3);
}

.modal-next-btn:hover:not(.disabled) {
    background: linear-gradient(135deg, #3a5fa0 0%, #4a6bc4 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(68, 114, 196, 0.4);
}

.modal-next-btn.disabled {
    background: #ccc;
    cursor: not-allowed;
    box-shadow: none;
}

.modal-next-btn.disabled:hover {
    background: #ccc;
    transform: none;
    box-shadow: none;
}

/* 진단 단계 스타일 */
.diagnosis-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
}

.diagnosis-steps::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 20px;
    right: 20px;
    height: 6px;
    background: #e0e0e0;
    z-index: 1;
}

.step {
    flex: 1;
    text-align: center;
    font-size: 16px;
    color: #999;
    position: relative;
    padding-bottom: 15px;
}

.step.active {
    color: #4865FF;
    font-weight: normal;
}

.step.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 6px;
    background: #4865FF;
    z-index: 2;
}

.step.non-active {
    color: #ccc;
}

.step.completed {
    color: #4865FF;
}

.step.completed::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 6px;
    background: #4865FF;
    z-index: 2;
}

/* 질문 영역 스타일 */
.question-area {
    text-align: center;
}

.question-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 30px;
    text-align: left;
}

.input-area {
    position: relative;
    margin-bottom: 30px;
}

.debt-input {
    width: 100%;
    padding: 15px 70px 14px 20px;
    font-size: 24px;
    border: 2px solid #e0e0e0;
    border-radius: 15px;
    outline: none;
    text-align: left;
    background: #f8f9fa;
}

.debt-input:focus {
    border-color: #4865FF;
    background: white;
}

.unit {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: #666;
}

/* O/X 선택 스타일 */
.choice-area {
    display: flex;
    gap: 20px;
    margin-bottom: 28px;
    justify-content: center;
}

.choice-option {
    flex: 1;
    max-width: 200px;
    padding: 10px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 15px;
    background: #f8f9fa;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.choice-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.choice-option:hover {
    border-color: #4865FF;
    background: white;
}

.choice-option.selected {
    border-color: #4865FF;
    background: #e8f2ff;
}

.choice-icon {
    font-size: 30px;
}

.choice-text {
    font-size: 18px;
    font-weight: 500;
    color: #333;
}

/* 화면 전환 스타일 */
.screen {
    display: none;
}

.screen.active {
    display: block;
}

/* 로딩 화면 스타일 */
.loading-area {
    text-align: center;
    padding: 30px 20px;
}

.loading-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
    height: 90px;
}

.spinner-dots {
    position: relative;
    width: 70px;
    height: 70px;
}

.spinner-dot {
    position: absolute;
    width: 11px;
    height: 11px;
    background: #4865FF;
    border-radius: 50%;
    animation: spin-dots 1.2s linear infinite;
}

/* 8개 점으로 완전한 원형 배치 - 45도씩, 절반 정도 크게 */
.spinner-dot:nth-child(1) {
    top: 3px;
    left: 29.5px;
    animation-delay: 0s;
}

.spinner-dot:nth-child(2) {
    top: 10px;
    left: 49px;
    animation-delay: 0.15s;
}

.spinner-dot:nth-child(3) {
    top: 29.5px;
    left: 56px;
    animation-delay: 0.3s;
}

.spinner-dot:nth-child(4) {
    top: 49px;
    left: 49px;
    animation-delay: 0.45s;
}

.spinner-dot:nth-child(5) {
    top: 56px;
    left: 29.5px;
    animation-delay: 0.6s;
}

.spinner-dot:nth-child(6) {
    top: 49px;
    left: 10px;
    animation-delay: 0.75s;
}

.spinner-dot:nth-child(7) {
    top: 29.5px;
    left: 3px;
    animation-delay: 0.9s;
}

.spinner-dot:nth-child(8) {
    top: 10px;
    left: 10px;
    animation-delay: 1.05s;
}

@keyframes spin-dots {

    0%,
    20% {
        opacity: 1;
        transform: scale(1.2);
    }

    100% {
        opacity: 0.2;
        transform: scale(0.6);
    }
}

.loading-text h3 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.loading-text p {
    font-size: 16px;
    color: #666;
}

/* 상담 신청 화면 스타일 */
.consultation-area {
    text-align: center;
    padding: 0px 20px;
}

.consultation-result {
    margin-bottom: 20px;
}

.consultation-result h3 {
    font-size: 22px;
    font-weight: bold;
    color: #333;
    margin: 0;
}

.consultation-result .highlight {
    color: #4865FF;
}

.consultation-form-area {
    display: flex !important;
    flex-direction: column;
    gap: 5px;
    visibility: visible;
    opacity: 1;
    padding: 20px 0;
    background: white;
    border-radius: 10px;
    margin-top: 20px;
}

.consultation-form-area .form-group {
    text-align: left;
    margin-bottom: 10px;
}

.consultation-form-area .form-group label {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
    font-weight: 500;
}

.input-with-label {
    display: flex;
    flex-direction: row;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: white;
}

.input-label {
    font-size: 15px;
    font-weight: 500;
    color: #000;
    padding: 12px 10px;
    width: 100px;
    flex-shrink: 0;
    background: transparent;
}

.consultation-form-area .form-group input,
.consultation-form-area .form-group select {
    width: 100%;
    padding: 15px 18px;
    border: none;
    border-radius: 0;
    font-size: 15px;
    background: white;
    color: #333;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.consultation-form-area .form-group input:focus,
.consultation-form-area .form-group select:focus {
    outline: none;
    border-bottom-color: #4865FF;
    background: white;
}

.consultation-form-area .form-group input::placeholder {
    color: #666;
}

.consultation-form-area .form-group select {
    color: #aaa;
}

.consultation-form-area .form-group select:focus,
.consultation-form-area .form-group select:valid {
    color: #333;
}

.privacy-agreement {
    margin: 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: #666;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 6px;
    width: 16px;
    height: 16px;
}

.privacy-link {
    color: #4865FF;
    text-decoration: underline;
    cursor: pointer;
    left: 7px;
    position: relative;
}

.consultation-submit-btn {
    background: linear-gradient(135deg, #4865FF 0%, #5a7fd8 100%);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    box-shadow: 0 4px 15px rgba(68, 114, 196, 0.3);
    transition: all 0.3s ease;
    margin-top: 20px;
}

.consultation-submit-btn:hover:not(.disabled) {
    background: linear-gradient(135deg, #3a5fa0 0%, #4a6bc4 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(68, 114, 196, 0.4);
}

.consultation-submit-btn.disabled {
    background: #ccc;
    cursor: not-allowed;
    box-shadow: none;
}

.consultation-submit-btn.disabled:hover {
    background: #ccc;
    transform: none;
    box-shadow: none;
}

/* ========================================
        모바일 반응형 CSS (768px 이하)
        ======================================== */
@media (max-width: 1000px) {

    /* PC용 상담바 숨김 */
    .pc-consultation-bar {
        display: none;
    }

    /* 헤더 */
    .header-container {
        padding: 0 20px;
    }

    .nav-menu {
        display: none;
    }

    .contact-phone {
        font-size: 14px;
    }

    .logo-box {
        height: 40px;
    }

    /* 메인 배경 */
    .main-background {
        min-height: auto;
        padding: 30px 0 60px;
    }

    .main-container {
        padding: 0 15px;
    }

    .title-small {
        font-size: 18px;
    }

    .title-large {
        font-size: 28px;
        line-height: 1.3;
    }

    .title-subtitle {
        font-size: 28px;
    }

    /* 통계 박스 */
    .stats-section {
        width: 100%;
        height: auto;
        margin: 0 auto 40px;
    }

    .stats-container {
        gap: 15px;
    }

    .stat-box {
        width: 100% !important;
        height: auto !important;
        left: 0 !important;
        padding: 15px;
    }

    .stat-box:nth-child(1) .stat-content-wrapper,
    .stat-box:nth-child(2) .stat-content-wrapper,
    .stat-box:nth-child(3) .stat-content-wrapper {
        width: 100%;
        height: auto;
    }

    .stat-number {
        width: 100%;
        height: auto;
        font-size: 16px;
    }

    /* 상담 신청 폼 */
    .consultation-section {
        display: none;
    }

    .bottom-spacer {
        display: none;
    }

    /* 누적 탕감액 */
    .total-reduction-section {
        padding: 40px 15px;
    }

    .reduction-title {
        font-size: 24px;
    }

    .amount-display {
        min-width: 280px;
        font-size: 24px;
        padding: 8px;
    }

    .wheel-picker .digit-wheel span {
        font-size: 24px;
        height: 35px;
    }

    .wheel-picker .comma,
    .wheel-picker .currency {
        font-size: 24px;
    }

    .digit-container {
        width: 18px;
        height: 35px;
    }

    /* AI 자가진단 */
    .ai-diagnosis-section {
        padding: 40px 15px;
    }

    .ai-title h2 {
        font-size: 28px;
    }

    .ai-title h3 {
        font-size: 18px;
    }

    .diagnosis-cards {
        flex-direction: column;
        gap: 15px;
    }

    .diagnosis-card {
        min-height: 140px;
        padding: 20px;
    }

    .card-title {
        font-size: 22px;
    }

    img.card-icon {
        width: 50px;
        height: 50px;
    }

    /* 고객 사례 */
    .customer-cases-section {
        padding: 40px 15px 60px;
    }

    .cases-title {
        font-size: 28px;
    }

    /* 대표 변호사 소개 */
    .lawyer-intro-section {
        padding: 40px 15px;
    }

    .lawyer-header {
        margin-bottom: 30px;
    }

    .lawyer-subtitle {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .lawyer-title {
        font-size: 22px;
        line-height: 1.4;
    }

    .lawyer-content {
        flex-direction: row;
        gap: 20px;
        align-items: flex-start;
    }

    .lawyer-image-area {
        flex: 0 0 50%;
        max-width: 50%;
        padding: 0 10px;
        justify-content: center;
    }

    .certificateSwiper {
        width: 100%;
        max-width: none;
        height: 450px;
    }

    .certificateSwiper .swiper-slide {
        height: 430px;
    }

    .certificate-image {
        width: 100%;
        height: 100%;
        margin: 0 auto;
    }

    .certificate-image img {
        width: 100%;
        height: auto;
        max-height: 100%;
        object-fit: contain;
    }

    .lawyer-info-area {
        flex: 0 0 50%;
        max-width: 50%;
        padding-left: 0;
    }
}

/* 768px 이하에서만 위아래 배치 */
@media (max-width: 768px) {
    .lawyer-content {
        flex-direction: column;
        gap: 30px;
        padding: 0 60px;
    }

    .lawyer-image-area {
        flex: 1;
        max-width: 100%;
        padding: 0 20px;
    }

    .certificateSwiper {
        height: 400px;
    }

    .lawyer-info-area {
        flex: 1;
        max-width: 100%;
    }

    .certificateSwiper .swiper-slide {
        height: 420px;
    }

    .lawyer-info-area {
        flex: 1;
        max-width: 100%;
    }

    .lawyer-description {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .detail-section h4 {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .detail-section li {
        font-size: 13px;
        line-height: 1.5;
    }

    .lawyer-details {
        gap: 25px;
    }

    /* FAQ 섹션 */
    .faq-section {
        padding: 40px 15px;
    }

    .faq-header {
        margin-bottom: 30px;
    }

    .faq-title {
        font-size: 24px;
    }

    .faq-list {
        gap: 12px;
    }

    .faq-question {
        padding: 15px 18px;
        font-size: 16px;
        line-height: 1.4;
    }

    .faq-icon {
        width: 18px;
        height: 18px;
        flex-shrink: 0;
    }

    .faq-icon svg {
        width: 10px;
        height: 10px;
    }

    .faq-answer {
        padding: 0 18px;
    }

    .faq-answer.active {
        padding: 0 18px 15px 18px;
        max-height: 300px;
    }

    .faq-answer-content {
        font-size: 14px;
        line-height: 1.6;
    }

    /* 오시는 길 섹션 */
    .location-section {
        padding: 40px 15px;
    }

    .location-header {
        margin-bottom: 20px;
    }

    .location-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .location-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        margin-bottom: 20px;
    }

    .location-text {
        width: 100%;
        padding-left: 20px;
    }

    .location-address {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 10px;
    }

    .location-phone {
        font-size: 14px;
        white-space: nowrap;
    }

    .location-phone {
        font-size: 16px;
    }

    .location-phone .label {
        display: inline;
        margin-bottom: 0;
        font-size: 14px;
    }

    .location-buttons {
        width: 100%;
        margin-left: 0;
        gap: 8px;
    }

    .location-btn {
        flex: 1;
        justify-content: center;
        padding: 10px 12px;
        font-size: 13px;
    }

    .location-btn img {
        width: 14px;
        height: 14px;
    }

    .location-map {
        height: 300px;
        font-size: 14px;
    }

    .cases-wrapper {
        padding: 15px 10px;
        overflow: hidden;
    }

    .casesSwiper {
        max-width: 100%;
    }

    .case-tabs {
        gap: 8px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 10px;
    }

    /* 모바일에서 "전체" 탭 숨기기 */
    .case-tabs .tab-btn:first-child {
        display: none;
    }

    .tab-btn {
        padding: 8px 18px;
        font-size: 13px;
        min-width: 80px;
        white-space: nowrap;
    }

    .cases-grid {
        display: flex !important;
        flex-direction: row !important;
        gap: 0 !important;
        grid-template-columns: none !important;
    }

    /* 모바일에서 각 케이스 카드가 전체 너비를 차지하도록 */
    .casesSwiper .swiper-slide {
        width: 100% !important;
        overflow: visible !important;
    }

    .case-group {
        width: 100% !important;
        padding: 10px !important;
    }

    .case-card {
        width: 100% !important;
        margin: 0 !important;
        padding: 15px;
    }

    /* 모바일에서 화살표 숨김 */
    .arrow-container {
        display: none !important;
    }

    .arrow-btn {
        display: none !important;
    }

    .case-profile {
        flex-direction: row;
        gap: 12px;
    }

    .profile-img {
        width: 50px;
        height: 50px;
    }

    .case-name {
        font-size: 16px;
    }

    .case-age {
        font-size: 12px;
    }

    .case-type,
    .case-success {
        font-size: 11px;
        padding: 4px 10px;
    }

    .result-badge {
        font-size: 13px;
        padding: 10px;
    }

    .case-details {
        gap: 10px;
        padding: 12px;
    }

    /* 상담 신청 알림 - 모바일에서 Swiper 세로 스와이프 */
    .consultation-alerts {
        background: #4865FF !important;
        height: 300px !important;
        min-height: 300px !important;
        padding: 20px !important;
        overflow: hidden !important;
        position: relative !important;
    }

    .consultation-alerts::before {
        content: "실시간으로\A고객님이 신청하고 있어요";
        white-space: pre-line;
        color: white;
        font-size: 18px;
        font-weight: 700;
        text-align: center;
        line-height: 1.3;
        display: block;
        position: absolute;
        top: 20px;
        left: 50%;
        transform: translateX(-50%);
        width: auto;
        margin: 0;
        z-index: 10;
    }

    /* PC용 alert-row 숨김 */
    .alert-row {
        display: none !important;
    }

    /* 모바일용 Swiper 컨테이너 */
    .mobile-consultation-swiper {
        position: absolute !important;
        top: 80px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 90% !important;
        height: 200px !important;
        overflow: hidden !important;
        display: block !important;
        -webkit-mask: linear-gradient(to bottom, black 0%, black 70%, transparent 100%);
        mask: linear-gradient(to bottom, black 0%, black 70%, transparent 100%);
    }

    .mobile-consultation-swiper .swiper-slide {
        height: 40px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .mobile-alert-item {
        border-radius: 20px !important;
        padding: 10px 16px !important;
        white-space: nowrap !important;
        color: white !important;
        width: 100% !important;
        max-width: 350px !important;
        height: 32px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 10px !important;
        font-size: 14px !important;
        font-weight: 500 !important;
    }

    .mobile-alert-item .time-badge {
        background: white !important;
        color: #4865FF !important;
        padding: 4px 10px !important;
        border-radius: 15px !important;
        font-size: 11px !important;
        font-weight: 600 !important;
        white-space: nowrap !important;
        min-width: 60px !important;
        text-align: center !important;
        flex-shrink: 0 !important;
    }

    /* 스와이프 컨트롤 버튼 - 제거됨 */

    .detail-row {
        font-size: 13px;
    }

    .arrow-btn {
        display: none;
    }

    /* 하단 상담 바 - 모바일에서 복원 */
    .bottom-consultation-bar {
        display: flex;
        padding: 0;
    }

    .consultation-bar-container {
        max-width: 100%;
        border-radius: 10px 10px 0 0;
        padding: 20px 15px;
        flex-direction: column;
        gap: 12px;
        background: white;
        box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.15);
        margin: 0;
        width: 100%;
    }

    .consultation-message {
        font-size: 16px;
        text-align: center;
        color: #333;
        font-weight: bold;
    }

    .consultation-message .highlight {
        color: #333;
        font-weight: bold;
    }

    .desktop-message {
        display: none;
    }

    .mobile-toggle-header {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        cursor: pointer;
        padding: 8px 0;
        position: relative;
    }

    .toggle-btn {
        background: transparent;
        border: none;
        color: white;
        font-size: 24px;
        cursor: pointer;
        padding: 0;
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.3s ease;
        position: absolute;
        right: 0;
    }

    .toggle-btn .expand-icon {
        transform: rotate(180deg);
    }

    .toggle-btn.collapsed {
        transform: rotate(180deg);
    }

    .consultation-form-inline {
        flex-direction: column;
        gap: 0px;
        width: 100%;
        align-items: center;
        padding: 0 5px;
    }

    .form-row-mobile {
        display: flex;
        gap: 10px;
        width: 95%;
        margin: 0 auto;
        justify-content: center;
        position: relative;
    }

    .form-row-mobile .input-group {
        flex: 1;
        min-width: 120px;
        position: relative;
    }

    /* 작은 화면을 위한 추가 조정 */
    @media (max-width: 400px) {
        .consultation-bar-container {
            padding: 10px 5px;
        }

        .consultation-form-inline {
            padding: 0 2px;
        }

        .form-row-mobile {
            width: 98%;
            gap: 8px;
            max-width: 400px;
        }
    }

    .expanded-form {
        width: 100%;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: all 0.3s ease;
        display: flex;
        flex-direction: column;
        gap: 15px;
        margin-top: 0;
    }

    .expanded-form.show {
        max-height: 300px;
        opacity: 1;
        margin-top: 15px;
    }

    tr .privacy-check-mobile {
        display: flex;
        justify-content: left;
        width: 100%;
    }

    .mobile-submit-btn {
        background: #4865FF;
        color: white;
        border: none;
        padding: 12px 20px;
        border-radius: 7px;
        font-size: 14px;
        font-weight: bold;
        cursor: pointer;
        transition: all 0.3s;
        width: 100%;
        margin: 0 auto;
    }

    .mobile-submit-btn:hover:not(:disabled) {
        background: #365a9b;
    }

    .mobile-submit-btn:disabled {
        background: #cccccc;
        opacity: 0.5;
        cursor: not-allowed;
    }

    .input-group {
        width: auto;
        flex: 1;
        min-width: 80px;
        display: block;
    }

    .inline-input {
        width: 100%;
        min-width: 80px;
        padding: 8px 5px;
        font-size: 13px;
        border-radius: 7px;
        height: 45px;
        border: none;
        font-weight: 800;
        position: relative;
    }

    select.inline-input {
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        background: white;
        background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
        background-repeat: no-repeat;
        background-position: right 8px center;
        background-size: 16px;
        padding-right: 30px;
        border: 1px solid #ddd !important;
    }

    .inline-input::placeholder {
        font-size: 12px;
        color: #666;
        font-weight: 500;
    }

    .privacy-check {
        font-size: 13px;
        gap: 3px;
        color: #333;
    }

    .privacy-checkbox {
        width: 10px;
        height: 10px;
    }

    .consultation-btn {
        width: auto;
        justify-content: center;
        padding: 8px 12px;
        font-size: 12px;
        flex-shrink: 0;
        min-width: 70px;
        border-radius: 7px;
        height: 45px;
    }

    .consultation-btn img {
        width: 14px;
        height: 14px;
    }

    /* 플로팅 버튼 */
    .floating-buttons {
        display: none;
    }

    /* 푸터 */
    .footer-section {
        padding: 30px 15px;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
    }

    .footer-right {
        text-align: left;
    }

    .company-info h3 {
        font-size: 16px;
    }

    .company-info p {
        font-size: 13px;
    }

    .phone-number {
        font-size: 20px;
    }

    /* body 패딩 조정 - 모바일에서 하단 상담바용 패딩 복원 */
    body {
        padding-bottom: 150px;
    }
}

/* 작은 모바일 (480px 이하) */
@media (max-width: 480px) {
    .title-large {
        font-size: 24px;
    }

    .title-subtitle {
        font-size: 24px;
    }

    .cases-title {
        font-size: 24px;
    }

    .ai-title h2 {
        font-size: 24px;
    }

    .card-title {
        font-size: 20px;
    }

    .amount-display {
        min-width: 240px;
        font-size: 20px;
    }
}

/*
 성공 모달 스타일 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.show {
    opacity: 1;
}

.success-modal-content {
    background: white;
    border-radius: 20px;
    padding: 0;
    max-width: 400px;
    width: 90%;
    position: relative;
    transform: scale(0.8);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.modal-overlay.show .success-modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    z-index: 1;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.modal-close:hover {
    background-color: #f5f5f5;
}

.success-popup {
    text-align: center;
}

.success-icon-wrapper {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
}

.success-icon-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #c0dbff 0%, #c8d9ff 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: successPulse 0.6s ease-out;
}

.success-check-icon {
    width: 32px;
    height: 32px;
    animation: checkDraw 0.8s ease-out 0.2s both;
}

.success-icon-img {
    width: 40px;
    height: 40px;
    animation: iconFadeIn 0.8s ease-out 0.2s both;
}

.success-message h3 {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.3;
}

.success-message p {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
}

.success-confirm-btn {
    width: 100%;
    padding: 16px 0;
    background: linear-gradient(135deg, #4865FF 0%, #667EEA 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(72, 101, 255, 0.3);
}

.success-confirm-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(72, 101, 255, 0.4);
}

.success-confirm-btn:active {
    transform: translateY(0);
}

/* 애니메이션 */
@keyframes successPulse {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes checkDraw {
    0% {
        stroke-dasharray: 0 20;
        opacity: 0;
    }

    100% {
        stroke-dasharray: 20 0;
        opacity: 1;
    }
}

@keyframes iconFadeIn {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* 모바일 대응 */
@media (max-width: 768px) {
    .success-modal-content {
        max-width: 320px;
        margin: 20px;
    }

    .success-popup {
        padding: 0;
    }

    .success-icon-circle {
        width: 70px;
        height: 70px;
    }

    .success-check-icon {
        width: 28px;
        height: 28px;
    }

    .success-message h3 {
        font-size: 20px;
    }

    .success-message p {
        font-size: 14px;
    }
}

/* 성공 모달 스타일 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.show {
    opacity: 1;
}

.success-modal-content {
    background: white;
    border-radius: 20px;
    padding: 0;
    max-width: 400px;
    height: 400px;
    width: 90%;
    position: relative;
    transform: scale(0.8);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.modal-overlay.show .success-modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 45px;
    color: #666;
    cursor: pointer;
    z-index: 1;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.modal-close:hover {
    background-color: #f5f5f5;
}

/* 애니메이션 */
@keyframes successPulse {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes iconFadeIn {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* 모바일 대응 */
@media (max-width: 768px) {
    .success-modal-content {
        max-width: 320px;
        height: 370px;
        margin: 20px;
    }

    .success-popup {
        padding: 0;
    }

    .success-icon-circle {
        width: 70px;
        height: 70px;
    }

    .success-icon-img {
        width: 35px;
        height: 35px;
    }

    .success-message h3 {
        font-size: 20px;
    }

    .success-message p {
        font-size: 14px;
    }
}

/* PC 상담 폼 에러 스타일 */
.pc-input.error {
    border: 2px solid #ff4444 !important;
    background-color: #fff5f5;
}

.error-message {
    color: #ff4444;
    font-size: 12px;
    margin-top: 4px;
    margin-bottom: 8px;
    min-height: 16px;
    display: block;
}

.error-message:empty {
    margin-top: 0;
    margin-bottom: 0;
    min-height: 0;
}

/* AI 자
가진단 섹션 - 개인회생/파산면책 카드 */
.diagnosis-cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.diagnosis-card {
    cursor: pointer;
    padding: 20px 40px;
    margin: 10px;
    border-radius: 10px;
    background: #fff;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    min-width: 400px;
    text-align: left;
}

.diagnosis-card:hover {
    background: #E8F0FE;
    border: 1px solid #4865FF;
    box-shadow: 0 4px 12px rgba(72, 101, 255, 0.15);
}

.diagnosis-card .card-content {
    text-align: left;
}

.diagnosis-card .card-content .card-subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
    text-align: left;
}

.diagnosis-card .card-content .card-title {
    font-size: 28px;
    font-weight: bold;
    color: #1a1a1a;
    margin: 0;
    text-align: left;
}

.diagnosis-card .card-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .diagnosis-cards {
        flex-direction: column;
        gap: 15px;
        padding: 0 20px;
    }

    .diagnosis-card {
        min-width: auto;
        width: 100%;
        padding: 20px;
    }

    .diagnosis-card .card-title {
        font-size: 24px;
    }

    .diagnosis-card .card-icon {
        width: 60px;
        height: 60px;
    }
}

/* 정부 기관 로고 섹션 */
.government-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
    padding: 20px 0;
}

.government-logos .logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.government-logos .logo-item img {
    height: 50px;
    width: auto;
    object-fit: contain;
    opacity: 0.9;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .government-logos {
        gap: 20px;
        margin-top: 30px;
        padding: 15px 0;
    }

    .government-logos .logo-item img {
        height: 40px;
    }
}

@media (max-width: 480px) {
    .government-logos {
        gap: 15px;
        margin-top: 20px;
    }

    .government-logos .logo-item img {
        height: 30px;
    }
}