/* ============================================================
   Contact - page stylesheet
   Only what this page uses. Anything shared with another page
   stays in /Shared/assets/css/site.css.
   ============================================================ */

.embed-map { height: 460px; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    background: var(--dbc-white);
    border: 1px solid var(--dbc-rule);
    border-radius: 3px;
    padding: 13px 14px;
    color: var(--dbc-navy);
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.contact-form textarea {
    resize: vertical;
    min-height: 130px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #9aa4ad;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--dbc-accent);
}

.contact-form .btn {
    align-self: flex-start;
    margin-top: 6px;
}

.contact-detail {
    font-size: 0.95rem;
    line-height: 1.9;
    color: var(--dbc-body);
    margin: 0 0 0.8rem;
}

.contact-detail a {
    color: var(--dbc-body);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-detail a:hover { color: var(--dbc-accent); }

@media (max-width: 900px) {
.contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* Contact - map */
.map-section {
    line-height: 0;
    background: var(--dbc-tint);
}

.map-section .embed-map {
    height: 520px;
}

@media (max-width: 600px) {
.map-section .embed-map { height: 380px; }
}

/* Contact - bot trap
   Visually gone without display:none or visibility:hidden, both of which the
   better scrapers test for and skip. Screen readers are kept out by the
   aria-hidden on the wrapper and the negative tabindex on the inputs. */
.hp-wrap {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}
