/* ==========================================================================
   contact.css - the public Contact page.

   Laid out like the Transparency Portal (bp.css): the same hero, tab bar,
   white cards on the pale canvas, navy and gold. This file holds only what is
   particular to Contact.
   ========================================================================== */

.contact-facts b { font-size: 1.15rem; overflow-wrap: anywhere; }
.contact-facts li { min-width: 200px; }

.contact-container {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: 24px;
    align-items: start;
    margin-bottom: 40px;
}

/* ---------- the form ---------- */
.contact-form-card,
.info-card,
.info-note,
.map-container {
    background: var(--bp-surface);
    border: 1px solid var(--bp-line);
    border-radius: 16px;
}

.contact-form-card { padding: 28px 30px 26px; }

.contact-form-card h2,
.info-title {
    margin: 0 0 6px;
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -.01em;
    color: var(--bp-navy);
}

.contact-lead {
    margin: 0 0 22px;
    max-width: 640px;
    color: var(--bp-muted);
    line-height: 1.6;
}

.form-group { margin-bottom: 16px; }

.contact-form-card label {
    display: block;
    margin-bottom: 5px;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--bp-muted);
}
.contact-form-card .req { color: var(--bp-rose); margin-left: 2px; }

.contact-form-card input,
.contact-form-card select,
.contact-form-card textarea {
    width: 100%;
    min-height: 46px;
    padding: 11px 14px;
    border: 1px solid var(--bp-line);
    border-radius: 10px;
    background: #fff;
    color: var(--bp-ink);
    font: inherit;
    font-size: .95rem;
    transition: border-color .15s, box-shadow .15s;
}
.contact-form-card textarea { resize: vertical; min-height: 130px; line-height: 1.55; }
.contact-form-card input::placeholder,
.contact-form-card textarea::placeholder { color: #94a3b8; }
.contact-form-card input:focus-visible,
.contact-form-card select:focus-visible,
.contact-form-card textarea:focus-visible {
    outline: none;
    border-color: var(--bp-gold);
    box-shadow: 0 0 0 3px rgba(229, 168, 35, .3);
}

.field-hint {
    display: block;
    margin-top: 5px;
    font-size: .78rem;
    line-height: 1.5;
    color: var(--bp-muted);
}

.btn-submit {
    width: 100%;
    min-height: 50px;
    border: 0;
    border-radius: 10px;
    background: var(--bp-gold);
    color: var(--bp-navy);
    font: inherit;
    font-size: .98rem;
    font-weight: 800;
    cursor: pointer;
    transition: background .15s;
}
.btn-submit:hover { background: #f0b83a; }
.btn-submit:focus-visible { outline: 3px solid var(--bp-navy); outline-offset: 2px; }
.btn-submit:disabled { opacity: .6; cursor: progress; }

.contact-expect {
    margin: 20px 0 0;
    padding-top: 16px;
    border-top: 1px solid var(--bp-line);
    font-size: .82rem;
    line-height: 1.65;
    color: var(--bp-muted);
}
.contact-expect strong { color: var(--bp-ink); }

/* ---------- the side column ---------- */
.info-cards { display: flex; flex-direction: column; gap: 16px; }

.info-card { padding: 24px 26px; }
.info-title { font-size: 1.25rem; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--bp-line); }

.info-list { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.info-list dt {
    margin-bottom: 2px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--bp-muted);
}
.info-list dd { margin: 0; font-size: 1rem; font-weight: 700; line-height: 1.35; color: var(--bp-navy); overflow-wrap: anywhere; }
.info-list dd span { display: block; margin-top: 1px; font-size: .82rem; font-weight: 400; color: var(--bp-muted); }
.info-list dd a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--bp-line); }
.info-list dd a:hover,
.info-list dd a:focus-visible { border-bottom-color: var(--bp-gold); }

.info-note { padding: 18px 22px; }
.info-note h4 { margin: 0 0 6px; font-size: 1rem; font-weight: 800; color: var(--bp-navy); }
.info-note p { margin: 0 0 10px; font-size: .86rem; line-height: 1.6; color: var(--bp-muted); }
.info-note a {
    font-size: .86rem;
    font-weight: 800;
    color: var(--bp-navy-3);
    text-decoration: none;
    border-bottom: 1px solid currentColor;
}
.info-note a:hover { color: var(--bp-gold-ink); }
.info-note a:focus-visible { outline: 3px solid var(--bp-gold); outline-offset: 2px; }

/* ---------- the map ---------- */
.map-container { padding: 24px 26px 26px; margin-bottom: 8px; }
.map-container .bp-panel-head { margin-bottom: 16px; }

/* The wrapper owns the ratio and the iframe fills it, so no fixed pixel width can make the page scroll sideways. */
.map-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 6;
    min-height: 240px;
    max-height: 380px;
    border-radius: 12px;
    overflow: hidden;
    background: #e6ecf5;
}
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

@media (max-width: 860px) {
    .contact-container { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .contact-form-card { padding: 22px 18px; }
    .info-card { padding: 20px 18px; }
    .map-container { padding: 18px; }
    .map-frame { aspect-ratio: 4 / 3; }
}
