/* Contact Us Page Styles
 *
 * Page-specific layout only. Build on the tokens and shared classes in
 * global.css (.container, .section, .button, ...) and write mobile-first
 * min-width queries at 48rem / 64rem.
 */

/* ---------- Contact form ---------- */

/* Field styles live in global.css (.form-field); this is layout only. */
.contact-form {
    display: grid;
    gap: var(--space-lg);
}

.contact-form__note {
    margin: 0;
    color: var(--color-text-muted);
    font-size: var(--font-size-sm);
}

.contact-form__submit {
    justify-self: start;
}

/* ---------- Find us ---------- */

/* Sits close under the form: the form section's bottom padding is the gap */
.find-us {
    padding-top: 0;
}

.find-us__address {
    margin-bottom: var(--space-lg);
    font-style: normal;
    text-align: center;
}

.find-us__map {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3; /* taller on phones so the map stays usable */
    border: var(--border-width) solid var(--color-border);
    border-radius: var(--radius-md);
}

/* Wider screens: stretch across the full container with a capped height,
   since a 16:9 map at desktop width would be taller than the viewport. */
@media (min-width: 48rem) {
    .find-us__map {
        height: clamp(20rem, 15rem + 15vw, 28rem);
        aspect-ratio: auto;
    }
}

.find-us__directions {
    margin-top: var(--space-md);
    text-align: center;
}
