/* =========================================================
   B3G1LLC CONTACT HUB — FRONTEND
========================================================= */

.b3-contact-page,
.b3-contact-page * {
    box-sizing: border-box;
    font-family: "Cormorant Garamond", Georgia, serif;
}

.b3-contact-page {
    --b3-black: #090909;
    --b3-black-soft: #111111;
    --b3-gold: #d5aa4d;
    --b3-gold-light: #f1d17d;
    --b3-gold-dark: #a77722;
    --b3-cream: #faf7f1;
    --b3-cream-2: #f3ecdf;
    --b3-text: #19150f;
    --b3-muted: #6a6258;

    width: 100%;
    padding: clamp(24px, 4vw, 54px) clamp(14px, 3vw, 28px);
    background: #fff;
}

.b3-contact-shell {
    width: min(1180px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(280px, .88fr) minmax(420px, 1.12fr);
    overflow: hidden;
    border: 1px solid rgba(213,170,77,.42);
    border-radius: 20px;
    box-shadow: 0 18px 52px rgba(0,0,0,.08);
}

.b3-contact-intro {
    position: relative;
    padding: clamp(34px, 5vw, 62px);
    color: #fff;
    background:
        radial-gradient(circle at 16% 8%, rgba(213,170,77,.16), transparent 27%),
        linear-gradient(145deg, #080808, #14110c);
}

.b3-contact-intro::before {
    content: "";
    position: absolute;
    right: -75px;
    bottom: -75px;
    width: 210px;
    height: 210px;
    border: 1px solid rgba(213,170,77,.16);
    border-radius: 50%;
}

.b3-contact-intro::after {
    content: "";
    position: absolute;
    right: -24px;
    bottom: -24px;
    width: 120px;
    height: 120px;
    border: 1px solid rgba(213,170,77,.24);
    border-radius: 50%;
}

.b3-contact-kicker {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--b3-gold-light);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
}

.b3-contact-kicker::before {
    content: "";
    width: 28px;
    height: 1px;
    background: var(--b3-gold);
}

.b3-contact-intro h1 {
    position: relative;
    z-index: 2;
    margin: 0;
    color: #fff;
    font-size: clamp(38px, 4.4vw, 58px);
    font-weight: 600;
    line-height: 1.01;
    letter-spacing: -.6px;
}

.b3-contact-lead {
    position: relative;
    z-index: 2;
    margin: 18px 0 0;
    max-width: 470px;
    color: #c8c0b4;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.65;
}

.b3-contact-note {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 42px minmax(0,1fr);
    align-items: center;
    gap: 12px;
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid rgba(213,170,77,.20);
    color: #afa79c;
    font-size: 13px;
    line-height: 1.5;
}

.b3-contact-note__icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: var(--b3-gold-light);
    background: rgba(213,170,77,.07);
    border: 1px solid rgba(213,170,77,.27);
    border-radius: 50%;
}

.b3-contact-note__icon svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.b3-contact-form-card {
    padding: clamp(28px, 4.2vw, 50px);
    color: var(--b3-text);
    background:
        radial-gradient(circle at 100% 0%, rgba(213,170,77,.08), transparent 30%),
        var(--b3-cream);
}

.b3-contact-form {
    display: grid;
    gap: 17px;
}

.b3-contact-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.b3-contact-field {
    min-width: 0;
}

.b3-contact-field label {
    display: block;
    margin: 0 0 7px;
    color: #2b251d;
    font-size: 13px;
    font-weight: 700;
}

.b3-contact-field label span {
    color: var(--b3-gold-dark);
}

.b3-contact-field input,
.b3-contact-field textarea {
    width: 100%;
    margin: 0;
    padding: 12px 13px;
    color: #1a1610;
    background: #fff;
    border: 1px solid rgba(10,10,10,.18);
    border-radius: 10px;
    outline: none;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    box-shadow: none;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.b3-contact-field input {
    height: 48px;
}

.b3-contact-field textarea {
    min-height: 165px;
    resize: vertical;
}

.b3-contact-field input:focus,
.b3-contact-field textarea:focus {
    background: #fff;
    border-color: rgba(167,119,34,.70);
    box-shadow: 0 0 0 3px rgba(213,170,77,.10);
}

.b3-contact-submit-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-top: 4px;
}

.b3-contact-submit-row p {
    max-width: 360px;
    margin: 0;
    color: #776f64;
    font-size: 11.5px;
    font-weight: 500;
    line-height: 1.4;
}

.b3-contact-submit {
    min-width: 150px;
    min-height: 46px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #171109;
    background: linear-gradient(135deg, var(--b3-gold-light), var(--b3-gold));
    border: 1px solid var(--b3-gold-dark);
    border-radius: 999px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 7px 18px rgba(0,0,0,.08);
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.b3-contact-submit:hover,
.b3-contact-submit:focus {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(0,0,0,.13);
    filter: brightness(1.025);
}

.b3-contact-submit svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.b3-contact-alert {
    margin: 0 0 18px;
    padding: 13px 14px;
    display: grid;
    gap: 2px;
    border-radius: 10px;
    font-size: 13px;
}

.b3-contact-alert strong {
    font-size: 14px;
    font-weight: 700;
}

.b3-contact-alert--success {
    color: #173b27;
    background: #eef8f1;
    border: 1px solid #bed8c6;
}

.b3-contact-alert--error {
    color: #6b2727;
    background: #fff2f2;
    border: 1px solid #e4c3c3;
}

@media (max-width: 860px) {
    .b3-contact-shell {
        grid-template-columns: 1fr;
    }

    .b3-contact-intro {
        padding: 38px 28px;
    }

    .b3-contact-form-card {
        padding: 30px 28px;
    }
}

@media (max-width: 600px) {
    .b3-contact-page {
        padding: 16px 12px 24px;
    }

    .b3-contact-shell {
        border-radius: 16px;
    }

    .b3-contact-intro {
        padding: 34px 20px;
    }

    .b3-contact-intro h1 {
        font-size: 38px;
    }

    .b3-contact-lead {
        font-size: 15px;
    }

    .b3-contact-form-card {
        padding: 24px 18px;
    }

    .b3-contact-row {
        grid-template-columns: 1fr;
    }

    .b3-contact-submit-row {
        align-items: stretch;
        flex-direction: column;
    }

    .b3-contact-submit-row p {
        max-width: 100%;
    }

    .b3-contact-submit {
        width: 100%;
    }
}
