/* 기본 설정 및 폰트 */
body {
    font-family: 'Noto Sans KR', sans-serif;
    background-color: #e9e9e9; /* 배경색을 연한 회색으로 설정 */
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

/* 컨테이너: 모바일 뷰포트 크기로 제한 */
.container {
    width: 100%;
    max-width: 450px; /* 모바일처럼 보이도록 너비 제한 */
    background-color: #fff; /* 콘텐츠 배경색은 흰색 */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* 섹션 공통 스타일 */
.section {
    padding: 20px 20px;
    text-align: center;
}

/* --- 1. 상단 프로필 --- */
.profile-top-section {
    padding-top: 40px;
    background-color: #f8f8f8;
}

.profile-image-top {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    object-fit: cover;
}

.small-text {
    font-size: 0.9em;
    color: #C70000;
    font-weight: 500;
}

.main-title {
    font-size: 1.8em;
    font-weight: 700;
    color: #333;
    margin: 5px 0 5px;
}

.contact-info {
    font-size: 0.85em;
    color: #666;
    margin-bottom: 20px;
}

/* --- 1-1. 상단 CTA 버튼 섹션 (새로 추가) --- */
.top-cta-section {
    padding: 10px 20px; /* 위아래 여백을 줍니다 */
    background-color: #f8f8f8; /* 상단 프로필 섹션과 동일한 배경 */
    margin-bottom: 20px; /* 다음 섹션과의 간격 */
}

.cta-interview-button {
    display: block;
    width: 90%;
    padding: 15px 20px;
    
    /* 버튼 색상 */
    background-color: #C70000; 
    color: #ffffff; /* 흰색 텍스트 */
    
    text-align: center;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: 500;
    
    /* 이미지와 유사한 둥근 모서리 */
    border-radius: 40px; 
    
    /* 입체감 있는 그림자 */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
    
    transition: background-color 0.2s;
}

.cta-interview-button:hover {
    /* 호버 시 약간 어두운 베이지색으로 변경 */
    background-color: #A93030;
}

/* --- 2. 중간 프로필 --- */
.profile-middle-section {
    /* 기존 스타일 유지 */
    padding: 20px 0 0; /* 배경 블록을 섹션 전체 너비로 확장하기 위해 좌우 padding 0으로 조정 */
}

.divider-line {
    /* 기존 스타일 유지 */
    width: 50px;
    height: 2px;
    background-color: #e0e0e0;
    margin: 20px auto;
}

/* 2-1. 새로운 타이틀 블록 스타일 추가 */
.brand-title-block {
    /* 배경색 적용 */
    background-color: #C70000;
    /* 상단/하단 패딩으로 블록의 높이 확보 */
    padding: 40px 20px; 
    margin: 0px 0 0; /* 중간 프로필 이미지 아래에 간격 없이 바로 붙임 */
}

/* 2-2. 섹션 타이틀 스타일 수정 (텍스트 색상 오버라이드) */
.brand-title-block .section-title {
    font-size: 1.3em;
    font-weight: 500;
    color: #ffffff; /* 이 텍스트만 흰색으로 고정 */
    margin: 0;
    line-height: 1.4;
}
.profile-image-middle {
    width: 100%; /* 너비를 100%로 변경하여 컨테이너에 꽉 채우도록 합니다. */
    border-radius: 0; /* 블록 스타일과의 일관성을 위해 둥근 모서리 제거 */
    margin: 10px 0 0; /* 이미지 하단 마진 제거 */
    display: block; /* 인라인 요소 공백 방지 */
    height: auto;
}

/* --- 3. 로고 그리드 --- */
.logo-grid-title {
    font-size: 1.2em;
    font-weight: 700;
    color: #333;
    /* 목표: 서브 제목과 붙입니다. */
    margin-top: 20px;
    margin-bottom: 0px; 
    text-align: center;
}

/* 새로운 서브 제목 스타일 */
.logo-grid-subtitle {
    font-size: 0.95em;
    font-weight: 400;
    color: #C70000;
    /* 목표: 주 제목에 붙입니다. */
    margin-top: 5px; /* 주 제목과의 최소 여백 (완전히 붙이려면 0px) */
    /* 로고 그리드와의 간격은 유지합니다. */
    margin-bottom: 20px; 
    padding: 0 10px;
}

.logo-grid-section {
	padding-top: 20px;
    padding-bottom: 30px;
    border-top: 1px solid #eee;
}

.logo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3열로 배치 */
    gap: 15px;
    padding: 15px 0;
}

.partner-logo {
    width: 100%;
    height: auto;
    opacity: 0.9; /* 로고 색상을 연하게 */
}

.more-info-link {
    font-size: 0.85em;
    color: #a08c6c;
    margin-top: 15px;
    cursor: pointer;
}

/* --- 4. 서비스 소개 --- */
.service-section {
    /* 배경을 더 밝고 깨끗한 톤으로 변경하여 가독성 높임 */
    background-color: #F8F8F8; 
}

.section-description {
    font-size: 0.95em; /* 주 제목보다 작게 */
    font-weight: 400;
    color: #C70000; /* 진한 회색으로 차분하게 */
    margin-top: -10px; /* 제목과 좀 더 가깝게 붙이고 */
    margin-bottom: 20px; /* 아래 이미지와의 간격 확보 */
    line-height: 1.5;
    padding: 0 10px;
}

.service-points-image {
    width: 100%; /* 컨테이너 너비에 맞춥니다 */
    max-width: 100%;
    height: auto;
    display: block;
    /* 상하 마진 조정: 위 제목과 아래 부제목과의 간격 확보 */
    margin: 10px auto 30px auto; 
    border-radius: 5px; /* 이미지를 부드럽게 보이도록 약간의 모서리 둥글게 처리 */
}

.subsection-title {
    font-size: 1.2em;
    color: #C70000;
    font-weight: 500;
    /* 이미지와의 간격 확보를 위해 margin-top을 조정했습니다. */
    margin: 30px 0 15px; 
}

.section-title {
    /* 상위 섹션의 .section-title은 #C70000, 이 섹션은 #333 유지 또는 변경 */
    /* 일관성을 위해 여기는 #333을 유지하거나, 아예 H2 제목에 브랜드 색상 적용 권장 */
    color: #333; /* 일반적인 섹션 제목 색상 유지 */
}

.service-section .section-title {
    /* 3. 로고 그리드 섹션의 h3.logo-grid-title과 동일하게 설정 */
    font-size: 1.2em;
    font-weight: 700;
    color: #333; 
    
    /* 적절한 상하 마진 설정 */
    margin-top: 5px; 
    margin-bottom: 15px; /* 다음 요소(.service-points)와의 간격 확보 */
}

.service-section {
    background-color: #F8F8F8;
    /* padding: 20px 20px; (기본 .section 스타일 유지) */
}


.subsection-title {
    font-size: 1.2em;
    /* 서브 제목에 브랜드 색상 적용하여 강조 */
    color: #333; 
    font-weight: 500;
    margin: 40px 0 10px;
}

.subsection-description {
    font-size: 0.9em; /* 주 부제목보다 작게 */
    font-weight: 400;
    color: #C70000; /* 차분한 회색 */
    margin-top: 0; /* 부제목과 가깝게 붙이고 */
    margin-bottom: 50px; /* 아이콘 그리드와의 간격 확보 */
    line-height: 1.4;
    padding: 0 10px;
}

.service-icon-grid {
    display: flex;
    justify-content: space-around;
    padding: 10px 0 20px;
}

.icon-item {
    text-align: center;
    /* 아이콘 설명 텍스트는 진한 회색으로 유지 */
    color: #555; 
    font-size: 0.9em;
}

.icon {
    font-size: 2.5em;
    /* 브랜드 색상 그대로 유지 */
    color: #C70000; 
    margin-bottom: 5px;
}


/* --- 5. 연락처 및 버튼 --- */
.contact-section {
    padding: 30px 20px;
    background-color: #ffffff;
}

.contact-box {
    /* 요청 사항: 전체 테두리를 #C70000으로 변경 */
    border: 1px solid #C70000; 
    border-radius: 10px; /* 박스 모서리 유지 */
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-image-small {
    width: 100px;
    height: 90px;
    border-radius: 50%;
    margin-bottom: 10px;
    object-fit: cover;
}

.call-title {
    font-size: 1.0em;
    color: #333;
    margin-bottom: 5px;
}

.call-time {
    font-size: 0.8em;
    color: #999;
    margin-bottom: 20px;
}

.button-group {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.action-button {
    display: block;
    width: 93%;
    padding: 12px;
    /* 버튼 모양 유지: 둥근 모서리 (25px) */
    border-radius: 25px; 
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.2s;
}

/* 1. 전화 상담 예약 버튼 (Primary Button) */
.primary-btn {
    /* 요청 사항: 배경색 #C70000 */
    background-color: #C70000; 
    /* 요청 사항: 텍스트 흰색 */
    color: #ffffff; 
    /* 요청 사항: 테두리 #C70000 */
    border: 1px solid #C70000; 
}

.primary-btn:hover {
    /* 호버 시 색상 변경 유지 */
    background-color: #A93030;
}

/* 2. 카카오톡 채팅 상담 버튼 (Secondary Button) */
.secondary-btn {
    background-color: #ffffff; /* 배경 흰색 유지 */
    /* 요청 사항: 텍스트 색상 #C70000 */
    color: #C70000; 
    /* 요청 사항: 테두리 #C70000 */
    border: 1px solid #C70000;
}

.secondary-btn:hover {
    /* 호버 시 옅은 붉은색 배경 유지 */
    background-color: #ffeaea; 
}

/* --- 6. 메인 배너 --- */
.main-banner-section {
    padding: 0;
}
/* ... (이후 코드는 변경 없이 유지) ... */

/* --- 7. 하단 푸터 --- */
.footer {
    padding: 20px 0 50px; /* 아래쪽 여백을 더 줍니다 */
    text-align: center;
}

.footer-icons {
    margin-bottom: 15px;
}

.footer-icons a {
    color: #333;
    font-size: 1.2em;
    margin: 0 15px;
    text-decoration: none;
}

.copyright {
    font-size: 0.75em;
    color: #999;
}