html, body {
    font-family: var(--bp-font);
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* Shared UI kit (Hero / ServiceCard / StepList / PageHeader) — doc 06 §6 */
.bp-hero {
    background: var(--bp-bg-soft);
}

/* The hero photo is a trust signal, so give it real presence — rounded, shadowed, and allowed to
   grow taller than the text column on wide screens (UX review §1). */
.bp-hero-img {
    width: 100%;
    border-radius: var(--bp-radius);
    box-shadow: var(--bp-shadow);
}

@media (min-width: 992px) {
    .bp-hero-img {
        aspect-ratio: 16 / 10;
        object-fit: cover;
    }
}

.bp-hero-eyebrow {
    color: var(--bp-accent-600);
    text-transform: uppercase;
    letter-spacing: .06em;
    font-weight: 600;
    font-size: .8rem;
    margin-bottom: .35rem;
}

.bp-card {
    border: 1px solid rgba(20, 40, 80, .08);
    border-radius: var(--bp-radius);
    box-shadow: var(--bp-shadow);
    overflow: hidden;
    transition: transform .15s ease, box-shadow .15s ease;
}

.bp-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--bp-shadow-lift);
}

.bp-card:has(form):hover,
.bp-account-card:hover {
    transform: none;
    box-shadow: var(--bp-shadow);
}

.bp-card .btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.bp-card-icon {
    font-size: 2rem;
    line-height: 1;
    margin-bottom: .5rem;
}

.bp-steps {
    display: grid;
    gap: 1.25rem;
}

.bp-step {
    display: flex;
    gap: .9rem;
    align-items: flex-start;
}

.bp-step-num {
    flex: 0 0 auto;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: var(--bp-primary);
    color: #fff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bp-step-media {
    position: relative;
    flex: 0 0 auto;
}

.bp-step-img {
    width: 72px;
    height: 72px;
    border-radius: var(--bp-radius);
    object-fit: cover;
    background: var(--bp-bg-soft);
}

.bp-step-badge {
    position: absolute;
    top: -6px;
    left: -6px;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: var(--bp-primary);
    color: #fff;
    font-size: .8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 2px #fff;
}

.bp-page-header {
    background: var(--bp-bg-soft);
    padding: 1.75rem 0;
    margin-bottom: 1.5rem;
}

.bp-trust {
    background: #fff;
}

.bp-trust-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: .65rem;
    text-align: center;
}

.bp-trust-list li {
    min-width: 0;
}

/* Assurances strip — "what you get" quick facts (UX doc §5). Cream rather than blue so the page
   isn't a stack of blue bands (UX review §5). */
.bp-assurances {
    background: var(--bp-bg-cream);
}

.bp-assure-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: .75rem;
}

.bp-assure-list li {
    display: flex;
    align-items: center;
    gap: .55rem;
    font-weight: 500;
    min-width: 0;
}

.bp-assure-ico {
    font-size: 1.25rem;
    line-height: 1;
    flex: 0 0 auto;
}

/* Price estimator result tiles (calculator page + homepage teaser) */
.bp-mode-static {
    border: 1px solid rgba(30, 90, 168, .16);
    border-radius: var(--bp-radius);
    padding: .75rem;
    text-align: center;
    background: #fff;
    height: 100%;
}

/* Homepage "what can you send" example chips */
.bp-send-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .5rem;
}

.bp-send-chip {
    background: var(--bp-primary-050, #f2f7fd);
    border: 1px solid rgba(30, 90, 168, .16);
    border-radius: 2rem;
    padding: .35rem .85rem;
    font-size: .9rem;
    font-weight: 500;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.bp-send-chip:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(20, 40, 80, .12);
    border-color: rgba(30, 90, 168, .35);
}

/* Alternating section bands. Long pages cycle white → gray → white → cream so the rhythm reads
   as depth rather than a repeating blue stripe (UX review §5). */
.bp-section-tint {
    background: var(--bp-primary-050);
}

.bp-section-gray {
    background: var(--bp-bg-gray);
}

.bp-section-cream {
    background: var(--bp-bg-cream);
}

/* Journey flow (How it works) — vertical timeline on phones, horizontal flow from md up */
.bp-journey {
    display: grid;
    gap: 0;
}

.bp-journey-step {
    position: relative;
    display: grid;
    grid-template-columns: 5.25rem 1fr;
    gap: 1rem;
    padding-bottom: 1.5rem;
}

.bp-journey-step:last-child {
    padding-bottom: 0;
}

/* Connector between markers: runs down the marker column on mobile, across it on desktop. */
.bp-journey-step:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 2.575rem;
    top: 5.5rem;
    bottom: .25rem;
    width: 2px;
    background: rgba(30, 90, 168, .25);
}

.bp-journey-marker {
    position: relative;
    width: 5.25rem;
    height: 5.25rem;
    border-radius: 50%;
    background: #fff;
    border: 1px solid rgba(30, 90, 168, .18);
    box-shadow: var(--bp-shadow);
    display: grid;
    place-items: center;
    transition: transform .18s ease, box-shadow .18s ease;
}

.bp-journey-step:hover .bp-journey-marker {
    transform: scale(1.05);
    box-shadow: var(--bp-shadow-lift);
}

.bp-journey-ico {
    font-size: 2.2rem;
    line-height: 1;
}

/* The medallion takes the illustrations' own off-white so the square artwork blends into the
   circle. Inset the image instead of cropping it to the circle — a full-bleed crop cuts the
   corners of the composition and makes heavier illustrations read as dark half-moons. */
.bp-journey-marker-img {
    overflow: hidden;
    background: var(--bp-art-bg);
    border-color: rgba(30, 90, 168, .12);
}

.bp-journey-img {
    width: 80%;
    height: 80%;
    object-fit: contain;
}

.bp-journey-num {
    position: absolute;
    top: -.25rem;
    right: -.25rem;
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 50%;
    background: var(--bp-primary);
    color: #fff;
    font-size: .8rem;
    font-weight: 700;
    display: grid;
    place-items: center;
    box-shadow: 0 0 0 2px #fff;
}

.bp-journey-body {
    padding-top: .35rem;
}

/* "Why BestPost" reason tiles */
.bp-why-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.bp-why-item {
    display: flex;
    gap: 1rem;
    background: #fff;
    border: 1px solid rgba(30, 90, 168, .1);
    border-radius: var(--bp-radius);
    box-shadow: var(--bp-shadow);
    padding: 1.25rem;
}

.bp-why-ico {
    flex: 0 0 auto;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 50%;
    background: var(--bp-primary-050);
    display: grid;
    place-items: center;
    line-height: 1;
}

/* Inline brand icons (BrandIcon.razor) */
.bp-icon {
    display: block;
    flex: 0 0 auto;
}

/* Trust metrics strip — only rendered when real numbers are configured (TrustOptions) */
.bp-trustband {
    background: #fff;
}

.bp-trust-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem .75rem;
    text-align: center;
}

.bp-metric {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .1rem;
    min-width: 0;
}

.bp-metric-stars {
    color: var(--bp-accent);
    letter-spacing: .08em;
    font-size: .95rem;
    line-height: 1;
}

.bp-metric-value {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--bp-primary);
    line-height: 1.15;
}

.bp-metric-outof {
    font-size: 1rem;
    font-weight: 600;
    color: var(--bp-muted);
}

.bp-metric-label {
    font-size: .85rem;
    color: var(--bp-muted);
}

/* Drop-off map: branded facade first, Google iframe only after an explicit click (map-embed.js) */
.bp-map {
    border: 1px solid rgba(30, 90, 168, .16);
    border-radius: var(--bp-radius);
    overflow: hidden;
    background: var(--bp-bg-gray);
}

.bp-map-facade {
    display: flex;
    align-items: center;
    gap: .9rem;
    width: 100%;
    min-height: 7.5rem;
    padding: 1rem 1.15rem;
    border: 0;
    text-align: left;
    cursor: pointer;
    color: inherit;
    /* Suggests a street grid behind the pin without loading anything external. */
    background:
        repeating-linear-gradient(90deg, rgba(30, 90, 168, .07) 0 1px, transparent 1px 34px),
        repeating-linear-gradient(0deg, rgba(30, 90, 168, .07) 0 1px, transparent 1px 34px),
        linear-gradient(135deg, #eef3fa, #f8fafc);
}

.bp-map-facade:hover {
    background-color: #e9f0f9;
}

.bp-map-pin {
    flex: 0 0 auto;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: #fff;
    box-shadow: var(--bp-shadow);
    display: grid;
    place-items: center;
}

.bp-map-body {
    display: flex;
    flex-direction: column;
    gap: .2rem;
    min-width: 0;
}

/* Caption above the address, e.g. "BestPost warehouse" — makes the facade read as a location card
   rather than a bare address (UX review §8). */
.bp-map-label {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    align-self: flex-start;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--bp-primary);
    background: rgba(255, 255, 255, .85);
    border-radius: 2rem;
    padding: .15rem .55rem;
}

.bp-map-address {
    font-weight: 600;
}

.bp-map-cta {
    font-size: .875rem;
    color: var(--bp-primary);
    text-decoration: underline;
}

.bp-map-frame {
    display: block;
    width: 100%;
    height: 15rem;
    border: 0;
}

/* Closing emotional band — the "why this matters" note before the final CTA */
.bp-emotion-img {
    width: 100%;
    border-radius: var(--bp-radius);
    box-shadow: var(--bp-shadow);
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.bp-emotion-mark {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: var(--bp-accent-050);
    display: grid;
    place-items: center;
    font-size: 1.4rem;
    margin-bottom: .85rem;
}

/* Delivery-time cards (air vs sea) */
.bp-eta {
    height: 100%;
    border-radius: var(--bp-radius);
    border: 1px solid transparent;
    padding: 1.25rem;
}

.bp-eta-air {
    background: #fff;
    border-color: rgba(30, 90, 168, .2);
}

.bp-eta-sea {
    background: var(--bp-accent-050);
    border-color: rgba(232, 163, 61, .35);
}

.bp-eta-head {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin-bottom: .5rem;
}

.bp-eta-ico {
    font-size: 1.6rem;
    line-height: 1;
}

.bp-eta-time {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--bp-primary);
}

/* Checked "ideal for" lists inside comparison cards */
.bp-check-list {
    display: grid;
    gap: .35rem;
    margin: 0 0 .5rem;
    padding: 0;
    list-style: none;
}

.bp-check-list li {
    display: flex;
    gap: .5rem;
    align-items: flex-start;
    font-size: .95rem;
}

.bp-check-list li::before {
    content: "✔";
    color: var(--bp-success);
    font-weight: 700;
    flex: 0 0 auto;
}

/* Inline trust badges under a hero CTA — a horizontal row rather than the stacked bp-check-list,
   so four short claims sit on one or two lines instead of pushing the CTA off screen. */
.bp-badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem 1.1rem;
}

.bp-badge-row li {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .925rem;
    font-weight: 500;
}

.bp-badge-row li::before {
    content: "✔";
    color: var(--bp-success);
    font-weight: 700;
    flex: 0 0 auto;
}

/* Roomier section rhythm for pages that need to feel unhurried — ~96px on desktop instead of the
   default py-4/py-md-5 48px (UX review: spacing). */
.bp-section-pad {
    padding-block: 3.5rem;
}

@media (min-width: 768px) {
    .bp-section-pad {
        padding-block: 7rem;
    }
}

/* Emphasised variant of bp-check-list for the reassurance trio at the CTA — same checkmarks, but
   heavier so it reads as a promise rather than a footnote. */
.bp-check-list-strong li {
    font-size: 1rem;
    font-weight: 600;
}

/* Larger store chips — the retailer names are a scanning target, not fine print (UX review §4). */
.bp-send-chips-lg .bp-send-chip {
    font-size: 1.24rem;
    padding: .6rem 1.3rem;
    min-height: 3rem;
    display: inline-flex;
    align-items: center;
}

/* ── Transit-time strip ──────────────────────────────────────────────────────────────────────
   Answers "how long does it take" immediately under the hero. Values come from the calculator's
   own ETA strings so the two can never disagree. */
.bp-eta-strip {
    background: var(--bp-primary-050);
}

.bp-eta-route {
    display: grid;
    gap: 1.25rem;
    justify-items: center;
}

.bp-eta-route-ends {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-wrap: wrap;
    justify-content: center;
}

.bp-eta-place {
    font-weight: 700;
    color: var(--bp-primary);
}

.bp-eta-line {
    flex: 0 0 auto;
    width: 4.5rem;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--bp-accent) 0 6px, transparent 6px 12px);
    position: relative;
}

.bp-eta-line::after {
    content: "";
    position: absolute;
    right: -2px;
    top: 50%;
    transform: translateY(-50%);
    border-left: 7px solid var(--bp-accent);
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}

.bp-eta-modes {
    display: grid;
    gap: .6rem;
    width: 100%;
    max-width: 34rem;
}

.bp-eta-modes li {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    background: #fff;
    border: 1px solid rgba(30, 90, 168, .16);
    border-radius: 12px;
    padding: .6rem .9rem;
}

.bp-eta-mode {
    font-weight: 500;
}

.bp-eta-value {
    font-weight: 700;
    color: var(--bp-primary);
    white-space: nowrap;
}

@media (min-width: 768px) {
    .bp-eta-modes {
        grid-auto-flow: column;
        grid-auto-columns: 1fr;
        max-width: 44rem;
    }
}

/* ── "Read this first" note panel ────────────────────────────────────────────────────────────
   Amber rather than the blue help-panel gradient, so the explanation above the form is clearly a
   separate object from the white form card and not more of the same (UX review §3). */
.bp-note-panel {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: var(--bp-accent-050);
    border: 1px solid rgba(232, 163, 61, .35);
    border-left: 4px solid var(--bp-accent);
    border-radius: var(--bp-radius);
}

.bp-note-ico {
    flex: 0 0 auto;
    font-size: 1.5rem;
    line-height: 1.2;
}

/* ── Customer quotes ─────────────────────────────────────────────────────────────────────────
   Only ever rendered from real configured testimonials — see TestimonialOptions. */
.bp-quote-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .bp-quote-grid {
        grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    }
}

.bp-quote {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    background: #fff;
    border: 1px solid rgba(20, 40, 80, .08);
    border-radius: var(--bp-radius);
    box-shadow: var(--bp-shadow);
    padding: 1.5rem;
    height: 100%;
}

.bp-quote-mark {
    font-size: 2.75rem;
    line-height: .6;
    color: var(--bp-accent);
    font-weight: 700;
}

.bp-quote-text {
    flex: 1 1 auto;
    font-size: 1rem;
}

.bp-quote-by {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .5rem;
    font-size: .875rem;
    border-top: 1px solid rgba(20, 40, 80, .08);
    padding-top: .75rem;
}

.bp-quote-name {
    font-weight: 700;
}

.bp-quote-city {
    color: var(--bp-muted);
}

.bp-quote-src {
    margin-left: auto;
    font-size: .8rem;
}

/* Public conversion form: the submit is the most prominent control, so give it real presence. */
.bp-submit {
    padding-inline: 2.25rem;
    min-height: 52px;
    font-weight: 600;
}

/* Long public forms: taller inputs and more air between rows, so a seven-field form scans as
   groups rather than a wall (UX review §4). */
.bp-form-spacious .form-control {
    min-height: 48px;
    padding: .6rem .85rem;
}

.bp-form-spacious .mb-3 {
    margin-bottom: 1.35rem !important;
}

.bp-form-group {
    margin-top: 2rem;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(20, 40, 80, .1);
}

/* Group label ("Your information" / "Recipient in Moldova") — reads as a section marker, not as
   another heading competing with the card title. */
.bp-form-legend {
    float: none;
    width: auto;
    font-size: .95rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--bp-primary);
    margin-bottom: 1rem;
    padding-bottom: .5rem;
    border-bottom: 2px solid rgba(30, 90, 168, .18);
}

.bp-field-hint {
    display: block;
    font-size: .8rem;
    color: var(--bp-muted);
    margin-top: .3rem;
}

.bp-req {
    color: var(--bp-danger);
    margin-left: .15rem;
}

/* Optional fields stay legible but visibly secondary to the required ones. */
.bp-optional {
    margin-left: .4rem;
    font-size: .7rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--bp-muted);
}

.bp-field-optional .form-label {
    color: var(--bp-muted);
}

/* Privacy reassurance directly above the submit button (UX review §9) */
.bp-privacy-note {
    display: flex;
    gap: .6rem;
    align-items: flex-start;
    font-size: .85rem;
    color: var(--bp-muted);
    background: var(--bp-bg-soft);
    border-radius: 12px;
    padding: .8rem .95rem;
}

/* Warehouse fact list (Shop & Ship) */
.bp-warehouse-facts dt {
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--bp-muted);
    font-weight: 600;
}

.bp-warehouse-facts dd {
    margin-bottom: .85rem;
    font-weight: 500;
}

.bp-warehouse-facts dd:last-child {
    margin-bottom: 0;
}

/* Shop & Ship completion state — keeps the newly generated address and the next action in one
   clear, scannable flow after the long registration form disappears. */
.bp-section-pad.bp-success-section {
    padding-block: 3.5rem;
}

.bp-success-section:focus {
    outline: 0;
}

.bp-success-panel {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    border: 1px solid rgba(28, 135, 84, .24);
    border-radius: var(--bp-radius);
    background: linear-gradient(135deg, rgba(28, 135, 84, .09), rgba(255, 255, 255, .95));
}

.bp-success-ico {
    flex: 0 0 auto;
    width: 3rem;
    height: 3rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--bp-success);
    color: #fff;
    font-size: 1.35rem;
    font-weight: 800;
    box-shadow: 0 0 0 5px rgba(28, 135, 84, .1);
}

.bp-success-kicker,
.bp-address-label {
    color: var(--bp-success);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.bp-next-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: .75rem;
}

.bp-next-steps li {
    display: flex;
    align-items: center;
    gap: .7rem;
    min-width: 0;
    padding: .85rem 1rem;
    border: 1px solid rgba(30, 90, 168, .14);
    border-radius: 12px;
    background: #fff;
    font-weight: 600;
}

.bp-next-num {
    flex: 0 0 auto;
    width: 1.75rem;
    height: 1.75rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--bp-primary);
    color: #fff;
    font-size: .8rem;
    font-weight: 800;
}

.bp-address-card {
    border: 1px solid rgba(30, 90, 168, .22);
    border-left: 4px solid var(--bp-primary);
    border-radius: var(--bp-radius);
    background: linear-gradient(135deg, var(--bp-primary-050), #fff);
}

.bp-suite-code {
    color: var(--bp-primary);
    font-size: clamp(1.75rem, 4vw, 2.35rem);
    font-weight: 800;
    letter-spacing: .045em;
    line-height: 1.1;
}

@media (min-width: 768px) {
    .bp-section-pad.bp-success-section {
        padding-block: 4.5rem;
    }

    .bp-next-steps {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Homepage FAQ / reassurance band before the final CTA */
.bp-faq-band {
    background: #fff;
    border: 1px solid rgba(30, 90, 168, .16);
    border-radius: var(--bp-radius);
    padding: 2rem 1.25rem;
}

/* Wizard stepper (Send a parcel) */
.bp-stepper {
    display: flex;
    gap: .5rem;
    margin-bottom: 1.25rem;
}

.bp-stepper-item {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .3rem;
    text-align: center;
    color: var(--bp-muted);
    border-top: 3px solid rgba(20, 40, 80, .12);
    padding-top: .5rem;
    font-size: .8rem;
}

.bp-stepper-item.active,
.bp-stepper-item.done {
    color: var(--bp-ink);
    border-top-color: var(--bp-primary);
}

.bp-stepper-num {
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    background: rgba(20, 40, 80, .10);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.bp-stepper-item.active .bp-stepper-num,
.bp-stepper-item.done .bp-stepper-num {
    background: var(--bp-primary);
    color: #fff;
}

/* Shipping-mode selector (review step) */
.bp-mode {
    display: block;
    border: 1px solid rgba(20, 40, 80, .15);
    border-radius: var(--bp-radius);
    background: #fff;
    padding: .75rem;
    cursor: pointer;
}

.bp-mode.selected {
    border-color: var(--bp-primary);
    box-shadow: 0 0 0 2px var(--bp-primary) inset;
}

/* Contact info rows (Contact page) */
.bp-contact-list {
    display: grid;
}

.bp-contact-item {
    display: flex;
    gap: .85rem;
    align-items: center;
    padding: .7rem .25rem;
    border-bottom: 1px solid rgba(20, 40, 80, .08);
    text-decoration: none;
    color: inherit;
}

.bp-contact-item:last-child {
    border-bottom: 0;
}

a.bp-contact-item:hover {
    background: var(--bp-bg-soft);
    border-radius: var(--bp-radius);
}

.bp-contact-ico {
    flex: 0 0 auto;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: var(--bp-bg-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.bp-contact-body {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.bp-contact-label {
    font-size: .75rem;
    color: var(--bp-muted);
    text-transform: uppercase;
    letter-spacing: .04em;
}

.bp-contact-value {
    font-weight: 600;
    word-break: break-word;
}

a.bp-contact-item:hover .bp-contact-value {
    color: var(--bp-primary);
}

.bp-cta {
    background: linear-gradient(135deg, var(--bp-primary), var(--bp-primary-600));
}

.bp-help-panel {
    border: 1px solid rgba(30, 90, 168, .16);
    border-radius: var(--bp-radius);
    background: linear-gradient(135deg, rgba(30, 90, 168, .06), rgba(232, 163, 61, .08));
}

.bp-scroll-target {
    scroll-margin-top: 5.5rem;
}

/* Branded, compact treatment for anonymous account and recovery pages. */
.bp-account-page {
    background: var(--bp-bg-soft);
    min-height: 60vh;
}

.bp-account-card {
    max-width: 34rem;
}

.bp-account-icon {
    width: 3rem;
    height: 3rem;
    display: grid;
    place-items: center;
    margin-bottom: 1rem;
    border-radius: 50%;
    background: rgba(30, 90, 168, .1);
    font-size: 1.35rem;
}

.bp-account-links {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem 1rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(20, 40, 80, .1);
}

.bp-state-actions {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.bp-footer {
    padding-top: 3rem;
    padding-bottom: 5.5rem !important;
}

/* Trust strip across the top of the footer — the last reassurance a hesitating visitor sees. */
.bp-footer-trust {
    display: grid;
    grid-template-columns: 1fr;
    gap: .85rem;
    margin: 0 0 2.25rem;
    padding: 0 0 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.bp-footer-trust li {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-weight: 500;
    font-size: .95rem;
    min-width: 0;
}

/* Overrides the generic footer list rhythm — this one is a row, not a stack of links. */
.bp-footer-trust li + li {
    margin-top: 0;
}

.bp-footer-trust-ico {
    flex: 0 0 auto;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    display: grid;
    place-items: center;
    color: #fff;
}

/* The brand icons are two-tone and tuned for light backgrounds. They colour themselves from the
   brand tokens, so rebinding --bp-primary locally re-tints the blue half to white for the dark
   footer while the amber half keeps its accent — no per-path overrides needed. */
.bp-footer-trust-ico {
    --bp-primary: #ffffff;
}

@media (min-width: 576px) {
    .bp-footer-trust {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem 1.5rem;
    }
}

@media (min-width: 992px) {
    .bp-footer-trust {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Lift muted footer text off the dark background for WCAG AA contrast (UX doc §8) */
.bp-footer .text-white-50 {
    color: rgba(255, 255, 255, .78) !important;
}

.bp-footer .small,
.bp-footer address {
    font-size: .875rem; /* 14px floor for readability on mobile */
}

/* Roomier, easier-to-scan footer (UX doc §13): line-height + spacing between links */
.bp-footer {
    line-height: 1.6;
}

.bp-footer ul li + li {
    margin-top: .35rem;
}

.bp-footer h2 {
    letter-spacing: .05em;
    margin-bottom: .6rem;
}

/* Social buttons — circular, on-brand hover */
.bp-footer-social {
    display: flex;
    gap: .5rem;
}

.bp-footer-social li + li {
    margin-top: 0;
}

.bp-footer-social a {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .1);
    color: #fff;
}

.bp-footer-social a:hover,
.bp-footer-social a:focus-visible {
    background: var(--bp-primary);
    color: #fff;
}

/* Bootstrap has no responsive width utilities. This completes the mobile-first
   w-100 w-sm-auto pattern used by shared CTAs throughout the public site. */
@media (min-width: 576px) {
    .w-sm-auto {
        width: auto !important;
    }

    .bp-trust-list {
        grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
        align-items: center;
    }

    .bp-assure-list {
        grid-template-columns: repeat(4, 1fr);
        align-items: center;
    }

    .bp-why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bp-trust-metrics {
        grid-auto-flow: column;
        grid-auto-columns: 1fr;
        grid-template-columns: none;
        align-items: end;
    }

    .bp-state-actions {
        flex-direction: row;
    }

    .bp-footer {
        padding-bottom: 1.5rem !important;
    }
}

/* Floating WhatsApp button (sticky, all pages) — doc 08 §2 */
.bp-wa-float {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 1030;
    background: #25D366;
    color: #fff;
    border-radius: 50px;
    padding: .7rem 1rem;
    box-shadow: var(--bp-shadow);
    font-weight: 600;
    text-decoration: none;
}

.bp-wa-float:hover, .bp-wa-float:focus {
    color: #fff;
    filter: brightness(.95);
}

@media (max-width: 575.98px) {
    .bp-wa-float {
        width: 48px;
        height: 48px;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0;
    }

    .bp-wa-float span {
        margin-right: 0 !important;
        font-size: 1.15rem;
    }

    .bp-page-header {
        padding: 1.35rem 0;
    }

    .bp-page-header .lead {
        font-size: 1.05rem;
    }

    .bp-stepper {
        gap: .25rem;
    }

    .bp-stepper-item {
        font-size: .72rem;
    }

    .bp-wizard-actions .btn {
        min-height: 48px;
    }

    .bp-wizard-actions .btn:not(.invisible) {
        flex: 1 1 0;
    }
}

/* Journey turns horizontal once there is room for five columns side by side. */
@media (min-width: 768px) {
    .bp-journey {
        grid-auto-flow: column;
        grid-auto-columns: 1fr;
        gap: .5rem;
    }

    .bp-journey-step {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        gap: .75rem;
        padding-bottom: 0;
    }

    .bp-journey-step:not(:last-child)::before {
        left: calc(50% + 3.15rem);
        right: calc(-50% + 3.15rem);
        top: 2.625rem;
        bottom: auto;
        width: auto;
        height: 2px;
    }

    .bp-journey-body {
        padding-top: 0;
    }
}

@media (min-width: 992px) {
    .bp-wa-float {
        right: 24px;
        bottom: 24px;
    }

    .bp-why-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

body {
    color: var(--bp-ink);
}

a, .btn-link {
    color: var(--bp-primary);
}

.btn-primary {
    color: #fff;
    background-color: var(--bp-primary);
    border-color: var(--bp-primary);
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    background-color: var(--bp-primary-600);
    border-color: var(--bp-primary-600);
}

.btn-accent {
    color: #1c1200;
    background-color: var(--bp-accent);
    border-color: var(--bp-accent);
}

.btn-accent:hover, .btn-accent:focus, .btn-accent:active {
    color: #1c1200;
    background-color: var(--bp-accent-600);
    border-color: var(--bp-accent-600);
}

/* Every solid CTA gets the same resting shadow and the same lift on hover, so a primary button
   feels identical wherever it appears (UX review §3). The lift is deliberately kept off :focus —
   that state belongs to the focus ring below. */
.btn-primary, .btn-accent {
    box-shadow: 0 2px 6px rgba(20, 40, 80, .16);
    transition: background-color .15s ease, border-color .15s ease, box-shadow .2s ease, transform .15s ease;
}

.btn-primary:hover, .btn-accent:hover {
    box-shadow: 0 6px 16px rgba(20, 40, 80, .22);
    transform: translateY(-2px);
}

.btn-primary:active, .btn-accent:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(20, 40, 80, .16);
}

/* Taller, more modern CTAs — 48px is the comfortable tap target and reads less cramped than
   Bootstrap's default ~40px (UX review §8). */
.btn-lg {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    padding-inline: 1.5rem;
}

/* `.bp-card .btn` sets a 44px floor and outranks .btn-lg/.bp-submit on specificity, which was
   quietly shrinking large CTAs inside cards. Restate both at matching specificity. */
.bp-card .btn-lg {
    min-height: 48px;
}

.bp-card .bp-submit {
    min-height: 52px;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem var(--bp-primary);
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/* Clamp long message previews to two lines (admin dashboard queue). */
.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Motion is decoration here — every hover lift, scale and shadow transition above is purely
   cosmetic, so drop all of it for visitors who ask for reduced motion. Also disables the
   smooth-scroll on the in-page CTA anchors. */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .bp-card,
    .bp-card:hover,
    .bp-send-chip,
    .bp-send-chip:hover,
    .bp-journey-marker,
    .bp-journey-step:hover .bp-journey-marker,
    .btn-primary,
    .btn-accent,
    .btn-primary:hover,
    .btn-accent:hover {
        transform: none;
        transition: none;
    }
}
