@charset "UTF-8";

/* ==========================================================================
   1. 전역 변수 및 기본 초기화 (Global Variables & Reset)
   ========================================================================== */
:root {
    /* 브랜드 컬러 (현대해상 톤앤매너 기반) */
    --primary-color: #0b3d91;      /* 메인 네이비 (신뢰, 안정감) */
    --secondary-color: #ff6b35;    /* 포인트 오렌지 (강조, 행동유도 CTA) */

	--kakao-color: #fee500;			/* 카카오톡 */
    
    /* 배경 및 텍스트 컬러 */
    --bg-light: #f4f6f9;           /* 기본 배경색 (부드러운 연회색) */
    --text-dark: #333333;          /* 기본 텍스트 색상 (진한 회색) */
    --text-muted: #666666;         /* 부가 텍스트 색상 (중간 회색) */
    --white: #ffffff;
    --border-color: #e2e8f0;       /* 기본 테두리 색상 */

    /* 푸터 전용 컬러 */
    --footer-bg: #2d3748;          /* 푸터 배경 (다크 네이비/그레이) */
    --footer-text: #cbd5e1;        /* 푸터 기본 텍스트 */
    --footer-text-muted: #94a3b8;  /* 푸터 부가 텍스트 */
    --footer-border: #4a5568;      /* 푸터 테두리 구분선 */
}

/* 모든 요소의 여백 초기화 및 박스 사이즈 기준을 border-box로 통일 */
* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
    font-family: 'Noto Sans KR', sans-serif; 
}

/* 바디 기본 설정 */
body { 
    background-color: var(--bg-light); 
    color: var(--text-dark); 
    line-height: 1.6; 
}

/* 모달이 열렸을 때 배경 스크롤을 막기 위한 유틸리티 클래스 */
body.modal-open { 
    overflow: hidden; 
}

/* ==========================================================================
   2. 헤더 및 네비게이션 (상/하 2줄 분리형 구조)
   ========================================================================== */
header { 
    background-color: var(--white); 
    position: sticky;              /* 스크롤 시 상단 고정 */
    top: 0; 
    z-index: 1000; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.03); 
}

/* 2-1. 상단 줄: 로고 및 모바일 햄버거 버튼 영역 */
.header-top { 
    max-width: 1200px; 
    margin: 0 auto; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 0 20px; 
    height: 70px; /* 로고 영역 고정 높이 */
}
.logo { 
    font-size: 24px; 
    font-weight: 700; 
    color: var(--primary-color); 
    text-decoration: none; 
    white-space: nowrap; 
}

.logo img{height:30px;} /* 모바일 로고 높이 */

.m-menu-btn { 
    background: none; 
    border: none; 
    font-size: 24px; 
    cursor: pointer; 
    display: block; /* 모바일에서 기본 노출 */
}

/* 2-2. 하단 줄: PC 전용 대메뉴(GNB) 영역 */
.header-bottom { 
    display: none; /* 모바일에서는 숨김 */
    border-top: 1px solid var(--border-color); 
    position: relative; /* 메가메뉴가 절대위치(absolute)를 잡는 기준점 */
    height: 55px; /* 메뉴 영역 고정 높이 */
}

/* PC 해상도(992px 이상) 미디어 쿼리 */
@media (min-width: 992px) { 
    .header-bottom { display: block; } /* GNB 노출 */
    .m-menu-btn { display: none; }     /* 햄버거 버튼 숨김 */

	.logo img{height:35px;} /* 로고 높이 */
}

.header-bottom-inner { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 20px; 
    height: 100%; 
}
.gnb { height: 100%; }
.gnb-list { display: flex; list-style: none; height: 100%; justify-content: space-between;}
.gnb-item { height: 100%; display: flex; align-items: center; }
.gnb-item:first-child .gnb-link { padding-left: 0; } /* 첫 번째 메뉴의 좌측 여백을 없애 로고와 세로선 정렬 */

.gnb-link { 
    padding: 0 20px; 
    font-size: 16px; 
    font-weight: 600; 
    color: var(--text-dark); 
    text-decoration: none; 
    height: 100%; 
    display: flex; 
    align-items: center; 
    transition: color 0.2s; 
}
.gnb-link:hover { color: var(--primary-color); }

/* 2-3. 메가 드롭다운 메뉴 (KB스타일 와이드 메뉴) */
.mega-menu { 
    position: absolute; 
    top: 100%; /* .header-bottom의 바로 아래에 붙음 */
    left: 0; 
    width: 100%; 
    background-color: var(--white); 
    border-bottom: 1px solid var(--border-color); 
    box-shadow: 0 10px 15px rgba(0,0,0,0.05); 
    display: none; /* 평소엔 숨김 */
    padding: 40px 20px; 
    z-index: 999; 
}
/* 하단 헤더 라인에 마우스를 올리면 메가메뉴 노출 */
/*.header-bottom:hover .mega-menu { display: block; }*/

.mega-menu-inner { 
    max-width: 1200px; 
    margin: 0 auto; 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    gap: 40px; 
}
.mega-column h4 { 
    font-size: 15px; 
    color: var(--primary-color); 
    margin-bottom: 15px; 
    padding-bottom: 8px; 
    border-bottom: 1px solid var(--border-color); 
}
.mega-column ul { list-style: none; }
.mega-column ul li a { 
    display: block; 
    padding: 7px 0; 
    color: var(--text-muted); 
    text-decoration: none; 
    font-size: 14px; 
    transition: color 0.2s, padding-left 0.2s; 
}
.mega-column ul li a:hover { 
    color: var(--secondary-color); 
    padding-left: 5px; /* 호버 시 텍스트가 우측으로 살짝 이동하는 애니메이션 */
}

/* ==========================================================================
   3. 모바일 네비게이션 서랍 (사이드 메뉴)
   ========================================================================== */
.overlay { 
    position: fixed; 
    top: 0; left: 0; 
    width: 100%; height: 100%; 
    background: rgba(0,0,0,0.5); /* 반투명 검정 배경 */
    z-index: 1500; 
    display: none; 
}
.overlay.active { display: block; }

.mobile-nav { 
    position: fixed; 
    top: 0; 
    right: -100%; /* 기본적으로 우측 화면 밖에 숨김 */
    width: 100%; 
    max-width: 400px; 
    height: 100%; 
    background-color: var(--white); 
    box-shadow: -5px 0 15px rgba(0,0,0,0.1); 
    z-index: 2000; 
    transition: right 0.3s ease; /* 부드럽게 밀려오는 트랜지션 */
    padding: 20px; 
    display: flex; 
    flex-direction: column; 
}
/* active 클래스가 붙으면 화면 안으로 들어옴 */
.mobile-nav.active { right: 0; }

.mobile-nav-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.close-btn { background: none; border: none; font-size: 28px; cursor: pointer; }
.m-gnb-list { list-style: none; overflow-y: auto; flex: 1; }
.m-gnb-item { margin-bottom: 25px; }
.m-gnb-title { font-size: 16px; font-weight: 700; color: var(--primary-color); margin-bottom: 10px; display: block; }
.m-sub-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; list-style: none; padding-left: 10px; }
.m-sub-list a { text-decoration: none; color: var(--text-dark); font-size: 14px; }


/* ==========================================================================
   4. 공통 폼 컴포넌트 (메인 & 상세 공통 사용)
   ========================================================================== */
.consult-form { 
    background: var(--white); 
    padding: 30px; 
    border-radius: 16px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.15); 
    color: var(--text-dark); 
    text-align: left;
}
.consult-form h3 { 
    margin-bottom: 20px; 
    color: var(--primary-color); 
    font-size: 1.3rem; 
}
.form-group { margin-bottom: 15px; }
.form-group input, .form-group select { 
    width: 100%; 
    padding: 12px; 
    border: 1px solid #ced4da; 
    border-radius: 8px; 
    font-size: 1rem; 
}

/* 개인정보 동의 체크박스 */
.form-agree { 
    display: flex; 
    align-items: center; 
    font-size: 0.9rem; 
    color: var(--text-muted); 
    margin: 10px 0 20px; 
    gap: 8px; 
}
.form-agree input[type="checkbox"] { 
    width: 18px; height: 18px; 
    accent-color: var(--primary-color); /* 체크박스 색상 변경 */
    cursor: pointer; 
}
.form-agree label { cursor: pointer; }
.form-agree a { color: var(--text-muted); text-decoration: underline; font-weight: 600; }
.form-agree a:hover { color: var(--text-dark); }

.submit-btn { 
    width: 100%; 
    padding: 14px; 
    background-color: var(--secondary-color); 
    color: var(--white); 
    border: none; 
    border-radius: 8px; 
    font-size: 1.1rem; 
    font-weight: 600; 
    cursor: pointer; 
    transition: background 0.2s; 
}
.submit-btn:hover { background-color: #e55a2b; }

/* 공통 섹션 제목 */
.section-container { max-width: 1200px; margin: 0 auto 50px; padding: 0 20px; }
.section-title { font-size: 1.4rem; font-weight: 700; color: var(--primary-color); margin-bottom: 20px; }


/* ==========================================================================
   5. [메인 페이지] 전용 스타일
   ========================================================================== */
/* 5-1. 메인 히어로 (배경 그래디언트) */
.hero { 
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%); 
    color: var(--white); 
    padding: 60px 20px; 
}
.hero-container { 
    max-width: 1200px; 
    margin: 0 auto; 
    display: grid; 
    grid-template-columns: 1fr; /* 모바일 1열 */
    gap: 40px; 
    align-items: center; 
}
@media (min-width: 992px) { 
    .hero-container { grid-template-columns: 1.2fr 0.8fr; } /* PC: 텍스트영역 1.2, 폼영역 0.8 비율 */
}
.hero-text h1 { font-size: 2.2rem; margin-bottom: 20px; font-weight: 800; line-height: 1.3; }
.hero-text p { font-size: 1.1rem; color: rgba(255, 255, 255, 0.9); }

/* 5-2. 메인 퀵 메뉴 (내계약조회 등 4개 아이콘) */
.quick-menu { 
    max-width: 1200px; 
    margin: -30px auto 50px; /* 위로 살짝 올라타는 레이아웃 효과 */
    padding: 0 20px; 
    display: grid; 
    grid-template-columns: repeat(2, 1fr); /* 모바일 2열 */
    gap: 15px; 
}
@media (min-width: 768px) { 
    .quick-menu { grid-template-columns: repeat(2, 1fr); } /* PC 4열 */
}
.menu-card { 
    background: var(--white); 
    padding: 25px; 
    border-radius: 12px; 
    text-align: center; 
    box-shadow: 0 4px 6px rgba(0,0,0,0.05); 
    text-decoration: none; 
    color: var(--text-dark); 
    font-weight: 600; 
    transition: transform 0.2s, box-shadow 0.2s; 
    border-bottom: 4px solid transparent; 
}
.menu-card:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 8px 15px rgba(0,0,0,0.1); 
    border-bottom: 4px solid var(--primary-color); 
}
.menu-card .icon { font-size: 2rem; margin-bottom: 10px; display: block; }

/* 5-3. 메인 와이드 배너 (2x2 큰 배너) */
/* ==========================================================================
   메인 와이드 배너 (이미지/일러스트 포함형 카드 디자인)
   ========================================================================== */
.wide-banners { 
    display: grid; 
    grid-template-columns: 1fr; 
    gap: 20px; 
}
@media (min-width: 768px) { 
    .wide-banners { grid-template-columns: repeat(2, 1fr); } 
}

.wide-item { 
    /* 이미지와 유사한 연한 블루그레이 배경 및 테두리 */
    background: #eef4f9; 
    border: 1px solid #dce4ed;
    padding: 25px 30px; 
    border-radius: 16px; 
    text-decoration: none; 
    color: var(--text-dark); 
    box-shadow: 0 4px 12px rgba(0,0,0,0.04); 
    transition: transform 0.2s, box-shadow 0.2s; 
    display: flex; 
    flex-direction: column; /* 텍스트+이미지 영역과 하단 준법텍스트를 세로로 분리 */
    justify-content: space-between;
}

.wide-item:hover { 
    transform: translateY(-4px); 
    box-shadow: 0 10px 20px rgba(0,0,0,0.08); 
}

/* 상단 영역: 좌측 텍스트와 우측 이미지를 가로로 배치 */
.wide-top {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex: 1;
}

.wide-content {
    flex: 1;
}

.wide-content h4 { 
    font-size: 1.45rem; 
    color: #1a202c; 
    margin-bottom: 10px; 
    font-weight: 800; 
    letter-spacing: -0.5px;
}

.wide-content p { 
    color: var(--text-muted); 
    font-size: 0.95rem; 
    line-height: 1.5;
    word-break: keep-all;
}

/* 우측 일러스트 이미지 영역 */
.wide-image { 
    width: 110px; /* 이미지 크기 고정 */
    flex-shrink: 0; 
    margin-left: 20px; 
}
.wide-image img { 
    width: 100%; 
    height: auto; 
    display: block; 
}

/* 하단 준법감시인 텍스트 */
.compliance-text {
    text-align: center;
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 15px;
    padding-top: 15px;
    letter-spacing: -0.3px;
}

@media (max-width: 480px) {
    /* 모바일에서는 패딩과 이미지 크기를 살짝 줄임 */
    .wide-item { padding: 20px 20px; }
    .wide-content h4 { font-size: 1.25rem; }
    .wide-image { width: 80px; }
}

/* 5-4. 메인 촘촘한 배너 (4x2 상품 배너) */
.grid-banners { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
@media (min-width: 768px) { .grid-banners { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .grid-banners { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.grid-item { 
    background: var(--white); 
    padding: 22px 18px; 
    border-radius: 14px; 
    text-decoration: none; 
    color: var(--text-dark); 
    box-shadow: 0 4px 10px rgba(0,0,0,0.03); 
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; 
    display: flex; flex-direction: column; justify-content: space-between; 
    height: 145px; 
    border: 1px solid transparent; 
}
.grid-item:hover { transform: translateY(-4px); box-shadow: 0 10px 20px rgba(0,0,0,0.07); border-color: #cbd5e1; }
.grid-item .badge { font-size: 0.75rem; font-weight: 600; color: var(--secondary-color); margin-bottom: 4px; display: inline-block; }
.grid-item h4 { font-size: 1.05rem; font-weight: 700; color: #1a202c; }
.grid-item p { color: var(--text-muted); font-size: 0.85rem; margin-top: 3px; }
.grid-bottom { display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; color: #94a3b8; font-weight: 500; margin-top: auto; }
.grid-item:hover .grid-bottom { color: var(--secondary-color); }


/* ==========================================================================
   6. [상세 페이지] 전용 스타일
   ========================================================================== */
/* 6-1. 상세페이지 최상단 히어로 */
.product-hero {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    padding: 60px 20px;
    color: var(--white);
    border-bottom: 1px solid var(--border-color);
}
.product-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}
@media (min-width: 992px) { 
    .product-hero-inner { grid-template-columns: 1.2fr 0.8fr; } 
}
.product-hero-text { text-align: left; }
.product-badge { background-color: var(--white); color: var(--primary-color); padding: 6px 16px; border-radius: 20px; font-size: 13px; font-weight: 700; display: inline-block; margin-bottom: 15px; }
.product-title { font-size: 2.2rem; font-weight: 800; color: var(--white); margin-bottom: 15px; line-height: 1.3; }
.product-desc { font-size: 1.1rem; color: rgba(255, 255, 255, 0.9); margin-bottom: 30px; }
.product-hero-btns { display: flex; justify-content: flex-start; gap: 15px; }

.btn-calc { 
    padding: 14px 30px; 
    border-radius: 8px; 
    font-size: 16px; 
    font-weight: 700; 
    text-decoration: none; 
    background-color: var(--secondary-color); 
    color: var(--white); 
    box-shadow: 0 4px 10px rgba(255, 107, 53, 0.3); 
    border: none; 
    transition: background 0.2s;
}
.btn-calc:hover { background-color: #e55a2b; }

@media (max-width: 991px) {
    .product-hero-text { text-align: center; }
    .product-hero-btns { justify-content: center; }
}

/* 6-2. 스크롤 탭 메뉴 (Sticky Tabs) */
.sticky-tabs { 
    background-color: var(--white); 
    border-bottom: 1px solid var(--border-color); 
    position: sticky; 
    z-index: 900; 
    /* 반응형에 따른 고정 위치 계산 */
    top: 70px; /* 모바일 헤더(70px) 아래 고정 */
}
@media (min-width: 992px) {
    .sticky-tabs { top: 125px; } /* PC 헤더 1줄(70) + 2줄(55) = 125px 아래 고정 */
}

.tabs-inner { max-width: 1200px; margin: 0 auto; display: flex; }
.tab-link { 
    flex: 1; 
    text-align: center; 
    padding: 18px 0; 
    font-size: 16px; 
    font-weight: 600; 
    color: var(--text-muted); 
    text-decoration: none; 
    border-bottom: 3px solid transparent; 
    transition: all 0.2s; 
}
.tab-link:hover { color: var(--primary-color); }
.tab-link.active { color: var(--primary-color); border-bottom: 3px solid var(--primary-color); }

/* 6-3. 상세 콘텐츠 섹션 공통 */
.detail-section { padding: 80px 20px; max-width: 1000px; margin: 0 auto; }
/* 홀/짝 섹션마다 배경색을 교차로 주어 시각적 분리 */
.detail-section:nth-child(even) { background-color: var(--white); max-width: 100%; }
.detail-inner { max-width: 1000px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: 1.8rem; color: #1a202c; font-weight: 700; margin-bottom: 10px; }
.section-header p { color: var(--text-muted); font-size: 1rem; }

/* 6-4. 상품 특징 아이콘 카드 */
.feature-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 768px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }
.feature-card { 
    background: var(--white); 
    padding: 40px 30px; 
    border-radius: 16px; 
    text-align: center; 
    box-shadow: 0 10px 20px rgba(0,0,0,0.03); 
    border: 1px solid var(--border-color); 
}
.feature-icon { font-size: 3rem; margin-bottom: 20px; display: block; }
.feature-card h3 { font-size: 1.2rem; color: var(--primary-color); margin-bottom: 15px; }
.feature-card p { font-size: 0.95rem; color: var(--text-muted); word-break: keep-all; }

/* 6-5. 보장내용 테이블 */
.coverage-table-wrap { 
    overflow-x: auto; /* 테이블이 길어질 경우 가로 스크롤 허용 */
    background: var(--white); 
    border-radius: 12px; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.03); 
    border: 1px solid var(--border-color); 
}
.coverage-table { width: 100%; border-collapse: collapse; min-width: 600px; }
.coverage-table th, .coverage-table td { padding: 18px; text-align: left; border-bottom: 1px solid var(--border-color); }
.coverage-table th { background-color: #f8fafc; color: #1a202c; font-weight: 600; width: 30%; }
.coverage-table td { color: var(--text-dark); }
.coverage-table tr:last-child th, .coverage-table tr:last-child td { border-bottom: none; }
.highlight-text { color: var(--secondary-color); font-weight: 700; }

/* 6-6. 가입안내 정보 박스 */
.guide-box { background-color: #f8fafc; padding: 30px; border-radius: 12px; border: 1px solid var(--border-color); }
.guide-list { list-style: none; }
.guide-list li { display: flex; padding: 15px 0; border-bottom: 1px dashed #cbd5e1; }
.guide-list li:last-child { border-bottom: none; padding-bottom: 0; }
.guide-label { width: 120px; font-weight: 600; color: var(--primary-color); flex-shrink: 0; }
.guide-value { color: var(--text-dark); }

/* 6-7. 모바일 전용 하단 플로팅 바 */
.floating-bottom-bar { 
    position: fixed; 
    bottom: 0; left: 0; 
    width: 100%; 
    background: var(--white); 
    border-top: 1px solid var(--border-color); 
    padding: 12px 20px; 
    display: flex; gap: 10px; 
    z-index: 1000; 
    box-shadow: 0 -5px 15px rgba(0,0,0,0.05); 
}
@media (min-width: 768px) { .floating-bottom-bar { display: none; } } /* PC에서는 플로팅바 숨김 */
.floating-btn { flex: 1; padding: 14px 0; text-align: center; border-radius: 8px; font-weight: 700; font-size: 15px; text-decoration: none; }
.float-consult { background-color: var(--white); border: 1px solid var(--primary-color); color: var(--primary-color); }
.float-calc { background-color: var(--secondary-color); border: 1px solid var(--secondary-color); color: var(--white); }


/* ==========================================================================
   7. 푸터 (Footer) 공통 영역
   ========================================================================== */
footer { 
    background-color: var(--footer-bg); 
    color: var(--footer-text); 
    /* 모바일에서는 플로팅바가 가리지 않도록 하단 여백 추가 */
    padding: 50px 0 80px; 
    font-size: 14px; 
}
@media (min-width: 768px) { footer { padding-bottom: 30px; } }

.footer-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* 7-1. 약관 및 규정 링크 */
.footer-links { 
    display: flex; flex-wrap: wrap; gap: 15px 30px; 
    padding-bottom: 25px; border-bottom: 1px solid var(--footer-border); 
    list-style: none; align-items: center; 
}
.footer-links a, .footer-links button { 
    color: var(--footer-text); text-decoration: none; 
    transition: color 0.2s; background: none; border: none; 
    font-size: 14px; cursor: pointer; padding: 0; 
}
.footer-links a:hover, .footer-links button:hover { color: var(--white); }
.footer-links .privacy-policy { font-weight: 700; color: var(--white); }
.footer-links .notice-btn { font-weight: 600; color: #fbd38d; } /* 노란색 포인트 버튼 */

/* 7-2. 기업정보 및 CS 정보 */
.footer-body { display: grid; grid-template-columns: 1fr; gap: 30px; padding: 30px 0; }
@media (min-width: 768px) { .footer-body { grid-template-columns: 2fr 1fr; } }

.company-info p { color: var(--footer-text-muted); font-size: 13px; margin-bottom: 6px; }
.company-info .company-logo { font-size: 18px; font-weight: 700; color: var(--white); margin-bottom: 15px; display: inline-block; }

.footer-cs { display: flex; flex-direction: column; gap: 10px; }
.cs-phone { font-size: 22px; font-weight: 700; color: var(--white); }
.cs-time { font-size: 12px; color: var(--footer-text-muted); }
.social-links { display: flex; gap: 12px; margin-top: 10px; list-style: none; }
.social-links a { background-color: var(--footer-border); color: var(--white); width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; text-decoration: none; font-size: 13px; transition: background 0.2s; }
.social-links a:hover { background-color: var(--secondary-color); }

/* 카피라이트 */
.footer-bottom { 
    border-top: 1px solid var(--footer-border); 
    padding-top: 20px; color: var(--footer-text-muted); font-size: 12px; 
    display: flex; flex-direction: column; gap: 10px; 
}
@media (min-width: 768px) { .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; } }


/* ==========================================================================
   8. 공통 모달창 (Modal - 가입 시 유의사항 등)
   ========================================================================== */
.modal-overlay { 
    position: fixed; top: 0; left: 0; 
    width: 100%; height: 100%; 
    background-color: rgba(0, 0, 0, 0.6); 
    backdrop-filter: blur(3px); 
    z-index: 3000; 
    display: none; /* 기본 숨김 */
    align-items: center; justify-content: center; padding: 20px; 
}
.modal-overlay.active { display: flex; } /* 스크립트로 active 클래스 부여 시 팝업 띄움 */

.modal-wrapper { 
    background-color: var(--white); 
    width: 100%; max-width: 650px; 
    border-radius: 16px; 
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25); 
    display: flex; flex-direction: column; 
    max-height: 85vh; /* 화면 크기 초과 시 내부 스크롤 허용 */
    animation: modalFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1); 
}
@keyframes modalFadeIn { 
    from { opacity: 0; transform: translateY(20px); } 
    to { opacity: 1; transform: translateY(0); } 
}

.modal-header { 
    padding: 20px 25px; 
    border-bottom: 1px solid var(--border-color); 
    display: flex; justify-content: space-between; align-items: center; 
    background-color: var(--bg-light); 
    border-top-left-radius: 16px; border-top-right-radius: 16px; 
}
.modal-header h2 { font-size: 1.25rem; color: var(--primary-color); font-weight: 700; }
.modal-close-x { background: none; border: none; font-size: 24px; color: var(--text-muted); cursor: pointer; transition: color 0.2s; }
.modal-close-x:hover { color: var(--text-dark); }

.modal-content { 
    padding: 25px; 
    overflow-y: auto; /* 내용이 길면 내부 스크롤 발생 */
    font-size: 14px; color: #4a5568; line-height: 1.7; 
}
.modal-content h3 { font-size: 15px; color: var(--text-dark); margin: 20px 0 8px; font-weight: 700; }
.modal-content h3:first-child { margin-top: 0; }
.modal-content ul { padding-left: 20px; margin-bottom: 15px; }

.text-alert { color: #e53e3e; font-weight: 600; } /* 붉은색 경고 텍스트 */

.modal-footer { 
    padding: 15px 25px; 
    border-top: 1px solid var(--border-color); 
    display: flex; justify-content: space-between; 
}
.modal-confirm-btn { 
    background-color: var(--primary-color); color: var(--white); 
    border: none; padding: 10px 24px; border-radius: 8px; 
    font-weight: 600; cursor: pointer; transition: background 0.2s; 
}
.modal-confirm-btn:hover { background-color: #072b66; }

/* ==========================================================================
   [상세페이지] 핵심 보장 내용 섹션 (가운데 정렬 버전)
   ========================================================================== */
.core-benefits-section {
    padding: 80px 20px;
    background-color: var(--white);
}

.core-benefits-inner {
    max-width: 1000px;
    margin: 0 auto;
}

/* 상단 헤더: 수직 배열 및 가운데 정렬 */
.core-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px; /* 타이틀과 버튼 사이 간격 */
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}

.core-header h2 {
    font-size: 1.9rem;
    font-weight: 800;
    color: #111;
    margin: 0;
}

.btn-outline {
    padding: 10px 24px;
    border: 1px solid #ccc;
    background-color: #fff;
    color: #333;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-outline:hover {
    background-color: #f8f9fa;
    border-color: #999;
}

/* 리스트 아이템 중앙 정렬 레이아웃 */
.core-list {
    display: flex;
    flex-direction: column;
}

.core-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 0;
    border-bottom: 1px solid #f0f0f0;
}

.core-item:last-child {
    border-bottom: none;
}

.core-text {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center; /* 내부 요소 가운데 정렬 */
    text-align: center;
}

/* 말풍선 뱃지 */
.core-badge {
    display: inline-block;
    background-color: #ff8c00;
    color: var(--white);
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    position: relative;
    margin-bottom: 25px;
}

/* 말풍선 꼬리 (가운데 정렬에 맞춰 중앙 하단으로 이동) */
.core-badge::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px 6px 0 6px;
    border-style: solid;
    border-color: #ff8c00 transparent transparent transparent;
}

/* 타이틀 및 강조 텍스트 */
.core-text h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #222;
    line-height: 1.45;
    margin-bottom: 20px;
    word-break: keep-all;
}

.core-text .text-orange { color: #ff8c00; }
.core-text .text-blue { color: #0080ff; }
.core-text .text-green { color: #5ba306; }
.core-text .text-sub { display: block; color: #888; font-size: 1.05rem; font-weight: 400; margin-top: 5px; }

/* 본문 설명 리스트 (가운데 정렬 최적화) */
.core-desc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-block;
}

.core-desc-list li {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.6;
    word-break: keep-all;
    margin-bottom: 8px;
    text-align: center;
}

/* 불릿 포인트를 텍스트와 자연스럽게 묶기 위해 static 배치 */
.core-desc-list li::before {
    content: '· ';
    font-weight: bold;
    color: #555;
}

.core-desc-text {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.6;
    word-break: keep-all;
    text-align: center;
}

/* 모바일 반응형 처리 */
@media (max-width: 768px) {
    .core-header h2 {
        font-size: 1.5rem;
    }
    
    .core-text h3 {
        font-size: 1.35rem;
    }
    
    .core-item {
        padding: 40px 0;
    }
}

/* ==========================================================================
   [상세페이지] 첨부 이미지 스타일의 정보 규격 테이블
   ========================================================================== */
.info-table-wrap {
    width: 100%;
    overflow-x: auto; /* 모바일에서 표가 잘리지 않도록 가로 스크롤 허용 */
    margin: 30px 0;
    border-top: 1px solid #dce4ed; /* 상단 테두리 */
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px; /* 모바일에서 텍스트가 너무 찌그러지지 않도록 최소 너비 지정 */
    font-size: 1.05rem;
}

.info-table th, 
.info-table td {
    padding: 22px 20px;
    border-bottom: 1px solid #e2e8f0; /* 가로 구분선 */
    vertical-align: middle;
    word-break: keep-all;
}

/* 테이블 상단 헤더 (구분, 지급금액) */
.info-table thead th {
    background-color: #f8f9fa; /* 연한 회색 배경 */
    color: #333;
    font-weight: 600;
    text-align: center;
    border-right: 1px solid #e2e8f0; /* 헤더 사이 세로선 */
}
.info-table thead th:last-child {
    border-right: none;
}

/* 바디 영역 좌측 헤더 (대인, 대물 등) */
.info-table tbody th {
    background-color: #fff;
    color: #333;
    font-weight: 500;
    text-align: center;
    border-right: 1px solid #e2e8f0; /* 좌측 구분과 우측 내용 사이의 세로 구분선 */
}

/* 바디 영역 우측 데이터 (지급금액 내용) */
.info-table tbody td {
    background-color: #fff;
    color: #333;
    text-align: left;
}

/* 오렌지색 텍스트 강조 클래스 */
.info-table .text-highlight {
    color: #f97316; /* 이미지와 동일한 톤의 오렌지색 */
    font-weight: 500;
}

/*카카오톡 간편상담*/
.kakao-color{color: var(--kakao-color);}

/*상담사 연결*/
.phone-color{color: var(--secondary-color);}