/* ============================================================
   Contact-Us page — single centered form on a soft background.
   Visual style follows the Figma design tokens (white card with
   64px radius, blue accent, Montserrat Alternates titles).
   ============================================================ */

.section--contact {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
}

.section--contact .section__inner {
    width: 100%;
}

.contact-form {
    max-width: 640px;
    margin: 0 auto;
    padding: 60px clamp(24px, 4vw, 60px);
    background-color: #ffffff;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-form__title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(28px, 3vw, 48px);
    line-height: 1.2;
    color: var(--color-text);
    margin: 0;
    text-align: center;
}

.contact-form__subtitle {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 20px;
    line-height: 1.5;
    color: var(--color-text-muted);
    margin: 0 0 8px;
    text-align: center;
}

.contact-form__field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-form__field label {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 16px;
    color: var(--color-text);
}

.contact-form__input {
    width: 100%;
    padding: 14px 20px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-btn);
    background-color: var(--color-bg-soft);
    color: var(--color-text);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 16px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.contact-form__input:focus {
    outline: none;
    border-color: var(--color-blue);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(75, 159, 255, 0.15);
}

.contact-form__input--textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.5;
}

.contact-form__error {
    color: #c0392b;
    font-size: 14px;
    margin: 0;
}

.contact-form__submit {
    align-self: stretch;
    margin-top: 8px;
    padding: 16px 24px;
    height: auto;
    font-size: 16px;
    font-weight: 600;
}

/* Result panel shown after a submission completes. Inherits the card look
   from .contact-form and only centers the help text. */
.contact-result {
    text-align: center;
}

.contact-result__hint {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--color-text-muted);
    margin: 8px 0 0;
}

.contact-result__hint a {
    color: var(--color-blue);
    text-decoration: none;
}

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

