/* Inquiry form styles. */

/* Inquiry Form */
/* Source: app/home/view/common/comment.html */
.inquiry-section {
    max-width: 1180px;
    margin: 32px auto 0;
    padding: 34px 32px;
    background: #f6fbfb;
    border: 1px solid #e0e9e8;
    border-radius: 6px;
    box-shadow: inset 0 3px 0 #007070;
}

.inquiry-header {
    max-width: 760px;
    margin-bottom: 26px;
}
.inquiry-header h2 {
    margin: 0 0 8px;
    color: #113336;
    font-size: 1.35rem;
    font-weight: 650;
    line-height: 1.3;
    letter-spacing: 0;
}
.inquiry-header p {
    margin: 0;
    color: #5a6e70;
    font-size: 0.95rem;
}
.inquiry-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
    gap: 30px;
    align-items: stretch;
}
.inquiry-section form {
    display: grid;
    gap: 16px;
}
.inquiry-section .form-group {
    display: grid;
    gap: 8px;
}
.inquiry-section .form-group label {
    color: #2a4a4d;
    font-size: 0.9rem;
    font-weight: 500;
}
.inquiry-section .form-group input,
.inquiry-section .form-group textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #d0dddd;
    border-radius: 8px;
    background: #ffffff;
    color: #2a4a4d;
    font: inherit;
    font-size: 0.95rem;
    line-height: 1.45;
    padding: 13px 14px;
    outline: none;
    transition: all 0.24s ease;
}
.inquiry-section .form-group textarea {
    min-height: 142px;
    resize: vertical;
}
.inquiry-section .form-group input:focus,
.inquiry-section .form-group textarea:focus {
    border-color: #007070;
    box-shadow: 0 0 0 4px rgba(0, 112, 112, 0.1);
}
.inquiry-section .captcha-group {
    grid-template-columns: 1fr 140px;
    align-items: end;
    gap: 12px;
}
.inquiry-section .captcha-group label {
    grid-column: 1 / -1;
}
.inquiry-section .captcha-group img {
    width: 100%;
    height: 46px;
    border: 1px solid #d0dddd;
    border-radius: 6px;
    background: #fff;
    object-fit: cover;
    cursor: pointer;
    transition: border-color 0.2s;
}
.inquiry-section .captcha-group img:hover {
    border-color: #007070;
}
.inquiry-section .form-button-group {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 6px;
}
.inquiry-section .submit-btn {
    border: 0;
    border-radius: 8px;
    background: #007070;
    color: #fff;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1;
    min-width: 150px;
    padding: 14px 32px;
    transition: all 0.24s ease;
}
.inquiry-section .submit-btn:hover {
    background: #005858;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 112, 112, 0.15);
}
.inquiry-section .msg-box {
    color: #5a6e70;
    font-size: 0.875rem;
}
.contact-info {
    padding: 26px;
    border: 1px solid #e0e9e8;
    border-left: 4px solid #007070;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 1px 6px rgba(0, 102, 102, 0.03);
    height: 100%;
    box-sizing: border-box;
}
.contact-info p {
    margin: 0 0 12px;
    color: #3d5356;
    font-size: 0.95rem;
    line-height: 1.6;
}
.contact-info p:last-child {
    margin-bottom: 0;
}
.contact-info strong {
    color: #113336;
    font-size: 1rem;
}
.contact-info a {
    overflow-wrap: anywhere;
}
.email-link {
    color: #007070;
    font-weight: 500;
    text-decoration: none;
}
.email-link:hover {
    text-decoration: underline;
}

@media (max-width: 767px) {
    .inquiry-section {
        margin-top: 24px;
        padding: 24px 16px;
        border-radius: 10px;
    }
    .inquiry-header {
        display: block;
        margin-bottom: 20px;
    }
    .inquiry-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }
    .inquiry-section .captcha-group {
        grid-template-columns: 82px 132px 116px;
        align-items: center;
        gap: 8px;
    }
    .inquiry-section .captcha-group label {
        grid-column: auto;
        font-size: 12px;
        line-height: 1.2;
        white-space: nowrap;
    }
    .inquiry-section .captcha-group img {
        width: 116px;
        min-width: 0;
        object-fit: contain;
    }
    .inquiry-section .captcha-group #inquiryCaptcha {
        width: 132px;
        min-width: 0;
    }
    .inquiry-section .form-button-group {
        align-items: stretch;
        flex-direction: column;
    }
    .inquiry-section .submit-btn {
        width: 100%;
        text-align: center;
    }
    .contact-info {
        padding: 20px;
        height: auto;
    }
}
@media (max-width: 420px) {
    .inquiry-section {
        margin-left: -12px;
        margin-right: -12px;
        border-radius: 0;
        border-left: 0;
        border-right: 0;
    }
    .inquiry-section .captcha-group {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
        gap: 8px;
    }
    .inquiry-section .captcha-group label {
        display: none;
    }
    .inquiry-section .captcha-group img {
        width: 100%;
    }
    .inquiry-section .captcha-group #inquiryCaptcha {
        width: 100%;
    }
}
