/* Briskwhale Hebrew homepage (Default.aspx, he-IL). Every rule is scoped to body.bw-home-premium,
   which Default.aspx.cs sets only for the Hebrew homepage, so inner pages, EN and PT are untouched. */

/* Palette taken from /org/ai (ai/css/main.css and org/ai/default.aspx): navy #1c2b41 / #2b4f74 radial,
   light-blue #e7f2ff and #f2f4f8 sections, slate text #0f172a / #475569, green #58c87e accents. */
   body.bw-home-premium {
    --bw-navy-900: #1c2b41;
    --bw-navy-800: #233a57;
    --bw-navy-700: #2b4f74;
    --bw-blue: #0b6aa1;
    --bw-blue-600: #095a89;
    --bw-blue-300: #9ccaf0;
    --bw-green: #58c87e;
    --bw-green-600: #3fae66;
    --bw-ink: #1c2b41;
    --bw-text: #222;
    --bw-muted: #64748b;
    --bw-line: #e2e8f0;
    --bw-sky: #e7f2ff;
    --bw-soft: #f2f4f8;
    --bw-navy-bg: radial-gradient(60% 75% at 50% 45%, #2b4f74 0%, #1c2b41 100%);
    --bw-ease: cubic-bezier(.2, .7, .2, 1);
    --bw-edge: max(20px, calc((100% - 1170px) / 2));
}

body.bw-home-premium.bw-modal-open {
    overflow: hidden;
}

/* ---------- Shared building blocks ---------- */

.bw-home-premium .bw-home-hero,
.bw-home-premium .bw-home-section,
.bw-home-premium .bw-home-clients-premium,
.bw-home-premium .bw-rebrand-guarantee,
.bw-home-premium .bw-rebrand-contact-section {
    font-family: Assistant, sans-serif;
    letter-spacing: 0;
}

.bw-home-premium .bw-home-section {
    position: relative;
}

.bw-home-premium .bw-rebrand-anchor {
    top: -90px;
}

.bw-home-premium .bw-home-h2 {
    margin: 0;
    color: var(--bw-ink);
    font-family: Assistant, sans-serif;
    font-size: 50px;
    font-weight: 700;
    line-height: 1.14;
    letter-spacing: 0;
    text-wrap: balance;
}

.bw-home-premium .bw-home-hero-title,
.bw-home-premium .bw-rebrand-guarantee-copy h2,
body.bw-home-premium .bw-rebrand-contact-section .bw-rebrand-title {
    text-wrap: balance;
}

.bw-home-premium .bw-home-lead {
    /* max-width: 490px; */
    margin: 20px 0 0;
    color: var(--bw-text);
    font-size: 20px;
    line-height: 1.65;
}

.bw-home-premium .bw-home-kicker {
    /* display: none; */
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    /* padding: 7px 16px 7px 14px; */
    color: var(--bw-blue);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    /* background: #fff; */
    /* border: 1px solid #d3e3f3; */
    border-radius: 999px;
}

.bw-home-premium .bw-home-kicker::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--bw-green);
    box-shadow: 0 0 0 4px rgba(88, 200, 126, .18);
}

/* Brand wordmark in running headings: B and w in brand blue, as in the logo */
.bw-home-premium .bw-home-wordmark {
    display: inline-block;
    color: var(--bw-ink);
    direction: ltr;
    unicode-bidi: isolate;
}

.bw-home-premium .bw-home-wordmark b {
    color: var(--bw-blue);
    font-weight: inherit;
}

.bw-home-premium .bw-home-sec-head--center {
    max-width: 900px;
    margin: 0 auto 60px;
    text-align: center;
}

.bw-home-premium .bw-home-sec-head--split {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 44px;
}

.bw-home-premium .bw-home-sec-head-copy {
    /* max-width: 760px; */
}

/* Buttons */
.bw-home-premium .bw-home-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 56px;
    padding: 0 28px;
    overflow: hidden;
    font-family: Assistant, sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    white-space: nowrap;
    text-decoration: none;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    transition: transform .35s var(--bw-ease), box-shadow .35s var(--bw-ease), background-color .35s, color .35s;
}

.bw-home-premium .bw-home-btn--lg {
    height: 64px;
    padding: 0 36px;
    font-size: 20px;
}

.bw-home-premium .bw-home-btn--primary,
.bw-home-premium .bw-home-btn--primary:visited {
    color: #fff;
    background: var(--bw-blue);
    box-shadow: 0 12px 26px -14px rgba(11, 106, 161, .7);
}

.bw-home-premium .bw-home-btn--primary:hover,
.bw-home-premium .bw-home-btn--primary:focus {
    color: #fff;
    background: var(--bw-blue-600);
    transform: translateY(-2px);
    box-shadow: 0 16px 32px -14px rgba(11, 106, 161, .8);
}

/* On navy backgrounds: white pill, as the /org/ai form button */
.bw-home-premium .bw-home-btn--light,
.bw-home-premium .bw-home-btn--light:visited {
    color: var(--bw-navy-900);
    background: #fff;
    box-shadow: 0 14px 30px -16px rgba(0, 0, 0, .45);
}

.bw-home-premium .bw-home-btn--light .bw-home-btn-arrow {
    color: var(--bw-blue);
}

.bw-home-premium .bw-home-btn--light:hover,
.bw-home-premium .bw-home-btn--light:focus {
    color: var(--bw-navy-900);
    background: var(--bw-sky);
    transform: translateY(-2px);
}

.bw-home-premium .bw-home-btn--ghost-dark,
.bw-home-premium .bw-home-btn--ghost-dark:visited {
    color: var(--bw-ink);
    background: #fff;
    box-shadow: inset 0 0 0 1.5px #cfdcea;
}

.bw-home-premium .bw-home-btn--ghost-dark:hover,
.bw-home-premium .bw-home-btn--ghost-dark:focus {
    color: var(--bw-blue);
    box-shadow: inset 0 0 0 1.5px var(--bw-blue);
}

.bw-home-premium .bw-home-btn-arrow,
.bw-home-premium .bw-home-link-arrow svg,
.bw-home-premium .bw-home-sys-cta svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .35s var(--bw-ease);
}

.bw-home-premium .bw-home-btn:hover .bw-home-btn-arrow,
.bw-home-premium .bw-home-link-arrow:hover svg {
    transform: translateX(-4px);
}

.bw-home-premium .bw-home-btn:focus-visible,
.bw-home-premium .bw-home-arrow:focus-visible,
.bw-home-premium .bw-home-tv:focus-visible,
.bw-home-premium .bw-home-tq:focus-visible,
.bw-home-premium .bw-home-sys-link:focus-visible,
.bw-home-premium .bw-home-link-arrow:focus-visible,
.bw-home-premium .bw-home-faq-q:focus-visible {
    outline: 3px solid var(--bw-green);
    outline-offset: 3px;
}

.bw-home-premium .bw-home-link-arrow,
.bw-home-premium .bw-home-link-arrow:visited {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--bw-blue);
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
    background: linear-gradient(currentColor, currentColor) no-repeat 100% 100% / 0 2px;
    transition: background-size .35s var(--bw-ease), color .3s;
}

.bw-home-premium .bw-home-link-arrow:hover,
.bw-home-premium .bw-home-link-arrow:focus {
    color: var(--bw-blue-600);
    text-decoration: none;
    background-image: linear-gradient(var(--bw-green), var(--bw-green));
    background-size: 100% 2px;
}

/* Reveal on scroll (js/home-premium.js adds bw-anim only when motion is allowed) */
.bw-home-premium.bw-anim .bw-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .9s var(--bw-ease), transform .9s var(--bw-ease);
    transition-delay: var(--bw-d, 0s);
}

.bw-home-premium.bw-anim .bw-reveal.is-in {
    opacity: 1;
    transform: none;
}

/* ---------- Header (shared HeaderHome.ascx, homepage look only) ---------- */

/* The bar floats over the hero: see-through at the top, white glass once the page scrolls. */
body.bw-home-premium .page-header-1 {
    background: var(--bw-navy-900);
}

body.bw-home-premium .page-header-1 .rd-navbar-wrap {
    height: 0 !important;
}

@media (min-width: 992px) {
    body.bw-home-premium .rd-navbar-static {
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        z-index: 1080;
        border-bottom: 1px solid transparent;
        transition: background-color .35s ease, box-shadow .35s ease, border-color .35s ease;
    }

    body.bw-home-premium .rd-navbar-static:not(.rd-navbar--is-stuck):not(.rd-navbar--is-clone) {
        background: rgba(28, 43, 65, .16);
        border-bottom-color: rgba(255, 255, 255, .08);
        box-shadow: none;
    }

    body.bw-home-premium .rd-navbar-static:not(.rd-navbar--is-stuck):not(.rd-navbar--is-clone) .rd-navbar-nav > .rd-nav-item > .rd-nav-link {
        color: rgba(255, 255, 255, .9);
    }

    body.bw-home-premium .rd-navbar-static:not(.rd-navbar--is-stuck):not(.rd-navbar--is-clone) .rd-navbar-nav > .rd-nav-item > .rd-nav-link:hover,
    body.bw-home-premium .rd-navbar-static:not(.rd-navbar--is-stuck):not(.rd-navbar--is-clone) .rd-navbar-nav > .rd-nav-item.focus > .rd-nav-link,
    body.bw-home-premium .rd-navbar-static:not(.rd-navbar--is-stuck):not(.rd-navbar--is-clone) .rd-navbar-nav > .rd-nav-item.opened > .rd-nav-link {
        color: #fff;
    }

    body.bw-home-premium .rd-navbar-static:not(.rd-navbar--is-stuck):not(.rd-navbar--is-clone) .brand .brand-logo-light {
        display: block;
    }

    body.bw-home-premium .rd-navbar-static:not(.rd-navbar--is-stuck):not(.rd-navbar--is-clone) .brand .brand-logo-dark {
        display: none;
    }

    body.bw-home-premium .rd-navbar-static.rd-navbar--is-stuck,
    body.bw-home-premium .rd-navbar-static.rd-navbar--is-clone {
        background: rgba(255, 255, 255, .94);
        border-bottom-color: rgba(28, 43, 65, .06);
        -webkit-backdrop-filter: saturate(1.4) blur(14px);
        backdrop-filter: saturate(1.4) blur(14px);
        box-shadow: 0 12px 34px -18px rgba(28, 43, 65, .35);
    }

    body.bw-home-premium .rd-navbar-static.rd-navbar--is-stuck .brand .brand-logo-light,
    body.bw-home-premium .rd-navbar-static.rd-navbar--is-clone .brand .brand-logo-light {
        display: none;
    }

    body.bw-home-premium .rd-navbar-static.rd-navbar--is-stuck .brand .brand-logo-dark,
    body.bw-home-premium .rd-navbar-static.rd-navbar--is-clone .brand .brand-logo-dark {
        display: block;
    }

    body.bw-home-premium .rd-navbar-static:not(.rd-navbar--is-stuck):not(.rd-navbar--is-clone) .rd-navbar-nav > .rd-nav-item > .rd-nav-link .fa,
    body.bw-home-premium .rd-navbar-static:not(.rd-navbar--is-stuck):not(.rd-navbar--is-clone) .rd-navbar-nav > .rd-nav-item > .rd-navbar-submenu-toggle {
        color: rgba(255, 255, 255, .72);
    }
}

/* Phones and tablets: RD Navbar's fixed panel; js/home-premium.js sets bw-home-scrolled */
@media (max-width: 991px) {
    html body.bw-home-premium .page {
        padding-top: 0;
    }

    body.bw-home-premium .rd-navbar-fixed .rd-navbar-panel {
        transition: background-color .35s ease, box-shadow .35s ease, border-color .35s ease;
    }

    body.bw-home-premium:not(.bw-home-scrolled) .rd-navbar-fixed .rd-navbar-panel:not(:has(.rd-navbar-toggle.active)) {
        color: #fff;
        background: transparent;
        border-bottom-color: rgba(255, 255, 255, .1);
        box-shadow: none;
    }

    body.bw-home-premium:not(.bw-home-scrolled) .rd-navbar-fixed .rd-navbar-panel:not(:has(.rd-navbar-toggle.active)) .rd-navbar-toggle span,
    body.bw-home-premium:not(.bw-home-scrolled) .rd-navbar-fixed .rd-navbar-panel:not(:has(.rd-navbar-toggle.active)) .rd-navbar-toggle span::before,
    body.bw-home-premium:not(.bw-home-scrolled) .rd-navbar-fixed .rd-navbar-panel:not(:has(.rd-navbar-toggle.active)) .rd-navbar-toggle span::after {
        background-color: #fff;
    }

    body.bw-home-premium:not(.bw-home-scrolled) .rd-navbar-fixed .rd-navbar-panel:not(:has(.rd-navbar-toggle.active)) .btn-share,
    body.bw-home-premium:not(.bw-home-scrolled) .rd-navbar-fixed .rd-navbar-panel:not(:has(.rd-navbar-toggle.active)) .btn-phone,
    body.bw-home-premium:not(.bw-home-scrolled) .rd-navbar-fixed .rd-navbar-panel:not(:has(.rd-navbar-toggle.active)) .btn-phone .fa {
        color: #fff;
    }

    /* float: left like the dark logo of the scrolled header (theme css/style-rtl.css .brand .brand-logo-dark): without
       it the light logo is a plain block in an RTL box and sits at the right end of the logo area, next to the phone */
    body.bw-home-premium:not(.bw-home-scrolled) .rd-navbar-fixed .rd-navbar-panel:not(:has(.rd-navbar-toggle.active)) .brand .brand-logo-light {
        display: block;
        float: left;
    }

    body.bw-home-premium:not(.bw-home-scrolled) .rd-navbar-fixed .rd-navbar-panel:not(:has(.rd-navbar-toggle.active)) .brand .brand-logo-dark {
        display: none;
    }

    body.bw-home-premium.bw-home-scrolled .rd-navbar-fixed .rd-navbar-panel {
        background: rgba(255, 255, 255, .96);
        border-bottom-color: rgba(28, 43, 65, .06);
        -webkit-backdrop-filter: saturate(1.4) blur(14px);
        backdrop-filter: saturate(1.4) blur(14px);
        box-shadow: 0 10px 28px -18px rgba(28, 43, 65, .35);
    }
}

/* ---------- 1. Hero ---------- */

/* Top padding leaves room for the floating header (81px on desktop, 56px on phones). */
.bw-home-premium .bw-home-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 820px;
    padding: 136px 0 96px;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(700px 520px at 28% 48%, rgba(65, 120, 190, .26), transparent 65%),
        radial-gradient(70% 90% at 45% 40%, #2b4f74 0%, #22394f 55%, #1c2b41 100%);
}

.bw-home-premium .bw-home-hero-bg,
.bw-home-premium .bw-home-hero-bg > * {
    position: absolute;
    pointer-events: none;
}

.bw-home-premium .bw-home-hero-bg {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

/* Thin dot-and-line network, in the spirit of the /org/ai hero particles: clusters drift, signals run along the lines */
.bw-home-premium .bw-home-hero-net {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.bw-home-premium .bw-home-hero-net .hn-cluster {
    animation: bwNetDriftA 18s ease-in-out infinite alternate;
}

.bw-home-premium .bw-home-hero-net .hn-cluster--b {
    animation-name: bwNetDriftB;
    animation-duration: 23s;
}

.bw-home-premium .bw-home-hero-net .hn-lines {
    fill: none;
    stroke: rgba(255, 255, 255, .11);
    stroke-width: 1;
    animation: bwNetLines 9s ease-in-out infinite;
}

.bw-home-premium .bw-home-hero-net .hn-signals path {
    fill: none;
    stroke: rgba(156, 202, 240, .9);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-dasharray: 4 100;
    stroke-dashoffset: 8;
    animation: bwPulseTravel 8s ease-in-out infinite;
}

.bw-home-premium .bw-home-hero-net .hn-dots circle {
    fill: rgba(255, 255, 255, .45);
}

.bw-home-premium .bw-home-hero-net .hn-tw {
    animation: bwTwinkle 4s ease-in-out infinite;
}

.bw-home-premium .bw-home-hero-net .hn-pulse {
    fill: rgba(156, 202, 240, .9);
    transform-box: fill-box;
    transform-origin: center;
    animation: bwNodePulse 4.6s ease-in-out infinite;
}

.bw-home-premium .bw-home-hero-net .hn-d2 { animation-delay: 2s; }
.bw-home-premium .bw-home-hero-net .hn-d3 { animation-delay: 4s; }
.bw-home-premium .bw-home-hero-net .hn-d4 { animation-delay: 6s; }

.bw-home-premium .bw-home-hero-glow {
    border-radius: 50%;
    filter: blur(80px);
    animation: bwDrift 20s ease-in-out infinite alternate;
}

.bw-home-premium .bw-home-hero-glow--a {
    top: 16%;
    left: 12%;
    width: 380px;
    height: 380px;
    background: rgba(111, 160, 220, .22);
}

.bw-home-premium .bw-home-hero-glow--b {
    bottom: -14%;
    right: 18%;
    width: 320px;
    height: 320px;
    background: rgba(88, 200, 126, .08);
    animation-duration: 26s;
}

.bw-home-premium .bw-home-hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 40px;
}

/* Copy is centred inside the right-hand column */
.bw-home-premium .bw-home-hero-copy {
    text-align: center;
}

.bw-home-premium .bw-home-hero-title {
    margin: 0;
    color: #fff;
    font-family: Assistant, sans-serif;
    font-size: 76px;
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: 0;
}

.bw-home-premium .bw-home-hero-line {
    display: block;
    animation: bwRise 1s var(--bw-ease) both;
}

.bw-home-premium .bw-home-hero-accent {
    display: table;
    margin: 0 auto;
    padding-bottom: .1em;
    color: var(--bw-blue-300);
    /* background: linear-gradient(var(--bw-green), var(--bw-green)) no-repeat 50% 100% / 46% 5px; */
    animation-delay: .12s;
}

.bw-home-premium .bw-home-hero-sub {
    max-width: 500px;
    margin: 28px auto 40px;
    color: rgba(255, 255, 255, .86);
    font-size: 22px;
    line-height: 1.6;
    text-wrap: balance;
    animation: bwRise 1s .24s var(--bw-ease) both;
}

.bw-home-premium .bw-home-hero-actions {
    display: flex;
    justify-content: center;
    animation: bwRise 1s .36s var(--bw-ease) both;
}

/* Hero visual: data streams flowing between glass modules (deliberately not a central hub) */
.bw-home-premium .bw-home-hero-stage {
    position: relative;
    width: 100%;
    max-width: 640px;
    justify-self: end;
    animation: bwSceneIn 1.2s .2s var(--bw-ease) both;
}

.bw-home-premium .bw-home-hero-streams {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
}

.bw-home-premium .bw-home-hero-streams .hs-stream {
    fill: none;
    stroke: url(#bwStreamFade);
    stroke-width: 1.6;
    stroke-linecap: round;
}

.bw-home-premium .bw-home-hero-streams .hs-stream--main {
    stroke-width: 2.6;
}

.bw-home-premium .bw-home-hero-streams .hs-stream--faint {
    opacity: .5;
}

.bw-home-premium .bw-home-hero-streams .hs-pulses path {
    fill: none;
    stroke: #d6ebfc;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 5 100;
    stroke-dashoffset: 8;
    animation: bwStreamPulse 6.4s cubic-bezier(.45, .05, .55, .95) infinite;
}

.bw-home-premium .bw-home-hero-streams .hs-pulses .hs-green {
    stroke: var(--bw-green);
}

.bw-home-premium .bw-home-hero-streams .hs-pulses .hs-d1 { animation-delay: .9s; }
.bw-home-premium .bw-home-hero-streams .hs-pulses .hs-d2 { animation-delay: 1.8s; }
.bw-home-premium .bw-home-hero-streams .hs-pulses .hs-d3 { animation-delay: 2.7s; }
.bw-home-premium .bw-home-hero-streams .hs-pulses .hs-d4 { animation-delay: 3.6s; }
.bw-home-premium .bw-home-hero-streams .hs-pulses .hs-d5 { animation-delay: 4.5s; }

.bw-home-premium .bw-home-hero-streams .hs-tile {
    animation: bwBob 7s ease-in-out infinite;
}

.bw-home-premium .bw-home-hero-streams .hs-tile.hs-d2 { animation-delay: -1.4s; }
.bw-home-premium .bw-home-hero-streams .hs-tile.hs-d3 { animation-delay: -2.8s; }
.bw-home-premium .bw-home-hero-streams .hs-tile.hs-d4 { animation-delay: -4.2s; }
.bw-home-premium .bw-home-hero-streams .hs-tile.hs-d5 { animation-delay: -5.6s; }

.bw-home-premium .bw-home-hero-streams .hs-tile-box {
    fill: rgba(34, 57, 84, .78);
    stroke: rgba(255, 255, 255, .22);
    stroke-width: 1.2;
}

.bw-home-premium .bw-home-hero-streams .hs-tile--lg .hs-tile-box {
    fill: rgba(43, 79, 116, .82);
    stroke: rgba(156, 202, 240, .42);
}

.bw-home-premium .bw-home-hero-streams .hs-tile-shine {
    fill: none;
    stroke: rgba(255, 255, 255, .45);
    stroke-width: 1.2;
    stroke-linecap: round;
}

.bw-home-premium .bw-home-hero-streams .hs-glyph {
    fill: none;
    stroke: #fff;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.bw-home-premium .bw-home-hero-streams .hs-glyph--accent {
    stroke: var(--bw-blue-300);
}

.bw-home-premium .bw-home-hero-streams .hs-glyph--fill {
    fill: #fff;
    stroke: none;
}

.bw-home-premium .bw-home-hero-streams .hs-led {
    animation: bwTwinkle 3.2s ease-in-out infinite;
}

.bw-home-premium .bw-home-hero-streams .hs-d2 .hs-led { animation-delay: .8s; }
.bw-home-premium .bw-home-hero-streams .hs-d3 .hs-led { animation-delay: 1.6s; }
.bw-home-premium .bw-home-hero-streams .hs-d4 .hs-led { animation-delay: 2.4s; }

/* ---------- 2. Client logos: short caption beside the strip (above it on phones) ---------- */

.bw-home-premium .bw-home-clients-premium {
    position: relative;
    padding: 40px 0;
    background: #fff;
    border-bottom: 1px solid #eef2f7;
}

.bw-home-premium .bw-home-clients-row {
    display: flex;
    align-items: center;
    gap: 34px;
    padding-right:20px;
}

.bw-home-premium .bw-home-clients-heading {
    flex: 0 0 auto;
    margin: 0;
    padding-left: 30px;
    white-space: nowrap;
    color: var(--bw-ink);
    font-family: Assistant, sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0;
    border-left: 2px solid var(--bw-line);
}

/* Endless strip, moved by js/home-logos.js (one linear translate3d loop of exactly one group width; no hover or
   touch pause). Logo box: same height for all, width from the image's aspect ratio (--r, set by Brands.ascx.cs),
   capped by --bw-logo-w; the picture is contained in it, so the strip width is fixed before the images load.
   --bw-mq-speed: px per second. */
.bw-home-premium .bw-home-marquee {
    --bw-logo-h: 74px;
    --bw-logo-w: 210px;
    --bw-mq-speed: 72;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 92%, transparent);
}

.bw-home-premium .bw-home-marquee-track {
    display: flex;
    width: max-content;
}

.bw-home-premium .bw-home-marquee.is-running .bw-home-marquee-track {
    will-change: transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* padding = half the gap on each side, so the seam between two groups is the same 76px as inside a group */
.bw-home-premium .bw-home-marquee-list {
    display: flex;
    align-items: center;
    gap: 76px;
    margin: 0;
    padding: 0 38px;
    list-style: none;
}

.bw-home-premium .bw-home-marquee-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 86px;
    margin: 0;
}

.bw-home-premium .bw-home-marquee-item a {
    display: block;
}

/* Full-colour logos, as in the /org/ai strip */
.bw-home-premium .bw-home-marquee-item img {
    display: block;
    width: min(var(--bw-logo-w), calc(var(--bw-logo-h) * var(--r, 2.5)));
    max-width: none;
    height: var(--bw-logo-h);
    max-height: none;
    object-fit: contain;
    transition: transform .4s var(--bw-ease);
}

/* Zoom only for a real link with a mouse (a tap must not leave a logo enlarged on phones) */
@media (hover: hover) and (pointer: fine) {
    .bw-home-premium .bw-home-marquee-item a[href]:hover img {
        transform: scale(1.05);
    }
}

.bw-home-premium .bw-home-marquee-item a[href]:focus-visible img {
    transform: scale(1.05);
}

/* ---------- 3. Industries intro ---------- */

.bw-home-premium .bw-home-industries-premium {
    padding: 110px 0 100px;
    overflow: hidden;
    background: linear-gradient(180deg, var(--bw-sky) 0%, #f3f8ff 100%);
    box-shadow: inset 0 1px 0 #d9e8f7;
}

.bw-home-premium .bw-home-industries-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 70px;
}

.bw-home-premium .bw-home-industries-copy .bw-home-lead {
    font-size: 20px;
}

.bw-home-premium .bw-home-industries-visual {
    display: flex;
    justify-content: center;
}

.bw-home-premium .bw-home-network {
    display: block;
    width: 100%;
    max-width: 540px;
    height: auto;
    overflow: visible;
}

.bw-home-premium .bw-home-network .n-lines path {
    fill: none;
    stroke: #c6d9ec;
    stroke-width: 2;
}

.bw-home-premium .bw-home-network .n-flow path {
    fill: none;
    stroke: url(#bwNetLine);
    stroke-width: 2.6;
    stroke-linecap: round;
    stroke-dasharray: 5 15;
    animation: bwFlow 1.6s linear infinite;
}

.bw-home-premium .bw-home-network .n-flow .n-d2 { animation-delay: -.3s; }
.bw-home-premium .bw-home-network .n-flow .n-d3 { animation-delay: -.6s; }
.bw-home-premium .bw-home-network .n-flow .n-d4 { animation-delay: -.9s; }
.bw-home-premium .bw-home-network .n-flow .n-d5 { animation-delay: -1.2s; }
.bw-home-premium .bw-home-network .n-flow .n-d6 { animation-delay: -1.5s; }

.bw-home-premium .bw-home-network .n-ring {
    fill: none;
    stroke: rgba(11, 106, 161, .35);
    stroke-width: 1.5;
    transform-origin: 260px 180px;
    animation: bwRing 3.2s ease-out infinite;
}

.bw-home-premium .bw-home-network .n-ring--2 {
    animation-delay: 1.6s;
}

/* Digital hub: data ring with an orbiting point around four connected modules */
.bw-home-premium .bw-home-network .n-orbit {
    transform-origin: 260px 180px;
    animation: bwSpin 14s linear infinite;
}

.bw-home-premium .bw-home-network .n-orbit-ring {
    fill: none;
    stroke: rgba(11, 106, 161, .4);
    stroke-width: 1.6;
    stroke-dasharray: 4 7;
}

.bw-home-premium .bw-home-network .n-orbit-dot {
    fill: var(--bw-green);
    stroke: #fff;
    stroke-width: 2;
}

.bw-home-premium .bw-home-network .n-core-link {
    fill: none;
    stroke: rgba(255, 255, 255, .5);
    stroke-width: 2;
}

.bw-home-premium .bw-home-network .n-mod {
    fill: rgba(255, 255, 255, .92);
    animation: bwModule 4.8s ease-in-out infinite;
}

.bw-home-premium .bw-home-network .n-mod--2 { animation-delay: 1.2s; }
.bw-home-premium .bw-home-network .n-mod--3 { animation-delay: 3.6s; }
.bw-home-premium .bw-home-network .n-mod--4 { animation-delay: 2.4s; }

.bw-home-premium .bw-home-network .n-node > circle {
    fill: #fff;
    stroke: #bcd3ea;
    stroke-width: 2;
    filter: drop-shadow(0 8px 14px rgba(28, 43, 65, .1));
}

.bw-home-premium .bw-home-network .n-node g path,
.bw-home-premium .bw-home-network .n-node g circle {
    fill: none;
    stroke: var(--bw-blue);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.bw-home-premium.bw-anim .bw-home-industries-visual .n-node {
    opacity: 0;
    transition: opacity .6s ease;
}

.bw-home-premium.bw-anim .bw-home-industries-visual.is-in .n-node {
    opacity: 1;
}

.bw-home-premium.bw-anim .bw-home-industries-visual.is-in .n-node.n-d2 { transition-delay: .12s; }
.bw-home-premium.bw-anim .bw-home-industries-visual.is-in .n-node.n-d3 { transition-delay: .24s; }
.bw-home-premium.bw-anim .bw-home-industries-visual.is-in .n-node.n-d4 { transition-delay: .36s; }
.bw-home-premium.bw-anim .bw-home-industries-visual.is-in .n-node.n-d5 { transition-delay: .48s; }
.bw-home-premium.bw-anim .bw-home-industries-visual.is-in .n-node.n-d6 { transition-delay: .6s; }

/* ---------- 4. Systems carousel ---------- */

.bw-home-premium .bw-home-systems-premium {
    padding: 110px 0 96px;
    overflow: hidden;
    background: #fff;
}

.bw-home-premium .bw-home-systems-bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    pointer-events: none;
    background:
        radial-gradient(700px 420px at 85% 0%, rgba(231, 242, 255, .9), transparent 70%),
        radial-gradient(600px 400px at 5% 100%, rgba(231, 242, 255, .7), transparent 70%);
}

.bw-home-premium .bw-home-systems-premium > .container {
    position: relative;
}

.bw-home-premium .bw-home-carousel {
    position: relative;
}

.bw-home-premium .bw-home-carousel-track {
    display: flex;
    gap: 24px;
    margin: 0;
    padding: 12px var(--bw-edge) 44px;
    overflow-x: auto;
    overflow-y: hidden;
    list-style: none;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 var(--bw-edge);
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
}

.bw-home-premium .bw-home-carousel-track::-webkit-scrollbar {
    display: none;
}

.bw-home-premium .bw-home-carousel-track.is-dragging {
    scroll-snap-type: none;
    cursor: grabbing;
}

.bw-home-premium .bw-home-carousel-track img {
    -webkit-user-drag: none;
    user-select: none;
}

.bw-home-premium .bw-home-carousel-nav {
    display: flex;
    flex-shrink: 0;
    gap: 12px;
}

.bw-home-premium .bw-home-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    padding: 0;
    color: var(--bw-ink);
    background: #fff;
    border: 1.5px solid #cfdcea;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 10px 24px -16px rgba(28, 43, 65, .4);
    transition: background-color .3s, color .3s, border-color .3s, transform .3s var(--bw-ease), opacity .3s;
}

.bw-home-premium .bw-home-arrow svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.bw-home-premium .bw-home-arrow:hover:not(:disabled) {
    color: #fff;
    background: var(--bw-blue);
    border-color: var(--bw-blue);
    transform: translateY(-2px);
}

.bw-home-premium .bw-home-arrow:disabled {
    cursor: default;
    opacity: .35;
}

.bw-home-premium .bw-home-carousel-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.bw-home-premium .bw-home-carousel-progress {
    position: relative;
    flex: 0 1 280px;
    height: 4px;
    overflow: hidden;
    border-radius: 4px;
    background: #d9e5f1;
}

.bw-home-premium .bw-home-carousel-progress span {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 30%;
    border-radius: 4px;
    background: var(--bw-blue);
    transition: transform .2s linear, width .2s;
}

.bw-home-premium .bw-home-sys-card {
    position: relative;
    display: flex;
    flex: 0 0 344px;
    flex-direction: column;
    margin: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 28px;
    box-shadow: 0 1px 0 rgba(28, 43, 65, .04), 0 12px 34px -38px rgba(28, 43, 65, .28);
    scroll-snap-align: start;
    transition: transform .5s var(--bw-ease), box-shadow .5s var(--bw-ease), border-color .5s;
}

.bw-home-premium .bw-home-sys-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 2;
    height: 4px;
    background: var(--sys);
    transform: scaleX(.25);
    transform-origin: right center;
    transition: transform .6s var(--bw-ease);
}

.bw-home-premium .bw-home-sys-card:hover,
.bw-home-premium .bw-home-sys-card:focus-within {
    border-color: #d3e0ee;
    transform: translateY(-3px);
    box-shadow: 0 1px 0 rgba(28, 43, 65, .04), 0 22px 44px -28px rgba(28, 43, 65, .28);
}

.bw-home-premium .bw-home-sys-card:hover::before,
.bw-home-premium .bw-home-sys-card:focus-within::before {
    transform: scaleX(1);
}

.bw-home-premium .bw-home-sys-link,
.bw-home-premium .bw-home-sys-link:visited,
.bw-home-premium .bw-home-sys-link:hover,
.bw-home-premium .bw-home-sys-link:focus {
    display: flex;
    flex: 1;
    flex-direction: column;
    width: 100%;
    color: inherit;
    text-decoration: none;
    border-radius: 28px;
}

.bw-home-premium .bw-home-sys-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 240px;
    overflow: hidden;
    color: var(--sys);
    background: linear-gradient(180deg, var(--sys-soft) 0%, rgba(255, 255, 255, .6) 100%);
}

.bw-home-premium .bw-home-sys-visual::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: radial-gradient(currentColor 1.2px, transparent 1.6px);
    background-size: 18px 18px;
    opacity: .16;
    -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 60%, #000, transparent 80%);
    mask-image: radial-gradient(ellipse 60% 70% at 50% 60%, #000, transparent 80%);
}

.bw-home-premium .bw-home-sys-halo {
    position: absolute;
    width: 230px;
    height: 230px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, 0) 70%);
    transition: transform .8s var(--bw-ease);
}

.bw-home-premium .bw-home-sys-card:hover .bw-home-sys-halo {
    transform: scale(1.25);
}

.bw-home-premium .bw-home-emblem {
    position: relative;
    width: 210px;
    height: 147px;
    overflow: visible;
    transition: transform .8s var(--bw-ease);
}

.bw-home-premium .bw-home-sys-card:hover .bw-home-emblem {
    transform: scale(1.07) translateY(-4px);
}

.bw-home-premium .bw-home-emblem .e-stroke { fill: none; stroke: currentColor; stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; }
.bw-home-premium .bw-home-emblem .e-wide { stroke-width: 7; }
.bw-home-premium .bw-home-emblem .e-thin { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; opacity: .45; }
.bw-home-premium .bw-home-emblem .e-soft { fill: currentColor; opacity: .14; }
.bw-home-premium .bw-home-emblem .e-mid { fill: currentColor; opacity: .42; }
.bw-home-premium .bw-home-emblem .e-fill { fill: currentColor; }
.bw-home-premium .bw-home-emblem .e-node { fill: #fff; stroke: currentColor; stroke-width: 3.2; }
.bw-home-premium .bw-home-emblem .e-track { fill: none; stroke: currentColor; stroke-width: 10; opacity: .12; }
.bw-home-premium .bw-home-emblem .e-dash { stroke-dasharray: 52 30; }
.bw-home-premium .bw-home-emblem .e-spin { transform-origin: 100px 70px; animation: bwSpin 12s linear infinite; }
.bw-home-premium .bw-home-emblem .e-bob { animation: bwBob 4.6s ease-in-out infinite; }
.bw-home-premium .bw-home-emblem .e-pulse { transform-box: fill-box; transform-origin: center; animation: bwPulse 2.8s ease-in-out infinite; }
.bw-home-premium .bw-home-emblem .e-d2 { animation-delay: .5s; }
.bw-home-premium .bw-home-emblem .e-d3 { animation-delay: 1s; }
.bw-home-premium .bw-home-emblem .e-d4 { animation-delay: 1.5s; }
.bw-home-premium .bw-home-emblem .e-bar { transform-box: fill-box; transform-origin: center bottom; animation: bwBar 4s var(--bw-ease) infinite; }
.bw-home-premium .bw-home-emblem .e-draw { stroke-dasharray: 240; stroke-dashoffset: 240; animation: bwDraw 4s var(--bw-ease) infinite; }
.bw-home-premium .bw-home-emblem .e-flame { fill: #ffb547; transform-box: fill-box; transform-origin: center top; animation: bwFlame .45s ease-in-out infinite alternate; }
.bw-home-premium .bw-home-emblem .e-windows rect { fill: #fff; opacity: .3; animation: bwWindow 4.8s steps(1) infinite; }
.bw-home-premium .bw-home-emblem .e-windows rect:nth-child(3n+2) { animation-delay: 1.2s; }
.bw-home-premium .bw-home-emblem .e-windows rect:nth-child(3n) { animation-delay: 2.4s; }
.bw-home-premium .bw-home-emblem .e-windows rect:nth-child(4n) { animation-delay: 3.6s; }

.bw-home-premium .bw-home-sys-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 26px 30px 28px;
    text-align: right;
}

/* The logo is a small brand mark; the illustration above carries the card */
.bw-home-premium .bw-home-sys-logo img {
    display: block;
    width: auto;
    height: 24px;
}

/* Bspace has a descender (p) like Bops, so at 24px its B mark rendered ~18px against ~23px on the others */
.bw-home-premium .bw-home-sys-card--bops .bw-home-sys-logo img,
.bw-home-premium .bw-home-sys-card--bspace .bw-home-sys-logo img {
    height: 31px;
    margin-bottom: -7px;
}

/* Card = logo, the approved one-liner (home.md, section 4) and a single CTA */
.bw-home-premium .bw-home-sys-tagline {
    display: block;
    margin-top: 6px;
    color: var(--bw-ink);
    font-size: 21px;
    font-weight: 400;
    line-height: 1.45;
    text-wrap: pretty;
}

.bw-home-premium .bw-home-sys-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding-top: 14px;
    color: var(--bw-blue);
    font-size: 16.5px;
    font-weight: 700;
}

.bw-home-premium .bw-home-sys-cta svg {
    width: 18px;
    height: 18px;
}

.bw-home-premium .bw-home-sys-card:hover .bw-home-sys-cta svg {
    transform: translateX(-5px);
}

/* ---------- 5. Advantages (four items) ---------- */

.bw-home-premium .bw-home-adv {
    padding: 120px 0;
    overflow: hidden;
    color: #fff;
    background: var(--bw-navy-bg);
}

.bw-home-premium .bw-home-adv-bg span {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    animation: bwDrift 20s ease-in-out infinite alternate;
}

.bw-home-premium .bw-home-adv-bg span:nth-child(1) {
    top: 40%;
    right: -6%;
    width: 360px;
    height: 360px;
    background: rgba(111, 160, 220, .16);
}

.bw-home-premium .bw-home-adv-bg span:nth-child(2) {
    bottom: -10%;
    left: -4%;
    width: 420px;
    height: 420px;
    background: rgba(88, 200, 126, .07);
    animation-duration: 26s;
}

.bw-home-premium .bw-home-adv .container {
    position: relative;
}

.bw-home-premium .bw-home-adv .bw-home-h2 {
    color: #fff;
}

.bw-home-premium .bw-home-adv-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bw-home-premium .bw-home-adv-item {
    position: relative;
    display: block;
    padding: 36px 28px 34px;
    overflow: hidden;
    text-align: right;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 26px;
    transition: transform .5s var(--bw-ease), border-color .5s, background-color .5s, box-shadow .5s;
}

.bw-home-premium .bw-home-adv-item::before {
    content: "";
    position: absolute;
    top: 0;
    right: 28px;
    width: 56px;
    height: 3px;
    border-radius: 0 0 3px 3px;
    background: var(--bw-green);
    opacity: .85;
    transition: width .5s var(--bw-ease);
}

.bw-home-premium .bw-home-adv-item:hover {
    background: rgba(255, 255, 255, .09);
    border-color: rgba(255, 255, 255, .22);
    box-shadow: 0 30px 60px -34px rgba(0, 0, 0, .45);
    transform: translateY(-8px);
}

.bw-home-premium.bw-anim .bw-home-adv-item.bw-reveal.is-in:hover {
    transform: translateY(-8px);
}

.bw-home-premium .bw-home-adv-item:hover::before {
    width: 96px;
}

.bw-home-premium .bw-home-adv-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 88px;
    margin-bottom: 28px;
    color: #cfe5f8;
    background: rgba(156, 202, 240, .12);
    border: 1px solid rgba(156, 202, 240, .24);
    border-radius: 24px;
}

.bw-home-premium .bw-home-adv-icon svg {
    width: 54px;
    height: 54px;
    overflow: visible;
}

.bw-home-premium .bw-home-adv-title {
    margin: 0 0 12px;
    color: #fff;
    font-family: Assistant, sans-serif;
    font-size: 23px;
    font-weight: 700;
    line-height: 1.3;
}

.bw-home-premium .bw-home-adv-text {
    margin: 0;
    color: rgba(255, 255, 255, .8);
    font-size: 18px;
    line-height: 1.65;
}

.bw-home-premium .bw-home-adv-icon .i-line { fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.bw-home-premium .bw-home-adv-icon .i-faint { opacity: .45; }
.bw-home-premium .bw-home-adv-icon .i-bold { stroke-width: 4.6; }
.bw-home-premium .bw-home-adv-icon .i-dot { fill: currentColor; }
.bw-home-premium .bw-home-adv-icon .i-glass { fill: rgba(156, 202, 240, .16); }
.bw-home-premium .bw-home-adv-icon .i-teeth { fill: none; stroke: currentColor; stroke-width: 6.5; stroke-dasharray: 5.2 3.7; }
.bw-home-premium .bw-home-adv-icon .i-teeth--sm { stroke-width: 5; stroke-dasharray: 3.4 2.88; }
.bw-home-premium .bw-home-adv-icon .i-spin { transform-origin: 26px 26px; animation: bwSpin 9s linear infinite; }
.bw-home-premium .bw-home-adv-icon .i-spin-rev { transform-origin: 47px 47px; animation: bwSpin 5.4s linear infinite reverse; }
.bw-home-premium .bw-home-adv-icon .i-tick { fill: none; stroke: var(--bw-green); stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 16; stroke-dashoffset: 16; animation: bwTick 4.8s ease infinite; }
.bw-home-premium .bw-home-adv-icon .i-t2 { animation-delay: .45s; }
.bw-home-premium .bw-home-adv-icon .i-t3 { animation-delay: .9s; }
.bw-home-premium .bw-home-adv-icon .i-scan { animation: bwScan 4.2s ease-in-out infinite; }
.bw-home-premium .bw-home-adv-icon .i-wave { fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; animation: bwWave 1.9s ease-in-out infinite; }
.bw-home-premium .bw-home-adv-icon .i-w2 { animation-delay: .35s; }

.bw-home-premium .bw-home-adv-item:hover .i-spin { animation-duration: 3s; }
.bw-home-premium .bw-home-adv-item:hover .i-spin-rev { animation-duration: 1.8s; }

/* ---------- 6. Stages timeline ---------- */

.bw-home-premium .bw-home-stages-premium {
    padding: 120px 0 110px;
    background: #fff;
}

.bw-home-premium .bw-home-stages-premium .bw-home-sec-head--center {
    max-width: 820px;
}

.bw-home-premium .bw-home-timeline {
    position: relative;
}

/* Runs between the centres of the first and last circle (three columns, 28px gaps) */
.bw-home-premium .bw-home-tl-line {
    position: absolute;
    top: 37px;
    right: calc((100% - 56px) / 6);
    left: calc((100% - 56px) / 6);
    height: 3px;
    border-radius: 3px;
    background: #dbe6f1;
}

.bw-home-premium .bw-home-tl-line span {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border-radius: 3px;
    background: linear-gradient(270deg, var(--bw-blue) 0%, var(--bw-navy-700) 70%, var(--bw-green) 100%);
    transform: scaleX(1);
    transform-origin: right center;
}

.bw-home-premium.bw-anim .bw-home-timeline .bw-home-tl-line span {
    transform: scaleX(0);
    transition: transform 1.8s var(--bw-ease) .3s;
}

.bw-home-premium.bw-anim .bw-home-timeline.is-in .bw-home-tl-line span {
    transform: scaleX(1);
}

.bw-home-premium .bw-home-tl-list {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bw-home-premium .bw-home-tl-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
}

.bw-home-premium .bw-home-tl-marker {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    margin-bottom: 52px;
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    background: var(--bw-blue);
    border-radius: 50%;
    box-shadow: 0 0 0 8px #fff, 0 0 0 9px #d6e3f0, 0 16px 30px -14px rgba(11, 106, 161, .6);
    transition: transform .6s var(--bw-ease);
}

.bw-home-premium .bw-home-tl-marker::after {
    content: "";
    position: absolute;
    top: -9px;
    right: -9px;
    bottom: -9px;
    left: -9px;
    border: 1.5px solid rgba(11, 106, 161, .3);
    border-radius: 50%;
    animation: bwRingCss 3s ease-out infinite;
}

.bw-home-premium .bw-home-tl-step:nth-child(2) .bw-home-tl-marker::after { animation-delay: 1s; }
.bw-home-premium .bw-home-tl-step:nth-child(3) .bw-home-tl-marker::after { animation-delay: 2s; }

.bw-home-premium.bw-anim .bw-home-timeline .bw-home-tl-marker {
    transform: scale(.4);
    opacity: 0;
    transition: transform .7s var(--bw-ease), opacity .5s;
}

.bw-home-premium.bw-anim .bw-home-timeline.is-in .bw-home-tl-marker {
    transform: none;
    opacity: 1;
}

.bw-home-premium.bw-anim .bw-home-timeline.is-in .bw-home-tl-step:nth-child(2) .bw-home-tl-marker { transition-delay: .7s; }
.bw-home-premium.bw-anim .bw-home-timeline.is-in .bw-home-tl-step:nth-child(3) .bw-home-tl-marker { transition-delay: 1.4s; }

.bw-home-premium .bw-home-tl-card {
    position: relative;
    flex: 1;
    width: 100%;
    padding: 32px 30px 28px;
    text-align: right;
    background: linear-gradient(180deg, #f3f8fe, #fff);
    border: 1px solid #e2eaf3;
    border-radius: 26px;
    transition: border-color .4s, box-shadow .4s, transform .4s var(--bw-ease);
}

/* Short dotted connector from the circle down to its card */
.bw-home-premium .bw-home-tl-card::before {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 50%;
    width: 2px;
    height: 34px;
    margin: 0 0 1px -1px;
    background: linear-gradient(180deg, #c7d8ea 50%, transparent 50%) 0 0 / 2px 6px repeat-y;
}

.bw-home-premium .bw-home-tl-step:hover .bw-home-tl-card {
    border-color: #cbdcec;
    box-shadow: 0 30px 60px -36px rgba(28, 43, 65, .32);
    transform: translateY(-4px);
}

.bw-home-premium .bw-home-tl-title {
    margin: 0 0 12px;
    color: var(--bw-ink);
    font-family: Assistant, sans-serif;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.25;
}

.bw-home-premium .bw-home-tl-text {
    margin: 0 0 22px;
    color: var(--bw-text);
    font-size: 18px;
    line-height: 1.65;
}

/* ---------- 7. 47% guarantee (shared RebrandGuarantee.ascx, homepage look only) ---------- */

/* Colours stay as in the /org/ai block (css/rebrand.css); only spacing and motion are added here. */
body.bw-home-premium .bw-rebrand-guarantee {
    padding: 104px 0 !important;
}

body.bw-home-premium .bw-rebrand-guarantee .container {
    position: relative;
}

body.bw-home-premium .bw-rebrand-guarantee .bw-rebrand-guarantee-copy h2 {
    font-family: Assistant, sans-serif;
    font-size: 54px;
    letter-spacing: 0;
}

body.bw-home-premium .bw-rebrand-guarantee .bw-rebrand-guarantee-copy h2 span {
    letter-spacing: 0;
}

body.bw-home-premium .bw-rebrand-shield-icon {
    animation: bwFloat 6s ease-in-out infinite;
}

body.bw-home-premium .bw-rebrand-shield-glow::after {
    border: 1px solid rgba(255, 255, 255, .16);
    animation: bwRingCss 3.6s ease-out infinite;
}

body.bw-home-premium .bw-rebrand-guarantee-cta .button {
    height: 60px;
    min-height: 0;
    padding: 0 32px;
    color: var(--bw-navy-900);
    font-family: Assistant, sans-serif;
    font-size: 19px;
    font-weight: 700;
    background: #fff;
    border: 0;
    border-radius: 999px;
    transition: transform .35s var(--bw-ease), background-color .35s;
}

body.bw-home-premium .bw-rebrand-guarantee-cta .button:hover {
    color: var(--bw-navy-900);
    background: var(--bw-sky);
    transform: translateY(-2px);
}

/* ---------- 8. Why Briskwhale ---------- */

.bw-home-premium .bw-home-whybw {
    padding: 120px 0 110px;
    overflow: hidden;
    background: #fff;
}

.bw-home-premium .bw-home-whybw-layout {
    display: block;
}

.bw-home-premium .bw-home-whybw-head {
    margin: 0 auto 72px;
    text-align: center;
}

.bw-home-premium .bw-home-whybw-head .bw-home-h2 {
    font-size: 56px;
    line-height: 1.05;
    white-space: nowrap;
}

.bw-home-premium .bw-home-whybw-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 48px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bw-home-premium .bw-home-whybw-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    margin: 0;
    text-align: center;
}

.bw-home-premium .bw-home-whybw-icon {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 96px;
    color: var(--bw-blue);
    background: var(--bw-sky);
    border-radius: 50%;
    box-shadow: 0 0 0 10px rgba(231, 242, 255, .45);
    transition: transform .5s var(--bw-ease), box-shadow .5s var(--bw-ease);
}

.bw-home-premium .bw-home-whybw-item:hover .bw-home-whybw-icon {
    transform: translateY(-4px);
    box-shadow: 0 0 0 14px rgba(231, 242, 255, .7);
}

.bw-home-premium .bw-home-whybw-icon svg {
    width: 52px;
    height: 52px;
    overflow: visible;
}

.bw-home-premium .bw-home-whybw-icon .d {
    fill: none;
    stroke: var(--bw-blue);
    stroke-width: 2.3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.bw-home-premium .bw-home-whybw-icon text {
    fill: var(--bw-blue);
    font-family: Assistant, sans-serif;
    font-size: 11px;
    font-weight: 700;
}

.bw-home-premium .bw-home-whybw-icon .badge {
    fill: var(--bw-green);
}

.bw-home-premium .bw-home-whybw-icon .tick {
    stroke: var(--bw-green-600);
}

.bw-home-premium .bw-home-whybw-icon .tick.light {
    stroke: #fff;
}

.bw-home-premium .bw-home-whybw-icon .seal {
    stroke-dasharray: 3 2.1;
    transform-origin: 24px 19px;
    animation: bwSpin 16s linear infinite;
}

/* Dash period (4 + 4) divides bwFlow's 40px offset, so the loop has no visible jump */
.bw-home-premium .bw-home-whybw-icon .route {
    stroke-dasharray: 4 4;
    animation: bwFlow 2.4s linear infinite;
}

/* The pin and its inner dot move together; the spot on the route answers the lift */
.bw-home-premium .bw-home-whybw-icon .pin {
    animation: bwPinLift 2.8s ease-in-out infinite;
}

.bw-home-premium .bw-home-whybw-icon .spot {
    fill: var(--bw-blue);
    opacity: .28;
    transform-box: fill-box;
    transform-origin: center;
    animation: bwPinSpot 2.8s ease-in-out infinite;
}

.bw-home-premium .bw-home-whybw-item p {
    max-width: 250px;
    margin: 0;
    color: var(--bw-ink);
    font-size: 21px;
    font-weight: 700;
    line-height: 1.45;
}

/* ---------- 9. Testimonials gallery ---------- */

/* Organised asymmetry: video columns and two-card text columns share one height; widths alternate. */
.bw-home-premium .bw-home-testi {
    padding: 120px 0 96px;
    overflow: hidden;
    background: var(--bw-sky);
}

.bw-home-premium .bw-home-testi-track {
    align-items: stretch;
    gap: 24px;
    padding-top: 16px;
    padding-bottom: 56px;
}

.bw-home-premium .bw-home-testi-col {
    display: flex;
    flex: 0 0 300px;
    flex-direction: column;
    gap: 24px;
    scroll-snap-align: start;
}

.bw-home-premium .bw-home-testi-col--text {
    flex-basis: 360px;
}

.bw-home-premium .bw-home-tv {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
    text-align: right;
    aspect-ratio: 298 / 529;
    background: var(--bw-navy-900);
    border: 0;
    border-radius: 26px;
    cursor: pointer;
    box-shadow: 0 26px 50px -32px rgba(28, 43, 65, .55);
    transition: transform .5s var(--bw-ease), box-shadow .5s;
}

.bw-home-premium .bw-home-tv:hover {
    transform: translateY(-6px);
    box-shadow: 0 36px 60px -30px rgba(28, 43, 65, .6);
}

.bw-home-premium .bw-home-tv picture,
.bw-home-premium .bw-home-tv img {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.bw-home-premium .bw-home-tv img {
    object-fit: cover;
    transition: transform 1s var(--bw-ease);
}

.bw-home-premium .bw-home-tv:hover img {
    transform: scale(1.06);
}

.bw-home-premium .bw-home-tv-shade {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(180deg, rgba(28, 43, 65, 0) 45%, rgba(28, 43, 65, .9) 100%);
}

.bw-home-premium .bw-home-tv-play {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin: -40px 0 0 -40px;
    background: rgba(255, 255, 255, .22);
    border: 1.5px solid rgba(255, 255, 255, .7);
    border-radius: 50%;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    transition: transform .4s var(--bw-ease), background-color .4s, border-color .4s;
}

.bw-home-premium .bw-home-tv-play::before {
    content: "";
    position: absolute;
    top: -1px;
    right: -1px;
    bottom: -1px;
    left: -1px;
    border: 1.5px solid rgba(255, 255, 255, .55);
    border-radius: 50%;
    animation: bwRingCss 2.4s ease-out infinite;
}

.bw-home-premium .bw-home-tv-play svg {
    width: 28px;
    height: 28px;
    margin-left: 4px;
    fill: #fff;
}

.bw-home-premium .bw-home-tv:hover .bw-home-tv-play {
    background: var(--bw-blue);
    border-color: var(--bw-blue);
    transform: scale(1.08);
}

.bw-home-premium .bw-home-tv-meta {
    position: absolute;
    right: 22px;
    bottom: 22px;
    left: 22px;
    display: block;
    color: #fff;
}

.bw-home-premium .bw-home-tv-meta strong {
    display: block;
    font-family: Assistant, sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
}

.bw-home-premium .bw-home-tv-meta span {
    display: block;
    margin-top: 4px;
    color: rgba(255, 255, 255, .78);
    font-family: Assistant, sans-serif;
    font-size: 14.5px;
    line-height: 1.4;
}

.bw-home-premium .bw-home-tq,
.bw-home-premium .bw-home-tq:visited {
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    gap: 10px;
    min-height: 0;
    padding: 20px 24px 18px;
    overflow: hidden;
    color: inherit;
    text-align: right;
    text-decoration: none;
    background: #fff;
    border: 1px solid #d9e8f7;
    border-radius: 24px;
    box-shadow: 0 20px 40px -34px rgba(28, 43, 65, .4);
    transition: transform .5s var(--bw-ease), box-shadow .5s, border-color .5s;
}

.bw-home-premium .bw-home-tq:hover,
.bw-home-premium .bw-home-tq:focus {
    color: inherit;
    text-decoration: none;
    border-color: #bfd6ec;
    transform: translateY(-4px);
    box-shadow: 0 30px 50px -34px rgba(28, 43, 65, .45);
}

.bw-home-premium .bw-home-tq-mark {
    flex-shrink: 0;
    width: 26px;
    height: 21px;
    fill: var(--bw-blue);
}

.bw-home-premium .bw-home-tq--accent .bw-home-tq-mark {
    fill: var(--bw-green);
}

.bw-home-premium .bw-home-tq-text {
    display: -webkit-box;
    overflow: hidden;
    color: var(--bw-ink);
    font-size: 18px;
    font-weight: 500;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.bw-home-premium .bw-home-tq:only-child .bw-home-tq-text {
    -webkit-line-clamp: 12;
}

.bw-home-premium .bw-home-tq-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--bw-line);
}

.bw-home-premium .bw-home-tq-author img {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 0 0 3px #fff, 0 0 0 4px #d3e3f3;
}

.bw-home-premium .bw-home-tq-author strong {
    display: block;
    color: var(--bw-ink);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
}

.bw-home-premium .bw-home-tq-author span span {
    display: block;
    margin-top: 3px;
    overflow: hidden;
    color: var(--bw-text);
    font-size: 15px;
    line-height: 1.4;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.bw-home-premium .bw-home-tq-author > span {
    min-width: 0;
}

.bw-home-premium .bw-home-testi-foot .bw-home-link-arrow {
    font-size: 18px;
}

/* Video modal (moved to <body> by js/home-premium.js) */
.bw-home-premium .bw-home-vmodal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 12000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 70px 20px 30px;
    font-family: Assistant, sans-serif;
}

.bw-home-premium .bw-home-vmodal[hidden] {
    display: none;
}

.bw-home-premium .bw-home-vmodal-backdrop {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(20, 31, 48, .88);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    animation: bwFadeIn .3s ease both;
}

.bw-home-premium .bw-home-vmodal-box {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100%;
    animation: bwSceneIn .45s var(--bw-ease) both;
}

.bw-home-premium .bw-home-vmodal-video {
    display: block;
    width: auto;
    max-width: min(92vw, 960px);
    height: auto;
    max-height: calc(100vh - 160px);
    min-width: 280px;
    min-height: 200px;
    background: #000;
    border-radius: 22px;
    box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .8);
}

.bw-home-premium .bw-home-vmodal-close {
    position: absolute;
    top: -58px;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    padding: 0;
    color: #fff;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color .3s, transform .3s var(--bw-ease);
}

.bw-home-premium .bw-home-vmodal-close:hover,
.bw-home-premium .bw-home-vmodal-close:focus-visible {
    background: rgba(255, 255, 255, .25);
    transform: rotate(90deg);
}

.bw-home-premium .bw-home-vmodal-close svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
}

.bw-home-premium .bw-home-vmodal-caption {
    margin: 16px 0 0;
    color: rgba(226, 236, 255, .85);
    font-size: 17px;
    line-height: 1.4;
    text-align: center;
}

/* ---------- 10. FAQ (accordion: js/home-premium.js keeps a single answer open) ---------- */

.bw-home-premium .bw-home-faq-premium {
    padding: 120px 0;
    background: #fff;
}

.bw-home-premium .bw-home-faq-layout {
    display: grid;
    grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
    align-items: start;
    gap: 70px;
}

.bw-home-premium .bw-home-faq-head {
    position: sticky;
    top: 120px;
}

.bw-home-premium .bw-home-faq-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 96px;
    margin: 30px 0;
    color: var(--bw-blue);
    font-size: 54px;
    font-weight: 600;
    line-height: 1;
    background: linear-gradient(160deg, #f3f9ff 0%, var(--bw-sky) 100%);
    border: 1px solid #d6e6f6;
    border-radius: 30px;
    box-shadow: 0 18px 34px -26px rgba(11, 106, 161, .45);
    rotate: -6deg;
    animation: bwBob 6s ease-in-out infinite;
}

.bw-home-premium .bw-home-faq-item {
    margin: 0 0 14px;
    background: #fff;
    border: 1.5px solid var(--bw-line);
    border-radius: 22px;
    transition: border-color .4s, box-shadow .4s, background-color .4s;
}

.bw-home-premium .bw-home-faq-item:hover {
    border-color: #c9dbec;
}

.bw-home-premium .bw-home-faq-item[open] {
    background: #fbfdff;
    border-color: var(--bw-blue);
    box-shadow: 0 26px 50px -38px rgba(28, 43, 65, .45);
}

.bw-home-premium .bw-home-faq-item.is-closing {
    border-color: var(--bw-line);
    box-shadow: none;
}

.bw-home-premium .bw-home-faq-q {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 26px;
    color: var(--bw-ink);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    list-style: none;
    border-radius: 20px;
    cursor: pointer;
}

.bw-home-premium .bw-home-faq-q::-webkit-details-marker {
    display: none;
}

.bw-home-premium .bw-home-faq-q::marker {
    content: "";
}

.bw-home-premium .bw-home-faq-num {
    flex-shrink: 0;
    padding: 6px 9px;
    color: var(--bw-blue);
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    background: var(--bw-sky);
    border-radius: 10px;
}

.bw-home-premium .bw-home-faq-text {
    flex: 1;
}

.bw-home-premium .bw-home-faq-icon {
    position: relative;
    flex: 0 0 38px;
    height: 38px;
    background: var(--bw-soft);
    border-radius: 50%;
    transition: background-color .4s, transform .4s var(--bw-ease);
}

.bw-home-premium .bw-home-faq-icon::before,
.bw-home-premium .bw-home-faq-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 2px;
    margin: -1px 0 0 -7px;
    border-radius: 2px;
    background: var(--bw-ink);
    transition: background-color .4s;
}

.bw-home-premium .bw-home-faq-icon::after {
    transform: rotate(90deg);
}

.bw-home-premium .bw-home-faq-item[open]:not(.is-closing) .bw-home-faq-icon {
    background: var(--bw-blue);
    transform: rotate(135deg);
}

.bw-home-premium .bw-home-faq-item[open]:not(.is-closing) .bw-home-faq-icon::before,
.bw-home-premium .bw-home-faq-item[open]:not(.is-closing) .bw-home-faq-icon::after {
    background: #fff;
}

.bw-home-premium .bw-home-faq-a {
    padding: 0 26px 26px 80px;
}

.bw-home-premium .bw-home-faq-a p {
    margin: 0;
    padding-right: 52px;
    color: var(--bw-text);
    font-size: 18px;
    line-height: 1.75;
}

/* ---------- 11. Contact (shared RebrandContact.ascx, homepage look only) ---------- */

/* Flat form on the /org/ai footer background: outlined pill fields and a white button, no card. */
body.bw-home-premium .bw-rebrand-contact-section {
    position: relative;
    padding: 110px 0 100px !important;
    overflow: hidden;
    color: #fff;
    background: radial-gradient(442.05% 76.23% at 50% 50%, #2b4f74 0%, #1c2b41 100%);
}

body.bw-home-premium .bw-rebrand-contact-section > .container {
    position: relative;
    z-index: 1;
    text-align: center;
}

body.bw-home-premium .bw-rebrand-contact-section .bw-rebrand-title {
    margin: 0 0 44px;
    color: #fff;
    font-family: Assistant, sans-serif;
    font-size: 54px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0;
    text-align: center !important;
}

body.bw-home-premium .bw-rebrand-contact-section > .container > .row {
    max-width: 1080px;
    margin: 0 auto;
}

body.bw-home-premium .bw-rebrand-contact-section > .container > .row > [class*="col-"] {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0;
}

body.bw-home-premium .bw-rebrand-contact-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: start;
    margin: 0;
    padding: 0;
    background: none;
    border: 0;
}

body.bw-home-premium .bw-rebrand-contact-form .row {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    flex-wrap: nowrap;
    gap: 14px;
    margin: 0;
}

body.bw-home-premium .bw-rebrand-contact-form .row > [class*="col-"] {
    flex: 1 1 0;
    max-width: none;
    margin: 0;
    padding: 0;
}

body.bw-home-premium .bw-rebrand-contact-form .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

body.bw-home-premium .bw-rebrand-contact-form .form-control {
    display: block;
    width: 100%;
    height: 58px;
    padding: 0 24px;
    color: #fff;
    font-family: Assistant, sans-serif;
    font-size: 19px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .6);
    border-radius: 40px;
    box-shadow: none;
    transition: border-color .3s, background-color .3s, box-shadow .3s;
}

body.bw-home-premium .bw-rebrand-contact-form .form-control::placeholder {
    color: rgba(255, 255, 255, .82);
}

body.bw-home-premium .bw-rebrand-contact-form .form-control:focus {
    background: rgba(255, 255, 255, .06);
    border-color: #fff;
    box-shadow: 0 0 0 3px rgba(88, 200, 126, .4);
    outline: 0;
}

body.bw-home-premium .bw-rebrand-contact-error {
    grid-column: 1 / -1;
    grid-row: 2;
    margin: 0;
    color: #ffc107;
    font-size: 16px;
    text-align: right;
}

/* Field messages (RebrandContact FieldErrors="true"): space under each field is reserved,
   so showing a message never moves the button or the WhatsApp link. */
body.bw-home-premium .bw-rebrand-contact-form--fields {
    position: relative;
}

body.bw-home-premium .bw-rebrand-contact-form--fields .row > [class*="col-"] {
    position: relative;
    padding-bottom: 26px;
}

body.bw-home-premium .bw-rebrand-field-error {
    position: absolute;
    right: 24px;
    bottom: 3px;
    left: 8px;
    overflow: hidden;
    color: #ffc107;
    font-family: Assistant, sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 18px;
    text-align: right;
    white-space: nowrap;
    text-overflow: ellipsis;
}

body.bw-home-premium .bw-rebrand-contact-form .form-control.bw-field-invalid {
    border-color: #ffc107;
    box-shadow: 0 0 0 1px rgba(255, 193, 7, .5);
}

body.bw-home-premium .bw-rebrand-contact-form--fields .bw-rebrand-contact-error {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    margin-top: 2px;
    font-size: 15px;
    line-height: 1.4;
}

body.bw-home-premium .bw-rebrand-contact-submit {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
}

body.bw-home-premium .bw-rebrand-contact-button {
    height: 58px;
    padding: 0 34px;
    color: var(--bw-navy-900);
    font-family: Assistant, sans-serif;
    font-size: 19px;
    font-weight: 700;
    white-space: nowrap;
    background: #fff;
    border: 0;
    border-radius: 50px;
    box-shadow: 0 14px 30px -18px rgba(0, 0, 0, .5);
    transition: transform .35s var(--bw-ease), background-color .35s;
}

body.bw-home-premium .bw-rebrand-contact-button:hover,
body.bw-home-premium .bw-rebrand-contact-button:focus {
    color: var(--bw-navy-900);
    background: var(--bw-sky);
    transform: translateY(-2px);
}

body.bw-home-premium .bw-rebrand-contact-button:focus-visible {
    outline: 3px solid var(--bw-green);
    outline-offset: 3px;
}

body.bw-home-premium .bw-rebrand-contact-alt {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px 22px;
    margin-top: 40px;
    text-align: center;
}

body.bw-home-premium .bw-rebrand-contact-alt > span {
    color: #fff;
    font-family: Assistant, sans-serif;
    font-size: 22px;
    font-weight: 600;
}

body.bw-home-premium .bw-rebrand-contact-alt .bw-rebrand-link,
body.bw-home-premium .bw-rebrand-contact-alt .bw-rebrand-link:visited {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 52px;
    padding: 0 24px;
    color: #fff;
    font-family: Assistant, sans-serif;
    font-size: 19px;
    font-weight: 700;
    text-decoration: none;
    background: #1fb855;
    border-radius: 999px;
    transition: transform .35s var(--bw-ease), background-color .35s;
}

body.bw-home-premium .bw-rebrand-contact-alt .bw-rebrand-link:hover,
body.bw-home-premium .bw-rebrand-contact-alt .bw-rebrand-link:focus {
    color: #fff;
    background: #19a24a;
    transform: translateY(-2px);
}

body.bw-home-premium .bw-rebrand-contact-alt .fa-whatsapp {
    color: #fff;
    font-size: 24px;
}

/* ---------- 12. Footer (shared Footer.ascx, homepage look only) ---------- */

body.bw-home-premium .footer-classic {
    color: var(--bw-text);
    background: #f2f6fb;
    border-top: 0;
}

body.bw-home-premium .footer-classic-main {
    padding: 80px 0 64px;
}

body.bw-home-premium .footer-classic-title,
body.bw-home-premium .footer-classic-title a {
    position: relative;
    color: var(--bw-ink);
    font-family: Assistant, sans-serif;
    font-size: 19px;
    font-weight: 700;
    text-decoration: none;
}

/* Accent above each link list (some CMS menu columns have a title but no list) */
body.bw-home-premium .footer-classic-list::before {
    content: "";
    display: block;
    width: 28px;
    height: 3px;
    margin: -6px 0 18px;
    border-radius: 3px;
    background: var(--bw-green);
}

body.bw-home-premium .footer-classic-list a,
body.bw-home-premium .footer-classic-list a:visited {
    color: var(--bw-text);
    font-size: 16px;
    text-decoration: none;
    transition: color .25s;
}

body.bw-home-premium .footer-classic-list a:hover,
body.bw-home-premium .footer-classic-list a:focus,
body.bw-home-premium .footer-classic-title a:hover,
body.bw-home-premium .footer-classic-title a:focus {
    color: var(--bw-blue);
    text-decoration: none;
}

body.bw-home-premium .footer-classic-aside {
    border-top: 1px solid #dde6f0;
}

body.bw-home-premium .footer-classic-aside .rights {
    color: var(--bw-muted);
}

/* ---------- Keyframes ---------- */

@keyframes bwRise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes bwFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes bwFadeDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes bwSceneIn { from { opacity: 0; transform: translateY(34px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes bwFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@keyframes bwDrift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(40px, -30px, 0) scale(1.15); } }
@keyframes bwSpin { to { transform: rotate(360deg); } }
@keyframes bwSpinCentered { from { transform: translate(-50%, -50%) rotate(0); } to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes bwProgress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes bwFlow { to { stroke-dashoffset: -40; } }
@keyframes bwRing { from { opacity: .9; transform: scale(.7); } to { opacity: 0; transform: scale(1.5); } }
@keyframes bwRingCss { from { opacity: .9; transform: scale(1); } to { opacity: 0; transform: scale(1.45); } }
@keyframes bwBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes bwPulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.55); opacity: .45; } }
@keyframes bwBar { 0%, 100% { transform: scaleY(.55); } 45%, 60% { transform: scaleY(1); } }
@keyframes bwDraw { 0% { stroke-dashoffset: 240; } 45%, 75% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -240; } }
@keyframes bwFlame { from { transform: scaleY(.7); opacity: .8; } to { transform: scaleY(1.15); opacity: 1; } }
@keyframes bwWindow { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }
@keyframes bwTick { 0%, 8% { stroke-dashoffset: 16; } 24%, 82% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 16; } }
@keyframes bwScan { 0%, 100% { transform: translate(0, 0); } 35% { transform: translate(-14px, -12px); } 70% { transform: translate(-6px, -22px); } }
@keyframes bwWave { 0%, 100% { opacity: .2; } 50% { opacity: 1; } }
@keyframes bwTwinkle { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
@keyframes bwPulseTravel { 0% { stroke-dashoffset: 8; opacity: 0; } 8% { opacity: 1; } 62% { stroke-dashoffset: -100; opacity: 1; } 66%, 100% { stroke-dashoffset: -100; opacity: 0; } }
@keyframes bwModule { 0%, 40%, 100% { fill: rgba(255, 255, 255, .9); } 12%, 28% { fill: #58c87e; } }
@keyframes bwNetDriftA { from { transform: translate(0, 0); } to { transform: translate(16px, -12px); } }
@keyframes bwNetDriftB { from { transform: translate(0, 0); } to { transform: translate(-14px, 14px); } }
@keyframes bwNetLines { 0%, 100% { opacity: .7; } 50% { opacity: 1; } }
@keyframes bwStreamPulse { 0% { stroke-dashoffset: 8; opacity: 0; } 10% { opacity: 1; } 55% { opacity: 1; } 75%, 100% { stroke-dashoffset: -100; opacity: 0; } }
@keyframes bwPinLift { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes bwPinSpot { 0%, 100% { transform: scale(1); opacity: .28; } 50% { transform: scale(.7); opacity: .14; } }
@keyframes bwNodePulse { 0%, 100% { transform: scale(1); opacity: .55; } 50% { transform: scale(1.8); opacity: 1; } }

/* Decorative loops pause while their section is off screen (js/home-premium.js toggles is-inview). */
.bw-home-premium.bw-anim .bw-home-section:not(.is-inview) *,
.bw-home-premium.bw-anim .bw-home-hero:not(.is-inview) * {
    animation-play-state: paused !important;
}

/* ---------- Responsive ---------- */

@media (max-width: 1399px) {
    .bw-home-premium .bw-home-hero-title {
        font-size: 68px;
    }

    .bw-home-premium .bw-home-adv-grid {
        gap: 18px;
    }

    .bw-home-premium .bw-home-adv-item {
        padding: 32px 24px 30px;
    }
}

@media (max-width: 1199px) {
    .bw-home-premium .bw-home-h2 {
        font-size: 42px;
    }

    .bw-home-premium .bw-home-hero {
        min-height: 0;
        padding: 150px 0 96px;
    }

    .bw-home-premium .bw-home-hero-title {
        font-size: 58px;
    }

    .bw-home-premium .bw-home-hero-sub {
        font-size: 20px;
    }

    .bw-home-premium .bw-home-adv-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bw-home-premium .bw-home-faq-layout {
        gap: 44px;
    }

    .bw-home-premium .bw-home-whybw-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 48px 40px;
    }

    .bw-home-premium .bw-home-whybw-item p {
        max-width: 320px;
    }

    .bw-home-premium .bw-home-whybw-head .bw-home-h2 {
        font-size: 52px;
    }

    body.bw-home-premium .bw-rebrand-contact-section .bw-rebrand-title {
        font-size: 48px;
    }

    body.bw-home-premium .bw-rebrand-contact-button {
        padding: 0 26px;
        font-size: 18px;
    }
}

@media (max-width: 991px) {
    .bw-home-premium .bw-home-hero {
        padding: 128px 0 80px;
    }

    .bw-home-premium .bw-home-hero-inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 56px;
    }

    .bw-home-premium .bw-home-hero-copy {
        width: 100%;
        max-width: 680px;
        justify-self: center;
    }

    .bw-home-premium .bw-home-hero-stage {
        max-width: 620px;
        justify-self: center;
    }

    .bw-home-premium .bw-home-industries-layout,
    .bw-home-premium .bw-home-faq-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .bw-home-premium .bw-home-industries-layout {
        gap: 40px;
    }

    .bw-home-premium .bw-home-faq-head {
        position: static;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
    }

    .bw-home-premium .bw-home-faq-mark {
        display: none;
    }

    .bw-home-premium .bw-home-tl-line {
        top: 38px;
        right: 37px;
        bottom: 40px;
        left: auto;
        width: 3px;
        height: auto;
    }

    .bw-home-premium .bw-home-tl-line span {
        background: linear-gradient(180deg, var(--bw-blue) 0%, var(--bw-navy-700) 70%, var(--bw-green) 100%);
        transform-origin: center top;
    }

    .bw-home-premium.bw-anim .bw-home-timeline .bw-home-tl-line span {
        transform: scaleY(0);
    }

    .bw-home-premium.bw-anim .bw-home-timeline.is-in .bw-home-tl-line span {
        transform: scaleY(1);
    }

    .bw-home-premium .bw-home-tl-list {
        grid-template-columns: minmax(0, 1fr);
        gap: 26px;
    }

    .bw-home-premium .bw-home-tl-step {
        flex-direction: row;
        align-items: flex-start;
        gap: 24px;
    }

    .bw-home-premium .bw-home-tl-marker {
        flex-shrink: 0;
        margin: 0;
    }

    .bw-home-premium .bw-home-tl-card::before {
        display: none;
    }

    body.bw-home-premium .bw-rebrand-contact-form {
        grid-template-columns: minmax(0, 1fr);
    }

    body.bw-home-premium .bw-rebrand-contact-submit {
        grid-column: 1;
        grid-row: 2;
    }

    body.bw-home-premium .bw-rebrand-contact-error {
        grid-row: 3;
    }

    body.bw-home-premium .bw-rebrand-contact-button {
        width: 100%;
    }

    body.bw-home-premium .bw-rebrand-contact-section .bw-rebrand-title {
        margin-bottom: 34px;
    }

    body.bw-home-premium .bw-rebrand-guarantee .bw-rebrand-guarantee-copy h2 {
        font-size: 44px;
    }
}

@media (max-width: 767px) {
    .bw-home-premium .bw-home-h2 {
        font-size: 34px;
        line-height: 1.18;
    }

    .bw-home-premium .bw-home-lead {
        font-size: 18px;
    }

    .bw-home-premium .bw-home-sec-head--split {
        flex-direction: column;
        align-items: flex-start;
        gap: 22px;
        margin-bottom: 30px;
    }

    .bw-home-premium .bw-home-sec-head--center {
        margin-bottom: 40px;
    }

    .bw-home-premium .bw-home-hero {
        padding: 100px 0 64px;
    }

    .bw-home-premium .bw-home-hero-title {
        font-size: 44px;
        line-height: 1.1;
    }

    .bw-home-premium .bw-home-hero-sub {
        max-width: 340px;
        margin: 20px auto 30px;
        font-size: 18.5px;
    }

    .bw-home-premium .bw-home-btn--lg {
        height: 58px;
        padding: 0 30px;
        font-size: 19px;
    }

    .bw-home-premium .bw-home-hero-inner {
        gap: 40px;
    }

    .bw-home-premium .bw-home-clients-premium {
        padding: 32px 0 30px;
    }

    .bw-home-premium .bw-home-clients-row {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        padding-right: 0;
    }

    .bw-home-premium .bw-home-clients-heading {
        padding: 0 20px;
        white-space: normal;
        font-size: 18px;
        text-align: center;
        border: 0;
    }

    .bw-home-premium .bw-home-marquee-list {
        gap: 44px;
        padding: 0 22px;
    }

    .bw-home-premium .bw-home-marquee-item {
        height: 70px;
    }

    .bw-home-premium .bw-home-marquee {
        --bw-logo-h: 56px;
        --bw-logo-w: 150px;
        --bw-mq-speed: 48;
    }

    .bw-home-premium .bw-home-industries-premium,
    .bw-home-premium .bw-home-systems-premium,
    .bw-home-premium .bw-home-adv,
    .bw-home-premium .bw-home-stages-premium,
    .bw-home-premium .bw-home-whybw,
    .bw-home-premium .bw-home-testi,
    .bw-home-premium .bw-home-faq-premium {
        padding: 72px 0;
    }

    body.bw-home-premium .bw-rebrand-guarantee,
    body.bw-home-premium .bw-rebrand-contact-section {
        padding: 72px 0 !important;
    }

    .bw-home-premium .bw-home-carousel-nav {
        align-self: flex-end;
        gap: 10px;
        margin-top: -6px;
    }

    .bw-home-premium .bw-home-carousel-nav .bw-home-arrow {
        width: 46px;
        height: 46px;
    }

    .bw-home-premium .bw-home-carousel-track {
        gap: 16px;
        padding-bottom: 34px;
    }

    .bw-home-premium .bw-home-sys-card {
        flex-basis: 84%;
    }

    .bw-home-premium .bw-home-sys-visual {
        height: 200px;
    }

    .bw-home-premium .bw-home-sys-body {
        padding: 24px 24px 26px;
    }

    .bw-home-premium .bw-home-carousel-foot {
        flex-direction: column-reverse;
        align-items: stretch;
        gap: 22px;
    }

    .bw-home-premium .bw-home-carousel-progress {
        flex-basis: auto;
        width: 100%;
    }

    .bw-home-premium .bw-home-carousel-foot .bw-home-btn {
        width: 100%;
        white-space: normal;
        text-align: center;
    }

    .bw-home-premium .bw-home-adv-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .bw-home-premium .bw-home-adv-item {
        display: grid;
        grid-template-columns: 72px minmax(0, 1fr);
        column-gap: 20px;
        padding: 26px 22px;
    }

    .bw-home-premium .bw-home-adv-icon {
        grid-row: 1 / span 2;
        width: 72px;
        height: 72px;
        margin: 0;
        border-radius: 20px;
    }

    .bw-home-premium .bw-home-adv-icon svg {
        width: 44px;
        height: 44px;
    }

    .bw-home-premium .bw-home-adv-title {
        font-size: 21px;
    }

    .bw-home-premium .bw-home-adv-text {
        font-size: 17px;
    }

    .bw-home-premium .bw-home-tl-step {
        gap: 16px;
    }

    .bw-home-premium .bw-home-tl-marker {
        width: 58px;
        height: 58px;
        font-size: 22px;
    }

    .bw-home-premium .bw-home-tl-line {
        top: 30px;
        right: 28px;
    }

    .bw-home-premium .bw-home-tl-card {
        padding: 24px 22px;
    }

    .bw-home-premium .bw-home-tl-title {
        font-size: 22px;
    }

    .bw-home-premium .bw-home-whybw-head .bw-home-h2 {
        font-size: 42px;
    }

    .bw-home-premium .bw-home-whybw-head {
        margin-bottom: 48px;
    }

    .bw-home-premium .bw-home-whybw-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 36px 18px;
    }

    .bw-home-premium .bw-home-whybw-item {
        gap: 18px;
    }

    .bw-home-premium .bw-home-whybw-icon {
        width: 76px;
        height: 76px;
        box-shadow: 0 0 0 7px rgba(231, 242, 255, .45);
    }

    .bw-home-premium .bw-home-whybw-icon svg {
        width: 42px;
        height: 42px;
    }

    .bw-home-premium .bw-home-whybw-item p {
        font-size: 17.5px;
    }

    .bw-home-premium .bw-home-testi-col {
        flex-basis: 78%;
    }

    .bw-home-premium .bw-home-testi-col--text {
        flex-basis: 84%;
    }

    .bw-home-premium .bw-home-tq-text {
        font-size: 17px;
    }

    .bw-home-premium .bw-home-tl-text {
        font-size: 17px;
    }

    .bw-home-premium .bw-home-faq-q {
        gap: 12px;
        padding: 20px 18px;
        font-size: 18px;
    }

    .bw-home-premium .bw-home-faq-num {
        display: none;
    }

    .bw-home-premium .bw-home-faq-a {
        padding: 0 18px 22px;
    }

    .bw-home-premium .bw-home-faq-a p {
        padding: 0;
        font-size: 17px;
    }

    body.bw-home-premium .bw-rebrand-guarantee .bw-rebrand-guarantee-copy h2 {
        font-size: 36px;
    }

    body.bw-home-premium .bw-rebrand-contact-section .bw-rebrand-title {
        font-size: 38px;
        text-align: center !important;
    }

    body.bw-home-premium .bw-rebrand-contact-form .row {
        flex-direction: column;
        gap: 12px;
    }

    body.bw-home-premium .bw-rebrand-contact-form--fields .row {
        gap: 0;
    }

    body.bw-home-premium .bw-rebrand-contact-form--fields .row > [class*="col-"] {
        padding-bottom: 24px;
    }

    body.bw-home-premium .bw-rebrand-contact-form .row > [class*="col-"] {
        flex: 0 0 auto;
    }

    body.bw-home-premium .bw-rebrand-contact-form .form-control {
        height: 54px;
        font-size: 18px;
    }

    body.bw-home-premium .bw-rebrand-contact-button {
        width: 100%;
        height: auto;
        min-height: 56px;
        padding: 14px 20px;
        font-size: 18px;
        line-height: 1.3;
        white-space: normal;
    }

    body.bw-home-premium .bw-rebrand-contact-alt {
        flex-direction: column;
        margin-top: 32px;
    }

    body.bw-home-premium .bw-rebrand-contact-alt > span {
        font-size: 20px;
    }

    body.bw-home-premium .footer-classic-main {
        padding: 56px 0 44px;
    }
}

@media (max-width: 420px) {
    .bw-home-premium .bw-home-hero-title {
        font-size: 38px;
    }

    .bw-home-premium .bw-home-h2 {
        font-size: 30px;
    }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
    body.bw-home-premium *,
    body.bw-home-premium *::before,
    body.bw-home-premium *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }

    .bw-home-premium .bw-home-marquee {
        -webkit-mask-image: none;
        mask-image: none;
    }

    .bw-home-premium .bw-home-marquee-track {
        width: auto;
        justify-content: center;
    }

    .bw-home-premium .bw-home-marquee-list {
        flex-wrap: wrap;
        justify-content: center;
        row-gap: 24px;
    }

    .bw-home-premium .bw-home-marquee-list[aria-hidden="true"] {
        display: none;
    }
}
