/* PreedWeb 메인 스타일 파일 */
/* 캐시 무효화 버전: v6.0 - 모바일 헤더 강제 표시 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Pretendard', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    padding-bottom: 90px;
}

/* 헤더 스타일 */
.main-header {
    background: #fff !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 0;
    position: relative;
    width: 100%;
    display: block !important;
    z-index: 1000;
    transition: all 0.3s ease;
}

/* 스크롤 시 고정 헤더 스타일 */
.main-header.fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.navbar-brand {
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif !important;
    font-weight: 700;
    font-size: 1.2rem;
    color: #2c3e50 !important;
    text-decoration: none;
    letter-spacing: -0.02em;
    display: flex !important;
    align-items: center;
}

.navbar-brand img {
    height: 40px;
    margin-right: 8px;
}

.navbar-nav .nav-link {
    color: #2c3e50 !important;
    font-weight: 500;
    margin: 0 0.5rem;
    text-decoration: none;
}

.navbar-nav .nav-link:hover {
    color: #3498db !important;
}

.navbar-nav .nav-link.active {
    color: #3498db !important;
    font-weight: bold;
}

/* Bootstrap Navbar 토글러 스타일 */
.navbar-toggler {
    border: none;
    padding: 0.4rem 0.6rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.navbar-toggler:hover {
    background-color: rgba(52, 152, 219, 0.1);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2844, 62, 80, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.navbar-toggler:hover .navbar-toggler-icon {
    transform: scale(1.1);
}

/* 햄버거 메뉴 애니메이션 효과 */
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    transform: rotate(90deg);
}

/* 모바일 네비게이션 메뉴 스타일 */
.navbar-collapse {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 모바일 반응형 스타일 */
@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        border-radius: 12px;
        margin-top: 10px;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        border: 1px solid rgba(52, 152, 219, 0.1);
        animation: slideDown 0.3s ease-out;
    }

    .navbar-collapse.show {
        animation: slideDown 0.3s ease-out;
    }

    .navbar-nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .navbar-nav .nav-item {
        width: 100%;
        opacity: 0;
        animation: slideInNav 0.4s ease-out forwards;
    }

    .navbar-nav .nav-link {
        padding: 15px 20px;
        border-radius: 8px;
        margin: 0;
        width: 100%;
        display: flex;
        align-items: center;
        font-size: 16px;
        font-weight: 500;
        background: transparent;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        overflow: hidden;
    }

    .navbar-nav .nav-link::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        height: 100%;
        width: 4px;
        background: linear-gradient(135deg, #3498db, #2980b9);
        transform: scaleY(0);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border-radius: 0 4px 4px 0;
    }

    .navbar-nav .nav-link:hover::before,
    .navbar-nav .nav-link.active::before {
        transform: scaleY(1);
    }

    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
        background: linear-gradient(135deg, 
            rgba(52, 152, 219, 0.08), 
            rgba(52, 152, 219, 0.04));
        color: #2980b9 !important;
        transform: translateX(8px);
    }

    .navbar-nav .nav-link:active {
        transform: translateX(4px) scale(0.98);
    }

    .navbar-nav .nav-link i {
        margin-right: 12px;
        font-size: 18px;
        width: 20px;
        text-align: center;
        transition: all 0.3s ease;
    }

    .navbar-nav .nav-link:hover i {
        color: #3498db;
        transform: scale(1.1);
    }

    .navbar-nav .nav-item {
        animation: slideInNav 0.5s ease-out forwards;
    }

    .navbar-nav .nav-item:nth-child(1) { animation-delay: 0.1s; }
    .navbar-nav .nav-item:nth-child(2) { animation-delay: 0.15s; }
    .navbar-nav .nav-item:nth-child(3) { animation-delay: 0.2s; }
    .navbar-nav .nav-item:nth-child(4) { animation-delay: 0.25s; }
    .navbar-nav .nav-item:nth-child(5) { animation-delay: 0.3s; }
    .navbar-nav .nav-item:nth-child(6) { animation-delay: 0.35s; }
    .navbar-nav .nav-item:nth-child(7) { animation-delay: 0.4s; }
    .navbar-nav .nav-item:nth-child(8) { animation-delay: 0.45s; }
    .navbar-nav .nav-item:nth-child(9) { animation-delay: 0.5s; }
    
    /* 네비게이션 구분선 스타일 */
    .nav-divider {
        padding: 10px 20px !important;
    }
    
    .nav-divider .dropdown-divider {
        margin: 0;
        border-top: 1px solid rgba(52, 152, 219, 0.2);
        opacity: 1;
    }
    
    /* 하단 여백 스타일 */
    .nav-bottom-spacer {
        padding: 0 !important;
        margin: 0 !important;
        height: 30px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .nav-spacer {
        width: 100%;
        height: 1px;
        background: rgba(52, 152, 219, 0.1);
        margin: 15px 20px;
    }
    
    /* 홈페이지 제작 문의 스타일 */
    .nav-website-inquiry {
        display: flex !important;
        justify-content: center !important;
        width: 100% !important;
    }
    
    .nav-website-inquiry .nav-link {
        background: linear-gradient(135deg, rgba(255, 193, 7, 0.1), rgba(255, 152, 0, 0.1)) !important;
        border: 2px solid rgba(255, 193, 7, 0.3) !important;
        border-radius: 12px !important;
        margin: 0 20px !important;
        padding: 12px 16px !important;
        text-align: center !important;
        font-weight: 600 !important;
        color: #ff8f00 !important;
        position: relative !important;
        overflow: hidden !important;
        width: calc(100% - 40px) !important;
        max-width: 280px !important;
    }
    
    .nav-website-inquiry .nav-link::before {
        background: linear-gradient(135deg, #ff8f00, #ffa000) !important;
    }
    
    .nav-website-inquiry .nav-link:hover {
        background: linear-gradient(135deg, rgba(255, 193, 7, 0.2), rgba(255, 152, 0, 0.2)) !important;
        border-color: rgba(255, 152, 0, 0.5) !important;
        color: #ff6f00 !important;
        transform: translateX(4px) scale(1.02) !important;
        box-shadow: 0 4px 20px rgba(255, 152, 0, 0.25) !important;
    }
    
    .nav-website-inquiry .nav-link i {
        color: #ff8f00 !important;
        margin-right: 8px !important;
    }
    
    .nav-website-inquiry .nav-link:hover i {
        color: #ff6f00 !important;
        transform: scale(1.1) !important;
    }

    @keyframes slideInNav {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .navbar-collapse.collapsing {
        transition: height 0.3s ease-out, opacity 0.2s ease-out;
        opacity: 0.7;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 메인 콘텐츠 스타일 */
.main-content {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 푸터 스타일 */
/* Footer - WebStory Jewelry Style */
.footer-jewelry {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #ffffff;
    padding: 60px 20px 30px;
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: flex-start;
}

.footer-brand h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: left;
}

.footer-tagline {
    font-size: 1.1rem;
    color: #b8b8b8;
    margin: 0;
    font-weight: 300;
    text-align: left;
}

.footer-info-section {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    flex-wrap: wrap;
    justify-content: flex-start;
    width: 100%;
}

.footer-company-info {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    flex: 1;
}

.info-group {
    min-width: 250px;
}

.info-group p {
    margin: 8px 0;
    line-height: 1.6;
    color: #ffffff;
    font-size: 0.95rem;
    text-align: left;
}

.info-label {
    color: #ffd700;
    font-weight: 600;
    margin-right: 8px;
}

.footer-contact-section {
    text-align: left;
    min-width: 200px;
}

.footer-contact-section h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #ffffff;
    font-weight: 600;
    text-align: left;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
}

.contact-phone-highlight {
    margin: 20px 0;
    text-align: left;
}

.contact-phone {
    font-size: 3.75rem;
    font-weight: 800;
    color: #1C9AAF;
    margin: 0;
    letter-spacing: 2px;
}

.contact-fax {
    font-size: 1rem;
    color: #b8b8b8;
    margin: 0;
}

.contact-email a {
    color: #ffd700;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.contact-email a:hover {
    color: #ffed4e;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.footer-copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 30px;
    text-align: center;
}

.footer-copyright p {
    color: #b8b8b8;
    font-size: 0.9rem;
    margin: 5px 0;
}

.footer-number {
    font-size: 1.5rem;
    color: #ffd700;
    font-weight: bold;
    margin-top: 10px;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

/* Footer Jewelry 모바일 반응형 */
@media (max-width: 768px) {
    .footer-jewelry {
        padding: 40px 15px 25px;
    }
    
    .footer-content {
        gap: 30px;
    }
    
    .footer-brand h2 {
        font-size: 1.8rem;
    }
    
    .footer-tagline {
        font-size: 1rem;
    }
    
    .footer-info-section {
        flex-direction: column;
        gap: 30px;
        text-align: left;
    }
    
    .footer-company-info {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
    
    .info-group {
        min-width: auto;
        text-align: left;
    }
    
    .footer-contact-section h3 {
        font-size: 1.3rem;
    }
    
    .contact-phone-highlight {
        margin: 15px 0;
    }
    
    .contact-phone {
        font-size: 3rem;
        letter-spacing: 1px;
    }
    
    .footer-number {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .footer-brand h2 {
        font-size: 1.6rem;
    }
    
    .footer-contact-section h3 {
        font-size: 1.2rem;
    }
    
    .contact-email a {
        font-size: 1rem;
    }
    
    .contact-phone-highlight {
        margin: 10px 0;
    }
    
    .contact-phone {
        font-size: 2.7rem;
        letter-spacing: 1px;
    }
    
    .info-group p {
        font-size: 0.9rem;
        white-space: nowrap;
    }
    
    .footer-number {
        font-size: 1.3rem;
    }
}

/* Hero Section Styles */
.hero-section {
    background: #ffffff;
    padding: 0 0 2rem 0;
    margin-bottom: 0;
}

.min-vh-75 {
    min-height: auto;
}

.hero-content {
    padding: 2rem 0;
}

.hero-logo-text {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.logo-icon {
    margin-right: 1rem;
}

.logo-bars {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.bar {
    height: 8px;
    background: #4a90e2;
    border-radius: 2px;
}

.bar-1 {
    width: 50px;
}

.bar-2 {
    width: 40px;
}

.bar-3 {
    width: 30px;
}

.hero-main-title {
    font-size: 3.2rem;
    font-weight: 700;
    color: #000;
    margin: 0;
    line-height: 1.2;
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
    white-space: nowrap;
}

.hero-always {
    font-size: 6.2rem;
    font-weight: 900;
    color: #0b97cc;
    margin-right: 0.2rem;
}

.hero-subtitle {
    font-size: 5.5rem;
    font-weight: 900;
    color: #000;
    margin-bottom: 2rem;
    line-height: 1.1;
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
}

.hero-achievements {
    margin-bottom: 2rem;
}

.achievement-text {
    font-size: 1.4rem;
    color: #666;
    margin-bottom: 0.5rem;
    font-weight: 400;
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
}

.achievement-text-small {
    font-size: 1.1rem;
    color: #888;
    margin-top: 1rem;
    font-weight: 400;
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
}

.hero-image {
    text-align: center;
    padding: 1rem 0;
}

.hero-img {
    max-width: 80%;
    height: auto;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.3s ease, transform 0.3s ease;
    cursor: pointer;
}

.hero-img:hover {
    transform: scale(1.02);
    filter: brightness(1.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-img:active {
    transform: scale(0.98);
    transition: all 0.1s ease;
}

/* 반응형 히어로 섹션 */
@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 1.5rem;
        min-height: auto;
        display: block;
        text-align: center;
    }
    
    .hero-content {
        padding: 1rem 0;
        text-align: center;
    }
    
    .hero-logo-text {
        flex-direction: row;
        align-items: center;
        margin-bottom: 1.5rem;
        justify-content: center;
    }
    
    .logo-icon {
        margin-right: 1rem;
        margin-bottom: 0;
    }
    
    .logo-bars {
        gap: 3px;
    }
    
    .bar {
        height: 6px;
    }
    
    .bar-1 {
        width: 30px;
    }
    
    .bar-2 {
        width: 24px;
    }
    
    .bar-3 {
        width: 18px;
    }
    
    .hero-main-title {
        font-size: 1.5rem;
        line-height: 1.3;
        font-weight: 700;
        text-align: center;
        margin-bottom: 0.5rem;
    }
    
    .hero-always {
        font-size: 2.2rem;
        font-weight: 900;
        margin-right: 0.1rem;
    }
    
    .hero-subtitle {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
        line-height: 1.2;
        font-weight: 900;
        text-align: center;
    }
    
    .hero-achievements {
        margin-bottom: 2rem;
        text-align: center;
        padding: 0 0.5rem;
    }
    
    .achievement-text {
        font-size: 1.4rem;
        margin-bottom: 0.6rem;
        color: #333;
        font-weight: 700;
        line-height: 1.5;
        text-align: center;
        text-shadow: 0 1px 2px rgba(0,0,0,0.1);
    }
    
    .achievement-text-small {
        font-size: 1.2rem;
        margin-top: 1rem;
        color: #555;
        font-weight: 600;
        line-height: 1.5;
        text-align: center;
        text-shadow: 0 1px 2px rgba(0,0,0,0.1);
    }
    
    .hero-image {
        padding: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 1.5rem;
        text-align: center;
    }
    
    .hero-img {
        width: 100%;
        max-width: 100%;
        max-height: 45vh;
        object-fit: contain;
        border-radius: 8px;
    }
    
    .min-vh-75 {
        min-height: auto;
    }
    
    .order-1 {
        order: 1 !important;
        margin-bottom: 1rem;
    }
    .order-2 {
        order: 2 !important;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 1.5rem 0.5rem;
    }
    
    .hero-content {
        padding: 0.5rem 0;
    }
    
    .hero-main-title {
        font-size: 1.6rem;
        margin-bottom: 0.3rem;
    }
    
    .hero-always {
        font-size: 2.9rem;
        margin-right: 0.08rem;
    }
    
    .hero-subtitle {
        font-size: 2.4rem;
        margin-bottom: 1.2rem;
    }
    
    .achievement-text {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
        font-weight: 700;
        color: #333;
        text-shadow: 0 1px 2px rgba(0,0,0,0.1);
    }
    
    .achievement-text-small {
        font-size: 1rem;
        margin-top: 0.8rem;
        font-weight: 600;
        color: #555;
        text-shadow: 0 1px 2px rgba(0,0,0,0.1);
    }
    
    .hero-img {
        width: 100%;
        max-width: 100%;
        max-height: 40vh;
        object-fit: contain;
        border-radius: 8px;
    }
    
    .hero-achievements {
        padding: 0 0.2rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 360px) {
    .hero-section {
        padding: 1.2rem 0.8rem;
    }
    
    .hero-main-title {
        font-size: 1.1rem;
    }
    
    .hero-always {
        font-size: 1.6rem;
    }
    
    .hero-subtitle {
        font-size: 1.8rem;
    }
    
    .achievement-text {
        font-size: 1.1rem;
        font-weight: 700;
        color: #333;
        text-shadow: 0 1px 2px rgba(0,0,0,0.1);
    }
    
    .achievement-text-small {
        font-size: 0.95rem;
        font-weight: 600;
        color: #555;
        text-shadow: 0 1px 2px rgba(0,0,0,0.1);
    }
    
    .hero-img {
        width: 100%;
        max-width: 100%;
        max-height: 33vh;
        object-fit: contain;
        border-radius: 6px;
    }
    
    .logo-icon {
        margin-right: 0.8rem;
    }
    
    .bar {
        height: 5px;
    }
    
    .bar-1 {
        width: 25px;
    }
    
    .bar-2 {
        width: 20px;
    }
    
    .bar-3 {
        width: 15px;
    }
}

@media (max-width: 992px) and (min-width: 769px) {
    .hero-main-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 3.5rem;
    }
}

/* Animation Effects */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.scroll-animate.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.animate-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.6s ease;
}

.animate-scale.animate-in {
    opacity: 1;
    transform: scale(1);
}

.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }
.animate-delay-5 { transition-delay: 0.5s; }

.zoom-in-effect {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s ease;
}

.zoom-in-effect.animate-in {
    opacity: 1;
    transform: scale(1);
}

.bounce-in {
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.bounce-in.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* 고정 하단 버튼 푸터 - 백업 파일 스타일 */
.fixed-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #00a3e0 0%, #0080b3 100%);
    box-shadow: 0 -4px 20px rgba(0, 163, 224, 0.3);
    z-index: 1000;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    display: none; /* PC에서는 기본적으로 숨김 */
    /* 모바일 안전 영역 고려 */
    padding-bottom: env(safe-area-inset-bottom);
    padding-bottom: constant(safe-area-inset-bottom); /* iOS 11.0 이하 호환성 */
}

.footer-buttons {
    display: flex;
    padding: 0.8rem 1rem;
    gap: 0.8rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem 0.8rem;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    color: white;
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.footer-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.footer-btn:hover::before {
    left: 100%;
}

.footer-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.footer-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.footer-btn i {
    font-size: 1.5rem;
    margin-bottom: 0.6rem;
    opacity: 0.9;
}

.footer-btn span {
    font-size: 1rem;
    line-height: 1.2;
    text-align: center;
    opacity: 0.95;
    font-weight: 700;
}

/* 각 버튼별 색상 */
.footer-btn.product-inquiry {
    background: rgba(26, 188, 156, 0.25);
    border-color: rgba(26, 188, 156, 0.5);
}

.footer-btn.product-inquiry:hover {
    background: rgba(26, 188, 156, 0.4);
    border-color: rgba(26, 188, 156, 0.7);
}

.footer-btn.job-inquiry {
    background: rgba(52, 152, 219, 0.25);
    border-color: rgba(52, 152, 219, 0.5);
}

.footer-btn.job-inquiry:hover {
    background: rgba(52, 152, 219, 0.4);
    border-color: rgba(52, 152, 219, 0.7);
}

.footer-btn.phone-call {
    background: rgba(155, 89, 182, 0.25);
    border-color: rgba(155, 89, 182, 0.5);
}

.footer-btn.phone-call:hover {
    background: rgba(155, 89, 182, 0.4);
    border-color: rgba(155, 89, 182, 0.7);
}



/* 기존 푸터와 겹치지 않도록 패딩 추가 - PC에서는 패딩 제거 */
body {
    padding-bottom: 0; /* PC에서는 패딩 제거 */
}

/* 스크롤 Top 버튼 스타일 */
.scroll-top-btn {
    position: fixed;
    bottom: 130px;
    right: 20px;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #00a3e0, #0080b3);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.4rem;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0, 163, 224, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    z-index: 998;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.scroll-top-btn:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 12px 35px rgba(0, 163, 224, 0.4);
    background: linear-gradient(135deg, #0080b3, #006699);
}

.scroll-top-btn:active {
    transform: translateY(-1px) scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 163, 224, 0.5);
}

.scroll-top-btn i {
    transition: transform 0.3s ease;
}

.scroll-top-btn:hover i {
    transform: translateY(-2px);
}

/* 모바일에서만 고정 하단 푸터 표시 */
@media (max-width: 768px) {
    .fixed-footer {
        display: block; /* 모바일에서만 표시 */
        /* 추가 안전 여백 확보 */
        min-height: 85px;
    }
    
    body {
        /* 모바일에서만 패딩 추가 - safe area 고려하여 증가 */
        padding-bottom: calc(110px + env(safe-area-inset-bottom));
        padding-bottom: calc(110px + constant(safe-area-inset-bottom)); /* iOS 11.0 이하 호환성 */
    }
    
    .footer-buttons {
        padding: 0.6rem 0.8rem;
        gap: 0.6rem;
    }

    .footer-btn {
        padding: 0.8rem 0.6rem;
        border-radius: 10px;
    }

    .footer-btn i {
        font-size: 1.4rem;
        margin-bottom: 0.5rem;
    }

    .footer-btn span {
        font-size: 1.1rem;
        font-weight: 700;
    }
    



    
    /* 태블릿에서 스크롤 Top 버튼 */
    .scroll-top-btn {
        bottom: calc(130px + env(safe-area-inset-bottom));
        bottom: calc(130px + constant(safe-area-inset-bottom)); /* iOS 11.0 이하 호환성 */
        right: 18px;
        width: 52px;
        height: 52px;
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .fixed-footer {
        /* 소형 모바일에서 푸터 높이 조정 */
        min-height: 80px;
    }

    .footer-buttons {
        padding: 0.5rem 0.6rem;
        gap: 0.5rem;
    }

    .footer-btn {
        padding: 0.8rem 0.5rem;
        border-radius: 8px;
        min-height: 65px; /* 최소 높이 보장 */
    }

    .footer-btn i {
        font-size: 1.3rem;
        margin-bottom: 0.4rem;
    }

    .footer-btn span {
        font-size: 1rem;
        line-height: 1.2;
        font-weight: 700;
    }
    
    body {
        /* safe area 고려하여 패딩 증가 */
        padding-bottom: calc(120px + env(safe-area-inset-bottom));
        padding-bottom: calc(120px + constant(safe-area-inset-bottom)); /* iOS 11.0 이하 호환성 */
    }
    
    /* 모바일에서 스크롤 Top 버튼 */
    .scroll-top-btn {
        bottom: calc(125px + env(safe-area-inset-bottom));
        bottom: calc(125px + constant(safe-area-inset-bottom)); /* iOS 11.0 이하 호환성 */
        right: 16px;
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }
}

@media (max-width: 360px) {
    .fixed-footer {
        /* 초소형 모바일에서 푸터 높이 조정 */
        min-height: 78px;
    }

    .footer-btn {
        min-height: 62px; /* 초소형 모바일에서 최소 높이 */
    }

    .footer-btn span {
        font-size: 0.95rem;
        font-weight: 700;
    }

    .footer-btn i {
        font-size: 1.2rem;
    }
    
    body {
        /* 초소형 모바일에서 safe area 고려하여 패딩 더 증가 */
        padding-bottom: calc(130px + env(safe-area-inset-bottom));
        padding-bottom: calc(130px + constant(safe-area-inset-bottom)); /* iOS 11.0 이하 호환성 */
    }
    
    /* 소형 모바일에서 스크롤 Top 버튼 */
    .scroll-top-btn {
        bottom: calc(120px + env(safe-area-inset-bottom));
        bottom: calc(120px + constant(safe-area-inset-bottom)); /* iOS 11.0 이하 호환성 */
        right: 14px;
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }
}

/* 프리드일산.com 브랜딩 섹션 */
.preed-ilsan-branding-section {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.preed-ilsan-branding-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.preed-ilsan-content {
    position: relative;
    z-index: 2;
}

.preed-ilsan-text {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
    letter-spacing: -0.02em;
    opacity: 0;
    transform: translateY(50px);
    animation: slideUpFadeIn 1.2s ease-out 0.3s forwards;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    width: 100%;
}

.preed-text {
    color: #ffffff;
    display: inline-block;
    animation: bounceInLeft 0.8s ease-out 0.5s both;
}

.ilsan-text {
    color: #ffd700;
    display: inline-block;
    animation: bounceInUp 0.8s ease-out 0.7s both;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.domain-switcher {
    position: relative;
    display: inline-block;
    font-size: 1em;
    color: white;
    width: auto;
    height: 1.5em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dot-com, .dot-kr {
    color: white;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.domain-fixed {
    color: white;
    display: inline-block;
}

.dot-com {
    opacity: 1;
    animation: domainFadeInOut 6s infinite;
}

.dot-kr {
    opacity: 0;
    animation: domainFadeInOut 6s infinite 3s;
}

@keyframes domainFadeInOut {
    0%, 45% {
        opacity: 1;
    }
    50%, 95% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.preed-ilsan-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    opacity: 0;
    transform: translateY(30px);
    animation: slideUpFadeIn 1s ease-out 1.2s forwards;
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
}

/* 애니메이션 키프레임 */
@keyframes slideUpFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounceInLeft {
    0% {
        opacity: 0;
        transform: translateX(-100px) scale(0.3);
    }
    50% {
        opacity: 1;
        transform: translateX(15px) scale(1.05);
    }
    70% {
        transform: translateX(-5px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes bounceInUp {
    0% {
        opacity: 0;
        transform: translateY(100px) scale(0.3);
    }
    50% {
        opacity: 1;
        transform: translateY(-15px) scale(1.05);
    }
    70% {
        transform: translateY(5px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes bounceInRight {
    0% {
        opacity: 0;
        transform: translateX(100px) scale(0.3);
    }
    50% {
        opacity: 1;
        transform: translateX(-15px) scale(1.05);
    }
    70% {
        transform: translateX(5px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .preed-ilsan-branding-section {
        padding: 3rem 0;
    }
    
    .preed-ilsan-text {
        font-size: 2.8rem;
        margin-bottom: 1rem;
    }
    
    .preed-ilsan-subtitle {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .preed-ilsan-branding-section {
        padding: 2.5rem 0;
    }
    
    .preed-ilsan-text {
        font-size: 2.2rem;
        line-height: 1.2;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        text-align: center;
        width: 100%;
    }
    
    .domain-switcher {
        font-size: 0.8em;
        width: auto;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .preed-ilsan-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 360px) {
    .preed-ilsan-text {
        font-size: 1.8rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        text-align: center;
        width: 100%;
    }
    
    .domain-switcher {
        font-size: 0.7em;
        width: auto;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .preed-ilsan-subtitle {
        font-size: 0.9rem;
    }
}

/* 가입상담 섹션 스타일 */
.consultation-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* 배경 디자인 요소 */
.consultation-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(11, 151, 204, 0.1) 0%, rgba(11, 151, 204, 0.05) 100%);
    animation: float 6s ease-in-out infinite;
}

.bg-circle-1 {
    width: 120px;
    height: 120px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.bg-circle-2 {
    width: 80px;
    height: 80px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.bg-circle-3 {
    width: 60px;
    height: 60px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

.bg-wave {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(11, 151, 204, 0.1), transparent);
    height: 2px;
    animation: wave 8s ease-in-out infinite;
}

.bg-wave-1 {
    width: 200px;
    top: 30%;
    left: 5%;
    animation-delay: 1s;
}

.bg-wave-2 {
    width: 150px;
    bottom: 40%;
    right: 10%;
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

@keyframes wave {
    0%, 100% { opacity: 0.3; transform: scaleX(1); }
    50% { opacity: 0.8; transform: scaleX(1.2); }
}

.consultation-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 100%;
    margin: 0;
    padding: 0 2rem;
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.consultation-text {
    display: flex;
    align-items: center;
    gap: 1rem;
    white-space: nowrap;
}

.consultation-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border-radius: 8px;
    padding: 1rem;
}

.consultation-item:hover {
    background-color: rgba(11, 151, 204, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.consultation-item:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* 가입상담 영역 강조 스타일 */
.consultation-primary {
    background: linear-gradient(135deg, rgba(11, 151, 204, 0.1) 0%, rgba(11, 151, 204, 0.05) 100%);
    border: 2px solid rgba(11, 151, 204, 0.3);
    box-shadow: 0 4px 20px rgba(11, 151, 204, 0.15);
}

.consultation-primary:hover {
    background: linear-gradient(135deg, rgba(11, 151, 204, 0.2) 0%, rgba(11, 151, 204, 0.1) 100%);
    border-color: rgba(11, 151, 204, 0.5);
    box-shadow: 0 6px 25px rgba(11, 151, 204, 0.25);
    transform: translateY(-3px);
}

.consultation-primary .consultation-label {
    color: #0b97cc;
    font-weight: 800;
}

.consultation-primary .consultation-phone {
    color: #0b97cc;
    font-weight: 900;
    text-shadow: 0 1px 2px rgba(11, 151, 204, 0.2);
}

/* 해지 신청 영역 스타일 */
.consultation-secondary {
    background: linear-gradient(135deg, rgba(108, 117, 125, 0.1) 0%, rgba(108, 117, 125, 0.05) 100%);
    border: 2px solid rgba(108, 117, 125, 0.3);
    box-shadow: 0 4px 20px rgba(108, 117, 125, 0.1);
}

.consultation-secondary:hover {
    background: linear-gradient(135deg, rgba(108, 117, 125, 0.2) 0%, rgba(108, 117, 125, 0.1) 100%);
    border-color: rgba(108, 117, 125, 0.5);
    box-shadow: 0 6px 25px rgba(108, 117, 125, 0.2);
    transform: translateY(-3px);
}

.consultation-secondary .consultation-label {
    color: #6c757d;
    font-weight: 700;
}

.consultation-secondary .consultation-phone {
    color: #6c757d;
    font-weight: 800;
}

.consultation-label {
    font-size: 3rem;
    font-weight: 700;
    color: #000;
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
    margin: 0;
}

.consultation-phone {
    font-size: 3.8rem;
    font-weight: 800;
    color: #0b97cc;
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
    letter-spacing: 1px;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 가입상담 섹션 모바일 반응형 - 가로 배치 */
@media (max-width: 768px) {
    .consultation-section {
        padding: 2rem 0;
    }
    
    .consultation-content {
        padding: 0 1rem;
        gap: 1rem;
        flex-direction: row;
        text-align: center;
        justify-content: space-between;
        align-items: center;
    }
    
    .consultation-item {
        align-items: center;
        gap: 0.3rem;
        flex: 1;
        max-width: calc(50% - 0.5rem);
    }
    
    .consultation-text {
        flex-direction: column;
        gap: 0.3rem;
    }
        gap: 0.3rem;
    }
    
      .consultation-label {
      font-size: 1.8rem;
      margin-bottom: 0;
  }
  
  .consultation-phone {
      font-size: 1.8rem;
      letter-spacing: 1px;
  }
}

@media (max-width: 480px) {
    .consultation-section {
        padding: 1.5rem 0;
    }
    
    .consultation-content {
        padding: 0 1rem;
        gap: 1.2rem;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    .consultation-item {
        align-items: center;
        gap: 0.2rem;
    }
    
      .consultation-label {
      font-size: 1.5rem;
  }
  
  .consultation-phone {
      font-size: 1.5rem;
      letter-spacing: 0.5px;
  }
}

@media (max-width: 360px) {
    .consultation-content {
        padding: 0 0.8rem;
        gap: 1rem;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    .consultation-item {
        align-items: center;
        gap: 0.2rem;
    }
    
      .consultation-label {
      font-size: 1.3rem;
  }
  
  .consultation-phone {
      font-size: 1.3rem;
      letter-spacing: 0.3px;
  }
}

/* 유튜브 영상 섹션 스타일 */
.youtube-section {
    background: #fff;
    padding: 3rem 0;
    border-top: 1px solid #e9ecef;
}

.youtube-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.youtube-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 비율 */
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.youtube-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
}

/* 유튜브 섹션 모바일 반응형 - 완성도 개선 */
@media (max-width: 768px) {
    .youtube-section {
        padding: 2.5rem 0;
    }
    
    .youtube-container {
        padding: 0 1.5rem;
    }
    
    .youtube-wrapper {
        border-radius: 10px;
        box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    }
}

@media (max-width: 480px) {
    .youtube-section {
        padding: 2rem 0;
    }
    
    .youtube-container {
        padding: 0 1rem;
    }
    
    .youtube-wrapper {
        border-radius: 8px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }
}

@media (max-width: 360px) {
    .youtube-section {
        padding: 1.5rem 0;
    }
    
    .youtube-container {
        padding: 0 0.8rem;
    }
    
    .youtube-wrapper {
        border-radius: 6px;
    }
}

/* 1위 팩트 섹션 스타일 */
.fact-section {
    background: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), 
                url('/zweb/preedweb/shared/images/san.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 4rem 0;
    position: relative;
}

.fact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    backdrop-filter: blur(2px);
    background: rgba(255, 255, 255, 0.3);
}

.fact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.fact-content {
    display: flex;
    align-items: center;
    min-height: 300px;
    flex-direction: row;
}

.fact-number {
    flex: 0 0 45%;
    display: flex;
    justify-content: center;
    align-items: center;
    order: 1;
}

.number-one-image {
    width: 200px;
    height: auto;
    max-width: 100%;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.1));
    transition: all 0.3s ease;
}

.fact-text {
    flex: 0 0 55%;
    padding-left: 2rem;
    order: 2;
}

.fact-title {
    font-size: 3.8rem;
    line-height: 1.2;
    color: #2c3e50;
    margin: 0;
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
    text-align: left;
}

.fact-bold {
    font-weight: 900;
}

.fact-normal {
    font-weight: 400;
}

.fact-list {
    margin-top: 2rem;
    list-style: none;
    padding: 0;
}

.fact-item {
    font-size: 1.9rem;
    font-weight: 600;
    color: #0b97cc;
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    opacity: 0;
    transform: translateX(-20px);
    animation: slideInLeft 0.6s ease-out forwards;
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
}

.fact-item:nth-child(1) { animation-delay: 0.2s; }
.fact-item:nth-child(2) { animation-delay: 0.4s; }
.fact-item:nth-child(3) { animation-delay: 0.6s; }
.fact-item:nth-child(4) { animation-delay: 0.8s; }

.fact-item::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: #0b97cc;
    font-weight: 900;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 팩트 섹션 모바일 반응형 - 완성도 개선 */
@media (max-width: 768px) {
    .fact-section {
        padding: 3rem 0;
        background-attachment: scroll;
    }
    
    .fact-container {
        padding: 0 1.5rem;
    }
    
    .fact-content {
        flex-direction: row;
        min-height: auto;
        align-items: center;
        gap: 1rem;
    }
    
    .fact-number {
        flex: 0 0 40%;
        margin-bottom: 0;
        justify-content: center;
        text-align: center;
    }
    
    .number-one-image {
        width: 110px;
    }
    
    .fact-text {
        flex: 0 0 60%;
        padding-left: 0;
        text-align: left;
    }
    
    .fact-title {
        font-size: 2.2rem;
        text-align: left;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    .fact-list {
        margin-top: 1rem;
    }
    
    .fact-item {
        font-size: 1.3rem;
        margin-bottom: 0.4rem;
        text-align: left;
        padding-left: 1.3rem;
        line-height: 1.4;
    }
    
    .fact-item::before {
        display: block;
    }
}

@media (max-width: 480px) {
    .fact-section {
        padding: 2.5rem 0;
    }
    
    .fact-container {
        padding: 0 1rem;
    }
    
    .fact-content {
        gap: 0.8rem;
    }
    
    .fact-number {
        flex: 0 0 38%;
    }
    
    .number-one-image {
        width: 95px;
    }
    
    .fact-text {
        flex: 0 0 72%;
    }
    
    .fact-title {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }
    
    .fact-item {
        font-size: 1.1rem;
        margin-bottom: 0.3rem;
        padding-left: 1rem;
    }
}

@media (max-width: 360px) {
    .fact-section {
        padding: 2rem 0;
    }
    
    .fact-container {
        padding: 0 0.8rem;
    }
    
    .fact-content {
        gap: 0.6rem;
    }
    
    .fact-number {
        flex: 0 0 35%;
    }
    
    .number-one-image {
        width: 80px;
    }
    
    .fact-text {
        flex: 0 0 65%;
    }
    
    .fact-title {
        font-size: 1.5rem;
        margin-bottom: 0.6rem;
    }
    
    .fact-item {
        font-size: 0.95rem;
        margin-bottom: 0.25rem;
        padding-left: 0.8rem;
    }
}

/* 프리드라이프 소개 섹션 스타일 - 백업 파일과 100% 동일 */
.preed-section {
    background: linear-gradient(135deg, #00a3e0 0%, #0084c7 100%) !important;
    background-color: #00a3e0 !important;
    color: white !important;
    text-align: center !important;
    padding: 5rem 2rem !important;
    overflow: hidden !important;
    position: relative !important;
    z-index: 1 !important;
    min-height: 500px !important;
    width: 100% !important;
    display: block !important;
    margin: 0 !important;
    border: none !important;
    outline: none !important;
}

.preed-section h2 {
    font-size: 2.5rem !important;
    margin-bottom: 1.5rem !important;
    font-weight: 400 !important;
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif !important;
    opacity: 0 !important;
    transform: translateY(30px) !important;
    animation: fadeInUp 0.8s ease-out 0.2s forwards !important;
}

.preed-section h1 {
    font-size: 3.2rem !important;
    font-weight: 700 !important;
    margin-bottom: 4rem !important;
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif !important;
    opacity: 0 !important;
    transform: translateY(30px) !important;
    animation: fadeInUp 0.8s ease-out 0.4s forwards !important;
}

.preed-box-container {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 2.5rem !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
}

.preed-info-box {
    flex: 1 1 220px !important;
    min-width: 220px !important;
    max-width: 280px !important;
    border: 3px solid white !important;
    padding: 2.5rem 2rem !important;
    box-sizing: border-box !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    backdrop-filter: blur(10px) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    text-align: center !important;
}

.preed-info-box:hover {
    background: rgba(255, 255, 255, 0.3) !important;
    transform: translateY(-12px) scale(1.03) !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25) !important;
    border-color: rgba(255, 255, 255, 0.9) !important;
}

.preed-info-box:active {
    transform: translateY(-8px) scale(1.01) !important;
    transition: all 0.1s ease !important;
}

.preed-info-box h3 {
    font-size: 2.2rem !important;
    margin: 0 0 1.2rem 0 !important;
    padding: 0 !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1) !important;
    flex-shrink: 0 !important;
}

.preed-info-box p {
    font-size: 1.1rem !important;
    line-height: 1.5 !important;
    font-weight: 400 !important;
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif !important;
    opacity: 0.95 !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-grow: 1 !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important;
    word-break: keep-all !important;
    text-align: center !important;
    white-space: pre-line !important;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes boxSlideIn {
    0% {
        opacity: 0;
        transform: translateY(60px) scale(0.8) rotateY(10deg);
    }
    50% {
        opacity: 0.7;
        transform: translateY(20px) scale(0.95) rotateY(5deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1) rotateY(0deg);
    }
}

/* 추가 애니메이션: 펄스 효과 */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

.preed-info-box.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

        /* 모바일 반응형 */
        @media (max-width: 768px) {
            .preed-section {
                padding: 4rem 1rem;
            }
            
            .preed-section h2 {
                font-size: 2rem;
                margin-bottom: 1rem;
            }
            
            .preed-section h1 {
                font-size: 2.5rem;
                margin-bottom: 3rem;
                line-height: 1.3;
            }
            
            .preed-box-container {
                display: grid;
                grid-template-columns: 1fr 1fr;
                gap: 1.5rem;
                max-width: 600px;
                margin: 0 auto;
            }
            
            .preed-info-box {
                width: 100%;
                max-width: none;
                min-width: auto;
                padding: 1.8rem 1.2rem;
                margin: 0;
                display: flex;
                flex-direction: column;
                justify-content: center;
                text-align: center;
                flex: none;
            }
            
            .preed-info-box h3 {
                font-size: 2.2rem;
                margin: 0 0 1rem 0;
                padding: 0;
                flex-shrink: 0;
                line-height: 1.1;
            }
            
            .preed-info-box p {
                font-size: 1.1rem;
                line-height: 1.5;
                margin: 0;
                padding: 0;
                flex-grow: 1;
                display: flex;
                align-items: flex-start;
                justify-content: center;
                word-break: keep-all;
                text-align: center;
                white-space: pre-line;
            }
        }
        
        @media (max-width: 480px) {
            .preed-section {
                padding: 3.5rem 1rem;
            }
            
            .preed-section h2 {
                font-size: 1.8rem;
                margin-bottom: 1rem;
            }
            
            .preed-section h1 {
                font-size: 2.2rem;
                margin-bottom: 2.5rem;
                line-height: 1.3;
            }
            
            .preed-info-box {
                padding: 1.8rem 1.5rem;
                max-width: 350px;
                display: flex;
                flex-direction: column;
                justify-content: center;
                text-align: center;
            }
            
            .preed-info-box h3 {
                font-size: 1.7rem;
                margin: 0 0 0.8rem 0;
                padding: 0;
                flex-shrink: 0;
            }
            
            .preed-info-box p {
                font-size: 0.95rem;
                line-height: 1.6;
                margin: 0;
                padding: 0;
                flex-grow: 1;
                display: flex;
                align-items: flex-start;
                justify-content: center;
                word-break: keep-all;
                text-align: center;
                white-space: pre-line;
            }
        }
        
        @media (max-width: 480px) {
            .preed-section h2 {
                font-size: 1.8rem;
                margin-bottom: 0.8rem;
            }
            
            .preed-section h1 {
                font-size: 2.2rem;
                margin-bottom: 2.5rem;
            }
            
            .preed-box-container {
                display: grid;
                grid-template-columns: 1fr 1fr;
                gap: 1.2rem;
                max-width: 500px;
                margin: 0 auto;
            }
            
            .preed-info-box {
                padding: 1.5rem 1rem;
                max-width: none;
                width: 100%;
                margin: 0;
                flex: none;
            }
            
            .preed-info-box h3 {
                font-size: 2rem;
                margin-bottom: 0.8rem;
                line-height: 1.1;
            }
            
            .preed-info-box p {
                font-size: 1rem;
                line-height: 1.4;
            }
        }
        
        @media (max-width: 360px) {
            .preed-section {
                padding: 3rem 0.8rem;
            }
            
            .preed-section h2 {
                font-size: 1.6rem;
            }
            
            .preed-section h1 {
                font-size: 2rem;
                margin-bottom: 2rem;
            }
            
            .preed-box-container {
                display: grid;
                grid-template-columns: 1fr 1fr;
                gap: 1rem;
                max-width: 450px;
                margin: 0 auto;
            }
            
            .preed-info-box {
                padding: 1.3rem 0.8rem;
                display: flex;
                flex-direction: column;
                justify-content: center;
                text-align: center;
                max-width: none;
                width: 100%;
                margin: 0;
                flex: none;
            }
            
            .preed-info-box h3 {
                font-size: 1.8rem;
                margin: 0 0 0.8rem 0;
                padding: 0;
                flex-shrink: 0;
                line-height: 1.1;
            }
            
            .preed-info-box p {
                font-size: 0.95rem;
                line-height: 1.4;
                margin: 0;
                padding: 0;
                flex-grow: 1;
                display: flex;
                align-items: flex-start;
                justify-content: center;
                word-break: keep-all;
                text-align: center;
                white-space: pre-line;
            }
        }

        /* 제1금융권 지급보증 섹션 스타일 */
        .bank-guarantee-section {
            background-color: #ffffff;
            padding: 4rem 0;
            border-top: 1px solid #e9ecef;
        }
        
        .bank-guarantee-title {
            font-size: 3rem;
            font-weight: 700;
            color: #2c3e50;
            text-align: center;
            margin-bottom: 3rem;
            font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
        }
        
        .bank-guarantee-image {
            text-align: center;
            padding: 1rem 0;
        }
        
        .bank-guarantee-image img {
            max-width: 60%;
            height: auto;
        }
        
        .bank-guarantee-content {
            padding: 2rem;
            max-width: 100%;
            overflow: hidden;
            box-sizing: border-box;
        }
        
        .bank-guarantee-subtitle {
            font-size: 2rem;
            font-weight: 600;
            color: #0b97cc;
            margin-bottom: 1.5rem;
            font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
        }
        
        .bank-guarantee-description {
            font-size: 1.2rem;
            line-height: 1.8;
            color: #555;
            font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
            word-break: keep-all;
            text-align: left;
        }
        
        .bank-logos-section {
            margin-top: 2rem;
            padding-top: 2rem;
            border-top: 1px solid #e9ecef;
            width: 100%;
            max-width: 100%;
            overflow: hidden;
        }
        
        .bank-logos-container {
            display: flex !important;
            flex-wrap: wrap !important;
            justify-content: center !important;
            align-items: center !important;
            gap: 1.2rem;
            max-width: 100% !important;
            overflow: hidden !important;
            width: 100% !important;
            box-sizing: border-box !important;
        }
        
        .bank-logo-item {
            flex: 0 0 auto;
            text-align: center;
            width: 100%;
            max-width: 100%;
            overflow: hidden;
        }
        
        .bank-logo {
            height: auto !important;
            width: 70% !important;
            max-width: 70% !important;
            max-height: 100px !important;
            object-fit: contain !important;
            object-position: center !important;
            transition: transform 0.3s ease;
            display: block !important;
            margin: 0 auto !important;
            box-sizing: border-box !important;
        }
        
        .bank-logo:hover {
            transform: scale(1.1);
        }
        
        /* 단일 은행 이미지 최적화 - 강제 적용 */
        .bank-guarantee-section .bank-logos-section .bank-logos-container .bank-logo-item .bank-logo {
            height: auto !important;
            width: 70% !important;
            max-width: 70% !important;
            max-height: 100px !important;
            object-fit: contain !important;
            object-position: center !important;
            display: block !important;
            margin: 0 auto !important;
            box-sizing: border-box !important;
        }
        
        /* 제1금융권 지급보증 섹션 모바일 반응형 */
        @media (max-width: 768px) {
            .bank-guarantee-section {
                padding: 3rem 0;
            }
            
            .bank-guarantee-title {
                font-size: 2.2rem;
                margin-bottom: 2rem;
            }
            
            .bank-guarantee-content {
                padding: 1.5rem 1rem;
                text-align: center;
            }
            
            .bank-guarantee-subtitle {
                font-size: 1.6rem;
                margin-bottom: 1rem;
                text-align: center;
            }
            
            .bank-guarantee-description {
                font-size: 1rem;
                line-height: 1.6;
                text-align: left;
            }
            
            .bank-guarantee-image img {
                max-width: 70%;
                margin-bottom: 1rem;
            }
            
            .bank-logos-container {
                gap: 1rem;
            }
            
            .bank-logo {
                height: auto;
                width: 80%;
                max-width: 80%;
                max-height: 100px;
            }
            
            /* 768px 이하에서 단일 은행 이미지 최적화 */
            .bank-logo-item:first-child .bank-logo {
                height: auto;
                width: 80%;
                max-width: 80%;
                max-height: 100px;
            }
        }
        
        @media (max-width: 480px) {
            .bank-guarantee-section {
                padding: 2.5rem 0;
            }
            
            .bank-guarantee-title {
                font-size: 1.8rem;
                margin-bottom: 1.5rem;
            }
            
            .bank-guarantee-content {
                padding: 1rem 0.5rem;
            }
            
            .bank-guarantee-subtitle {
                font-size: 1.4rem;
                margin-bottom: 0.8rem;
            }
            
            .bank-guarantee-description {
                font-size: 0.9rem;
                line-height: 1.5;
                text-align: left;
            }
            
            .bank-logos-section {
                margin-top: 1.5rem;
                padding-top: 1.5rem;
            }
            
            .bank-logos-container {
                gap: 0.8rem;
                justify-content: space-around;
            }
            
            .bank-logo {
                height: auto;
                width: 80%;
                max-width: 80%;
                max-height: 80px;
            }
            
            /* 480px 이하에서 단일 은행 이미지 최적화 */
            .bank-logo-item:first-child .bank-logo {
                height: auto;
                width: 80%;
                max-width: 80%;
                max-height: 80px;
            }
        }

@media (max-width: 360px) {
    .preed-section {
        padding: 3rem 0.8rem;
    }
    
    .preed-section h2 {
        font-size: 1.6rem;
    }
    
    .preed-section h1 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .preed-box-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
        max-width: 450px;
        margin: 0 auto;
    }
    
    .preed-info-box {
        padding: 1.3rem 0.8rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        max-width: none;
        width: 100%;
        margin: 0;
        flex: none;
    }
    
    .preed-info-box h3 {
        font-size: 1.8rem;
        margin: 0 0 0.8rem 0;
        padding: 0;
        flex-shrink: 0;
        line-height: 1.1;
    }
    
    .preed-info-box p {
        font-size: 0.95rem;
        line-height: 1.4;
        margin: 0;
        padding: 0;
        flex-grow: 1;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        word-break: keep-all;
        text-align: center;
        white-space: pre-line;
    }
}

/* 멤버십 서비스 섹션 스타일 */
.membership-service-section {
    background-color: #fff;
    padding: 4rem 0;
    text-align: center;
    border-top: 1px solid #e9ecef;
}

.membership-service-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.membership-main-title {
    font-size: 2.5rem;
    font-weight: 400;
    color: #333;
    margin-bottom: 0.5rem;
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
    line-height: 1.2;
}

.membership-service-title {
    font-size: 4rem;
    font-weight: 700;
    color: #4a90e2;
    margin-bottom: 1.5rem;
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
    line-height: 1.1;
}

.membership-subtitle {
    font-size: 1.8rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 3rem;
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
}

.membership-description {
    margin-top: 2rem;
}

.membership-tagline {
    font-size: 2rem;
    font-weight: 400;
    color: #666;
    margin-bottom: 1rem;
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
    line-height: 1.3;
}

.membership-benefits {
    font-size: 1.6rem;
    font-weight: 600;
    color: #333;
    margin: 0;
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
    line-height: 1.4;
    word-break: keep-all;
}

/* 멤버십 서비스 섹션 모바일 반응형 */
@media (max-width: 768px) {
    .membership-service-section {
        padding: 3rem 0;
    }
    
    .membership-service-content {
        padding: 0 1.5rem;
    }
    
    .membership-main-title {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    
    .membership-service-title {
        font-size: 3rem;
        margin-bottom: 1.5rem;
    }
    
    .membership-subtitle {
        font-size: 1.5rem;
        margin-bottom: 2.5rem;
    }
    
    .membership-tagline {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }
    
    .membership-benefits {
        font-size: 1.3rem;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    .membership-service-section {
        padding: 2.5rem 0;
    }
    
    .membership-service-content {
        padding: 0 1rem;
    }
    
    .membership-main-title {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    
    .membership-service-title {
        font-size: 2.5rem;
        margin-bottom: 1.2rem;
    }
    
    .membership-subtitle {
        font-size: 1.3rem;
        margin-bottom: 2rem;
    }
    
    .membership-tagline {
        font-size: 1.4rem;
        margin-bottom: 0.8rem;
    }
    
    .membership-benefits {
        font-size: 1.1rem;
        line-height: 1.4;
    }
}

/* 멤버십 케어 서비스 이미지 섹션 스타일 */
.membership-care-section {
    background-color: #f8f9fa;
    padding: 3rem 0;
}

.membership-care-section .container {
    max-width: 100%;
    padding: 0;
}

.care-images-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.4rem;
    max-width: 100%;
    margin: 0;
    padding: 0 0.2rem;
}

.care-image-item {
    text-align: center;
    transition: transform 0.3s ease;
}

.care-image-item:hover {
    transform: translateY(-5px);
}

.care-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s ease;
}

.care-image:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* 멤버십 케어 섹션 모바일 반응형 */
@media (max-width: 992px) {
    .care-images-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
        padding: 0 0.3rem;
    }
}

@media (max-width: 768px) {
    .membership-care-section {
        padding: 2.5rem 0;
    }
    
    .care-images-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
        padding: 0 0.2rem;
    }
    
    .care-image {
        max-width: 100%;
        border-radius: 6px;
    }
}

@media (max-width: 480px) {
    .membership-care-section {
        padding: 2rem 0;
    }
    
    .care-images-container {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        padding: 0 0.2rem;
    }
    
    .care-image {
        max-width: 100%;
        margin: 0 auto;
        border-radius: 6px;
    }
}

        /* 프리드라이프 서비스 섹션 스타일 */
        .freedlife-services-section {
            padding: 80px 0;
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        }
        
        .services-header {
            text-align: center;
            margin-bottom: 60px;
        }
        
        .services-title {
            font-size: 2.5rem;
            font-weight: 700;
            color: #2c3e50;
            margin-bottom: 20px;
        }
        
        .services-title .highlight-text {
            color: #007bff;
        }
        
        .services-subtitle {
            font-size: 1.2rem;
            color: #6c757d;
            margin-bottom: 0;
        }
        
        .services-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 30px;
            max-width: 1200px;
            margin: 0 auto;
        }
        
        .service-card {
            background: #ffffff;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            overflow: hidden;
            transition: all 0.3s ease;
            border: 1px solid #e9ecef;
        }
        
        .service-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
        }
        
        .service-image-container {
            position: relative;
            width: 100%;
            height: 200px;
            overflow: hidden;
        }
        
        .service-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease;
        }
        
        .service-card:hover .service-image {
            transform: scale(1.05);
        }
        
        .service-content {
            padding: 25px 20px;
            text-align: center;
        }
        
        .service-title {
            font-size: 1.3rem;
            font-weight: 600;
            color: #2c3e50;
            margin-bottom: 12px;
        }
        
        .service-description {
            font-size: 0.95rem;
            color: #6c757d;
            line-height: 1.6;
            margin: 0;
        }
        
        /* 모바일 반응형 */
        @media (max-width: 768px) {
            .freedlife-services-section {
                padding: 60px 0;
            }
            
            .services-title {
                font-size: 2rem;
            }
            
            .services-subtitle {
                font-size: 1rem;
            }
            
            .services-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 20px;
                padding: 0 15px;
            }
            
            .service-image-container {
                height: 150px;
            }
            
            .service-content {
                padding: 20px 15px;
            }
            
            .service-title {
                font-size: 1.1rem;
            }
            
            .service-description {
                font-size: 0.85rem;
            }
        }
        
        @media (max-width: 480px) {
            .services-grid {
                gap: 15px;
                padding: 0 10px;
            }
            
            .service-image-container {
                height: 120px;
            }
            
            .service-content {
                padding: 15px 12px;
            }
            
            .service-title {
                font-size: 1rem;
            }
            
            .service-description {
                font-size: 0.8rem;
            }
        }

        /* 당신의 삶과 함께 섹션 스타일 */
.life-together-section {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), 
                url('/zweb/preedweb/shared/images/family.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 60vh;
    position: relative;
    color: white;
}

.life-together-content {
    padding: 2rem 2rem;
    text-align: left;
}

.nul-image-container {
    margin-bottom: 1rem;
}

.nul-image {
    height: 80px;
    width: auto;
    filter: brightness(0) invert(1);
}

.life-together-subtitle {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
    line-height: 1.2;
}

.life-together-description p {
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
    color: rgba(255, 255, 255, 0.95);
    word-break: keep-all;
}

.better-together {
    font-size: 2rem !important;
    font-weight: 700 !important;
    color: #4a90e2 !important;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 3rem 0 2rem 0 !important;
}

.final-message {
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    color: white !important;
    margin-bottom: 0 !important;
}

/* 당신의 삶과 함께 섹션 모바일 반응형 */
@media (max-width: 768px) {
    .life-together-section {
        background-attachment: fixed;
        background-position: center center;
        background-size: cover;
        min-height: 80vh;
        padding: 4rem 0;
        margin: 0;
        display: flex;
        align-items: center;
    }
    
    .life-together-content {
        padding: 2rem 1.5rem;
        text-align: center;
        width: 100%;
    }
    
    .nul-image {
        height: 70px;
        margin-bottom: 1rem;
    }
    
    .life-together-subtitle {
        font-size: 2.8rem;
        margin-bottom: 2rem;
        text-align: center;
        font-weight: 700;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    }
    
    .life-together-description p {
        font-size: 1.2rem;
        line-height: 1.7;
        margin-bottom: 2rem;
        text-align: center;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    }
    
    .better-together {
        font-size: 1.8rem !important;
        margin: 2.5rem 0 2rem 0 !important;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    }
    
    .final-message {
        font-size: 1.4rem !important;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    }
}

@media (max-width: 480px) {
    .life-together-section {
        background-attachment: fixed;
        background-position: center center;
        background-size: cover;
        background-repeat: no-repeat;
        min-height: 85vh;
        padding: 3rem 0;
        margin: 0;
        display: flex;
        align-items: center;
    }
    
    .life-together-content {
        padding: 2rem 1.2rem;
        width: 100%;
    }
    
    .nul-image-container {
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .nul-image {
        height: 75px;
    }
    
    .life-together-subtitle {
        font-size: 2.3rem;
        margin-bottom: 1.5rem;
        font-weight: 700;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.4);
        line-height: 1.2;
    }
    
    .life-together-description p {
        font-size: 1.1rem;
        line-height: 1.6;
        margin-bottom: 1.8rem;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.4);
    }
    
    .better-together {
        font-size: 1.5rem !important;
        margin: 2rem 0 1.5rem 0 !important;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.4);
    }
    
    .final-message {
        font-size: 1.2rem !important;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.4);
    }
}

@media (max-width: 360px) {
    .life-together-section {
        background-attachment: fixed;
        background-position: center center;
        background-size: cover;
        min-height: 90vh;
        padding: 2.5rem 0;
        margin: 0;
        display: flex;
        align-items: center;
    }
    
    .life-together-content {
        padding: 1.5rem 1rem;
        width: 100%;
    }
    
    .nul-image {
        height: 65px;
        margin-bottom: 0.8rem;
    }
    
    .life-together-subtitle {
        font-size: 2rem;
        margin-bottom: 1.2rem;
        font-weight: 700;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
        line-height: 1.2;
    }
    
    .life-together-description p {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    }
    
    .better-together {
        font-size: 1.3rem !important;
        margin: 1.8rem 0 1.2rem 0 !important;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    }
    
    .final-message {
        font-size: 1.1rem !important;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    }
}

/* 상품 안내 섹션 스타일 */
.product-guide-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

.product-guide-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23e2e8f0" fill-opacity="0.3"><circle cx="30" cy="30" r="1"/></g></svg>') repeat;
    opacity: 0.5;
}

.product-guide-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.product-guide-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1rem;
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
}

.highlight-text {
    color: #4a90e2;
    position: relative;
}

.highlight-text::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #4a90e2, #63b3ed);
    border-radius: 2px;
}

.product-guide-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    font-weight: 400;
    margin: 0;
}

.product-cards-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.product-card {
    background: white;
    border-radius: 16px;
    padding: 0.8rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4a90e2, #63b3ed);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border-color: #4a90e2;
}

.product-card-best {
    transform: scale(1.05);
    border-color: #f59e0b;
    box-shadow: 0 15px 40px rgba(245, 158, 11, 0.2);
}

.product-card-best::before {
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
}

.product-card-best:hover {
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 25px 70px rgba(245, 158, 11, 0.25);
}

.product-title-box {
    margin: -0.8rem -0.8rem 0.8rem -0.8rem;
    padding: 1.2rem 0.5rem;
    position: relative;
    text-align: center;
    border-radius: 16px 16px 0 0;
    background: linear-gradient(135deg, #4a90e2, #357abd);
    color: white;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.basic-title {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.best-title {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.premium-title {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.special-title {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}

.title-text {
    font-size: 2.8rem;
    font-weight: 900;
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
    line-height: 1;
}

.best-icon {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #dc2626;
    color: white;
    font-size: 0.7rem;
    padding: 0.3rem 0.6rem;
    border-radius: 12px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.4);
}

.product-header {
    text-align: center;
    margin-bottom: 0.6rem;
    flex-shrink: 0;
}

.product-price {
    margin-bottom: 0.8rem;
    flex-shrink: 0;
}

.price-number {
    font-size: 4rem;
    font-weight: 900;
    color: #1a202c;
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
    line-height: 1;
}

.price-unit {
    font-size: 1.4rem;
    color: #64748b;
    font-weight: 600;
    margin-left: 0.3rem;
}

.product-details {
    text-align: left;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.payment-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0.6rem;
    background: #f8fafc;
    border-radius: 8px;
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
}

.payment-amount {
    font-weight: 700;
    color: #1a202c;
    font-size: 1.1rem;
}

.payment-period {
    color: #64748b;
    font-size: 1rem;
    font-weight: 600;
}

.special-service {
    justify-content: center;
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    color: #1e40af;
    font-weight: 700;
    font-size: 0.95rem;
}

.product-description {
    margin-top: auto;
    padding: 0.6rem;
    background: #f1f5f9;
    border-radius: 8px;
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.3;
    text-align: center;
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
    font-weight: 500;
}

/* 상품 안내 섹션 모바일 반응형 */
@media (max-width: 768px) {
    .product-guide-section {
        padding: 2rem 0;
    }
    
    .product-guide-title {
        font-size: 2rem;
    }
    
    .product-guide-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .product-cards-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
        padding: 0 0.5rem;
    }
    
    .product-card {
        padding: 0.4rem;
        border-radius: 12px;
        min-height: 360px;
    }
    
    .product-title-box {
        margin: -0.4rem -0.4rem 0.4rem -0.4rem;
        padding: 0.6rem 0.2rem;
        border-radius: 12px 12px 0 0;
    }
    
    .title-text {
        font-size: 2.2rem !important;
    }
    
    .product-header {
        margin-bottom: 0.4rem;
    }
    
    .product-price {
        margin-bottom: 0.5rem;
    }
    
    .product-card-best {
        transform: none;
    }
    
    .product-card-best:hover {
        transform: translateY(-5px);
    }
    
    .price-number {
        font-size: 3.2rem !important;
    }
    
    .price-unit {
        font-size: 1.3rem !important;
    }
    
    .product-details {
        gap: 0.2rem;
    }
    
    .payment-option {
        padding: 0.5rem 0.3rem !important;
        font-size: 1rem !important;
    }
    
    .payment-amount {
        font-size: 1.2rem !important;
        font-weight: 700 !important;
    }
    
    .payment-period {
        font-size: 1.1rem !important;
        font-weight: 600 !important;
    }
    
    .special-service {
        font-size: 0.9rem;
        padding: 0.5rem 0.3rem;
    }
    
    .product-description {
        font-size: 1rem !important;
        padding: 0.3rem !important;
        margin-top: 0.3rem !important;
        font-weight: 600 !important;
    }
}

@media (max-width: 480px) {
    .product-guide-section {
        padding: 1.5rem 0;
    }
    
    .product-guide-title {
        font-size: 1.8rem;
    }
    
    .product-cards-container {
        padding: 0 0.3rem;
        gap: 0.6rem;
    }
    
    .product-card {
        padding: 0.3rem;
        min-height: 340px;
    }
    
    .product-title-box {
        margin: -0.3rem -0.3rem 0.3rem -0.3rem;
        padding: 0.5rem 0.2rem;
    }
    
    .title-text {
        font-size: 1.5rem;
    }
    
    .product-header {
        margin-bottom: 0.3rem;
    }
    
    .product-price {
        margin-bottom: 0.4rem;
    }
    
    .price-number {
        font-size: 2.8rem !important;
    }
    
    .price-unit {
        font-size: 1.1rem !important;
    }
    
    .product-details {
        gap: 0.15rem;
    }
    
    .payment-option {
        flex-direction: column !important;
        text-align: center !important;
        gap: 0.1rem !important;
        padding: 0.4rem 0.2rem !important;
        font-size: 1rem !important;
    }
    
    .payment-amount {
        font-size: 1.1rem !important;
        font-weight: 700 !important;
    }
    
    .payment-period {
        font-size: 1rem !important;
        font-weight: 600 !important;
    }
    
    .special-service {
        flex-direction: row;
        text-align: center;
        font-size: 0.8rem;
        padding: 0.4rem 0.2rem;
    }
    
    .product-description {
        font-size: 0.75rem;
        padding: 0.25rem;
        margin-top: 0.2rem;
    }
}

/* 모바일 강제 스타일 적용 */
@media screen and (max-width: 767px) {
    .product-card .payment-amount {
        font-size: 1.2rem !important;
        font-weight: 800 !important;
    }
    
    .product-card .payment-period {
        font-size: 1.1rem !important;
        font-weight: 700 !important;
    }
    
    .product-card .price-number {
        font-size: 3.2rem !important;
        font-weight: 900 !important;
    }
    
    .product-card .title-text {
        font-size: 2.2rem !important;
    }
}

@media screen and (max-width: 479px) {
    .product-card .payment-amount {
        font-size: 1.1rem !important;
        font-weight: 800 !important;
    }
    
    .product-card .payment-period {
        font-size: 1rem !important;
        font-weight: 700 !important;
    }
    
    .product-card .price-number {
        font-size: 2.8rem !important;
        font-weight: 900 !important;
    }
    
    .product-card .title-text {
        font-size: 1.5rem !important;
    }
}



        .care-system-section {
            background-color: #fff;
            padding: 4rem 0;
            border-top: 1px solid #e9ecef;
        }
        
        .care-system-title {
            font-size: 3rem;
            font-weight: 700;
            color: #2c3e50;
            text-align: center;
            margin-bottom: 3rem;
            font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
        }
        
        .care-system-container {
            max-width: 100%;
            margin: 0 auto;
            position: relative;
            padding-bottom: 4rem;
        }
        
        /* PC에서는 iframe 관련 스타일을 모두 숨김 */
        .care-system-iframe-wrapper,
        .care-system-iframe-container,
        .care-system-scrollable-content,
        .care-system-image,
        .scroll-indicators,
        .scroll-indicator,
        .scroll-hint {
            display: none !important;
        }
        
                 /* 케어 시스템 섹션 모바일 반응형 */
                  @media (max-width: 768px) {
             .care-system-section {
                 padding: 3rem 0;
             }
             
             .care-system-title {
                 font-size: 2.2rem;
                 margin-bottom: 2rem;
             }
             
             .care-system-container {
                 padding-bottom: 3rem;
             }
             
             /* PC용 숨기고 모바일용 보이기 */
             .care-system-desktop {
                 display: none;
             }
             
             .care-system-mobile {
                 display: block;
             }
        
        /* PC용 일반 이미지 스타일 - 완전히 보이도록 */
        .care-system-desktop {
            width: 100%;
            text-align: center;
            padding: 0 20px;
            margin: 0 auto;
            box-sizing: border-box;
        }
        
        .care-system-normal {
            max-width: 100%;
            width: auto;
            height: auto;
            display: block;
            margin: 0 auto;
            object-fit: contain;
            border-radius: 8px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        }
        
        /* 모바일용 iframe 스타일 - 기본적으로 숨김 */
        .care-system-mobile {
            display: none;
                     }
         }
        
         @media (max-width: 480px) {
             .care-system-section {
                 padding: 2.5rem 0;
             }
             
             .care-system-title {
                 font-size: 1.8rem;
                 margin-bottom: 1.5rem;
             }
             
             .care-system-container {
                 padding-bottom: 2.5rem;
             }
             
             /* PC용 숨기고 모바일용 보이기 */
             .care-system-desktop {
                 display: none;
             }
             
             .care-system-mobile {
                 display: block;
             }
             
             /* 모바일에서 iframe 관련 스타일들 다시 정의 */
             .care-system-iframe-wrapper {
                 display: block !important;
                 position: relative;
                 border-radius: 8px;
                 box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
                 overflow: hidden;
                 background: #f8f9fa;
                 border: 2px solid #e9ecef;
             }
             
             .care-system-iframe-container {
                 display: block !important;
                 position: relative;
                 height: 400px;
                 overflow: hidden;
                 background: #ffffff;
             }
             
             .care-system-scrollable-content {
                 display: block !important;
                 position: absolute;
                 top: 0;
                 left: 0;
                 height: 100%;
                 overflow-x: auto;
                 overflow-y: hidden;
                 width: 100%;
                 scrollbar-width: thin;
                 scrollbar-color: #007bff #f1f1f1;
             }
             
             .care-system-scrollable-content::-webkit-scrollbar {
                 height: 8px;
             }
             
             .care-system-scrollable-content::-webkit-scrollbar-track {
                 background: #f1f1f1;
                 border-radius: 4px;
             }
             
             .care-system-scrollable-content::-webkit-scrollbar-thumb {
                 background: #007bff;
                 border-radius: 4px;
             }
             
             .care-system-scrollable-content::-webkit-scrollbar-thumb:hover {
                 background: #0056b3;
             }
             
             .care-system-image {
                 display: block !important;
                 height: 100%;
                 width: auto;
                 object-fit: contain;
                 cursor: grab;
             }
             
             .care-system-image:active {
                 cursor: grabbing;
             }
             
             .scroll-indicators {
                 display: flex !important;
                 position: absolute;
                 top: 50%;
                 left: 0;
                 right: 0;
                 transform: translateY(-50%);
                 justify-content: space-between;
                 pointer-events: none;
                 z-index: 10;
             }
             
             .scroll-indicator {
                 display: flex !important;
                 background: rgba(0, 123, 255, 0.8);
                 color: white;
                 width: 40px;
                 height: 40px;
                 border-radius: 50%;
                 align-items: center;
                 justify-content: center;
                 cursor: pointer;
                 pointer-events: all;
                 transition: all 0.3s ease;
                 backdrop-filter: blur(10px);
                 border: 2px solid rgba(255, 255, 255, 0.3);
             }
             
             .scroll-indicator:hover {
                 background: rgba(0, 123, 255, 1);
                 transform: scale(1.1);
             }
             
             .scroll-indicator.left {
                 margin-left: 1rem;
             }
             
             .scroll-indicator.right {
                 margin-right: 1rem;
             }
             
             .scroll-indicator i {
                 font-size: 1rem;
             }
             
             .scroll-hint {
                 display: flex !important;
                 position: absolute;
                 bottom: -2.5rem;
                 left: 50%;
                 transform: translateX(-50%);
                 background: rgba(0, 0, 0, 0.7);
                 color: white;
                 padding: 0.6rem 1.2rem;
                 border-radius: 25px;
                 font-size: 0.8rem;
                 align-items: center;
                 gap: 0.5rem;
                 z-index: 10;
                 animation: pulseHint 2s infinite;
                 backdrop-filter: blur(10px);
                 border: 1px solid rgba(255, 255, 255, 0.2);
             }
             
             .scroll-hint i {
                 font-size: 1.1rem;
                 animation: horizontalMove 2s infinite;
             }
             
             @keyframes pulseHint {
                 0%, 100% { opacity: 0.8; }
                 50% { opacity: 1; }
             }
             
             @keyframes horizontalMove {
                 0%, 100% { transform: translateX(0); }
                 25% { transform: translateX(-5px); }
                 75% { transform: translateX(5px); }
             }
             
             .care-system-iframe-wrapper {
                 border-radius: 6px;
             }
             
             .care-system-iframe-container {
                 height: 300px;
             }
             
             .scroll-indicator {
                 width: 35px;
                 height: 35px;
             }
             
             .scroll-indicator i {
                 font-size: 0.9rem;
             }
             
             .scroll-hint {
                 bottom: -2rem;
                 padding: 0.5rem 1rem;
                 font-size: 0.75rem;
             }
             
             .scroll-hint span {
                 display: none;
             }
         }

/* 입사 문의 섹션 스타일 */
.recruit-main-title {
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
    font-weight: 700;
    color: #1a202c;
    text-align: center;
    margin-bottom: 2rem;
}

/* 입사 문의 반응형 스타일 */
@media (max-width: 768px) {
    .recruit-main-title {
        font-size: 1.6rem !important;
        line-height: 1.3 !important;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .recruit-main-title {
        font-size: 1.4rem !important;
        line-height: 1.3 !important;
        margin-bottom: 1.2rem;
        padding: 0 1rem;
    }
}

@media (max-width: 360px) {
    .recruit-main-title {
        font-size: 1.2rem !important;
        line-height: 1.3 !important;
        margin-bottom: 1rem;
        padding: 0 0.5rem;
    }
}

/* VIP 의전 섹션 스타일 */
.vip-service-section {
    padding: 5rem 0;
    background: white;
}

.vip-service-content {
    text-align: center;
    margin-bottom: 4rem;
}

.vip-main-title {
    font-size: 1.5rem;
    color: #64748b;
    font-weight: 400;
    margin-bottom: 1rem;
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
}

.vip-brand-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0;
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
}

.vip-highlight {
    color: #dc2626;
    font-weight: 900;
}

.vip-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.vip-item {
    text-align: center;
    transition: transform 0.3s ease;
}

.vip-item:hover {
    transform: translateY(-10px);
}

.vip-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
    aspect-ratio: 4/3;
    background: #f8f9fa;
}

.vip-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.vip-item:hover .vip-image {
    transform: scale(1.05);
}

.vip-description {
    text-align: center;
}

.vip-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 0.5rem;
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
}

.vip-service {
    font-size: 1rem;
    color: #64748b;
    font-weight: 500;
    margin: 0;
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
}

@media (max-width: 992px) {
    .vip-gallery {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .vip-service-section {
        padding: 3rem 0;
    }
    
    .vip-service-content {
        margin-bottom: 3rem;
    }
    
    .vip-main-title {
        font-size: 1.3rem;
    }
    
    .vip-brand-title {
        font-size: 2rem;
    }
    
    .vip-gallery {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .vip-name {
        font-size: 1.1rem;
    }
    
    .vip-service {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .vip-service-section {
        padding: 2.5rem 0;
    }
    
    .vip-service-content {
        margin-bottom: 2.5rem;
    }
    
    .vip-main-title {
        font-size: 1.2rem;
    }
    
    .vip-brand-title {
        font-size: 1.8rem;
    }
    
    .vip-gallery {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .vip-image-container {
        margin-bottom: 1rem;
        aspect-ratio: 4/3;
    }
    
    .vip-name {
        font-size: 1rem;
    }
    
    .vip-service {
        font-size: 0.85rem;
    }
}

/* 장례 서비스 섹션 스타일 */
.funeral-service-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

.funeral-service-content {
    text-align: center;
    margin-bottom: 4rem;
}

.funeral-main-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1rem;
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
}

.funeral-brand {
    color: #4a90e2;
}

.funeral-service-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0;
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
}

.funeral-images-gallery {
    margin-bottom: 3rem;
}

.funeral-images-desktop {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.funeral-image-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.funeral-image-item:hover {
    transform: translateY(-5px);
}

.funeral-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.funeral-images-mobile {
    display: none;
}

.funeral-iframe-wrapper {
    position: relative;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
}

.funeral-iframe-container {
    position: relative;
    height: 400px;
    overflow: hidden;
    background: #ffffff;
}

.funeral-scrollable-content {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    width: 100%;
    scrollbar-width: thin;
    scrollbar-color: #007bff #f1f1f1;
    display: flex;
    gap: 0;
}

.funeral-scrollable-content::-webkit-scrollbar {
    height: 8px;
}

.funeral-scrollable-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.funeral-scrollable-content::-webkit-scrollbar-thumb {
    background: #007bff;
    border-radius: 4px;
}

.funeral-scrollable-content::-webkit-scrollbar-thumb:hover {
    background: #0056b3;
}

.funeral-image-mobile {
    height: 100%;
    width: auto;
    flex-shrink: 0;
    display: block;
    object-fit: contain;
    cursor: grab;
}

.funeral-image-mobile:active {
    cursor: grabbing;
}

.funeral-scroll-indicators {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

.funeral-scroll-indicator {
    background: rgba(0, 123, 255, 0.8);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: all;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.funeral-scroll-indicator:hover {
    background: rgba(0, 123, 255, 1);
    transform: scale(1.1);
}

.funeral-scroll-indicator.left {
    margin-left: 1rem;
}

.funeral-scroll-indicator.right {
    margin-right: 1rem;
}

.funeral-scroll-indicator i {
    font-size: 1.2rem;
}

.funeral-scroll-hint {
    position: absolute;
    bottom: -3rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 10;
    animation: pulseHint 2s infinite;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.funeral-scroll-hint i {
    font-size: 1.1rem;
    animation: horizontalMove 2s infinite;
}

.standard-image-section {
    margin-top: 3rem;
}

/* PC용 일반 이미지 스타일 */
.standard-image-desktop {
    display: block;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    overflow: hidden;
}

.standard-image-normal {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

/* 모바일용 iframe 스타일 */
.standard-image-mobile {
    display: none;
}

.standard-iframe-wrapper {
    position: relative;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
}

.standard-iframe-container {
    position: relative;
    height: 80vh;
    overflow: hidden;
    background: #ffffff;
}

.standard-scrollable-content {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    overflow-x: auto;
    overflow-y: auto;
    width: 100%;
    scrollbar-width: thin;
    scrollbar-color: #007bff #f1f1f1;
}

.standard-scrollable-content::-webkit-scrollbar {
    height: 8px;
}

.standard-scrollable-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.standard-scrollable-content::-webkit-scrollbar-thumb {
    background: #007bff;
    border-radius: 4px;
}

.standard-scrollable-content::-webkit-scrollbar-thumb:hover {
    background: #0056b3;
}

.standard-image-scroll {
    height: 100%;
    width: auto;
    display: block;
    object-fit: contain;
    cursor: grab;
    transform: scale(2.16);
    transform-origin: top left;
}

.standard-image-scroll:active {
    cursor: grabbing;
}

.standard-scroll-indicators {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

.standard-scroll-indicator {
    background: rgba(0, 123, 255, 0.8);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: all;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.standard-scroll-indicator:hover {
    background: rgba(0, 123, 255, 1);
    transform: scale(1.1);
}

.standard-scroll-indicator.left {
    margin-left: 1rem;
}

.standard-scroll-indicator.right {
    margin-right: 1rem;
}

.standard-scroll-indicator i {
    font-size: 1.2rem;
}

.standard-scroll-hint {
    position: absolute;
    bottom: -3rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 10;
    animation: pulseHint 2s infinite;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.standard-scroll-hint i {
    font-size: 1.1rem;
    animation: horizontalMove 2s infinite;
}

@media (max-width: 768px) {
    .funeral-service-section {
        padding: 3rem 0;
    }
    
    .funeral-service-content {
        margin-bottom: 3rem;
    }
    
    .funeral-main-title {
        font-size: 2rem;
    }
    
    .funeral-service-title {
        font-size: 2rem;
    }
    
    .funeral-images-desktop {
        display: none;
    }
    
    .funeral-images-mobile {
        display: block;
    }
    
    .funeral-images-gallery {
        margin-bottom: 2rem;
    }
    
    .funeral-iframe-wrapper {
        border-radius: 8px;
    }
    
    .funeral-iframe-container {
        height: 350px;
    }
    
    .funeral-scroll-indicator {
        width: 40px;
        height: 40px;
    }
    
    .funeral-scroll-indicator i {
        font-size: 1rem;
    }
    
    .funeral-scroll-hint {
        bottom: -2.5rem;
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .funeral-service-section {
        padding: 2.5rem 0;
    }
    
    .funeral-service-content {
        margin-bottom: 2.5rem;
    }
    
    .funeral-main-title {
        font-size: 1.8rem;
    }
    
    .funeral-service-title {
        font-size: 1.8rem;
    }
    
    .funeral-images-gallery {
        margin-bottom: 1.5rem;
    }
    
    .funeral-iframe-wrapper {
        border-radius: 6px;
    }
    
    .funeral-iframe-container {
        height: 300px;
    }
    
    .funeral-scroll-indicator {
        width: 35px;
        height: 35px;
    }
    
    .funeral-scroll-indicator i {
        font-size: 0.9rem;
    }
    
    .funeral-scroll-hint {
        bottom: -2rem;
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }
    
    .funeral-scroll-hint span {
        display: none;
    }
}

@media (max-width: 768px) {
    .standard-image-section {
        margin-top: 2rem;
    }
    
    /* PC용 숨기고 모바일용 보이기 */
    .standard-image-desktop {
        display: none;
    }
    
    .standard-image-mobile {
        display: block;
    }
    
    .standard-iframe-wrapper {
        border-radius: 8px;
    }
    
    .standard-iframe-container {
        height: 70vh;
    }
    
    .standard-scroll-indicator {
        width: 40px;
        height: 40px;
    }
    
    .standard-scroll-indicator i {
        font-size: 1rem;
    }
    
    .standard-scroll-hint {
        bottom: -2.5rem;
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .standard-image-section {
        margin-top: 1.5rem;
    }
    
    /* PC용 숨기고 모바일용 보이기 */
    .standard-image-desktop {
        display: none;
    }
    
    .standard-image-mobile {
        display: block;
    }
    
    .standard-iframe-wrapper {
        border-radius: 6px;
    }
    
    .standard-iframe-container {
        height: 65vh;
    }
    
    .standard-scroll-indicator {
        width: 35px;
        height: 35px;
    }
    
    .standard-scroll-indicator i {
        font-size: 0.9rem;
    }
    
    .standard-scroll-hint {
        bottom: -2rem;
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }
    
    .standard-scroll-hint span {
        display: none;
    }
}

/* 바텀시트 공유 모달 스타일 */
.share-bottom-sheet {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.share-bottom-sheet.show {
    opacity: 1;
    visibility: visible;
}

.share-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}

.share-modal {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 20px 20px 0 0;
    padding: 0;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.15);
    max-height: 50vh;
    overflow: hidden;
}

.share-bottom-sheet.show .share-modal {
    transform: translateY(0);
}

.share-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    position: relative;
}

.share-header::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 4px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 2px;
}

.share-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    letter-spacing: -0.02em;
}

.share-close-btn {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    transition: all 0.2s ease;
}

.share-close-btn:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #333;
}

.share-close-btn:active {
    transform: scale(0.95);
}

.share-options {
    padding: 24px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.share-option-btn {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    background: #fff;
    border: 2px solid rgba(52, 152, 219, 0.1);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 16px;
    font-weight: 500;
    color: #2c3e50;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.share-option-btn::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    transform: scaleY(0);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0 4px 4px 0;
}

.share-option-btn:hover::before,
.share-option-btn:active::before {
    transform: scaleY(1);
}

.share-option-btn:hover {
    background: linear-gradient(135deg, 
        rgba(52, 152, 219, 0.08), 
        rgba(52, 152, 219, 0.04));
    border-color: rgba(52, 152, 219, 0.2);
    transform: translateX(4px);
    box-shadow: 0 4px 20px rgba(52, 152, 219, 0.15);
}

.share-option-btn:active {
    transform: translateX(2px) scale(0.98);
}

.share-option-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    transition: all 0.3s ease;
}

.share-option-icon i {
    font-size: 20px;
    transition: all 0.3s ease;
}

.sms-icon {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
}

.kakao-icon {
    background: linear-gradient(135deg, #f39c12, #f1c40f);
    color: white;
}

.other-icon {
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
    color: white;
}

.share-option-btn:hover .share-option-icon {
    transform: scale(1.1);
}

.share-option-btn:hover .sms-icon {
    box-shadow: 0 4px 20px rgba(46, 204, 113, 0.3);
}

.share-option-btn:hover .kakao-icon {
    box-shadow: 0 4px 20px rgba(241, 196, 15, 0.3);
}

.share-option-btn:hover .other-icon {
    box-shadow: 0 4px 20px rgba(142, 68, 173, 0.3);
}

.share-option-btn span {
    font-size: 16px;
    font-weight: 500;
    color: #2c3e50;
    transition: all 0.3s ease;
}

.share-option-btn:hover span {
    color: #2980b9;
}

/* 모바일 최적화 */
@media (max-width: 480px) {
    .share-modal {
        border-radius: 16px 16px 0 0;
    }
    
    .share-header {
        padding: 16px 20px 12px;
    }
    
    .share-header h3 {
        font-size: 16px;
    }
    
    .share-options {
        padding: 20px;
        gap: 12px;
    }
    
    .share-option-btn {
        padding: 14px 16px;
        font-size: 15px;
    }
    
    .share-option-icon {
        width: 44px;
        height: 44px;
        margin-right: 14px;
    }
    
    .share-option-icon i {
        font-size: 18px;
    }
    
    .share-option-btn span {
        font-size: 15px;
    }
}

@media (max-width: 360px) {
    .share-header {
        padding: 14px 16px 10px;
    }
    
    .share-options {
        padding: 16px;
        gap: 10px;
    }
    
    .share-option-btn {
        padding: 12px 14px;
        font-size: 14px;
    }
    
    .share-option-icon {
        width: 40px;
        height: 40px;
        margin-right: 12px;
    }
    
    .share-option-icon i {
        font-size: 16px;
    }
    
    .share-option-btn span {
        font-size: 14px;
    }
}

/* PWA 설치 배너 스타일 */
.pwa-install-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease-out;
    z-index: 9999;
    max-width: 400px;
    margin: 0 auto;
}

.pwa-install-banner.show {
    transform: translateY(0);
    opacity: 1;
}

.pwa-banner-content {
    display: flex;
    align-items: center;
    padding: 15px 50px 15px 20px; /* 오른쪽에 닫기 버튼 공간 확보 */
    position: relative;
}

.pwa-banner-icon {
    flex-shrink: 0;
    margin-right: 15px;
}

.pwa-banner-icon img {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.pwa-banner-text {
    flex: 1;
    margin-right: 15px;
}

.pwa-banner-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    line-height: 1.2;
}

.pwa-banner-desc {
    font-size: 13px;
    opacity: 0.9;
    line-height: 1.3;
}

.pwa-install-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
    flex-shrink: 0;
}

.pwa-install-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.pwa-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.2);
    border: none;
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    cursor: pointer;
    padding: 6px;
    line-height: 1;
    transition: all 0.2s ease;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.pwa-close-btn:hover {
    color: white;
    background: rgba(0, 0, 0, 0.4);
    transform: scale(1.1);
}

/* PWA 배너 반응형 스타일 */
@media (max-width: 480px) {
    .pwa-install-banner {
        bottom: 15px;
        left: 15px;
        right: 15px;
        border-radius: 12px;
    }
    
    .pwa-banner-content {
        padding: 12px 45px 12px 15px; /* 모바일에서도 닫기 버튼 공간 확보 */
    }
    
    .pwa-banner-icon {
        margin-right: 12px;
    }
    
    .pwa-banner-icon img {
        width: 42px;
        height: 42px;
        border-radius: 8px;
    }
    
    .pwa-banner-text {
        margin-right: 12px;
    }
    
    .pwa-banner-title {
        font-size: 15px; /* 원래 크기 유지 */
        margin-bottom: 3px;
    }
    
    .pwa-banner-desc {
        font-size: 12px;
    }
    
    .pwa-install-btn {
        padding: 7px 14px;
        font-size: 13px;
        border-radius: 18px;
    }
    
    .pwa-close-btn {
        top: 8px;
        right: 8px;
        font-size: 16px;
        width: 28px;
        height: 28px;
        padding: 5px;
    }
}

@media (max-width: 360px) {
    .pwa-install-banner {
        bottom: 10px;
        left: 10px;
        right: 10px;
    }
    
    .pwa-banner-content {
        padding: 10px 40px 10px 12px;
    }
    
    .pwa-banner-icon {
        margin-right: 10px;
    }
    
    .pwa-banner-icon img {
        width: 38px;
        height: 38px;
    }
    
    .pwa-banner-title {
        font-size: 14px; /* 적당한 크기 유지 */
    }
    
    .pwa-banner-desc {
        font-size: 11px;
    }
    
    .pwa-install-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .pwa-close-btn {
        top: 6px;
        right: 6px;
        width: 26px;
        height: 26px;
        font-size: 14px;
    }
}

/* PC 화면에서 특정 네비게이션 메뉴 항목 숨김 */
@media (min-width: 992px) {
    /* '홈페이지 공유하기' 메뉴 항목 숨김 */
    .navbar-nav .nav-item .nav-link[onclick*="shareWebsite"] {
        display: none !important;
    }
    
    .navbar-nav .nav-item:has(.nav-link[onclick*="shareWebsite"]) {
        display: none !important;
    }
    
    /* '홈페이지 제작 문의하기' 메뉴 항목 숨김 */
    .nav-website-inquiry {
        display: none !important;
    }
    
    /* 구분선 숨김 */
    .nav-divider {
        display: none !important;
    }
    
    /* 하단 여백 숨김 */
    .nav-bottom-spacer {
        display: none !important;
    }
}