﻿*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --white: #FFFFFF;
    --sandstone: #F9EAD3;
    --terracotta: #B95550;
    --blue: #035eb7;
    --sage: #8F9A8B;
    --ink: #121212;
    --ink-soft: rgba(18, 18, 18, 0.7);
    --container: 1120px;
    --pad-x: 40px;
    --radius: 6px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 16px;
    font-weight: 300;
    color: var(--ink);
    background: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

.wrap {
    max-width: var(--container);
    margin: 0 auto;
}

/* ── CONTACT FORM ───────────────────────────────── */

.contact-page {
    padding: 56px var(--pad-x) 96px;
}

.contact-form {
    max-width: 640px;
    margin: 0 auto;
}

.contact-form__title {
    font-size: 22px;
    font-weight: 600;
    color: var(--ink);
    margin: 16px 0 12px 0;
}

.field {
    margin-bottom: 28px;
}

    .field label {
        display: block;
        font-size: 14px;
        font-weight: 500;
        color: var(--ink-soft);
        margin-bottom: 8px;
    }

    .field input,
    .field textarea {
        width: 100%;
        font-family: 'Poppins', Arial, sans-serif;
        font-size: 15px;
        font-weight: 300;
        color: var(--ink);
        background: var(--white);
        border: 1px solid rgba(18, 18, 18, 0.18);
        border-radius: var(--radius);
        padding: 12px 14px;
        transition: border-color 0.2s;
    }

        .field input:focus,
        .field textarea:focus {
            outline: none;
            border-color: var(--terracotta);
        }

    .field textarea {
        min-height: 180px;
        resize: vertical;
    }

.field--recaptcha {
    margin-bottom: 32px;
}

.submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: var(--white);
    background: var(--blue);
    border: none;
    border-radius: var(--radius);
    padding: 10px 18px;
    margin: 12px 0;
    cursor: pointer;
    transition: background 0.2s;
}

    .submit-btn:hover {
        background: #a3453f;
    }

.form-status {
    margin-top: 18px;
    font-size: 14px;
    color: var(--ink-soft);
}

    .form-status.is-error {
        color: var(--terracotta);
    }

.contact-block {
    margin: 36px 0;
}

@media (max-width: 640px) {
    .banner {
        height: 260px;
    }

    .banner__title {
        font-size: 26px;
    }

    .banner__mark {
        width: 44px;
        height: 44px;
    }
}

a:focus-visible, button:focus-visible {
    outline: 2px solid var(--terracotta);
    outline-offset: 2px;
}
