/* ===== 기본 스타일 리셋 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== HTML & BODY 기본 설정 ===== */
:root {
    --header-offset: 80px;
    --section-content-top: var(--header-offset);
    --section-content-bottom: 64px;
}

html {
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    scroll-behavior: smooth;
    word-wrap: normal;
    word-break: keep-all;
    white-space: normal;
}

/* ===== 가로보기 방지 (안내 문구 없이 세로 레이아웃 유지) ===== */
@media screen and (orientation: landscape) and (max-width: 1024px) {
    html.portrait-lock-active {
        width: 100vh;
        height: 100vw;
        overflow: hidden;
    }

    html.portrait-lock-active body {
        position: fixed;
        top: 0;
        left: 100vw;
        width: 100vh;
        height: 100vw;
        overflow: hidden;
        transform: rotate(-90deg);
        transform-origin: 0 0;
    }
}

/* ===== 컨테이너 ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== 체납 안내 배너 (페이지 로드 시 1회) ===== */
.tax-arrears-notice {
    position: fixed;
    top: var(--header-offset, 80px);
    left: 0;
    right: 0;
    z-index: 999;
    padding: 8px 16px;
    text-align: center;
    font-size: 0.76rem;
    font-weight: 500;
    line-height: 1.45;
    letter-spacing: -0.01em;
    color: rgba(26, 32, 44, 0.62);
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(15, 23, 41, 0.08);
    box-shadow: 0 2px 12px rgba(15, 23, 41, 0.06);
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
}

.tax-arrears-notice.is-active {
    visibility: visible;
    animation:
        taxArrearsNoticePulse 1s ease-in-out 0s 3,
        taxArrearsNoticeHide 0.45s ease-in-out 3s forwards;
}

.tax-arrears-notice.is-hidden {
    opacity: 0 !important;
    visibility: hidden;
    animation: none;
}

@keyframes taxArrearsNoticePulse {
    0%,
    100% {
        opacity: 0.45;
    }

    50% {
        opacity: 0.88;
    }
}

@keyframes taxArrearsNoticeHide {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tax-arrears-notice.is-active {
        animation:
            taxArrearsNoticeReduced 1.2s ease-in-out 0s 1,
            taxArrearsNoticeHide 0.45s ease-in-out 1.2s forwards;
    }

    @keyframes taxArrearsNoticeReduced {
        0% {
            opacity: 0;
        }

        30%,
        70% {
            opacity: 0.72;
        }

        100% {
            opacity: 0.72;
        }
    }
}

/* ===== 헤더 스타일 ===== */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: transparent;
    z-index: 1000;
    transition: all 0.3s ease;
    backdrop-filter: none;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-image {
    width: 40px;
    height: 40px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
    border-radius: 50%;
}

.nav-logo h2 {
    color: #000000;
    font-weight: 700;
    font-size: 1.5rem;
    text-shadow: none;
    margin: 0;
}

.header.on-hero .nav-logo h2 {
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.45);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    background: transparent;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

.nav-link:hover {
    color: #3182ce;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #3182ce;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
    box-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

/* ===== 버튼 스타일 ===== */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #3182ce, #2c5282);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2c5282, #1a365d);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(49, 130, 206, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #3182ce;
    border: 2px solid #3182ce;
}

.btn-secondary:hover {
    background: #3182ce;
    color: white;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #3182ce;
    border: 2px solid #3182ce;
}

.btn-outline:hover {
    background: #3182ce;
    color: white;
}

/* ===== 히어로 섹션 ===== */
.hero {
    padding: 80px 0 80px;
    background:
        linear-gradient(135deg, #1e3a5f 0%, #1a202c 48%, #243b53 100%);
    min-height: 100vh;
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    scroll-snap-align: start;
    scroll-snap-stop: normal;
    margin-top: 0;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    background: transparent;
    transition: opacity 0.25s ease;
    -webkit-appearance: none;
    appearance: none;
}

.hero.is-video-ready .hero-video {
    opacity: 1;
}

.hero-video::-webkit-media-controls {
    display: none !important;
}

.hero-video::-webkit-media-controls-enclosure {
    display: none !important;
}

.hero-video::-webkit-media-controls-start-playback-button {
    display: none !important;
}

.hero-video::-webkit-media-controls-overlay-play-button {
    display: none !important;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6)),
        radial-gradient(circle at 20% 80%, rgba(49, 130, 206, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(72, 187, 120, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(237, 137, 54, 0.2) 0%, transparent 50%);
    animation: backgroundShift 20s ease-in-out infinite;
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateX(-50px);
    word-break: keep-all;
    transition: all 1.2s ease-out 0.2s;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #e2e8f0;
    margin-bottom: 2rem;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateX(-50px);
    word-break: keep-all;
    transition: all 1.2s ease-out 0.4s;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateX(-50px);
    transition: all 1.2s ease-out 0.6s;
}

.hero-sound-toggle {
    position: absolute;
    left: 30px;
    bottom: 138px;
    z-index: 1001;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    font-size: 0.9rem;
    font-family: inherit;
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: background 0.3s ease, border-color 0.3s ease;
}

.hero-sound-toggle:hover {
    background: rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 255, 255, 0.55);
}

.hero-sound-toggle.is-unmuted {
    background: rgba(49, 130, 206, 0.55);
    border-color: rgba(255, 255, 255, 0.5);
}

.hero-sound-toggle i {
    font-size: 1rem;
}

.hero-scroll-hint {
    display: none;
}

.hero-activity-feed {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    pointer-events: none;
}

.hero-activity-bar {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-activity-marquee {
    flex: 1;
    width: 100%;
    overflow: hidden;
    min-width: 0;
    mask-image: linear-gradient(to right, transparent 0%, #000 3%, #000 97%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 3%, #000 97%, transparent 100%);
}

.hero-activity-track {
    display: inline-flex;
    align-items: center;
    gap: 0;
    width: max-content;
    white-space: nowrap;
    animation: heroActivityMarquee 38s linear infinite;
    will-change: transform;
}

.hero-activity-track.is-paused {
    animation-play-state: paused;
}

.hero-activity-track.is-reduced-motion {
    animation: none;
    flex-wrap: wrap;
    white-space: normal;
    width: 100%;
}

.hero-activity-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 20px;
    color: #e2e8f0;
    font-size: 0.84rem;
    line-height: 1.4;
}

.hero-activity-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.3;
}

.hero-activity-badge.stage-received {
    background: rgba(160, 174, 192, 0.35);
    color: #edf2f7;
}

.hero-activity-badge.stage-consult {
    background: rgba(49, 130, 206, 0.45);
    color: #ebf8ff;
}

.hero-activity-badge.stage-survey {
    background: rgba(237, 137, 54, 0.45);
    color: #fffaf0;
}

.hero-activity-badge.stage-apply {
    background: rgba(72, 187, 120, 0.45);
    color: #f0fff4;
}

.hero-activity-badge.stage-fund {
    background: rgba(214, 158, 46, 0.5);
    color: #fffff0;
}

.hero-activity-dot {
    color: rgba(255, 255, 255, 0.25);
    font-size: 0.55rem;
    padding: 0 4px;
}

@keyframes heroActivityMarquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ===== 서비스 섹션 ===== */
.services {
    padding: var(--section-content-top) 0 var(--section-content-bottom);
    background: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)), url('../images/services.jpg');
    background-size: cover;
    background-position: center bottom;
    background-attachment: fixed;
    position: relative;
    scroll-snap-align: start;
    scroll-snap-stop: normal;
    min-height: 100vh;
    height: 100vh;
    display: flex;
    align-items: center;
    margin-top: 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a365d;
    margin-bottom: 3rem;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8);
    word-break: keep-all;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(50px);
    transition: all 1.2s ease-out 0.3s;
}

.services-grid.animate {
    opacity: 1;
    transform: translateY(0);
}

.service-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    opacity: 0;
    transform: translateY(30px);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.service-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.service-card:nth-child(1) {
    transition-delay: 0.4s;
}

.service-card:nth-child(2) {
    transition-delay: 0.6s;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #3182ce, #2c5282);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a365d;
    margin-bottom: 0.8rem;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

.service-card p {
    color: #4a5568;
    margin-bottom: 1.2rem;
    line-height: 1.5;
    font-size: 0.95rem;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.6);
    flex-grow: 1;
}

.service-card .btn {
    margin-top: auto;
}

/* ===== 회사소개 섹션 ===== */
.about {
    padding: var(--section-content-top) 0 var(--section-content-bottom);
    background: linear-gradient(rgba(255, 255, 255, 0.72), rgba(247, 250, 252, 0.78)), url('../images/about.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    scroll-snap-align: start;
    scroll-snap-stop: normal;
    min-height: 100vh;
    min-height: 100dvh;
    height: auto;
    display: flex;
    align-items: center;
    margin-top: 0;
}

.about-ebook-section .about-ebook-container {
    width: 100%;
    max-width: 980px;
    padding: 0 12px;
}

.about-ebook-section #about-ebook-root {
    width: 100%;
}

.about-ebook-section .container {
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a365d;
    margin-bottom: 1.5rem;
    word-break: keep-all;
    opacity: 0;
    transform: translateX(-50px);
    transition: all 1.2s ease-out 0.2s;
}

.careers-text h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a365d;
    margin-bottom: 1.5rem;
    word-break: keep-all;
    opacity: 0;
    transform: translateX(-50px);
    transition: all 1.2s ease-out 0.2s;
}

.about-text p {
    font-size: 1rem;
    color: #4a5568;
    margin-bottom: 2rem;
    line-height: 1.6;
    word-break: keep-all;
    opacity: 0;
    transform: translateX(-50px);
    transition: all 1.2s ease-out 0.4s;
}

.stats {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    flex: 1;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s ease-out;
    padding: 1rem 0.5rem;
}

.stat-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #3182ce;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: #4a5568;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.4;
    margin-top: 0.5rem;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-visual {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, #3182ce, #2c5282);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(49, 130, 206, 0.3);
}

.about-visual i {
    font-size: 5rem;
    color: white;
}

.about-desktop-list {
    margin: 0 0 1.5rem 1.1rem;
    padding: 0;
    color: #4a5568;
    font-size: 0.95rem;
    line-height: 1.7;
}

.about-desktop-list li {
    margin-bottom: 0.35rem;
}

.stats--compact {
    margin-top: 0.25rem;
}

.stats--compact .stat-item h3 {
    font-size: 2rem;
}

.stats--compact .stat-item p {
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

/* ===== 채용 섹션 ===== */
.careers {
    padding: 80px 0;
    background: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), url('../images/careers.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    scroll-snap-align: start;
    scroll-snap-stop: normal;
    min-height: 100vh;
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    margin-top: 0;
}

.careers-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.careers-text p {
    font-size: 1.1rem;
    color: #4a5568;
    margin-bottom: 2rem;
    line-height: 1.5;
    opacity: 0;
    transform: translateX(-50px);
    transition: all 1.2s ease-out 0.4s;
}

.careers-text .btn {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 1.2s ease-out 0.8s;
}

.careers-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.careers-visual {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, #3182ce, #2c5282);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(49, 130, 206, 0.3);
    opacity: 0;
    transform: translateX(50px);
    transition: all 1.2s ease-out 0.6s;
}

.careers-visual i {
    font-size: 5rem;
    color: white;
}

/* ===== 문의 섹션 ===== */
.contact {
    padding: var(--section-content-top) 0 var(--section-content-bottom);
    background: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), url('../images/contact.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    scroll-snap-align: start;
    scroll-snap-stop: normal;
    min-height: 100vh;
    height: auto;
    display: flex;
    align-items: center;
    position: relative;
    margin-top: 0;
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact .contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    max-width: 400px;
    margin: 0 auto;
}

.contact .contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    width: 100%;
    min-height: 80px;
    justify-content: center;
    animation: slideInFromLeft 0.6s ease-out;
}

.contact .contact-item i {
    font-size: 1.5rem;
    color: #3182ce;
    width: 40px;
    text-align: center;
}

.contact .contact-item h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1a365d;
    margin-bottom: 0.3rem;
}

.contact .contact-item p {
    color: #4a5568;
    font-size: 0.9rem;
}

.contact .contact-link {
    color: #3182ce;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.contact .contact-link:hover {
    color: #2b6cb0;
    text-decoration: underline;
}

.kakao-contact {
    background: linear-gradient(135deg, #FEE500, #FFD700) !important;
    border: 2px solid #FEE500;
}

.kakao-contact i {
    color: #3C1E1E !important;
}

.kakao-contact h4 {
    color: #3C1E1E !important;
}

.kakao-contact > div {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.kakao-contact .kakao-link {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 6px 10px;
    font-size: 0.8rem;
    width: fit-content;
    min-width: 0;
}

.kakao-link {
    display: inline-block;
    background: #3C1E1E;
    color: #FEE500;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.kakao-link:hover {
    background: #2A1515;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(60, 30, 30, 0.3);
}

/* ===== 푸터 ===== */
.footer {
    width: 100%;
    background: #1a365d;
    color: white;
    padding: 10px 0 8px;
    display: flex;
    align-items: center;
    scroll-snap-align: start;
    scroll-snap-stop: normal;
    min-height: auto;
    height: auto;
    margin-top: 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.4rem;
    text-align: center;
}

.footer-section {
    width: 100%;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 0.35rem;
    color: white;
    font-size: 0.95rem;
    line-height: 1.25;
}

.footer-section p {
    color: #cbd5e0;
    line-height: 1.35;
    font-size: 0.68rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #cbd5e0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #3182ce;
}

.footer-bottom {
    border-top: 1px solid #2d3748;
    padding-top: 0.45rem;
    text-align: center;
    color: #cbd5e0;
    font-size: 0.72rem;
}

/* ===== 모달 스타일 ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 2% auto;
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
    overflow-x: hidden;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 1rem;
    top: 1rem;
}

.close:hover {
    color: #333;
}

.modal-content h2 {
    color: #1a365d;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

/* ===== 폼 스타일 ===== */
.consulting-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 500;
    color: #1a365d;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3182ce;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* ===== 모달 스크롤바 스타일 ===== */
.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* ===== 애니메이션 ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes backgroundShift {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    25% {
        transform: scale(1.1) rotate(1deg);
    }
    50% {
        transform: scale(1.05) rotate(-1deg);
    }
    75% {
        transform: scale(1.15) rotate(0.5deg);
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== 애니메이션 클래스 ===== */
.hero-content {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 1.2s ease-out;
}

.hero-content.animate,
.hero-title.animate,
.hero-subtitle.animate,
.hero-buttons.animate {
    opacity: 1;
    transform: translateX(0);
}

.about-text.animate,
.about-text h2.animate,
.about-text p.animate,
.careers-text.animate,
.careers-text h2.animate,
.careers-text p.animate,
.careers-text .btn.animate,
.careers-visual.animate {
    opacity: 1;
    transform: translateX(0);
}

/* ===== 스크롤 효과 ===== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ===== 반응형 디자인 ===== */

/* 태블릿 (768px - 1024px) */
@media (max-width: 1024px) {
    .hero-container {
        gap: 3rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        max-width: 100%;
    }
    
    .stats {
        gap: 1.5rem;
        margin-top: 0.2rem;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    
    .stat-item {
        padding: 0.8rem 0.3rem;
        min-width: 120px;
        flex: 1;
    }
    
    .contact .contact-info {
        flex-direction: column;
        justify-content: center;
        gap: 1rem;
        max-width: 400px;
    }
}

/* 태블릿 (768px 이하) */
@media (max-width: 768px) {
    .hero-video {
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: calc(50% + 1cm) center;
        transform: none;
    }
    
    .services {
        background-attachment: scroll;
        background-position: center 70%;
    }
    
    .about {
        background-attachment: scroll;
    }
    
    .careers {
        background-attachment: scroll;
    }
    
    .contact {
        background-attachment: scroll;
    }

    .process {
        background-attachment: scroll;
    }

    .recommend {
        background-attachment: scroll;
    }

    .faq {
        background-attachment: scroll;
    }

    /* 모바일에서 배경 이미지가 더 확실히 보이도록 오버레이/카드 투명도 추가 조정 */
    .process {
        background: linear-gradient(rgba(247, 250, 252, 0.22), rgba(247, 250, 252, 0.22)), url('../images/process-bg.png');
        background-size: cover;
        background-position: right center;
    }

    .recommend {
        background: linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2)), url('../images/recommend-bg.png');
        background-size: cover;
        background-position: right center;
    }

    .faq {
        background: linear-gradient(rgba(247, 250, 252, 0.22), rgba(247, 250, 252, 0.22)), url('../images/faq-bg.png');
        background-size: cover;
        background-position: right center;
    }

    .process-step,
    .recommend-card,
    .faq-item {
        background: rgba(255, 255, 255, 0.34);
        border-color: rgba(226, 232, 240, 0.45);
        backdrop-filter: blur(1.5px);
    }
    
    .hamburger {
        display: flex;
    }

    .nav-container {
        justify-content: flex-start;
        gap: 10px;
    }

    .nav-logo {
        flex: 1;
        min-width: 0;
    }

    .nav-logo h2 {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        right: auto;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.42);
        backdrop-filter: blur(18px) saturate(1.15);
        -webkit-backdrop-filter: blur(18px) saturate(1.15);
        width: 33.333vw;
        min-width: 118px;
        height: 100vh;
        text-align: left;
        transition: transform 0.3s ease;
        box-shadow: 4px 0 24px rgba(15, 23, 42, 0.08);
        border-right: 1px solid rgba(255, 255, 255, 0.45);
        padding: 4.5rem 0.65rem 1.5rem;
        transform: translateX(-100%);
        z-index: 999;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-item {
        margin: 0.12rem 0;
        width: 100%;
    }

    .nav-menu .nav-link {
        font-size: 0.8125rem;
        font-weight: 500;
        color: #1e3a5f;
        text-shadow: none;
        padding: 7px 8px;
        display: block;
        border-radius: 6px;
        line-height: 1.25;
        white-space: nowrap;
        letter-spacing: -0.02em;
        transition: background-color 0.2s ease, color 0.2s ease;
    }

    .nav-menu .nav-link:hover {
        background: rgba(49, 130, 206, 0.14);
        color: #1d4ed8;
        transform: none;
    }

    .hero-container {
        text-align: center;
    }

    .hero-title {
        font-size: 2rem;
        word-break: keep-all;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
        margin-bottom: 1rem;
    }

    .about-content,
    .careers-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .stats {
        gap: 1.5rem;
        margin-top: 0.2rem;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    
    .stat-item {
        padding: 0.8rem 0.3rem;
        min-width: 120px;
        flex: 1;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .contact .contact-info {
        flex-direction: row;
        justify-content: center;
    }
    
    .footer-content {
        flex-direction: column;
        justify-content: flex-start;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-section {
        width: 100%;
    }

    .modal-content {
        margin: 1% auto;
        width: 95%;
        padding: 1.5rem;
        max-height: 95vh;
    }
}

/* 모바일 (480px 이하) */
@media (max-width: 480px) {
    .hero-video {
        object-position: calc(50% + 1cm) center;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 80px 0 60px;
    }
    
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.2;
        word-break: keep-all;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
        word-break: keep-all;
    }
    
    .services {
        padding: 60px 0;
        background-position: center 85%;
    }
    
    .about {
        background-position: center 60%;
    }
    
    .careers {
        background-position: center 30%;
    }
    
    .contact {
        background-position: center 70%;
    }
    
    .about {
        padding: 80px 0 60px;
    }
    
    .careers {
        padding: 60px 0;
    }
    
    .careers-text p {
        font-size: 0.9rem;
        line-height: 1.2;
    }
    
    .careers-text h2 {
        font-size: 1.5rem;
        line-height: 1.2;
        word-break: keep-all;
    }
    
    .about-text h2 {
        font-size: 1.5rem;
        line-height: 1.2;
        word-break: keep-all;
    }
    
    .about-text p {
        font-size: 0.9rem;
        line-height: 1.2;
        word-break: keep-all;
    }
    
    .contact {
        padding: 80px 0 60px;
    }

    .about-visual,
    .careers-visual {
        width: 180px;
        height: 180px;
    }

    .about-visual i,
    .careers-visual i {
        font-size: 2.5rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        max-width: 100%;
    }
    
    .service-card {
        padding: 1.5rem 1rem;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
    }
    
    .service-icon i {
        font-size: 1.8rem;
    }
    
    .contact .contact-info {
        flex-direction: column;
        justify-content: center;
        gap: 1rem;
        max-width: 350px;
    }
    
    .contact .contact-item {
        padding: 1.2rem;
        width: 100%;
        min-height: 70px;
    }
    
    .contact .contact-item i {
        font-size: 1.2rem;
        width: 30px;
    }
    
    .contact .contact-item h4 {
        font-size: 0.8rem;
    }
    
    .contact .contact-item p {
        font-size: 0.7rem;
    }
    
    .stats {
        gap: 1rem;
        margin-top: 0.1rem;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    
    .stat-item {
        flex: 1;
    }
    
    .stat-item h3 {
        font-size: 2rem;
    }
    
    .stat-item p {
        font-size: 0.9rem;
        line-height: 1.3;
    }
    
    .modal-content {
        margin: 1% auto;
        padding: 1rem;
        max-height: 98vh;
    }
    
    .modal-content h2 {
        font-size: 1.3rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 8px;
        font-size: 0.85rem;
    }
    
    .footer-content {
        flex-direction: column;
        justify-content: flex-start;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-section {
        width: 100%;
    }
}

/* 작은 모바일 (360px 이하) */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.6rem;
        word-break: keep-all;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.6rem;
        word-break: keep-all;
    }
    
    .about-visual,
    .careers-visual {
        width: 150px;
        height: 150px;
    }
    
    .about-visual i,
    .careers-visual i {
        font-size: 2rem;
    }
    
    .services {
        background-position: center 90%;
    }
    
    .about {
        background-position: center 70%;
        padding: 80px 0 50px;
    }
    
    .careers {
        background-position: center 25%;
    }
    
    .contact {
        background-position: center 75%;
        padding: 80px 0 50px;
    }
    
    .careers-text p {
        font-size: 0.8rem;
        line-height: 1.1;
    }
    
    .careers-text h2 {
        font-size: 1.3rem;
        line-height: 1.1;
        word-break: keep-all;
    }
    
    .about-text h2 {
        font-size: 1.3rem;
        line-height: 1.1;
        word-break: keep-all;
    }
    
    .about-text p {
        font-size: 0.8rem;
        line-height: 1.1;
        word-break: keep-all;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
        max-width: 100%;
    }
    
    .contact .contact-info {
        flex-direction: column;
        justify-content: center;
        gap: 0.8rem;
        max-width: 300px;
    }
    
    .contact .contact-item {
        width: 100%;
        min-height: 60px;
        padding: 1rem;
    }
    
    .service-card {
        padding: 1.2rem 0.8rem;
    }
    
    .service-card h3 {
        font-size: 0.9rem;
    }
    
    .service-card p {
        font-size: 0.75rem;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
    }
    
    .service-icon i {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    .stats {
        gap: 0.8rem;
        margin-top: 0.1rem;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    
    .stat-item {
        flex: 1;
    }
    
    .stat-item h3 {
        font-size: 1.8rem;
    }
    
    .stat-item p {
        font-size: 0.8rem;
        line-height: 1.2;
    }
    
    .footer-content {
        flex-direction: column;
        justify-content: flex-start;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-section {
        width: 100%;
    }
}

/* ===== 모바일 터치 최적화 ===== */
@media (max-width: 768px) {
    * {
        -webkit-tap-highlight-color: transparent;
    }
    
    .btn, .nav-link, .hamburger {
        -webkit-tap-highlight-color: rgba(49, 130, 206, 0.3);
    }
    
    /* 모바일에서 더 부드러운 애니메이션 */
    .service-card,
    .contact .contact-item,
    .hero-content {
        animation-duration: 0.4s;
    }
    
    /* 모바일에서 스크롤 스냅 조정 */
    html {
        scroll-snap-type: y mandatory;
        scroll-behavior: smooth;
    }
}

/* ===== 고해상도 디스플레이 대응 ===== */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .about-visual,
    .careers-visual,
    .service-icon {
        box-shadow: 0 20px 60px rgba(49, 130, 206, 0.4);
    }
}

/* ===== 접근성 개선 - 고대비 모드 ===== */
@media (prefers-contrast: high) {
    .btn-primary {
        background: #000;
        color: #fff;
    }
    
    .btn-secondary,
    .btn-outline {
        border: 2px solid #000;
        color: #000;
    }
    
    .nav-link:hover {
        color: #000;
    }
}

/* ===== 다크 모드 지원 ===== */
@media (prefers-color-scheme: dark) {
    body {
        background: #1a1a1a;
        color: #fff;
    }
    
    .header {
        background: transparent;
    }
    
    .nav-logo {
        gap: 8px;
    }
    
    .logo-image {
        width: 32px;
        height: 32px;
        display: block;
        flex-shrink: 0;
        border-radius: 50%;
    }
    
    .nav-logo h2 {
        color: #000000;
        text-shadow: none;
        font-size: 1.2rem;
    }
    
    .nav-link {
        color: #fff;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    }
    
    .hero {
        background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    }
    
    .services {
        background: #2d3748;
    }
    
    .about {
        background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    }
    
    .careers {
        background: #2d3748;
    }
    
    .contact {
        background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    }
    
    .service-card,
    .contact-item {
        background: #4a5568;
        color: #fff;
    }
    
    .modal-content {
        background: #4a5568;
        color: #fff;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        background: #2d3748;
        color: #fff;
        border-color: #4a5568;
    }
}

/* ===== 로딩 최적화 ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== 새로운 폼 요소 스타일 ===== */
.form-description {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    border-left: 4px solid #3182ce;
}

.radio-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: normal;
}

.radio-label input[type="radio"] {
    width: auto;
    margin: 0;
}

.checkbox-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.fund-type-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 14px;
    row-gap: 10px;
}

.ownership-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 14px;
    row-gap: 10px;
}

.region-select-group {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

#corporateModal .modal-content h2 {
    font-size: 2rem;
}

#corporateModal .form-description {
    font-size: 1rem;
}

#corporateModal .form-group label {
    font-size: 1.05rem;
}

#corporateModal .form-group input,
#corporateModal .form-group select,
#corporateModal .form-group textarea {
    font-size: 1.05rem;
    padding: 13px;
}

#corporateModal .form-group textarea {
    min-height: 110px;
}

#corporateModal .radio-label,
#corporateModal .checkbox-label {
    font-size: 1rem;
}

#corporateModal .privacy-agreement h4 {
    font-size: 1rem;
}

#corporateModal .agreement-open-hint {
    font-size: 0.92rem;
}

#corporateModal .btn,
#corporateModal button[type="submit"] {
    font-size: 1.05rem;
    padding: 13px 18px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: normal;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.address-group {
    display: flex;
    gap: 10px;
}

.address-group input {
    flex: 1;
}

.privacy-agreement {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e1e5e9;
}

.privacy-agreement h4 {
    margin-bottom: 15px;
    color: #333;
    font-size: 16px;
}

.privacy-content {
    max-height: 200px;
    overflow-y: auto;
    margin-bottom: 15px;
    padding: 15px;
    background: white;
    border-radius: 6px;
    border: 1px solid #e1e5e9;
    font-size: 13px;
    line-height: 1.5;
}

.privacy-content p {
    margin-bottom: 10px;
}

.privacy-content strong {
    color: #3182ce;
}

/* ===== 완전한 반응형 디자인 ===== */

/* ===== 모바일 네비게이션 ===== */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        right: auto;
        width: 33.333vw;
        min-width: 118px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.42);
        backdrop-filter: blur(18px) saturate(1.15);
        -webkit-backdrop-filter: blur(18px) saturate(1.15);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        transition: transform 0.3s ease;
        transform: translateX(-100%);
        z-index: 999;
        gap: 0;
        padding: 4.5rem 0.65rem 1.5rem;
        box-shadow: 4px 0 24px rgba(15, 23, 42, 0.08);
        border-right: 1px solid rgba(255, 255, 255, 0.45);
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-item {
        margin: 0.12rem 0;
        width: 100%;
    }
    
    .nav-menu .nav-link {
        font-size: 0.8125rem;
        font-weight: 500;
        color: #1e3a5f;
        text-shadow: none;
        padding: 7px 8px;
        display: block;
        border-radius: 6px;
        line-height: 1.25;
        white-space: nowrap;
        letter-spacing: -0.02em;
        text-align: left;
        transition: background-color 0.2s ease, color 0.2s ease;
    }
    
    .nav-menu .nav-link:hover {
        background: rgba(49, 130, 206, 0.14);
        color: #1d4ed8;
        transform: none;
    }
    
    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 44px;
        height: 44px;
        cursor: pointer;
        z-index: 1001;
        position: relative;
    }
    
    .hamburger .bar {
        width: 25px;
        height: 3px;
        background: #333;
        margin: 3px 0;
        transition: 0.3s;
        border-radius: 2px;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .nav-logo {
        gap: 6px;
    }
    
    .logo-image {
        width: 28px;
        height: 28px;
        display: block;
        flex-shrink: 0;
        border-radius: 50%;
    }
    
    .nav-logo h2 {
        font-size: 1.2rem;
    }
}

/* ===== 폼 반응형 개선 ===== */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 5% auto;
        padding: 15px;
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px; /* iOS 줌 방지 */
        padding: 12px;
        min-height: 44px; /* 터치 타겟 최소 크기 */
    }
    
    .radio-group,
    .checkbox-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .address-group {
        flex-direction: column;
    }
    
    .privacy-content {
        max-height: 150px;
        font-size: 12px;
    }
    
    .btn {
        min-height: 44px;
        min-width: 44px;
        padding: 12px 20px;
        font-size: 16px;
        width: 100%;
        margin: 5px 0;
    }
}

/* ===== 관리자 페이지 반응형 ===== */
@media (max-width: 768px) {
    .admin-container .btn {
        min-height: 0;
        min-width: 0;
        width: auto;
        margin: 0;
        padding: 3px 9px;
        font-size: 0.74rem;
        line-height: 1.2;
        transform: none;
        box-shadow: none;
    }

    .admin-container .btn:hover {
        transform: none;
        box-shadow: none;
    }

    .consultation-table {
        font-size: 0.875rem;
        overflow-x: auto;
        display: block;
        white-space: nowrap;
    }
    
    .consultation-table th,
    .consultation-table td {
        padding: 8px 4px;
        white-space: nowrap;
        min-width: 80px;
    }
    
    .admin-container {
        padding: 10px;
    }
    
    .admin-header {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .admin-header h1 {
        font-size: 1.5rem;
    }
    
    .detail-content {
        width: 95%;
        margin: 10% auto;
        padding: 15px;
        max-height: 80vh;
        overflow-y: auto;
    }
    
    .detail-row {
        flex-direction: column;
        margin-bottom: 15px;
    }
    
    .detail-label {
        width: 100%;
        margin-bottom: 5px;
        font-weight: 600;
    }
    
    .detail-section {
        padding: 10px;
        margin-bottom: 15px;
    }
    
    .detail-section h3 {
        font-size: 1rem;
        margin-bottom: 8px;
    }
}

/* ===== 터치 친화적 디자인 ===== */
@media (max-width: 768px) {
    * {
        -webkit-tap-highlight-color: transparent;
        -webkit-touch-callout: none;
    }
    
    .btn, .nav-link, .hamburger {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
    
    .modal {
        -webkit-overflow-scrolling: touch;
    }
    
    .modal-content {
        -webkit-overflow-scrolling: touch;
    }
}

/* ===== 소형 모바일 최적화 ===== */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
        padding: 15px;
        font-size: 16px;
    }
    
    .nav-logo {
        gap: 4px;
    }
    
    .logo-image {
        width: 24px;
        height: 24px;
        display: block;
        flex-shrink: 0;
        border-radius: 50%;
    }
    
    .nav-logo h2 {
        font-size: 1rem;
    }
    
    .modal-content {
        width: 98%;
        margin: 2% auto;
        padding: 10px;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
    
    .consultation-table {
        font-size: 0.75rem;
    }
    
    .consultation-table th,
    .consultation-table td {
        padding: 6px 2px;
        min-width: 60px;
    }
}

/* ===== 초소형 모바일 ===== */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.6rem;
        word-break: keep-all;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .nav-link {
        font-size: 1.2rem;
        padding: 10px 15px;
    }
    
    .modal-content {
        padding: 8px;
    }
    
    .btn {
        padding: 12px;
        font-size: 14px;
    }
}

/* ===== 태블릿 최적화 ===== */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    .hero-container {
        gap: 3rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .modal-content {
        width: 80%;
        max-width: 600px;
    }
    
    .consultation-table {
        font-size: 0.9rem;
    }
}

/* ===== 대형 화면 최적화 ===== */
@media (min-width: 1200px) {
    .container {
        max-width: 1400px;
    }
    
    .hero-container {
        gap: 4rem;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .modal-content {
        max-width: 800px;
    }
}

/* ===== 접근성 개선 ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media (prefers-contrast: high) {
    .btn-primary {
        background: #000;
        color: #fff;
        border: 2px solid #fff;
    }
    
    .nav-link {
        color: #000;
        text-shadow: none;
    }
    
    .hamburger .bar {
        background: #000;
    }
}

@media (prefers-color-scheme: dark) {
    body {
        background: #1a1a1a;
        color: #fff;
    }
    
    .modal-content {
        background: #2d3748;
        color: #fff;
    }
    
    .nav-menu {
        background: rgba(15, 23, 42, 0.52);
        backdrop-filter: blur(18px) saturate(1.1);
        -webkit-backdrop-filter: blur(18px) saturate(1.1);
        border-right-color: rgba(255, 255, 255, 0.12);
    }

    .nav-menu .nav-link {
        color: #e2e8f0;
    }

    .nav-menu .nav-link:hover {
        background: rgba(255, 255, 255, 0.1);
        color: #fff;
    }
    
    .hamburger .bar {
        background: #fff;
    }
}

/* ===== 성능 최적화 ===== */
@media (max-width: 768px) {
    .about-visual,
    .careers-visual,
    .service-icon {
        transform: none;
    }
    
    .about-visual:hover,
    .careers-visual:hover,
    .service-icon:hover {
        transform: none;
    }
}

/* ===== 고해상도 디스플레이 ===== */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .about-visual,
    .careers-visual,
    .service-icon {
        box-shadow: 0 20px 60px rgba(49, 130, 206, 0.4);
    }
}

/* ===== 플로팅 관리자 버튼 반응형 ===== */
.admin-float-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    transition: opacity 0.25s ease, transform 0.25s ease, bottom 0.25s ease;
}

.admin-float-btn.above-ticker {
    bottom: 72px;
}

.admin-float-btn.admin-hidden-on-footer {
    opacity: 0;
    pointer-events: none;
    transform: translateY(16px);
}

.admin-float-btn a {
    display: block;
    width: 60px;
    height: 60px;
    background: #3182ce;
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 60px;
    font-size: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    text-decoration: none;
}

.admin-float-btn a:hover {
    background: #2c5aa0;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

@media (max-width: 768px) {
    .admin-float-btn {
        bottom: 20px;
        right: 20px;
    }
    
    .admin-float-btn a {
        width: 50px;
        height: 50px;
        line-height: 50px;
        font-size: 20px;
    }

    .hero-scroll-hint {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-end;
        position: absolute;
        inset: 0;
        z-index: 4;
        pointer-events: none;
        padding-bottom: 118px;
        background: linear-gradient(
            180deg,
            transparent 0%,
            transparent 58%,
            rgba(15, 23, 41, 0.08) 78%,
            rgba(15, 23, 41, 0.18) 100%
        );
        opacity: 1;
        transition: opacity 0.45s ease, visibility 0.45s ease;
    }

    .hero-scroll-hint.is-hidden {
        opacity: 0;
        visibility: hidden;
    }

    .hero-scroll-hint__gesture {
        position: relative;
        width: 28px;
        height: 52px;
        margin-bottom: 10px;
    }

    .hero-scroll-hint__track {
        position: absolute;
        left: 50%;
        top: 4px;
        width: 2px;
        height: 44px;
        margin-left: -1px;
        border-radius: 999px;
        background: linear-gradient(
            0deg,
            rgba(255, 255, 255, 0.12) 0%,
            rgba(255, 255, 255, 0.42) 45%,
            rgba(255, 255, 255, 0.08) 100%
        );
    }

    .hero-scroll-hint__finger {
        position: absolute;
        left: 50%;
        top: 34px;
        width: 18px;
        height: 18px;
        margin-left: -9px;
        border-radius: 50%;
        border: 1.5px solid rgba(255, 255, 255, 0.72);
        background: rgba(255, 255, 255, 0.18);
        box-shadow:
            0 0 0 4px rgba(255, 255, 255, 0.06),
            0 -4px 14px rgba(15, 23, 41, 0.22);
        animation: heroScrollHintDragUp 1.8s ease-in-out infinite;
    }

    .hero-scroll-hint__label {
        margin: 0;
        font-size: 0.72rem;
        font-weight: 500;
        letter-spacing: 0.02em;
        color: rgba(255, 255, 255, 0.78);
        text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
    }

    @keyframes heroScrollHintDragUp {
        0% {
            transform: translateY(0);
            opacity: 0.35;
        }
        18% {
            opacity: 1;
        }
        72% {
            transform: translateY(-30px);
            opacity: 0.92;
        }
        100% {
            transform: translateY(-36px);
            opacity: 0;
        }
    }

    @media (prefers-reduced-motion: reduce) {
        .hero-scroll-hint__finger {
            animation: none;
            top: 12px;
            opacity: 0.85;
        }
    }

    .hero-sound-toggle {
        left: 20px;
        bottom: 68px;
    }

    .hero-activity-bar {
        padding: 8px 12px;
    }

    .hero-activity-item {
        font-size: 0.78rem;
        padding: 0 16px;
    }

    .admin-float-btn.above-ticker {
        bottom: 66px;
    }
}

@media (max-width: 480px) {
    .admin-float-btn {
        bottom: 15px;
        right: 15px;
    }

    .admin-float-btn.above-ticker {
        bottom: 62px;
    }
    
    .admin-float-btn a {
        width: 45px;
        height: 45px;
        line-height: 45px;
        font-size: 18px;
    }

    .hero-sound-toggle {
        left: 15px;
        bottom: 64px;
    }
}

/* ===== 주소 검색 스타일 ===== */
.address-search {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.address-search input {
    flex: 1;
    background-color: #f8f9fa;
    cursor: pointer;
}

.address-search input:focus {
    background-color: #fff;
    cursor: text;
}

.btn-address-search {
    padding: 12px 16px;
    background: #3182ce;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-address-search:hover {
    background: #2c5aa0;
    transform: translateY(-1px);
}

.btn-address-search:active {
    transform: translateY(0);
}

.btn-address-search i {
    font-size: 12px;
}

@media (max-width: 768px) {
    .address-search {
        flex-direction: column;
        gap: 8px;
    }
    
    .btn-address-search {
        padding: 10px 14px;
        font-size: 13px;
        justify-content: center;
    }
}

/* ===== 다음우편 API 팝업 중앙 정렬 ===== */
#daumRoughmapContainer,
#daumWrap,
div[id*="daum"],
div[class*="daum"] {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 9999 !important;
    width: 90% !important;
    max-width: 500px !important;
    height: 70% !important;
    max-height: 600px !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
}

/* 다음우편 API iframe 스타일 */
iframe[src*="postcode"],
iframe[src*="daum"] {
    border-radius: 8px !important;
    border: none !important;
    width: 100% !important;
    height: 100% !important;
}

/* 팝업 배경 오버레이 */
body:has(iframe[src*="postcode"])::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
}

/* 모바일에서 팝업 크기 조정 */
@media (max-width: 768px) {
    #daumRoughmapContainer,
    #daumWrap,
    div[id*="daum"],
    div[class*="daum"] {
        width: 95% !important;
        height: 80% !important;
        max-width: none !important;
        max-height: 500px !important;
    }
}

@media (max-width: 480px) {
    #daumRoughmapContainer,
    #daumWrap,
    div[id*="daum"],
    div[class*="daum"] {
        width: 98% !important;
        height: 85% !important;
        max-height: 450px !important;
    }
}

/* ===== 정책자금 사이트 확장 스타일 ===== */
.section-block {
    padding: var(--section-content-top) 0 var(--section-content-bottom);
    min-height: 100vh;
    min-height: 100dvh;
    height: auto;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex;
    align-items: center;
    scroll-margin-top: 0;
    box-sizing: border-box;
}

.section-block > .container {
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-subtitle {
    text-align: center;
    color: #4a5568;
    font-size: 1.1rem;
    margin: -2rem auto 2.5rem;
    max-width: 640px;
    line-height: 1.6;
    word-break: keep-all;
}

.hero-note {
    font-size: 0.9rem;
    color: #cbd5e0;
    margin-bottom: 1.5rem;
    line-height: 1.5;
    opacity: 0;
    transform: translateX(-50px);
    transition: all 1.2s ease-out 0.5s;
}

.hero-note.animate {
    opacity: 1;
    transform: translateX(0);
}

.hero-buttons {
    justify-content: center;
}

.funds-section.services {
    min-height: 100vh;
    height: auto;
    display: flex;
    background: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.9)), url('../images/services.jpg');
}

.funds-grid.services-grid {
    grid-template-columns: repeat(4, 1fr);
    max-width: 1200px;
}

.service-card:nth-child(3),
.service-card:nth-child(4) {
    transition-delay: 0.8s;
}

.about.section-block {
    min-height: 100vh;
    height: auto;
    display: flex;
}

.contact.section-block {
    min-height: 100vh;
    height: auto;
    display: flex;
}

/* 상담 절차 */
.process {
    background: linear-gradient(rgba(247, 250, 252, 0.35), rgba(247, 250, 252, 0.35)), url('../images/process-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.process-step {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(226, 232, 240, 0.65);
    backdrop-filter: blur(2px);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.process-step.animate {
    opacity: 1;
    transform: translateY(0);
}

.process-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #3182ce, #2c5282);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    margin: 0 auto 1rem;
}

.process-step h3 {
    color: #1a365d;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.process-step p {
    color: #4a5568;
    font-size: 0.9rem;
    line-height: 1.5;
}

.section-cta {
    text-align: center;
}

/* 추천 대상 */
.recommend {
    background: linear-gradient(rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.32)), url('../images/recommend-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.recommend-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.recommend-card {
    background: rgba(247, 250, 252, 0.45);
    border: 1px solid rgba(226, 232, 240, 0.58);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    backdrop-filter: blur(2px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.recommend-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(49, 130, 206, 0.15);
}

.recommend-card > i {
    font-size: 2rem;
    color: #3182ce;
    margin-bottom: 1rem;
}

.recommend-card h3 {
    color: #1a365d;
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.recommend-card p {
    color: #4a5568;
    font-size: 0.9rem;
    line-height: 1.5;
}

.trust-notice {
    background: rgba(49, 130, 206, 0.08);
    border-left: 4px solid #3182ce;
    padding: 1rem 1.25rem;
    border-radius: 0 8px 8px 0;
    margin-bottom: 1.5rem;
}

.trust-notice p {
    margin: 0;
    font-size: 0.9rem;
    color: #2d3748;
    line-height: 1.5;
}

.trust-notice i {
    color: #3182ce;
    margin-right: 0.5rem;
}

/* FAQ */
.faq {
    background: linear-gradient(rgba(247, 250, 252, 0.34), rgba(247, 250, 252, 0.34)), url('../images/faq-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    margin-bottom: 0.75rem;
    border: 1px solid rgba(226, 232, 240, 0.6);
    backdrop-filter: blur(2px);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    color: #1a365d;
    text-align: left;
}

.faq-question i {
    color: #3182ce;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 1.5rem 1.25rem;
    color: #4a5568;
    line-height: 1.6;
    margin: 0;
}

.contact-cta {
    text-align: center;
    margin-top: 2rem;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 0.6rem;
    text-align: center;
}

.footer-disclaimer {
    font-size: 0.64rem;
    color: #a0aec0;
    margin-top: 0.35rem;
    line-height: 1.22;
}

.footer-links {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.35rem;
    margin: 0 auto;
}

.footer-links a {
    color: #cbd5e0;
    text-decoration: none;
    font-size: 0.7rem;
    line-height: 1.15;
    position: relative;
    padding: 0 0.12rem;
}

.footer-links a:not(:last-child)::after {
    content: '|';
    color: #7fa1c7;
    margin-left: 0.3rem;
}

.footer-links a:hover {
    color: #fff;
}

/* 플로팅 상담 신청 */
.floating-cta {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #3182ce, #2c5282);
    color: #fff;
    padding: 14px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 6px 20px rgba(49, 130, 206, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease, bottom 0.25s ease;
}

.floating-cta.above-ticker {
    bottom: 72px;
}

.floating-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(49, 130, 206, 0.5);
    color: #fff;
}

.floating-cta i {
    font-size: 1.1rem;
}

@media (max-width: 1024px) {
    .funds-grid.services-grid,
    .process-steps,
    .recommend-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .funds-grid.services-grid,
    .process-steps,
    .recommend-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .floating-cta {
        display: none;
    }
}

/* ===== 모바일 섹션 컴팩트 레이아웃 ===== */
@media (max-width: 768px) {
    .navbar {
        padding: 0.6rem 0;
    }

    .nav-container {
        min-height: 56px;
        justify-content: flex-start;
        gap: 8px;
    }

    .nav-logo {
        flex: 1;
        min-width: 0;
    }

    .nav-logo h2 {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .hamburger {
        order: -1;
        flex-shrink: 0;
    }

    .hero,
    .section-block,
    .funds-section.services,
    .about.section-block,
    .contact.section-block {
        min-height: 100dvh;
        height: auto;
        display: flex;
        align-items: center;
        padding: var(--header-offset) 0 26px;
        scroll-snap-align: start;
        scroll-snap-stop: always;
        box-sizing: border-box;
    }

    .hero {
        min-height: 100dvh;
        height: 100dvh;
        padding: 76px 0 30px;
        display: flex;
        align-items: center;
    }

    .about.section-block,
    .about-ebook-section {
        min-height: 100dvh;
        height: auto;
        align-items: center;
        padding: var(--header-offset) 0 20px;
    }

    .about-ebook-section .about-ebook-container {
        padding: 0 8px;
    }

    .hero-container {
        width: 100%;
    }

    .section-block .container {
        width: 100%;
    }

    .hero-title {
        font-size: 1.7rem;
        margin-bottom: 0.9rem;
        line-height: 1.25;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1rem;
        line-height: 1.45;
    }

    .hero-note {
        font-size: 0.78rem;
        margin-bottom: 0.9rem;
        line-height: 1.35;
    }

    .hero-buttons .btn {
        max-width: 260px;
        padding: 10px 14px;
        min-height: 40px;
        font-size: 0.9rem;
    }

    .hero-sound-toggle {
        left: 20px;
        bottom: 68px;
        padding: 10px 12px;
        font-size: 0.82rem;
    }

    .hero-sound-toggle-label {
        display: none;
    }

    .section-title {
        font-size: 1.45rem;
        margin-bottom: 0.7rem;
    }

    .section-subtitle {
        font-size: 0.86rem;
        line-height: 1.35;
        margin: 0 auto 0.8rem;
    }

    .services-grid,
    .process-steps,
    .recommend-grid {
        gap: 0.55rem;
    }

    .service-card,
    .process-step,
    .recommend-card {
        padding: 0.7rem 0.6rem;
        border-radius: 10px;
    }

    .service-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 0.55rem;
    }

    .service-icon i {
        font-size: 1.2rem;
    }

    .service-card h3,
    .process-step h3,
    .recommend-card h3 {
        font-size: 0.92rem;
        margin-bottom: 0.25rem;
    }

    .service-card p,
    .process-step p,
    .recommend-card p,
    .faq-answer p {
        font-size: 0.76rem;
        line-height: 1.28;
    }

    .service-card p,
    .recommend-card p {
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        min-height: calc(0.76rem * 1.28 * 3);
    }

    .process-step p {
        min-height: calc(0.76rem * 1.28 * 2);
    }

    .service-card .btn,
    .process-step .btn,
    .contact-cta .btn {
        min-height: 34px;
        padding: 8px 10px;
        font-size: 0.78rem;
        border-radius: 8px;
    }

    .process-number {
        width: 34px;
        height: 34px;
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }

    .about-content {
        gap: 0.8rem;
    }

    .about-text p {
        margin-bottom: 0.55rem;
    }

    .trust-notice {
        padding: 0.6rem 0.7rem;
        margin-bottom: 0.65rem;
    }

    .stats {
        gap: 0.45rem;
    }

    .stat-item {
        padding: 0.35rem 0.2rem;
    }

    .stat-item h3 {
        font-size: 1.2rem;
    }

    .stat-item p {
        font-size: 0.68rem;
        line-height: 1.2;
    }

    .faq-question {
        padding: 0.62rem 0.7rem;
        font-size: 0.8rem;
        line-height: 1.35;
    }

    .faq-answer p {
        padding: 0 0.7rem 0.62rem;
    }

    .contact .contact-info {
        gap: 0.45rem;
    }

    .contact .contact-item {
        min-height: 52px;
        padding: 0.62rem;
    }

    .contact .contact-item h4 {
        font-size: 0.75rem;
    }

    .contact .contact-item p {
        font-size: 0.66rem;
    }

    .contact-cta {
        margin-top: 0.75rem;
    }

    /* 마지막 섹션에서 푸터와 겹칠 때 헤더 오버랩 방지 */
    .contact.section-block {
        min-height: calc(100dvh - 8px);
        height: auto;
        padding-bottom: 14px;
        scroll-margin-top: 0;
    }

    .btn-lg {
        min-height: 36px;
        padding: 8px 12px;
        font-size: 0.8rem;
    }

    .footer {
        padding: 8px 0 6px;
        scroll-snap-align: none;
        scroll-margin-top: 0;
    }

    .footer-content {
        gap: 0.45rem;
        margin-bottom: 0.25rem;
    }

    .footer-section h3,
    .footer-section h4 {
        font-size: 0.84rem;
        margin-bottom: 0.2rem;
    }

    .footer-section p,
    .footer-links a,
    .footer-disclaimer,
    .footer-bottom {
        font-size: 0.58rem;
        line-height: 1.18;
    }

    .footer-links {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        flex-wrap: nowrap;
        gap: 0.35rem;
        width: 100%;
    }

    .footer-links a {
        white-space: nowrap;
    }

    .footer-bottom {
        padding-top: 0.3rem;
    }
}

/* ===== 모바일 상담신청서 컴팩트 ===== */
@media (max-width: 768px) {
    #corporateModal .modal-content {
        width: 94%;
        margin: 3% auto;
        padding: 0.9rem;
        max-height: 92vh;
        border-radius: 10px;
    }

    #corporateModal .modal-content h2 {
        font-size: 1.2rem;
        margin-bottom: 0.65rem;
    }

    #corporateModal .form-description {
        padding: 0.6rem 0.7rem;
        margin-bottom: 0.7rem;
        font-size: 0.82rem;
        line-height: 1.35;
    }

    #corporateModal .consulting-form {
        gap: 0.65rem;
    }

    #corporateModal .form-group label {
        font-size: 0.88rem;
        margin-bottom: 0.3rem;
    }

    #corporateModal .form-group input,
    #corporateModal .form-group select,
    #corporateModal .form-group textarea {
        min-height: 38px;
        padding: 9px 10px;
        font-size: 0.88rem;
        border-width: 1px;
    }

    #corporateModal .region-select-group {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    #corporateModal .form-group textarea {
        min-height: 64px;
    }

    #corporateModal .radio-group,
    #corporateModal .checkbox-group {
        gap: 6px;
    }

    #corporateModal .fund-type-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 8px;
        row-gap: 6px;
    }

    #corporateModal .ownership-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 8px;
        row-gap: 6px;
    }

    #corporateModal .radio-label,
    #corporateModal .checkbox-label {
        gap: 6px;
        font-size: 0.86rem;
    }

    #corporateModal .privacy-agreement {
        padding: 0.6rem;
    }

    #corporateModal .privacy-agreement h4 {
        font-size: 0.9rem;
        margin-bottom: 0.45rem;
    }

    #corporateModal .agreement-open-hint {
        font-size: 0.8rem;
    }

    #corporateModal .privacy-content {
        max-height: 120px;
        padding: 0.55rem;
        margin-bottom: 0.55rem;
        font-size: 0.67rem;
        line-height: 1.3;
    }

    #corporateModal .btn,
    #corporateModal button[type="submit"] {
        min-height: 40px;
        padding: 10px 12px;
        font-size: 0.92rem;
        margin: 0;
    }
}

/* ===== BizBoost Android/iOS WebView 앱 ===== */
.in-app-webview html {
    scroll-snap-type: none !important;
}

.in-app-webview .hero,
.in-app-webview .services,
.in-app-webview .about,
.in-app-webview .careers,
.in-app-webview .process,
.in-app-webview .recommend,
.in-app-webview .faq,
.in-app-webview .contact {
    background-attachment: scroll !important;
}

.in-app-webview .hero-content,
.in-app-webview .hero-title,
.in-app-webview .hero-subtitle,
.in-app-webview .hero-buttons,
.in-app-webview .hero-note {
    opacity: 1 !important;
    transform: none !important;
}

/* ===== 약관·개인정보 동의 모달 (스크롤 후 동의) ===== */
.agreement-modal .agreement-modal-content {
    display: flex;
    flex-direction: column;
    width: min(96vw, 820px);
    max-width: min(96vw, 820px);
    height: min(92vh, 880px);
    max-height: 92vh;
    margin: 2vh auto;
    padding: 1.25rem 1.5rem 1.5rem;
    overflow: hidden;
    box-sizing: border-box;
}

.agreement-modal .agreement-modal-content h2 {
    flex-shrink: 0;
    margin-bottom: 0.75rem;
    font-size: clamp(1.25rem, 4vw, 1.75rem);
}

.agreement-scroll-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    margin-bottom: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
}

.agreement-scroll-inner {
    max-height: none;
    margin-bottom: 0;
    border: none;
    background: transparent;
    font-size: 0.9rem;
    line-height: 1.65;
}

.agreement-modal-footer {
    flex-shrink: 0;
    padding-top: 0.5rem;
    border-top: 1px solid #e2e8f0;
}

.agreement-scroll-notice {
    margin: 0 0 0.75rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
    color: #c05621;
    background: #fffaf0;
    border-radius: 6px;
    border: 1px solid #fbd38d;
}

.agreement-scroll-notice.agreement-ready {
    color: #276749;
    background: #f0fff4;
    border-color: #9ae6b4;
}

.agreement-modal-check {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.agreement-modal-check input:disabled + span {
    color: #a0aec0;
}

.agreement-open-hint {
    margin: 0 0 0.5rem;
    font-size: 0.85rem;
    color: #4a5568;
    line-height: 1.45;
}

.btn-agreement-open {
    margin-bottom: 0.65rem;
    padding: 0.45rem 0.9rem;
    font-size: 0.88rem;
}

.agreement-form-check {
    margin-bottom: 1rem;
}

.agreement-form-check input:disabled + span {
    color: #a0aec0;
}

/* 상담 신청 모달 — 화면에 맞게 확대 */
#corporateModal .modal-content {
    width: min(96vw, 720px);
    max-width: min(96vw, 720px);
    max-height: 94vh;
}

@media (max-width: 768px) {
    .agreement-modal .agreement-modal-content {
        width: 96vw;
        height: 94vh;
        max-height: 94vh;
        margin: 2vh auto;
        padding: 1rem;
    }

    .agreement-scroll-inner {
        font-size: 0.8rem;
    }

    #corporateModal .modal-content {
        width: 96vw;
        max-height: 94vh;
    }
}

