/* Contact Form */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.contact-info h2,
.contact-form-wrapper h2 {
    margin-top: 0;
    font-family: var(--font-title);
    font-size: 1.75rem;
    margin-bottom: 2rem;
}

.contact-item {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(110, 119, 88, 0.1);
}

.contact-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-item h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #5f6c4a;
    margin-bottom: 0.75rem;
    margin-top: 0;
}

.contact-item i {
    font-size: 1.25rem;
}

.contact-item p {
    margin: 0;
    color: #514d44;
    line-height: 1.8;
}

.contact-item a {
    color: #5f6c4a;
    text-decoration: none;
    font-weight: 500;
}

.contact-item a:hover {
    color: #3e4b37;
    text-decoration: underline;
}

.contact-form-wrapper {
    background: #f8f2e8;
    padding: 2rem;
    border-radius: 8px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-form .form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #403c34;
}

.form-required-note,
.form-help {
    margin: 0;
    color: #5f5a51;
    font-size: 0.9rem;
}

.required-label::after {
    content: " *";
    color: #8b2f25;
}

.contact-form .form-control {
    padding: 0.75rem 1rem;
    border: 1px solid rgba(110, 119, 88, 0.2);
    border-radius: 4px;
    background: #fffdf9;
    color: #353229;
    font: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form .form-control:focus {
    border-color: #5f6c4a;
    background: #fffefa;
    box-shadow: 0 0 0 0.2rem rgba(110, 119, 88, 0.14);
}

.contact-form .form-control::placeholder {
    color: #665f54;
}

.contact-form .form-control[aria-invalid="true"] {
    border-color: #9a3e32;
    box-shadow: 0 0 0 0.18rem rgba(154, 62, 50, 0.12);
}

.contact-form .invalid-feedback {
    color: #7a2f25;
    font-size: 0.9rem;
    font-weight: 700;
}

.form-error-summary {
    margin-bottom: 1rem;
    padding: 1rem;
    border: 2px solid #9a3e32;
    border-radius: 6px;
    background: #f7e8e5;
    color: #52231d;
}

.form-error-summary h3,
.form-error-summary p {
    margin: 0;
}

.form-error-summary h3 {
    font-size: 1rem;
}

.form-error-summary p {
    margin-top: 0.35rem;
}

.contact-form button[type="submit"] {
    align-self: flex-start;
    min-height: 48px;
    padding: 0.75rem 2rem;
    background: #5f6c4a;
    color: #fffaf0;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.2s ease, transform 0.2s ease;
}

.contact-form button[type="submit"]:hover {
    background: #3e4b37;
    transform: translateY(-1px);
}

.contact-form button[type="submit"] i {
    font-size: 1rem;
}

.alert {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-radius: 4px;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.alert-success {
    background: #e6f1e2;
    border: 1px solid #5c8f52;
    color: #245e27;
}

.alert-danger {
    background: #f7e8e5;
    border: 1px solid #9a3e32;
    color: #713024;
}

.alert i {
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.btn-close {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: currentColor;
    opacity: 0.5;
    margin-left: auto;
    flex-shrink: 0;
}

.btn-close:hover {
    opacity: 0.8;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form-wrapper {
        padding: 1.5rem;
    }
}
