/* ═══════════════════════════════════════════════════════════
   bridgepage3.css — Modern bridge page layout
   Extends newbridgepage.css with standalone-inspired design
   ═══════════════════════════════════════════════════════════ */

/* ── Base overrides ───────────────────────────────────────── */
header {
    min-height: auto;
    min-width: auto;
    font-family: 'Inter', 'Source Sans 3', sans-serif;
    background: #fafafc;
}
article {
    font-family: 'Inter', 'Source Sans 3', sans-serif;
}

/* ── Sticky Navbar ────────────────────────────────────────── */
.bp3-sticky-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #fafafc;
    border-bottom: 1px solid #e5e7eb;
    width: 100%;
}
#header_top {
    position: static;
    max-width: 960px;
    width: 100%;
    height: auto;
    padding: 2px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    box-sizing: border-box;
    border-bottom: none;
    background: transparent;
}
#header_company_logo {
    float: none;
    width: auto;
    height: auto;
    padding: 0;
    display: flex;
    align-items: center;
}
#header_company_logo img {
    max-height: 70px;
    max-width: 240px;
}
#header_company_phone {
    float: none;
    width: auto;
    height: auto;
    padding: 0;
}
#header_company_phone p {
    float: none;
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    font-weight: 600;
    padding: 0;
}
#header_company_phone p a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1.5px solid var(--bp3-cta-color, #fb8424);
    border-radius: 9999px;
    padding: 10px 19px;
    color: var(--bp3-cta-color, #fb8424);
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
}
#header_company_phone p a:hover {
    background: var(--bp3-cta-color, #fb8424);
    color: #fff;
    text-decoration: none;
}
.bp3-phone-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* ── Hero Section ─────────────────────────────────────────── */
#header_background {
    width: 100%;
    min-height: auto;
    padding: 40px 20px 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: radial-gradient(ellipse 200% 100% at 50% 100%, var(--bp3-grad1, #3d6ef5) 0%, var(--bp3-grad2, #0831c4) 30%, var(--bp3-grad3, #001793) 70%);
}
header h1 {
    text-align: center;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: clamp(26px, 4vw, 40px);
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.15;
    margin: 0 0 24px 0;
    padding: 0;
    max-width: 400px;
}
#header_content {
    max-width: 400px;
    min-height: auto;
    margin: 0;
    width: 100%;
    display: block;
}
#header_left {
    display: none;
}
#header_right {
    float: none;
    width: 100%;
    max-width: 400px;
    height: auto;
    margin: 0;
    padding: 0;
    display: block;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
}

/* ── Form overrides inside hero card ──────────────────────── */
#questions {
    margin-top: 0;
}
.question {
    width: 100%;
    padding: 8px 16px;
}
.q100 p {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #111827;
}
.q100 p.secondarytext {
    font-size: 12px;
    color: #6b7280;
}
.question {
    min-height: unset;
}
.q100 {
    padding-bottom: 2px;
}
.question input:not([type="checkbox"]):not([type="radio"]) {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    border: none;
    border-bottom: 1px solid #e5e7eb;
    background: #f9fafb;
    border-radius: 9999px;
    padding: 12px 20px;
    height: 48px;
    color: #111827;
}
.question input::placeholder {
    color: #9ca3af !important;
}
.question input[type=submit], .question button {
    background: var(--bp3-cta-color, #fb8424) !important;
    color: #fff !important;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: 9999px;
    padding: 14px;
    width: 100%;
    max-width: 100%;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px 0;
    transition: filter 0.2s;
}
.question input[type=submit]:hover, .question button:hover {
    filter: brightness(0.9);
}
.div_radio_checkbox {
    width: 100%;
    margin: 0;
}
.div_radio_checkbox span {
    font-family: 'Inter', sans-serif;
}
.div_radio_checkbox span.two_radios {
    border-radius: 16px;
    padding: 10px 16px;
    font-size: 16px;
}
.div_radio_checkbox span.two_radios_unchecked {
    background: #fff;
    border: 1px solid #e5e7eb;
}
.div_radio_checkbox span.two_radios_checked {
    background: #f3f4f6;
    border: 1px solid #d1d5db;
    font-weight: 500;
}
.steps {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: #6b7280;
}
p#question_response {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #111827;
    text-align: center;
    padding: 24px;
    margin: 0;
}
p#question_response.whitebg {
    color: #111827;
}

/* TCPA text below the form */
.bp3-tcpa {
    font-size: 11px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    margin-top: 12px;
    max-width: 400px;
}

/* ── Breadcrumb ───────────────────────────────────────────── */
.bp3-breadcrumb {
    background: #fafafc;
    border-bottom: 1px solid #e5e7eb;
    padding: 10px 20px;
    width: 100%;
}
.bp3-breadcrumb nav {
    max-width: 920px;
    margin: 0 auto;
}
.bp3-breadcrumb ol {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    margin: 0;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
}
.bp3-breadcrumb li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6b7280;
}
.bp3-breadcrumb a {
    color: #6b7280;
    text-decoration: none;
}
.bp3-breadcrumb a:hover {
    text-decoration: underline;
}
.bp3-breadcrumb .bp3-breadcrumb-current {
    color: #111827;
    font-weight: 500;
}
.bp3-breadcrumb-separator {
    color: #d1d5db;
}

/* ── About Section ────────────────────────────────────────── */
#about_company {
    max-width: 960px;
    width: 100%;
    margin: 0 auto;
    padding: 40px 20px;
    height: auto;
    display: flex;
    gap: 48px;
    margin-bottom: 0;
}
#about_company_info {
    float: none;
    width: 160px;
    flex-shrink: 0;
    margin-top: 0;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    order: -1;
}
#about_company_logo {
    width: 100%;
    height: 80px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0 12px;
    margin-top: 0;
}
#about_company_logo img {
    width: auto;
    max-width: 130px;
    max-height: 60px;
}
.about_company_phone {
    width: 100%;
    margin-top: 0;
    height: auto;
}
.about_company_phone p {
    font-family: 'Inter', sans-serif;
    font-size: 19px;
    font-weight: 600;
    text-align: center;
    width: 100%;
    padding: 12px 16px;
    border-radius: 9999px;
    border: 1.5px solid var(--bp3-cta-color, #fb8424) !important;
}
.about_company_phone p a {
    color: var(--bp3-cta-color, #fb8424);
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    display: block;
}
.about_company_phone p:hover {
    background: var(--bp3-cta-color, #fb8424);
}
.about_company_phone p:hover a {
    color: #fff;
    text-decoration: none;
}
#company_text {
    float: none;
    width: auto;
    flex: 1;
    height: auto;
    order: 1;
}
#company_text h2 {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin-top: 0;
    margin-bottom: 20px;
    text-align: left;
}
#company_text p {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #444;
}

/* ── Reviews Section ──────────────────────────────────────── */
.bp3-reviews {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px 48px;
}
.bp3-reviews h3 {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 20px;
}
.bp3-review-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
}
.bp3-review-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}
.bp3-review-stars {
    display: flex;
    align-items: center;
    gap: 2px;
}
.bp3-review-stars img {
    display: inline-block;
    width: 16px;
    height: 17px;
    filter: brightness(1.5) hue-rotate(130deg);
}
.bp3-review-date {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: #6b7280;
    white-space: nowrap;
    flex-shrink: 0;
}
.bp3-review-author {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
}
.bp3-review-name {
    font-weight: 700;
    font-size: 16px;
    color: #111827;
}
.bp3-review-location {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #6b7280;
}
.bp3-review-location svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}
.bp3-review-text {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}

/* ── FAQ Accordion ────────────────────────────────────────── */
.bp3-faq {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px 48px;
}
.bp3-faq h3 {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 20px;
}
.bp3-faq-list {
    border: 1px solid #e5e7eb;
    border-radius: 15px;
    overflow: hidden;
}
.bp3-faq-item {
    border-bottom: 1px solid #e5e7eb;
}
.bp3-faq-item:last-child {
    border-bottom: none;
}
.bp3-faq-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 16px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #111827;
    text-align: left;
    gap: 16px;
}
.bp3-faq-trigger:hover {
    background: #fafafa;
}
.bp3-faq-chevron {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
    color: #6b7280;
}
.bp3-faq-open .bp3-faq-chevron {
    transform: rotate(180deg);
}
.bp3-faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.bp3-faq-open .bp3-faq-content {
    max-height: 500px;
}
.bp3-faq-answer {
    padding: 0 16px 16px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #6b7280;
}

/* ── Author Credentials ───────────────────────────────────── */
.bp3-author {
    background: #f4f4f5;
    padding: 32px 20px;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}
.bp3-author-inner {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    flex-wrap: wrap;
}
.bp3-author-badge {
    flex-shrink: 0;
}
.bp3-author-text {
    flex: 1;
    min-width: 200px;
}
.bp3-author-name {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 4px;
}
.bp3-author-description {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    line-height: 1.6;
    color: #6b7280;
}

/* ── Custom Footer ────────────────────────────────────────── */
.bp3-footer {
    background: var(--bp3-footer-bg, #2C1C5F);
    padding: 24px 20px;
    text-align: center;
    height: auto;
    min-height: auto;
    min-width: auto;
    background-size: auto;
    background-position: initial;
}
.bp3-footer p {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: #dedee4;
    max-width: 960px;
    margin: 0 auto;
}

/* ── Deals section override ───────────────────────────────── */
#deals {
    font-family: 'Inter', sans-serif;
    max-width: 960px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px 48px;
}
#deals .deals_content {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
}
#deals h3 {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #111827;
}
#deals h4 {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #6b7280;
}
#deals ul li {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #444;
}

/* ── Form steps and navigation (bridgepage3-specific HTML) ── */

/* Steps bar at top of each form page */
.bp3-steps-bar {
    text-align: center;
    padding: 12px 16px 10px;
    border-bottom: 1px solid #e5e7eb;
}
.bp3-steps-text {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: #6b7280;
    font-weight: 400;
    margin: 0;
    line-height: 1.4;
}

/* Back button beside the action button */
.question button.bp3-back-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 9999px !important;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    color: #6b7280 !important;
    text-decoration: none !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    text-transform: none !important;
    flex-shrink: 0;
    transition: background 0.2s;
    cursor: pointer;
}
.question button.bp3-back-btn:hover {
    background: #f3f4f6 !important;
    text-decoration: none !important;
    color: #6b7280 !important;
    filter: none !important;
}

/* "Back" text link below the submit button (last page) */
.question button.bp3-back-text {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    padding: 8px 0 !important;
    margin: 0 !important;
    background: none !important;
    border: none !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #6b7280 !important;
    text-transform: none !important;
    text-decoration: none !important;
    cursor: pointer;
    border-radius: 9999px !important;
    transition: color 0.2s;
}
.question button.bp3-back-text:hover {
    color: #111827 !important;
    text-decoration: none !important;
    filter: none !important;
}

/* Action button area — flex row for back + button */
.q100.qcenter {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 16px 2px;
}
.q100.qcenter .action_button {
    flex: 1;
}

/* TCPA section — inside the form card */
.q100.qcenter.tcpa {
    padding: 0 16px 12px !important;
}
.q100.qcenter.tcpa p {
    font-size: 11px;
    line-height: 1.5;
    color: #6b7280;
    font-weight: 400;
    text-align: center;
}

/* ── Radio/checkbox answer field styling ─────────────────── */
.div_radio_checkbox {
    width: 100%;
    max-width: 100%;
}
.div_radio_checkbox label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px;
    border-radius: 16px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #111827;
    transition: background-color 0.15s;
    margin: 2px 0;
}
.div_radio_checkbox label:hover {
    background: #fafafa;
}
.div_radio_checkbox label:has(input:checked) {
    background: #f3f4f6;
    font-weight: 500;
}
.div_radio_checkbox label input[type="radio"],
.div_radio_checkbox label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #00a155;
    flex-shrink: 0;
    margin: 0;
    position: static;
    top: auto;
}
.div_radio_checkbox label span {
    font-size: 16px;
    font-family: 'Inter', sans-serif;
}
/* Two-radio variant improvements */
.div_radio_checkbox span.two_radios {
    border-radius: 16px;
    padding: 10px 16px;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    transition: background-color 0.15s;
}
.div_radio_checkbox span.two_radios_unchecked {
    background: #fff;
    border: 1px solid #e5e7eb;
    color: #111827;
}
.div_radio_checkbox span.two_radios_unchecked:hover {
    background: #fafafa;
}
.div_radio_checkbox span.two_radios_checked {
    background: #f3f4f6;
    border: 1px solid #d1d5db;
    font-weight: 500;
    color: #111827;
}

/* ── Button state ────────────────────────────────────────── */
.question button.action_button {
    cursor: pointer;
    opacity: 1;
}
.question button.action_button:disabled {
    cursor: wait;
    opacity: 0.7;
}

/* ═══════════════════════════════════════════════════════════
   Responsive
   ═══════════════════════════════════════════════════════════ */

@media (max-width: 640px) {
    #about_company {
        flex-direction: column;
        gap: 24px;
        padding: 32px 20px;
    }
    #about_company_info {
        width: 160px;
        order: 2;
        margin: 0 auto;
    }
    #company_text {
        order: 1;
    }
    #company_text h2 {
        text-align: left;
    }
}

@media (max-width: 480px) {
    header {
        min-width: auto;
    }
    header h1 {
        font-size: 26px;
    }
    #header_background {
        padding: 32px 16px 40px;
    }
    #header_company_logo {
        width: auto;
    }
    #header_company_logo img {
        max-height: 50px;
        max-width: 160px;
    }
    #header_company_phone p {
        font-size: 13px;
    }
    #header_company_phone p a {
        padding: 6px 12px;
        gap: 6px;
    }
    #header_right {
        max-width: 100%;
    }
    .question input[type=submit], .question button {
        padding: 12px;
    }
    .bp3-breadcrumb ol {
        font-size: 13px;
    }
}

@media (max-width: 360px) {
    #header_company_phone p a {
        font-size: 12px;
        padding: 6px 10px;
    }
}

@media (max-width: 319px) {
    header {
        min-width: auto;
        width: 100%;
    }
}

@media (min-width: 768px) {
    #header_background {
        padding: 64px 20px;
    }
    #header_background {
        background: radial-gradient(ellipse at 50% 70%, var(--bp3-grad1, #3d6ef5) 0%, var(--bp3-grad2, #0831c4) 30%, var(--bp3-grad3, #001793) 70%);
    }
}
