/* BadgerHunt Contact page — uses the existing brand hero asset and blue/white palette */
.bh-contact {
    --bh-blue: #347f9f;
    --bh-blue-dark: #1e5f7e;
    --bh-ink: #1c3049;
    --bh-muted: #536981;
    --bh-line: #d8e6ed;
    --bh-pale: #eef5f8;
    color: var(--bh-ink);
    background: #fff;
}
.bh-contact * { box-sizing: border-box; }
.bh-contact a { color: var(--bh-blue-dark); }
.bh-contact-container { width: min(1192px, calc(100% - 48px)); margin-inline: auto; }

.bh-contact-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    width: min(1192px, calc(100% - 48px));
    margin-inline: auto;
    min-height: 330px;
    background: #eaf2f6;
    border-bottom: 1px solid var(--bh-line);
}

.bh-contact-hero::before {
    content: "";
    position: absolute;
    z-index: -2;
    inset: 0;
    background-image: url("/static/images/badgerhunt_hero_badger_mountains.aaf6a9b043f3.png");
    background-repeat: no-repeat;
    background-position: center right;
    background-size: cover;
    transform: scale(1);
    transform-origin: center right;
    transition: transform 500ms ease;
}
.bh-contact-hero:hover::before { transform: scale(1.035); }
.bh-contact-hero-overlay {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(90deg, rgba(255,255,255,.99) 0%, rgba(255,255,255,.94) 36%, rgba(255,255,255,.64) 56%, rgba(255,255,255,.08) 83%, rgba(255,255,255,0) 100%);
}
.bh-contact-hero-content { padding-block: 22px 28px; }
.bh-contact-breadcrumb { margin: 0 0 22px; display: flex; gap: 10px; align-items: center; color: #60758a; font-size: .86rem; }
.bh-contact-breadcrumb a { text-decoration: none; color: inherit; }
.bh-contact-breadcrumb a:hover { color: var(--bh-blue-dark); text-decoration: underline; }
.bh-contact-eyebrow { margin: 0 0 8px; color: var(--bh-blue); font-size: .76rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.bh-contact-hero h1 { max-width: 700px; margin: 0 0 12px; color: var(--bh-ink); font: 500 clamp(2.4rem, 4.3vw, 3.6rem)/1.04 Georgia, "Times New Roman", serif; letter-spacing: -.035em; }
.bh-contact-intro { max-width: 660px; margin: 0; color: #4c627b; font-size: 1.05rem; line-height: 1.65; }

.bh-contact-layout { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(320px, .9fr); gap: 16px; padding-block: 16px 34px; align-items: start; }
.bh-contact-form-panel, .bh-contact-types-panel, .bh-contact-direct-panel { border: 1px solid var(--bh-line); border-radius: 9px; background: linear-gradient(135deg, #fff 0%, #fbfdfe 100%); box-shadow: 0 2px 10px rgba(31, 69, 91, .035); }
.bh-contact-form-panel { padding: 24px 28px 22px; }
.bh-contact-panel-heading { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.bh-contact-heading-icon { color: var(--bh-blue); font-size: 2.4rem; line-height: 1; transform: rotate(-8deg); }
.bh-contact-panel-heading h2 { margin: 0 0 5px; font: 600 1.8rem/1.2 Georgia, "Times New Roman", serif; color: var(--bh-ink); }
.bh-contact-panel-heading p { margin: 0; color: var(--bh-muted); line-height: 1.5; }

.bh-contact-form { display: grid; gap: 17px; }
.bh-contact-field { min-width: 0; display: flex; flex-direction: column; gap: 7px; }
.bh-contact-field label { color: #203b55; font-size: .92rem; font-weight: 700; }
.bh-contact-field input, .bh-contact-field select, .bh-contact-field textarea {
    display: block; width: 100%; min-width: 0; border: 1px solid #cdd9e1; border-radius: 8px;
    background: #fff; color: #243b52; padding: 13px 15px; font: inherit; line-height: 1.4;
    box-shadow: inset 0 1px 2px rgba(22, 50, 70, .025); transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.bh-contact-field input, .bh-contact-field select { min-height: 49px; }
.bh-contact-field textarea { min-height: 126px; resize: vertical; }
.bh-contact-field input::placeholder, .bh-contact-field textarea::placeholder { color: #8797a8; }
.bh-contact-field input:focus, .bh-contact-field select:focus, .bh-contact-field textarea:focus { outline: none; border-color: var(--bh-blue); box-shadow: 0 0 0 3px rgba(52,127,159,.14); background: #fcfeff; }
.bh-contact-field ul.errorlist { list-style: none; padding: 0; margin: 0; color: #b42318; font-size: .86rem; }
.bh-contact-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bh-contact-message-hint { color: #7a8b9b; font-size: .78rem; text-align: right; margin-top: -2px; }
.bh-contact-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.bh-contact-privacy { display: flex; gap: 12px; align-items: flex-start; padding: 13px 15px; border-radius: 8px; background: #edf5f8; color: #536981; font-size: .86rem; line-height: 1.55; }
.bh-contact-privacy p { margin: 0; }
.bh-contact-privacy a { color: #216f94; font-weight: 700; text-decoration: underline; }
.bh-contact-privacy-icon { color: var(--bh-blue); font-size: 1.45rem; line-height: 1.2; }
.bh-contact-submit { display: flex; align-items: center; gap: 14px; width: 100%; border: 1px solid #2c7899; border-radius: 7px; background: linear-gradient(100deg, #347f9f, #2e7898); color: #fff; padding: 16px 22px; font-family: inherit; font-size: 1.08rem; font-weight: 700; line-height: 1.2; text-align: left; cursor: pointer; box-shadow: 0 3px 8px rgba(35, 105, 139, .15); transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.bh-contact-submit:hover { background: linear-gradient(100deg, #286d8d, #246582); box-shadow: 0 7px 16px rgba(35, 105, 139, .2); transform: translateY(-1px); }
.bh-contact-submit:focus-visible { outline: 3px solid rgba(52,127,159,.35); outline-offset: 3px; }
.bh-contact-submit-arrow { margin-left: auto; font-size: 1.35rem; }
.bh-contact-errors { border: 1px solid #f1b8b5; border-radius: 7px; padding: 12px 14px; color: #9d1c16; background: #fff5f4; }
.bh-contact-success { border: 1px solid #b8dcca; border-radius: 8px; padding: 20px; background: #f1faf5; color: #23543a; }
.bh-contact-success h3 { margin-top: 0; }
.bh-contact-success a { font-weight: 700; }

.bh-contact-sidebar { display: grid; gap: 14px; min-width: 0; }
.bh-contact-types-panel, .bh-contact-direct-panel { padding: 16px 13px 13px; background: linear-gradient(145deg, #f0f6f9, #eaf3f7); }
.bh-contact-types-panel h2, .bh-contact-direct-panel h2 { margin: 0 7px 12px; font-size: 1.12rem; font-weight: 800; color: var(--bh-ink); }
.bh-contact-types { display: grid; gap: 6px; }
.bh-contact-type-card { display: grid; grid-template-columns: 42px minmax(0,1fr) 16px; align-items: center; gap: 10px; padding: 10px 11px; border: 1px solid transparent; border-radius: 8px; color: #20384f !important; background: rgba(255,255,255,.82); text-decoration: none !important; transition: border-color .18s ease, background .18s ease, transform .18s ease, box-shadow .18s ease; }
.bh-contact-type-card:hover { border-color: #b6d6e4; background: #fff; transform: translateY(-1px); box-shadow: 0 4px 10px rgba(36,88,112,.07); }
.bh-contact-type-card.is-active { border-color: #b8dce9; background: #e3f1f7; box-shadow: inset 0 0 0 1px rgba(52,127,159,.04); }
.bh-contact-type-icon { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; color: var(--bh-blue); font-size: 1.65rem; }
.bh-contact-type-card strong { display: block; margin-bottom: 3px; color: #1c344d; font-size: .86rem; line-height: 1.25; }
.bh-contact-type-card small { display: block; color: #647990; font-size: .76rem; line-height: 1.4; }
.bh-contact-chevron { color: var(--bh-blue); font-size: 1.6rem; text-align: center; }
.bh-contact-direct-content { display: flex; align-items: center; gap: 13px; padding: 7px; }
.bh-contact-mail-icon { display: flex; flex: 0 0 52px; width: 52px; height: 52px; align-items: center; justify-content: center; border-radius: 8px; background: #fff; color: var(--bh-blue); font-size: 1.7rem; }
.bh-contact-direct-content p { margin: 0; color: #647990; font-size: .84rem; line-height: 1.55; overflow-wrap: anywhere; }
.bh-contact-direct-content a { font-weight: 700; }

@media (max-width: 900px) {
    .bh-contact-layout { grid-template-columns: minmax(0, 1fr); }
    .bh-contact-sidebar { grid-template-columns: minmax(0, 1fr); }
    .bh-contact-types { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .bh-contact-container { width: min(100% - 28px, 1192px); }
    .bh-contact-hero { min-height: 265px; }
    .bh-contact-hero::before { background-position: 65% center; }
    .bh-contact-hero-overlay { background: linear-gradient(90deg, rgba(255,255,255,.98), rgba(255,255,255,.87) 64%, rgba(255,255,255,.35)); }
    .bh-contact-hero-content { padding-block: 16px 24px; }
    .bh-contact-breadcrumb { margin-bottom: 22px; }
    .bh-contact-hero h1 { font-size: clamp(2.2rem, 11vw, 3.1rem); }
    .bh-contact-intro { font-size: .97rem; }
    .bh-contact-layout { width: 100%; padding-top: 12px; }
    .bh-contact-form-panel { padding: 20px 16px; border-radius: 0; }
    .bh-contact-panel-heading h2 { font-size: 1.55rem; }
    .bh-contact-form-grid { grid-template-columns: 1fr; }
    .bh-contact-types-panel, .bh-contact-direct-panel { border-radius: 0; }
    .bh-contact-types { grid-template-columns: minmax(0, 1fr); }
    .bh-contact-submit { padding: 15px 17px; }
}
@media (prefers-reduced-motion: reduce) {
    .bh-contact-hero::before, .bh-contact-type-card, .bh-contact-submit { transition: none; }
    .bh-contact-hero:hover::before { transform: none; }
}
