/* Businesses Wanted — page styles.
   Ported from the supplied design source and scoped to .bw-page so no rule
   leaks into the global site header/footer. Orange CTA colours resolve to the
   global brand token (--orange) defined in /header-footer2/index.css. */

        .bw-page {
            --brand-orange: var(--orange);
            --brand-orange-hover: #e08900;
            --brand-orange-tint: #fffdf9;
            --brand-black: #000000;
            --brand-navy: #000b26;
            --text-main: #1a202c;
            --text-muted: #4a5568;
            --bg-light: #f7fafc;
            --white: #ffffff;
            --page-margin: 8%;
            /* Single source of truth for the page content column. .hero-card is
               the reference: max-width --content-max, centred inside the
               --page-margin gutters of .hero-outer. */
            --content-max: 1200px;
            --placeholder-bg: #e2e8f0;
            --placeholder-text: #94a3b8;
        }
        
        .bw-page {
            font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
            line-height: 1.5;
            color: var(--text-main);
            margin: 0;
            padding: 0;
            background-color: var(--white);
        }

        .bw-page header {
            background-color: var(--brand-black);
            border-bottom: 3px solid var(--brand-orange);
            padding: 24px var(--page-margin);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .bw-page .brand-logo {
            font-weight: 800;
            font-size: 1.4rem;
            color: var(--white);
            letter-spacing: -0.5px;
        }
        .bw-page .brand-logo span {
            color: var(--brand-orange);
        }

        /* Hero Outer Frame */
        .bw-page .hero-outer {
            background-color: var(--bg-light);
            padding: 80px var(--page-margin);
        }

        .bw-page .hero-card {
            background-color: var(--white);
            border: 1px solid #e2e8f0; 
            border-radius: 12px;
            max-width: var(--content-max);
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1.15fr 0.85fr; 
            overflow: hidden; 
            box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
            position: relative;
        }

        .bw-page .hero-left {
            padding: 60px 50px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            z-index: 2; 
        }

        .bw-page .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background-color: #fff6e6;
            color: #b36b00;
            font-size: 0.85rem;
            font-weight: 700;
            padding: 6px 14px;
            border-radius: 20px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            width: fit-content;
            margin-bottom: 20px;
            border: 1px solid #ffe3b3;
        }

        .bw-page .hero-badge-dot {
            width: 8px;
            height: 8px;
            background-color: var(--brand-orange);
            border-radius: 50%;
        }

        .bw-page h1 {
            color: var(--brand-black);
            font-size: 2.8rem;
            font-weight: 800;
            margin: 0 0 12px 0;
            line-height: 1.15;
            letter-spacing: -0.5px;
        }

        .bw-page .hero-subheading {
            font-size: 1.35rem;
            font-weight: 700;
            color: var(--brand-navy);
            margin: 0 0 16px 0;
            line-height: 1.3;
        }

        .bw-page .hero-text {
            font-size: 1.1rem;
            color: var(--text-muted);
            margin-bottom: 30px;
            max-width: 95%; 
            line-height: 1.6;
        }

        .bw-page .hero-stats-mini {
            display: flex;
            gap: 24px;
            border-top: 1px solid #edf2f7;
            padding-top: 24px;
        }

        .bw-page .hero-stat-item strong {
            display: block;
            font-size: 1.25rem;
            color: var(--brand-navy);
            font-weight: 800;
        }

        .bw-page .hero-stat-item span {
            font-size: 0.85rem;
            color: var(--text-muted);
        }

        /* Acquisition Card Form Styling */
        .bw-page .hero-right-card, .bw-page .bottom-form-card {
            background-color: #fafbfc;
            padding: 40px 35px;
            border-radius: 12px;
            border: 1px solid #e2e8f0;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .bw-page .hero-right-card {
            border-radius: 0;
            border-left: 1px solid #e2e8f0;
            border-top: none;
            border-right: none;
            border-bottom: none;
            box-shadow: none;
        }

        .bw-page .card-header-title {
            font-size: 1.3rem;
            font-weight: 800;
            color: var(--brand-navy);
            margin: 0 0 6px 0;
        }

        .bw-page .card-header-subtitle {
            font-size: 0.9rem;
            color: var(--text-muted);
            margin: 0 0 24px 0;
        }

        .bw-page .hero-form-stack {
            display: flex;
            flex-direction: column;
            gap: 14px;
        }

        .bw-page .hero-input-control {
            width: 100%;
            padding: 14px 18px;
            border: 1px solid #cbd5e1;
            border-radius: 8px;
            background-color: var(--white);
            font-size: 0.95rem;
            color: var(--text-main);
            box-sizing: border-box;
            transition: all 0.2s ease;
        }

        .bw-page .hero-input-control:focus {
            outline: none;
            border-color: var(--brand-orange);
            box-shadow: 0 0 0 3px rgba(255, 156, 0, 0.15);
        }

        .bw-page select.hero-input-control {
            appearance: none;
            -webkit-appearance: none;
            background-image: url("data:image/svg+xml;utf8,<svg fill='%2364748b' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
            background-repeat: no-repeat;
            background-position: right 14px center;
            cursor: pointer;
        }

        .bw-page .hero-submit-btn {
            background-color: var(--brand-orange);
            color: var(--brand-black);
            border: none;
            padding: 16px;
            font-size: 1.05rem;
            font-weight: 700;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.15s ease-in-out;
            margin-top: 6px;
            box-shadow: 0 4px 12px rgba(255, 156, 0, 0.25);
            text-align: center;
        }

        .bw-page .hero-submit-btn:hover {
            background-color: var(--brand-orange-hover);
            transform: translateY(-1px);
        }

        /* Centralized Value Proposition Section */
        .bw-page .value-prop-section {
            padding: 100px var(--page-margin) 60px var(--page-margin);
            max-width: 1200px;
            margin: 0 auto;
        }

        .bw-page .value-prop-section h2 {
            font-size: 2rem;
            color: var(--brand-black);
            font-weight: 800;
            margin-top: 0;
            margin-bottom: 50px;
            line-height: 1.4;
            text-align: center;
        }

        .bw-page .value-prop-split {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 50px;
            align-items: center;
        }

        .bw-page .value-prop-graphic {
            width: 100%;
            height: 320px;
            background-color: var(--placeholder-bg);
            border-radius: 6px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--placeholder-text);
            font-weight: 600;
            font-size: 1rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            box-sizing: border-box;
            border: 1px dashed #cbd5e1;
        }

        .bw-page .value-prop-text {
            font-size: 1.15rem;
            color: var(--text-muted);
            line-height: 1.7;
            margin: 0;
        }

        /* High Impact Data Metrics Section */
        .bw-page .metrics-section {
            padding: 40px var(--page-margin) 80px var(--page-margin);
            max-width: 1200px;
            margin: 0 auto;
        }

        .bw-page .metrics-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 24px;
        }

        .bw-page .metric-card {
            background-color: #fff6e6;
            border-radius: 16px;
            padding: 60px 30px;
            text-align: center;
            box-sizing: border-box;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
        }

        .bw-page .metric-large {
            font-size: 4.8rem;
            font-weight: 800;
            color: var(--brand-navy);
            line-height: 1.1;
            margin-bottom: 16px;
            letter-spacing: -1px;
        }

        .bw-page .metric-desc {
            font-size: 1.15rem;
            color: var(--brand-navy);
            font-weight: 500;
            margin: 0;
            max-width: 85%;
            line-height: 1.4;
        }

        /* Powerful Targeting UI Grid Section */
        .bw-page .targeting-section {
            padding: 80px var(--page-margin) 100px var(--page-margin);
            max-width: 1200px;
            margin: 0 auto;
        }

        .bw-page .targeting-section h2 {
            font-size: 2.5rem;
            color: var(--brand-black);
            font-weight: 800;
            margin-top: 0;
            margin-bottom: 40px;
            letter-spacing: -0.5px;
        }

        .bw-page .targeting-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
        }

        .bw-page .targeting-tile {
            background-color: #ffffff;
            border: 1px solid #e2e8f0; 
            border-radius: 12px;
            padding: 36px 30px;
            box-sizing: border-box;
            transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
        }

        .bw-page .targeting-tile:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.06);
            border-color: #ffe3b3;
        }

        .bw-page .tile-header {
            display: flex;
            align-items: center;
            gap: 16px;
            margin-bottom: 20px;
        }

        /* Soft Tinted Container & Vibrant Orange Vector Icon Styling */
        .bw-page .tile-icon {
            background-color: #fff3e0; 
            color: var(--brand-orange);
            width: 52px;
            height: 52px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            border: 1px solid #ffe8cc;
            box-shadow: 0 2px 6px rgba(255, 156, 0, 0.08);
        }

        .bw-page .tile-icon svg {
            width: 26px;
            height: 26px;
            stroke: currentColor;
            stroke-width: 2;
            stroke-linecap: round;
            stroke-linejoin: round;
            fill: none;
        }

        .bw-page .tile-header h3 {
            font-size: 1.35rem;
            color: var(--brand-navy);
            font-weight: 800;
            margin: 0;
            line-height: 1.25;
        }

        .bw-page .tile-body {
            font-size: 0.95rem;
            color: var(--text-muted);
            line-height: 1.65;
            margin: 0;
        }

        /* Slidable Testimonials Segment */
        .bw-page .testimonial-section {
            padding: 100px var(--page-margin) 60px var(--page-margin);
            background-color: var(--white);
            max-width: 1200px;
            margin: 0 auto;
        }

        .bw-page .testimonial-header-wrap {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 40px;
        }

        .bw-page .testimonial-header-wrap h2 {
            font-size: 2.3rem;
            font-weight: 800;
            color: var(--brand-navy);
            margin: 0;
        }

        .bw-page .testimonial-nav-btns {
            display: flex;
            gap: 12px;
        }

        .bw-page .testimonial-nav-btn {
            width: 44px;
            height: 44px;
            border-radius: 50%;
            border: 1px solid #cbd5e1;
            background-color: var(--white);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.2s ease;
            color: #64748b;
        }

        .bw-page .testimonial-nav-btn:hover {
            border-color: var(--brand-navy);
            color: var(--brand-navy);
            background-color: var(--bg-light);
        }

        .bw-page .testimonial-nav-btn svg {
            width: 16px;
            height: 16px;
            fill: none;
            stroke: currentColor;
            stroke-width: 2;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        .bw-page .testimonial-slider-container {
            overflow: hidden;
            width: 100%;
        }

        .bw-page .testimonial-slider-track {
            display: flex;
            gap: 30px;
            transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
        }

        .bw-page .testimonial-card-v2 {
            flex: 0 0 calc(50% - 15px); 
            border: 1px solid #e2e8f0;
            border-radius: 20px;
            padding: 45px;
            background: var(--white);
            box-sizing: border-box;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.01);
        }

        .bw-page .quote-icon-graphics {
            color: #e2e8f0;
            margin-bottom: 24px;
            height: 32px;
        }

        .bw-page .quote-icon-graphics svg {
            width: 45px;
            height: 32px;
            fill: currentColor;
        }

        .bw-page .testimonial-card-v2 h3 {
            font-size: 1.35rem;
            font-weight: 700;
            color: #334155;
            margin: 0 0 16px 0;
            line-height: 1.4;
        }

        .bw-page .testimonial-body-text {
            font-size: 1.05rem;
            color: #64748b;
            line-height: 1.6;
            margin: 0 0 40px 0;
        }

        .bw-page .testimonial-profile-meta {
            display: flex;
            align-items: center;
            gap: 16px;
        }

        .bw-page .profile-avatar-stack {
            position: relative;
            width: 68px;
            height: 60px;
            flex-shrink: 0;
        }

        .bw-page .avatar-img-circle {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            background-color: #cbd5e1;
            display: flex;
            align-items: center;
            justify-content: center;
            position: absolute;
            left: 0;
            top: 6px;
            z-index: 2;
            color: var(--white);
            font-weight: bold;
        }

        .bw-page .logo-img-circle {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            background-color: var(--brand-navy);
            color: var(--white);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.65rem;
            font-weight: 700;
            position: absolute;
            right: 0;
            top: 6px;
            z-index: 1;
            border: 2px solid var(--white);
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            text-align: center;
            line-height: 1.1;
            padding: 2px;
            box-sizing: border-box;
        }

        .bw-page .author-text-details h4 {
            font-size: 1.15rem;
            font-weight: 700;
            color: var(--brand-navy);
            margin: 0 0 4px 0;
        }

        .bw-page .author-text-details p {
            font-size: 0.9rem;
            color: #64748b;
            margin: 0;
        }

        /* FAQ Area Layout */
        .bw-page .faq-section-wrapper {
            background-color: #f3f7fa; 
            padding: 80px var(--page-margin);
        }

        .bw-page .faq-outer-container {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 0.8fr 1.2fr;
            gap: 60px;
            align-items: center;
        }

        .bw-page .faq-title-side h2 {
            font-size: 2.8rem;
            font-weight: 800;
            color: var(--brand-navy);
            margin: 0 0 16px 0;
            line-height: 1.2;
            letter-spacing: -0.5px;
        }

        .bw-page .faq-rounded-accordion-panel {
            background-color: var(--white);
            border-radius: 24px;
            border: 1px solid #e2e8f0;
            padding: 15px 40px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.01);
        }

        .bw-page .faq-accordion-node {
            border-bottom: 1px solid #e2e8f0;
        }

        .bw-page .faq-accordion-node:last-child {
            border-bottom: none;
        }

        .bw-page .faq-accordion-trigger {
            width: 100%;
            background: none;
            border: none;
            padding: 24px 0;
            display: flex;
            justify-content: space-between;
            align-items: center;
            text-align: left;
            cursor: pointer;
            color: var(--brand-navy);
            font-size: 1.15rem;
            font-weight: 700;
            transition: color 0.2s ease;
        }

        .bw-page .faq-accordion-trigger:hover {
            color: var(--brand-orange);
        }

        .bw-page .faq-accordion-arrow-icon {
            color: var(--brand-orange);
            transition: transform 0.3s ease;
            flex-shrink: 0;
            margin-left: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .bw-page .faq-accordion-arrow-icon svg {
            width: 20px;
            height: 20px;
            fill: none;
            stroke: currentColor;
            stroke-width: 2;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        .bw-page .faq-accordion-content {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
        }

        .bw-page .faq-accordion-content p {
            font-size: 1.05rem;
            color: #64748b;
            line-height: 1.6;
            margin: 0 0 24px 0;
        }

        .bw-page .faq-accordion-node.is-expanded .faq-accordion-arrow-icon {
            transform: rotate(180deg);
        }

        .bw-page .faq-accordion-node.is-expanded .faq-accordion-content {
            max-height: 1000px;
            transition: max-height 0.3s cubic-bezier(1, 0, 1, 0);
        }

        /* Bottom Form Section Layout */
        .bw-page .form-section {
            background-color: var(--white);
            padding: 80px var(--page-margin);
        }

        .bw-page .broker-form-header {
            text-align: center;
            max-width: 1000px;
            margin: 0 auto 40px auto;
        }

        .bw-page .broker-form-header h2 {
            font-size: 3.2rem;
            font-weight: 800;
            color: var(--brand-navy);
            margin: 0 0 16px 0;
            letter-spacing: -0.5px;
        }

        .bw-page .broker-form-header p {
            font-size: 1.15rem;
            color: #334155;
            margin: 0 auto;
            max-width: 600px;
            line-height: 1.5;
        }

        .bw-page .bottom-form-container {
            max-width: 600px;
            margin: 0 auto;
        }

        .bw-page footer {
            background-color: var(--brand-black);
            color: #888888;
            text-align: center;
            padding: 40px 30px;
            font-size: 0.85rem;
            border-top: 1px solid rgba(255,255,255,0.1);
        }

        @media (max-width: 900px) {
            .bw-page .hero-card { grid-template-columns: 1fr; }
            .bw-page .hero-right-card { border-left: none; border-top: 1px solid #e2e8f0; padding: 30px 24px; border-radius: 0; }
            .bw-page .hero-outer { padding: 40px var(--page-margin); }
            .bw-page .hero-left { padding: 35px 24px; }
            .bw-page .hero-text { max-width: 100%; }
            .bw-page .hero-left h1 { font-size: 2.1rem; }
            .bw-page .hero-subheading { font-size: 1.15rem; }
            .bw-page .hero-stats-mini { flex-wrap: wrap; gap: 16px; }
            .bw-page .value-prop-section { padding: 60px var(--page-margin) 40px var(--page-margin); }
            .bw-page .metrics-section { padding: 20px var(--page-margin) 40px var(--page-margin); }
            .bw-page .metric-card { padding: 40px 20px; }
            .bw-page .metric-large { font-size: 3.5rem; }
            .bw-page .targeting-section { padding: 50px var(--page-margin) 60px var(--page-margin); }
            .bw-page .testimonial-section { padding: 60px var(--page-margin) 30px var(--page-margin); }
            .bw-page .testimonial-card-v2 { flex: 0 0 100%; padding: 30px; }
            .bw-page .testimonial-header-wrap h2 { font-size: 1.8rem; }
            .bw-page .faq-section-wrapper { padding: 60px var(--page-margin); }
            .bw-page .faq-outer-container { grid-template-columns: 1fr; gap: 40px; }
            .bw-page .faq-title-side h2 { font-size: 2.2rem; }
            .bw-page .faq-rounded-accordion-panel { padding: 10px 20px; }
            .bw-page .faq-accordion-trigger { font-size: 1.05rem; }
            .bw-page .form-section { padding: 60px var(--page-margin); }
            .bw-page .broker-form-header h2 { font-size: 2.2rem; }
            .bw-page .value-prop-section h2 { font-size: 1.6rem; margin-bottom: 25px; }
            .bw-page .value-prop-split { grid-template-columns: 1fr; gap: 25px; }
            /* No fixed height on mobile: the graphic keeps the image's aspect
               ratio so the artwork stays fully visible edge to edge. */
            .bw-page .value-prop-graphic { height: auto; }
            .bw-page .targeting-grid { grid-template-columns: 1fr; gap: 16px; }
            .bw-page .targeting-section h2 { font-size: 1.8rem; }
        }
/* ==========================================================================
   Rightbiz brand alignment — appended overrides
   Scoped to .bw-page so nothing leaks into the global header/footer.
   All orange uses the global brand token (--orange / --orange-d-1).
   ========================================================================== */

.bw-page {
    --brand-orange-hover: var(--orange-d-1);
    --brand-orange-tint: #fff6e6;
}

/* Hero H1 — same text gradient used by the Rightbiz hero title */
.bw-page .hero-left h1,
.bw-page .hero-left .hero-title {
    font-family: 'Roboto Condensed', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: 0.35px;
    background-image: linear-gradient(135deg, var(--dark), var(--blue));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* Primary CTAs always use the brand token */
.bw-page .hero-submit-btn,
.bw-page .bw-cta {
    background-color: var(--brand-orange);
    color: #fff;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 700;
    transition: background-color .2s ease, transform .2s ease;
}

.bw-page .hero-submit-btn:hover,
.bw-page .bw-cta:hover {
    background-color: var(--brand-orange-hover);
}

.bw-page .hero-submit-btn:focus-visible,
.bw-page .bw-cta:focus-visible {
    outline: 3px solid rgba(34, 95, 172, .35);
    outline-offset: 2px;
}

/* ---------------- Search form: mirrors the site search bar ---------------- */

.bw-page .bw-search-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0;
}

.bw-page .bw-field {
    margin: 0;
    text-align: left;
}

.bw-page .bw-field-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 6px;
    letter-spacing: .2px;
}

.bw-page .bw-field-control {
    position: relative;
}

/* Suggestions dropdown lives in the homepage-parity block at the end of this
   file (`.bw-search-form .form__autocomplete`). */

.bw-page .bw-field-control .form-control:not(.form-control-autocomplete) {
    display: block;
    width: 100%;
    height: 50px;
    box-sizing: border-box;
    padding: 0 16px 0 44px;
    border: 1px solid #dde3ea;
    border-radius: 8px;
    background-color: #fff;
    color: var(--dark);
    font-size: 15px;
    font-family: inherit;
    line-height: 1.2;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.bw-page .bw-field-control select.form-control {
    padding-left: 16px;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23263238' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
}

.bw-page .bw-field-control .form-control::placeholder {
    color: #8a97a5;
    opacity: 1;
}

.bw-page .bw-field-control .form-control:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(34, 95, 172, .15);
}

/* Value-prop graphic — real imagery instead of the source's placeholder box.
   The box height is derived from the asset's own aspect ratio (currently the
   landscape /_img/background_home_1.jpg, 700x530) instead of a fixed pixel
   height, so the image is shown in full at every width: no stretching (the
   ratio is intrinsic to the box) and no cropping (box ratio == image ratio).
   `height: auto` also neutralises the legacy fixed heights in this file
   (320px here / 220px in the 900px block). */
.bw-page .value-prop-graphic {
    border: 0;
    background: none;
    border-radius: 12px;
    overflow: hidden;
    height: auto;
    aspect-ratio: 700 / 530;
    box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .18);
}

.bw-page .value-prop-graphic img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    object-position: center center;
}

/* Testimonials track needs a transition for the slider */
.bw-page .testimonial-track,
.bw-page #testimonial-track {
    transition: transform .45s cubic-bezier(.4, 0, .2, 1);
    will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
    .bw-page #testimonial-track {
        transition: none;
    }
}

/* Keep the page inside the viewport on small screens */
@media (max-width: 900px) {
    .bw-page {
        --page-margin: 20px;
    }

    .bw-page .bw-field-control .form-control:not(.form-control-autocomplete) {
        height: 48px;
        font-size: 16px; /* prevents iOS zoom-on-focus */
    }
}

/* ==========================================================================
   Homepage hero search parity — "Business type or sector" + "Location"

   The two autocomplete fields reuse the homepage hero search markup, styling
   and open-state behaviour verbatim. The homepage rules are all scoped to
   `header ...`, and this form is not inside a <header>, so every declaration
   is reproduced here and re-scoped to `.bw-search-form`.

   Sources (declarations copied, not invented):
     - homepage2/index.css  `.form-search-sector` / `.form-search-sector input`
     - homepage2/index_tpl3_split.2.html inline <style> (field box, paddings,
       icon offsets, :has() open states, <576px radius fix)
   The dropdown base (`.form__autocomplete`, `.clear-input`) is already global
   in /header-footer2/index.css and is only overridden below.
   ========================================================================== */

.bw-search-form .relative {
    position: relative;
}

/* ---- Closed state: grey rounded field, icon on the left ---------------- */
.bw-search-form .form-search-sector,
.bw-search-form .form-control-autocomplete {
    background-color: var(--white-d-1);
    border: 1px solid var(--white-d-1);
    border-radius: 10px;
    box-shadow: none;
}

.bw-search-form .form-search-sector {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    padding: 11px 30px 11px 60px;
}

.bw-search-form .form-search-sector input {
    flex-basis: 160px;
    flex-grow: 1;
    width: 100%;
    margin: 0 4px 4px 0;
    padding: 4px 0;
    background-color: transparent;
    border: none;
    outline: none;
    box-shadow: none;
    font-size: 16px;
    font-weight: 400;
}

/* ---- Selected sector chips (parity with the homepage hero search) ------
   Visual values copied verbatim from homepage2/index.css
   `.form-search-sector > span` / `.form-search-sector-remove` and re-scoped to
   `.bw-search-form`; the homepage files are never touched. Each picked sector
   is a chip inside the field, in click order, before the text input. */
.bw-search-form .form-search-sector > .bw-sector-chip {
    display: flex;
    align-items: center;
    max-width: 100%;
    padding: 4px 12px;
    margin: 0 4px 4px 0;
    border-radius: 4px;
    background-color: var(--blue-l-1);
    /* Homepage parity: on the homepage hero the chip inherits `--dark`
       (header-footer2/index.css) = #263238. This page's body is #1a202c, so
       the colour is set explicitly to keep the computed value identical. */
    color: #263238;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.bw-search-form .bw-sector-chip-remove {
    margin-left: 8px;
}

.bw-search-form .bw-sector-chip-remove:focus-visible {
    outline: 2px solid #17253d;
    outline-offset: 2px;
}

.bw-search-form .form-control-autocomplete {
    display: block;
    width: 100%;
    height: auto;
    padding: 17px 56px 17px 60px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    outline: none;
    transition: border-radius .1s;
}

.bw-search-form .bw-field-control .form-control-autocomplete::placeholder {
    color: #aaa;
    opacity: 1;
}

.bw-search-form .form-control-autocomplete:focus,
.bw-search-form .form-search-sector:focus-within {
    outline: none;
    box-shadow: none;
}

/* ---- Icons (16px box, 24px from each edge) ----------------------------- */
.bw-search-form .form-group .icon,
.bw-search-form .form-group .search-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 24px;
    width: 1rem;
    pointer-events: none;
}

.bw-search-form .form-group .icon.right {
    left: auto;
    right: 24px;
    cursor: pointer;
    pointer-events: auto;
}

/* ---- Suggestion list: base surface (all widths) ------------------------ */
.bw-search-form .form__autocomplete {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 20rem;
    overflow-y: auto;
    text-align: left;
    z-index: 700;
    border: 1px solid transparent;
    border-color: transparent var(--blue) var(--blue);
    border-radius: 0 0 1.5rem 1.5rem;
    background-color: var(--white);
    box-shadow: var(--shadow);
}

/* ---- Open state (>=576px): navy 2px outline around field + list -------- */
@media (min-width: 576px) {
    .bw-search-form .form-group:has(.form__autocomplete) {
        z-index: 10;
    }

    .bw-search-form .form-search-sector:focus-within,
    .bw-search-form .form-control-autocomplete:focus {
        border: 2px solid #17253d;
        border-radius: 12px;
        background-color: #fff;
        box-shadow: none;
    }

    .bw-search-form .form-search-sector:has(> .form__autocomplete),
    .bw-search-form .form-group:has(.form-control-autocomplete ~ .form__autocomplete) .form-control-autocomplete {
        border: 2px solid #17253d;
        border-bottom: 0;
        border-radius: 12px 12px 0 0;
        background-color: #fff;
        box-shadow: none;
    }

    .bw-search-form .form__autocomplete {
        left: 0;
        width: 100%;
        box-sizing: border-box;
        border: 2px solid #17253d;
        border-top: 0;
        border-radius: 0 0 12px 12px;
        background-color: #fff;
        box-shadow: none;
    }
}

/* ---- Mobile: keep the rounded field when focused ----------------------- */
@media (max-width: 575px) {
    .bw-search-form .form-control-autocomplete:focus,
    .bw-search-form .form-search-sector:focus-within {
        border-radius: 10px !important;
    }
}

/* ---- Let the dropdown escape the hero card ----------------------------
   .hero-card clips its children (overflow:hidden). While a suggestion list
   is open the card must not clip it; the right panel repeats the card's
   radius so the rounded corners look identical in both states. */
.bw-page .hero-card:has(.form__autocomplete) {
    overflow: visible;
}

.bw-page .hero-right-card {
    border-radius: 0 12px 12px 0;
}

@media (max-width: 900px) {
    .bw-page .hero-right-card {
        border-radius: 0 0 12px 12px;
    }
}

/* ==========================================================================
   Shared content column — the four lower sections line up with .hero-card.

   .hero-card establishes the page column with two constraints: its own
   max-width (--content-max) and the --page-margin side gutters of its parent
   .hero-outer. Reproducing exactly that pair on the sections makes all five
   blocks share identical left/right edges at every breakpoint. Below ~1200px
   the effective column is already 100% - 2 * --page-margin, so only the wide
   screens change; the horizontal padding of these sections is dropped so the
   section box itself (and the full-bleed grids inside it) occupy the column,
   exactly like the hero card's box does.
   Vertical padding stays untouched (base rules + the 900px media query).
   ========================================================================== */
.bw-page .value-prop-section,
.bw-page .metrics-section,
.bw-page .targeting-section,
.bw-page .testimonial-section {
    max-width: min(var(--content-max), calc(100% - (var(--page-margin) * 2)));
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
}
