/* =========================================================
   삼진금속 ONLINE INQUIRY PAGE (contact.css)
========================================================= */

/* 1. 페이지 전체 레이아웃 */
.contact-page {
    padding-top: 90px;
    background-color: #fdfdfd;
}

/* 2. 서브 히어로 배너 */
.contact-hero {
    background: #111111;
    color: #ffffff;
    padding: 35px 20px;    
    text-align: center;
}

.contact-hero .hero-inner h1 {
    font-size: 13px;
    letter-spacing: 3px;
    color: #c59b27;
    margin-bottom: 4px;
    font-weight: 700;
    text-transform: uppercase;
}

.contact-hero .hero-inner p {
    font-size: 24px;
    font-weight: 800;
    margin: 0;
}

/* 3. 메인 컨테이너 & 그리드 구조 */
.contact-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 80px 20px;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

/* 4. 좌측 : 회사 정보 & 카카오 약도 */
.contact-info .info-header h2 {
    font-size: 26px;
    font-weight: 800;
    color: #111111;
    margin-bottom: 12px;
}

.contact-info .info-header p {
    font-size: 15px;
    color: #666666;
    line-height: 1.6;
    margin-bottom: 35px;
}

.contact-info .info-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 35px;
    padding-bottom: 35px;
    border-bottom: 1px solid #eeeeee;
}

.contact-info .info-row {
    display: flex;
    font-size: 15px;
    line-height: 1.5;
}

.contact-info .info-row .label {
    width: 90px;
    font-weight: 700;
    color: #111111;
    flex-shrink: 0;
}

.contact-info .info-row .val {
    color: #555555;
    flex: 1;
}

/* 카카오 지도 퍼가기 반응형 보정 */
.root_daum_roughmap {
    width: 100% !important;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #eeeeee;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.root_daum_roughmap .wrap_map {
    height: 300px !important;
}

/* 5. 우측 : 문의하기 폼 */
.contact-form-container {
    background: #ffffff;
    padding: 40px;
    border: 1px solid #eaeeef;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.contact-form .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-form .form-group label {
    font-size: 14px;
    font-weight: 700;
    color: #222222;
}

.contact-form .form-group label .req {
    color: #d93838;
}

.contact-form .form-group input,
.contact-form .form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #dddddd;
    border-radius: 6px;
    font-size: 14px;
    color: #333333;
    background-color: #ffffff;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus {
    border-color: #111111;
    box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.05);
}

.contact-form .form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.contact-form .checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666666;
    cursor: pointer;
    user-select: none;
}

.contact-form .checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: #111111;
}

/* 개인정보 수집 안내 박스 */
.contact-form .form-agree {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 4px;
}

.privacy-notice-box {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 16px;
    font-size: 13px;
    color: #555555;
    line-height: 1.6;
}

.privacy-notice-box .notice-title {
    font-weight: 700;
    color: #111111;
    margin-bottom: 8px;
}

.privacy-notice-box .notice-list {
    list-style: none;
    padding: 0;
    margin: 0 0 8px 0;
}

.privacy-notice-box .notice-list li {
    position: relative;
    padding-left: 10px;
    margin-bottom: 4px;
}

.privacy-notice-box .notice-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #888888;
}

.privacy-notice-box .notice-list li strong {
    color: #333333;
}

.privacy-notice-box .notice-footer {
    color: #777777;
    font-size: 12px;
    margin: 0;
    padding-top: 6px;
    border-top: 1px dashed #e0e0e0;
}

/* 제출 버튼 */
.contact-form .submit-btn {
    width: 100%;
    padding: 16px;
    background-color: #111111;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.contact-form .submit-btn:hover {
    background-color: #333333;
}

.contact-form .submit-btn:active {
    transform: scale(0.99);
}

/* 6. 반응형 레이아웃 (모바일 / 태블릿) */
@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 768px) {

    /* about.css와 동일하게 상단 여백을 60px로 축소 */
    .contact-page {
        padding-top: 60px;
    }

    .contact-hero {
        padding: 25px 20px;
    }

    .contact-hero .hero-inner p {
        font-size: 20px;
    }

    .contact-container {
        padding: 40px 20px;
    }

    .contact-form .form-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-container {
        padding: 25px 20px;
    }
}