/* ==========================================================================
   Contact Page
   ========================================================================== */

.contact-input::placeholder {
    color: #553110;
    opacity: 1;
}

.contact-input::-webkit-input-placeholder {
    color: #553110;
}

.contact-input::-moz-placeholder {
    color: #553110;
}

.contact-input:-ms-input-placeholder {
    color: #553110;
}

.contact-input::-ms-input-placeholder {
    color: #553110;
}

.contact-page {
    background: #1a1208;
}

.contact-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 3rem 1rem 4rem;
}

.contact-section {
    text-align: center;
}

.contact-section-header {
    margin-bottom: 2rem;
}

.contact-section h1 {
    margin: 0 0 0.6rem;
    color: #d4bc8a;
    font-size: clamp(2.25rem, 5vw, 3.6rem);
    line-height: 1.05;
}

.contact-section h3 {
    margin: 0;
    color: #d4bc8a;
    font-size: clamp(1.25rem, 2.6vw, 1.9rem);
    font-weight: 400;
}

.contact-status {
    max-width: 760px;
    margin: 0 auto 1.5rem;
    text-align: center;
    font-family: var(--font--heading--family);
}

.contact-status--success {
    color: #96A14E;
}

.contact-status--error {
    color: #B42318;
}

.contact-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 130px;
}

.contact-image-and-form {
    display: grid;
    grid-template-columns: minmax(280px, 345px) minmax(280px, 345px);
    gap: clamp(1.75rem, 4vw, 2.4rem);
    align-items: start;
    justify-content: center;
    margin: 0 auto;
    max-width: 760px;
}

.contact-image {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    height: 430px;
}

.contact-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    flex: 0 0 400px;
}

.contact-admin-email {
    margin: 0;
    width: 76%;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.2rem;
    box-sizing: border-box;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.2;
    color: #1a1208;
    background: #d4bc8a;
    font-family: var(--font--heading--family);
    text-align: center;
    word-break: break-word;
    border-radius: var(--radius-button, 50px);
}

.contact-email-wrapper {
    margin-top: 0;
    min-height: 80px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    flex: 1 1 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    height: 430px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 400px;
    flex: 0 0 400px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    max-width: none;
    padding: 1rem 1.1rem;
    border: 1px solid #d8d8d8;
    border-radius: var(--radius-input, 12px);
    background: #ffffff;
    color: #1a1208;
    font-family: var(--font--heading--family);
    box-sizing: border-box;
    box-shadow: none;
}

.contact-form input {
    height: 48px;
    margin-bottom: 0;
}

.contact-form textarea,
.contact-form textarea.contact-input {
    min-height: 0;
    height: auto;
    resize: none;
    flex: 1 1 auto;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px #ffefdd;
}

.contact-button-wrapper {
    text-align: center;
    margin-top: 0;
    min-height: 80px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    flex: 1 1 auto;
}

.contact-submit {
    width: 76%;
    min-width: 0;
    min-height: 44px;
    padding: 0.5rem 1.8rem;
    font-family: var(--font--heading--family);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.2;
    border: none;
    border-radius: var(--radius-button, 50px);
    background: #d4bc8a;
    color: #1a1208;
    cursor: pointer;
}

.contact-submit:hover {
    background: #d4bc8a;
    transform: none;
    color: #1a1208;
}

.contact-submit:active {
    transform: none;
}

.contact-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

@media (max-width: 768px) {
    .contact-container {
        padding: 2rem 1rem 3rem;
    }

    .contact-wrapper {
        margin-top: 80px;
    }

    .contact-section-header {
        margin-bottom: 1.5rem;
    }

    .contact-image-and-form {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 420px;
    }

    .contact-image,
    .contact-form {
        height: auto;
    }

    .contact-form form,
    .contact-image img {
        height: auto;
        flex-basis: auto;
    }

    .contact-admin-email {
        width: 100%;
    }

    .contact-form textarea,
    .contact-form textarea.contact-input {
        min-height: 220px;
    }

    .contact-submit {
        width: 100%;
    }
}
