/* ==========================================================================
   We Buy Junk Homes — dedicated landing page styles (self-contained).
   All selectors are prefixed .jh- (plus a page-scoped body rule). This sheet
   loads only on this page, so the body background applies here and nowhere
   else. A single warm-brown gradient sits behind the WHOLE page; white cards
   float on top and on-brown text is light.
   ========================================================================== */

:root {
    --jh-navy: #1e3a8a;
    --jh-blue: #3b82f6;
    --jh-green: #10b981;
    --jh-green-d: #059669;
    --jh-ink: #1f2937;
    --jh-muted: #6b7280;
    --jh-line: #e5e7eb;

    /* Warm, home/wood-toned brown */
    --jh-brown-d: #3a2313;   /* dark walnut */
    --jh-brown: #8c5a30;     /* warm chestnut/oak */
    --jh-cream: #f6ede2;     /* light text on brown */
}

/* Full-page brown background (scoped to this page via the page-only <link>) */
body {
    background: linear-gradient(165deg, var(--jh-brown-d) 0%, var(--jh-brown) 100%);
    background-attachment: fixed;
    min-height: 100vh;
}

.jh-page {
    color: var(--jh-ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
}

.jh-page h1,
.jh-page h2,
.jh-page h3 {
    margin: 0 0 .5em;
    line-height: 1.2;
}

.jh-container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ----- Hero (sits on the page brown) ----- */
.jh-hero {
    background: transparent;
    color: #fff;
    text-align: center;
    padding: 72px 20px 64px;
}

.jh-hero h1 {
    color: #fff;
    font-size: clamp(2.25rem, 6vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -.5px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, .3);
}

.jh-hero-sub {
    font-size: clamp(1.05rem, 2.4vw, 1.4rem);
    font-weight: 500;
    opacity: .95;
    margin: 0 auto 28px;
    max-width: 640px;
}

.jh-phone-label {
    font-size: .95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: .9;
    margin: 8px 0 10px;
}

.jh-phone-btn {
    display: inline-block;
    border: none;
    cursor: pointer;
    font-family: inherit;
    background: var(--jh-green);
    color: #fff;
    font-size: clamp(1.4rem, 4vw, 1.9rem);
    font-weight: 800;
    text-decoration: none;
    padding: 14px 34px;
    border-radius: 999px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .3);
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.jh-phone-btn:hover {
    background: var(--jh-green-d);
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, .4);
}

.jh-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 440px;
    margin: 34px auto 0;
    color: rgba(255, 255, 255, .85);
    font-size: .85rem;
    letter-spacing: 1px;
}

.jh-divider::before,
.jh-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, .35);
}

/* ----- Lead form (white card on brown) ----- */
.jh-form-wrap {
    background: transparent;
    padding: 24px 20px 56px;
}

.jh-form-card {
    background: #fff;
    max-width: 660px;
    margin: 0 auto;
    border-radius: 16px;
    box-shadow: 0 16px 44px rgba(0, 0, 0, .32);
    padding: 36px;
}

.jh-form-title {
    text-align: center;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--jh-navy);
}

.jh-form-sub {
    text-align: center;
    color: var(--jh-muted);
    margin-bottom: 24px;
}

.jh-field {
    margin-bottom: 16px;
}

.jh-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.jh-field label {
    display: block;
    font-size: .88rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--jh-ink);
}

.jh-form-card input,
.jh-form-card select,
.jh-form-card textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d1d5db;
    border-radius: 9px;
    font-size: 1rem;
    font-family: inherit;
    color: var(--jh-ink);
    background: #fff;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.jh-form-card input:focus,
.jh-form-card select:focus,
.jh-form-card textarea:focus {
    outline: none;
    border-color: var(--jh-brown);
    box-shadow: 0 0 0 3px rgba(140, 90, 48, .18);
}

.jh-form-card textarea {
    resize: vertical;
}

.jh-submit {
    width: 100%;
    background: var(--jh-green);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 16px;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: .5px;
    cursor: pointer;
    margin-top: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background .15s ease, transform .15s ease;
}

.jh-submit:hover:not(:disabled) {
    background: var(--jh-green-d);
    transform: translateY(-1px);
}

.jh-submit:disabled {
    opacity: .7;
    cursor: not-allowed;
}

.jh-note {
    text-align: center;
    font-size: .85rem;
    color: var(--jh-muted);
    margin: 14px 0 0;
}

.jh-spinner {
    width: 18px;
    height: 18px;
    border: 3px solid rgba(255, 255, 255, .4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: jh-spin .7s linear infinite;
}

@keyframes jh-spin {
    to { transform: rotate(360deg); }
}

.jh-alert {
    padding: 12px 16px;
    border-radius: 9px;
    margin-bottom: 16px;
    font-weight: 600;
    font-size: .95rem;
}

.jh-alert-success {
    background: #dcfce7;
    color: #065f46;
    border: 1px solid #86efac;
}

.jh-alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.jh-validation,
.jh-form-card .validation-message {
    color: #dc2626;
    font-size: .82rem;
    margin-top: 4px;
}

/* Honeypot — hidden from humans, visible to dumb bots */
.jh-hp {
    position: absolute !important;
    left: -5000px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ----- Content bands (transparent so the page brown shows) ----- */
.jh-band {
    padding: 60px 20px;
    background: transparent;
}

.jh-band--light {
    background: transparent;
}

.jh-section-title {
    text-align: center;
    font-size: clamp(1.6rem, 4vw, 2.1rem);
    font-weight: 800;
    color: #fff;
    text-shadow: 0 2px 6px rgba(0, 0, 0, .3);
    margin-bottom: 36px;
}

.jh-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 22px;
    max-width: 1000px;
    margin: 0 auto;
}

.jh-card {
    background: #fff;
    border-radius: 14px;
    padding: 26px 22px;
    text-align: center;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .26);
}

.jh-card-icon {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.jh-card h3 {
    font-size: 1.12rem;
    color: var(--jh-navy);
}

.jh-card p {
    color: var(--jh-muted);
    font-size: .95rem;
    margin: 0;
}

/* ----- The cleanout edge band ----- */
.jh-edge {
    background: transparent;
    color: #fff;
    text-align: center;
    padding: 56px 20px;
}

.jh-edge h2 {
    color: #fff;
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 800;
    text-shadow: 0 2px 6px rgba(0, 0, 0, .3);
}

.jh-edge p {
    color: #fff;
    max-width: 620px;
    margin: 0 auto;
    font-size: 1.1rem;
    opacity: .95;
}

/* ----- Steps (light text on brown) ----- */
.jh-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 22px;
    max-width: 920px;
    margin: 0 auto;
}

.jh-step {
    text-align: center;
    padding: 10px;
}

.jh-step-num {
    width: 48px;
    height: 48px;
    margin: 0 auto 14px;
    background: var(--jh-green);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 800;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .3);
}

.jh-step h3 {
    font-size: 1.1rem;
    color: #fff;
}

.jh-step p {
    color: rgba(255, 255, 255, .88);
    font-size: .95rem;
    margin: 0;
}

.jh-step a {
    color: #fff;
    font-weight: 700;
    text-decoration: underline;
}

/* ----- FAQ (white cards on brown) ----- */
.jh-faq {
    max-width: 760px;
    margin: 0 auto;
    display: grid;
    gap: 16px;
}

.jh-faq-item {
    background: #fff;
    border-radius: 12px;
    padding: 22px 24px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .22);
}

.jh-faq-item h3 {
    font-size: 1.05rem;
    color: var(--jh-navy);
    margin-bottom: 8px;
}

.jh-faq-item p {
    color: var(--jh-muted);
    margin: 0;
}

/* ----- Final CTA ----- */
.jh-final {
    background: transparent;
    color: #fff;
    text-align: center;
    padding: 64px 20px;
}

.jh-final h2 {
    color: #fff;
    font-size: clamp(1.7rem, 4.5vw, 2.4rem);
    font-weight: 800;
    text-shadow: 0 2px 6px rgba(0, 0, 0, .3);
}

.jh-final p {
    color: #fff;
    opacity: .95;
    margin-bottom: 26px;
}

.jh-final .jh-phone-btn {
    margin-top: 8px;
}

.jh-final-or {
    color: #fff;
    margin-top: 26px;
    font-size: 1.05rem;
    opacity: .9;
}

/* ----- Floating phone (mobile) ----- */
.jh-floating-phone {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 58px;
    height: 58px;
    background: var(--jh-green);
    color: #fff;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .5);
    z-index: 999;
}

/* ----- Responsive ----- */
@media (max-width: 640px) {
    .jh-row {
        grid-template-columns: 1fr;
    }

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

    .jh-hero {
        padding: 56px 18px 48px;
    }

    .jh-floating-phone {
        display: flex;
    }

    /* iOS performs better with a scrolling gradient than a fixed one */
    body {
        background-attachment: scroll;
    }
}

/* A2P 10DLC consent. This page's styles are a plain stylesheet rather than a scoped one, so
   these rules live here alongside the rest of the form. */
.jh-consent {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin: 1rem 0 0.25rem;
    text-align: left;
}

.jh-check {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    cursor: pointer;
    line-height: 1.45;
    font-size: 0.78rem;
    color: #6B7280;
}

    .jh-check input[type="checkbox"] {
        width: 16px;
        height: 16px;
        margin: 2px 0 0;
        accent-color: #10b981;
        flex-shrink: 0;
    }

.jh-legal {
    text-align: center;
    margin-top: 0.75rem;
    font-size: 0.8rem;
    color: #9CA3AF;
}

    .jh-legal a {
        color: #10b981;
        text-decoration: none;
        font-weight: 500;
        margin: 0 0.4rem;
    }

        .jh-legal a:hover { text-decoration: underline; }
