/* Bookmark Bookkeeping campaign landing page styles */

:root {
    --bb-blue: #7a9a8b;
    --bb-blue-dark: #516B5F;
    --bb-green: #8cbda6;
    --bb-green-dark: #516B5F;
    --bb-cream: #F8EDE3;
    --bb-plum: #543746;
    --bb-light-text: #ccc;
    --bb-paper: #ffffff;
    --bb-ink: #000000;
    --bb-muted: #333333;
    --bb-border: rgba(0, 0, 0, 0.14);
    --bb-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
    --bb-radius: 22px;
    --bb-shell: 1120px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* Keep the fixed W3 menu above the campaign logo/header */
.w3-top {
    z-index: 1000;
}

#myNavbar {
    position: relative;
    z-index: 1001;
}

#mySidebar {
    z-index: 1002 !important;
}

.campaign-logo-header {
    min-height: 177px;
    padding-top: 52px;
    background-color: #F8EDE3;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.campaign-logo-link {
    display: block;
    padding-bottom: 27px;
}

.campaign-logo-image {
    display: block;
    width: 292px;
    height: auto;
    max-width: 90vw;
}

body.bb-landing-page {
    margin: 0;
    color: var(--bb-ink);
    background: #000;
    font-family: "Quicksand", sans-serif;
    font-size: 15px;
    line-height: 1.8;
}

/* NEW */
body.bb-landing-page,
body.bb-landing-page h1,
body.bb-landing-page h2,
body.bb-landing-page h3,
body.bb-landing-page h4,
body.bb-landing-page h5,
body.bb-landing-page h6,
body.bb-landing-page p,
body.bb-landing-page label,
body.bb-landing-page input,
body.bb-landing-page select,
body.bb-landing-page textarea,
body.bb-landing-page button {
    font-family: "Quicksand", sans-serif;
}

.bb-page-wrap {
    margin-left: 180px;
    margin-right: 180px;
    background: var(--bb-cream);
    min-height: 100vh;
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.08);
}

.hero-section h1,
.quote-copy h2,
.form-title,
.quote-step h3 {
/*    font-family: "Segoe UI", Arial, sans-serif; */
    font-family: "Quicksand", sans-serif;
    font-weight: 400;
}

a {
    color: var(--bb-blue-dark);
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.18em;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 1rem;
    z-index: 1000;
    padding: 0.75rem 1rem;
    background: var(--bb-paper);
    color: var(--bb-ink);
}

.skip-link:focus {
    left: 1rem;
}

.site-shell {
    width: min(100% - 2rem, var(--bb-shell));
    margin-left: auto;
    margin-right: auto;
}

.w3-bar .w3-button {
    padding: 16px;
}

.hero-section {
    min-height: 320px;
    padding: clamp(2rem, 3vw, 3rem) 0 7rem;
    background:
        linear-gradient(135deg, var(--bb-plum) 0%, var(--bb-plum) 33%, #1a1116 100%);
    text-align: center;
}

.eyebrow {
    margin: 0 0 0.8rem;
    color: var(--bb-light-text);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero-section h1 {
    margin: 0;
    color: var(--bb-light-text);
    font-size: clamp(2.4rem, 5.2vw, 4.6rem);
    line-height: 1.05;
    letter-spacing: -0.025em;
}

.hero-subheadline {
    max-width: 720px;
    margin: 1.35rem auto 0;
    color: var(--bb-light-text);
    font-size: clamp(1.05rem, 1.8vw, 1.35rem);
}



.hero-inner {
    max-width: 920px;
}

.quote-form-section {
    position: relative;
    z-index: 2;
    padding: 0 0 clamp(3.5rem, 7vw, 6rem);
    margin-top: -5rem;
    background:
        linear-gradient(
            to bottom,
            transparent 0,
            transparent 5rem,
            var(--bb-cream) 5rem,
            #d7c2b2 75%,
            #b49b8a 100%
        );
}

.overlap-card {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.85fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: stretch;
    padding: clamp(1.5rem, 4vw, 3rem);
    border-radius: var(--bb-radius);
    background: var(--bb-paper);
    border: 1px solid var(--bb-border);
    box-shadow: var(--bb-shadow);
}

.quote-copy {
    padding: clamp(0.5rem, 2vw, 1.5rem);
}

.quote-copy h2,
.form-title {
    margin: 0;
    color: var(--bb-blue-dark);
    line-height: 1.08;
    letter-spacing: -0.02em;
}

.form-title {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.quote-steps-title {
    font-size: clamp(1.6rem, 2.6vw, 2.25rem);
}

.quote-intro,
.form-intro,
.quote-step p,
.direct-contact {
    font-size: 16px;
    line-height: 1.5;
    color: var(--bb-muted);
}


.quote-intro {
    margin: 1rem 0 2rem;
    font-size: 1.05rem;
}

.quote-step {
    display: grid;
    grid-template-columns: 3.4rem 1fr;
    gap: 1rem;
    padding: 1.1rem 0;
    border-top: 1px solid var(--bb-border);
}

.quote-step-number {
    color: var(--bb-green-dark);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.quote-step h3 {
    margin: 0 0 0.35rem;
    color: var(--bb-blue-dark);
    font-size: 1.2rem;
}

.quote-step p {
    margin: 0;
}

.quote-signoff {
    margin-top: 1.1rem;
    padding-top: 1.1rem;
    border-top: 1px solid var(--bb-border);
    text-align: center;
}

.quote-signoff p {
    margin: 0;
}

.quote-signoff-name {
    color: var(--bb-blue-dark);
    font-size: 1.15rem;
    line-height: 1.3;
}

.quote-signoff-tagline {
    margin-top: 0.2rem;
    color: var(--bb-muted);
    font-size: 1rem;
    line-height: 1.3;
}

.form-panel {
    padding: clamp(1.25rem, 3vw, 2rem);
    border-radius: calc(var(--bb-radius) - 6px);
    background:
        linear-gradient(180deg, #ffffff 0%, rgba(140, 189, 166, 0.22) 55%, rgba(122, 154, 139, 0.32) 100%);
    border: 1px solid rgba(81, 107, 95, 0.22);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
}

.form-title {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.form-intro {
    margin: 0.8rem 0 1.4rem;
}

.lead-form {
    display: grid;
    gap: 0.8rem;
}

.lead-form label {
    color: var(--bb-blue-dark);
    font-weight: 700;
    font-size: 15px;
    line-height: 1.15;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
    width: 100%;
    min-height: 30px;
    padding: 0.5rem 0.6rem;
    border: 1px solid var(--bb-border);
    border-radius: 7px;
    background: #fff;
    color: var(--bb-ink);
    font-family: "Quicksand", sans-serif;
    font-size: 15px;
    line-height: 1.15;
}

.lead-form textarea {
    min-height: 120px;
    resize: vertical;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
    outline: 3px solid rgba(140, 189, 166, 0.35);
    border-color: var(--bb-green-dark);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0.85rem 1.2rem;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.03em;
}

.button-primary {
    background: #ffbf00;
    color: #000;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.18);
}

.button-primary:hover,
.button-primary:focus-visible {
    background: #8cbda6;
    color: #000;
}

.form-submit {
    width: 100%;
    margin-top: 0.5rem;
}

.hp-field {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-alert {
    margin-bottom: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 10px;
    font-weight: 700;
}

.form-alert-success {
    background: rgba(140, 189, 166, 0.25);
    color: var(--bb-green-dark);
}

.form-alert-error {
    background: rgba(170, 54, 54, 0.12);
    color: #8b2626;
}

.direct-contact {
    margin: 1rem 0 0;
    font-size: 0.95rem;
}

.site-footer {
    padding: 2rem 0;
    color: #000;
    background: var(--bb-green);
    text-align: center;
}

.footer-shell {
    display: grid;
    gap: 0.4rem;
}

.site-footer p {
    margin: 0;
}

.site-footer .footer-shell p:first-child {
    font-size: 1.5rem;
}

.site-footer a {
    color: #000;
}

.site-footer a:hover,
.site-footer a:focus-visible {
    color: var(--bb-blue-dark);
}

@media (max-width: 1180px) {
    .bb-page-wrap {
        margin-left: 0;
        margin-right: 0;
    }

@media (max-width: 900px) {
    .nav-shell,
    .primary-nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-section {
        min-height: auto;
        padding-bottom: 6rem;
    }

    .quote-form-section {
        margin-top: -4rem;
        background:
            linear-gradient(to bottom, transparent 0, transparent 4rem, var(--bb-cream) 4rem, var(--bb-cream) 100%);
    }

    .overlap-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .site-shell {
        width: min(100% - 1.25rem, var(--bb-shell));
    }

    .primary-nav {
        gap: 0.75rem;
        font-size: 0.72rem;
    }

    .hero-section {
        padding-top: 3rem;
        padding-bottom: 5rem;
    }

    .overlap-card,
    .form-panel {
        padding: 1.2rem;
    }

    .quote-step {
        grid-template-columns: 1fr;
        gap: 0.4rem;
    }
}