/* ============================================
   Contact hero (dark, text-only)
   ============================================ */
.contact-hero {
    background: var(--earth-darkest);
    color: var(--earth-lightest);
    text-align: center;
    padding: 7rem 3rem;
}

.contact-hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.contact-hero-title {
    color: var(--earth-lightest);
    margin-bottom: 1.5rem;
}

.contact-hero-content p {
    font-size: 1.05rem;
    line-height: 1.9;
    font-weight: 300;
    opacity: 0.85;
}

/* ============================================
   Inquiry form (underline field style)
   ============================================ */
.contact-form-section {
    max-width: 700px;
    margin: 0 auto;
    padding: 5rem 3rem;
}

.contact-form-section .alert {
    margin-bottom: 2.5rem;
    border-radius: 2px;
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    font-size: 0.95rem;
    line-height: 1.7;
}

.contact-form-section .alert-success {
    background: var(--earth-success-bg);
    border: 1px solid var(--earth-success);
    color: var(--earth-darkest);
}

.contact-form-section .alert-danger {
    background: var(--earth-error-bg);
    border: 1px solid var(--earth-error);
    color: var(--earth-darkest);
}

    .contact-form-section .alert-danger a {
        color: var(--earth-error);
        text-decoration: underline;
    }

.inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 2.25rem;
}

.inquiry-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.inquiry-field {
    display: flex;
    flex-direction: column;
}

.inquiry-field label {
    font-family: 'Literata', serif;
    font-weight: 300;
    font-size: 1.2rem;
    color: var(--earth-darkest);
}

.required-mark {
    color: var(--earth-brand);
    margin-left: 0.2em;
}

.optional {
    font-family: 'Lato', sans-serif;
    font-size: 0.8rem;
    font-style: italic;
    font-weight: 300;
    color: var(--earth-medium);
    margin-left: 0.4em;
}

.inquiry-divider {
    display: block;
    height: 1px;
    background: var(--earth-border);
    margin: 0.85rem 0 0.75rem;
}

.inquiry-field input,
.inquiry-field select,
.inquiry-field textarea {
    width: 100%;
    border: none;
    border-bottom: 1px solid var(--earth-border-accent);
    background: transparent;
    padding: 0.4rem 0;
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    font-weight: 300;
    color: var(--earth-darkest);
    transition: border-color 0.3s ease;
}

.inquiry-field input::placeholder,
.inquiry-field textarea::placeholder {
    color: var(--earth-medium);
}

.inquiry-field input:focus,
.inquiry-field select:focus,
.inquiry-field textarea:focus {
    outline: none;
    border-bottom-color: var(--earth-brand);
}

.inquiry-field input:-webkit-autofill,
.inquiry-field input:-webkit-autofill:hover,
.inquiry-field input:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--earth-darkest);
    -webkit-box-shadow: 0 0 0 1000px var(--earth-light) inset;
    box-shadow: 0 0 0 1000px var(--earth-light) inset;
    transition: background-color 5000s ease-in-out 0s;
}

.inquiry-field select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23B8AC98' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0 center;
    background-repeat: no-repeat;
    background-size: 1.2em 1.2em;
    padding-right: 1.75rem;
}

.inquiry-field select option {
    background: var(--earth-lightest);
    color: var(--earth-darkest);
}

.inquiry-field textarea {
    resize: vertical;
    min-height: 90px;
}

.inquiry-submit {
    align-self: center;
    margin-top: 1rem;
    border: 1px solid var(--earth-border-accent);
    background: none;
    cursor: pointer;
    font-family: 'Lato', sans-serif;
}

/* ============================================
   Direct-contact aside
   ============================================ */
.contact-aside {
    text-align: center;
    margin-top: 4rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--earth-border);
}

.contact-aside p {
    font-size: 0.95rem;
    font-weight: 300;
    opacity: 0.75;
    margin-bottom: 0.5rem;
}

.contact-aside > a {
    font-family: 'Literata', serif;
    font-size: 1.1rem;
    color: var(--earth-brand);
    text-decoration: none;
}

.contact-aside > a:hover {
    text-decoration: underline;
}

.contact-aside-social {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.contact-aside-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--earth-border-accent);
    border-radius: 50%;
    color: var(--earth-darkest);
    transition: all 0.3s ease;
}

.contact-aside-social a:hover {
    background: var(--earth-darkest);
    color: var(--earth-lightest);
    border-color: var(--earth-darkest);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
    .contact-hero {
        padding: 4rem 1.5rem;
    }

    .contact-form-section {
        padding: 3rem 1.5rem;
    }

    .inquiry-field-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}
