/* ==================== CONTACT ==================== */

/* ---------- Contact: parallax distances (0px = off; mobile = below 992px) ---------- */

.contact-hero {
    --parallax-desktop: 500px;
    --parallax-mobile: 0px;
}

/* ---------- Contact: hero + form ---------- */

.contact-hero {
    padding: clamp(2.5rem, 10vw, 9.5rem) 0 clamp(3rem, 14vw, 12.5rem);
    background-color: var(--ras-green-dark);
}

.contact-hero .parallax-photo {
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.22)),
        url("../../images/contact/contact-hero-circle.jpg");
    background-position: center;
}

.contact-hero-intro {
    color: #ffffff;
    text-align: center;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
    margin-bottom: 1.5rem;
}

.contact-hero-heading {
    /* font-weight: 700;
    font-size: var(--ras-hero-heading-font-size);
    line-height: 1.15; */
    margin-bottom: 0.5rem;
}

.contact-hero-subheading {
    /* font-family: var(--ras-font-ui);
    font-size: clamp(1rem, 1.5vw, 1.25rem); */
    margin-bottom: 0;
}

.contact-form {
    max-width: 778px;
    margin: 0 auto;
    padding: 1.75rem 2.9rem 1.4rem;
    border-radius: 20px;
    background-color: #ffffff;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
}

.contact-form-label {
    display: block;
    margin-bottom: 0.6rem;
    font-family: var(--ras-font-ui);
    font-weight: 600;
    font-size: 1.15rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--ras-green-dark);
}

.contact-form-required {
    color: #b3261e;
}

.contact-form-input {
    display: block;
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 2px solid var(--ras-green-dark);
    border-radius: 4px;
    background-color: #f4f4f4;
    font-family: var(--ras-font-body);
    font-size: 1rem;
    color: var(--ras-text);
}

.contact-form-input:focus {
    outline: 3px solid var(--ras-green-lime);
    outline-offset: 1px;
    background-color: #ffffff;
}

.contact-form-input[aria-invalid="true"] {
    border-color: #b3261e;
}

.contact-form-error {
    margin: 0.4rem 0 0;
    font-size: 0.9rem;
    color: #b3261e;
}

.contact-form-status {
    margin-bottom: 1.25rem;
    padding: 0.75rem 1rem;
    border-left: 4px solid;
    border-radius: 4px;
    font-size: 0.95rem;
}

.contact-form-status.is-success {
    border-color: var(--ras-green-dark);
    background-color: #e8f3ea;
    color: var(--ras-green-dark);
}

.contact-form-status.is-error {
    border-color: #b3261e;
    background-color: #fbeaea;
    color: #8c1d18;
}

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

.contact-form-message {
    min-height: 168px;
    resize: vertical;
}

.contact-form-actions {
    display: flex;
    justify-content: flex-end;
}

@media (max-width: 767.98px) {
    .contact-hero .parallax-photo {
        background-image:
            linear-gradient(rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.28)),
            url("../../images/contact/contact-hero-circle-900.jpg");
    }

    .contact-form {
        padding: 1.5rem 1.5rem 1.25rem;
    }

    .contact-form-actions {
        justify-content: center;
    }
}

@media (max-width: 575.98px) {
    .contact-form {
        padding: 1.25rem 1.1rem;
        border-radius: 14px;
    }

    .contact-form-label {
        font-size: 1rem;
    }

    /* .contact-form-actions .btn-ras {
        width: 100%;
    } */
}
