/** Page contact — Concept 3 */

.contact-container {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
}

.contact-container h1 {
    font-family: var(--font-display, 'Source Serif Pro', Georgia, serif);
    font-style: italic;
    font-size: var(--typo-h1, clamp(48px, 4.5vw, 64px));
    margin-bottom: 0.5rem;
}

.contact-container p.subtitle {
    color: var(--sia-muted, #5C6575);
    margin-bottom: 2rem;
}

.contact-field {
    margin-bottom: 1.25rem;
}

.contact-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
}

.contact-field input,
.contact-field textarea,
.contact-field select {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 1px solid rgba(92, 101, 117, 0.35);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    background: var(--sia-bg-light, #F7F7F7);
    color: var(--sia-text-on-light, #17176B);
}

.contact-field textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-field input:focus,
.contact-field textarea:focus,
.contact-field select:focus {
    outline: none;
    border-color: var(--sia-brand, #173F9B);
    box-shadow: 0 0 0 3px rgba(23, 63, 155, 0.15);
    background: var(--sia-surface-light, #fff);
}

.contact-submit {
    background: var(--sia-brand, #173F9B);
    color: #fff;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    width: 100%;
    min-height: 44px;
}

.contact-submit:hover {
    filter: brightness(1.08);
}

.contact-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.contact-success {
    background: #e8f5ee;
    border: 1px solid rgba(30, 92, 64, 0.35);
    color: #1e5c40;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    display: none;
}

.contact-error {
    background: #fde8ea;
    border: 1px solid rgba(155, 35, 53, 0.35);
    color: #E52827;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    display: none;
}

@media (max-width: 600px) {
    .contact-container {
        padding: 1rem;
        padding-left: max(1rem, env(safe-area-inset-left));
        padding-right: max(1rem, env(safe-area-inset-right));
    }
    .contact-container h1 {
        font-size: clamp(34px, 9vw, 48px);
    }
}
