/* BR HOME VISUAL V1 R4-R2 — SUBTLE RIGHT MENU + FULL FOOTER */
.brHomeV1 {
    --br-green:#169447;
    --br-green-dark:#0e7335;
    --br-green-soft:#eaf6ee;
    --br-navy:#062b55;
    --br-ink:#142235;
    --br-muted:#617082;
    --br-line:#dfe6ec;
    background:#fff;
    color:var(--br-ink);
    font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

body.siteBody {
    background:#f6f8fa !important;
}

body.siteBody .top {
    display:block !important;
    visibility:visible !important;
    opacity:1 !important;
    background:#fff !important;
    border-bottom:1px solid #edf1f4 !important;
    box-shadow:0 5px 20px rgba(6,43,85,.035) !important;
    position:relative;
    z-index:30;
}

body.siteBody .top .wrap.nav {
    width:min(1180px,calc(100% - 40px)) !important;
    min-height:112px !important;
    margin:0 auto !important;
    padding:0 !important;
    display:flex !important;
    align-items:center !important;
    gap:34px !important;
}

body.siteBody .top .brand {
    display:inline-flex !important;
    align-items:center !important;
    gap:13px !important;
    min-width:300px !important;
    color:#062b55 !important;
    text-decoration:none !important;
    opacity:1 !important;
    visibility:visible !important;
}

body.siteBody .top .brand .logoMark {
    display:block !important;
    width:72px !important;
    height:72px !important;
    flex:0 0 72px !important;
    font-size:0 !important;
    line-height:0 !important;
    color:transparent !important;
    border:0 !important;
    border-radius:0 !important;
    box-shadow:none !important;
    background:#169447 !important;
    -webkit-mask:url("/assets/images/home/bractwo-logo-mark.png") center/contain no-repeat !important;
    mask:url("/assets/images/home/bractwo-logo-mark.png") center/contain no-repeat !important;
}

body.siteBody .top .brand > span:last-child {
    display:flex !important;
    flex-direction:column !important;
}

body.siteBody .top .brand b {
    display:block !important;
    color:#169447 !important;
    -webkit-text-fill-color:#169447 !important;
    text-transform:uppercase !important;
    font-size:24px !important;
    font-weight:820 !important;
    line-height:.94 !important;
    letter-spacing:-.6px !important;
    max-width:190px;
}

body.siteBody .top .brand small {
    display:block !important;
    color:#667484 !important;
    -webkit-text-fill-color:#667484 !important;
    margin-top:7px !important;
    font-size:12px !important;
    line-height:1.25 !important;
}

/* Menu stays on the RIGHT. Only the whole group gets a very subtle background. */
body.siteBody .top nav {
    display:flex !important;
    align-items:center !important;
    justify-content:flex-end !important;
    gap:4px !important;
    flex-wrap:wrap !important;
    margin-left:auto !important;
    padding:6px 8px !important;
    border:1px solid rgba(23,83,117,.09) !important;
    border-radius:13px !important;
    background:linear-gradient(
        100deg,
        rgba(22,148,71,.055) 0%,
        rgba(255,255,255,.76) 46%,
        rgba(6,43,85,.050) 100%
    ) !important;
    box-shadow:0 5px 16px rgba(6,43,85,.035),inset 0 1px 0 rgba(255,255,255,.82) !important;
}

body.siteBody .top nav a,
body.siteBody .top nav a:link,
body.siteBody .top nav a:visited {
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    min-height:37px !important;
    padding:0 13px !important;
    border-radius:7px !important;
    color:#062b55 !important;
    -webkit-text-fill-color:#062b55 !important;
    background:transparent !important;
    text-decoration:none !important;
    font-weight:690 !important;
    font-size:14px !important;
    box-shadow:none !important;
    opacity:1 !important;
    visibility:visible !important;
    transition:background .16s ease,color .16s ease,transform .16s ease !important;
}

body.siteBody .top nav a:hover,
body.siteBody .top nav a:focus-visible {
    color:#0e7335 !important;
    -webkit-text-fill-color:#0e7335 !important;
    background:rgba(255,255,255,.80) !important;
    transform:translateY(-1px) !important;
}

.brHomeV1 .wrap,
.brHomeV1 .brHero {
    width:min(1180px,calc(100% - 40px));
    margin-left:auto;
    margin-right:auto;
}

.brHero {
    margin-top:16px;
    margin-bottom:76px;
    position:relative;
}

.brHeroSlides {
    position:relative;
    height:clamp(430px,48vw,590px);
    border-radius:18px;
    overflow:hidden;
    background:var(--br-navy);
    box-shadow:0 18px 50px rgba(15,35,55,.12);
}

.brHeroSlide {
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    opacity:0;
    transform:scale(1.018);
    transition:opacity .7s ease,transform 5.5s ease;
}
.brHeroSlide.is-active { opacity:1; transform:scale(1); }

.brHeroShade {
    position:absolute;
    inset:0;
    z-index:2;
    pointer-events:none;
    background:linear-gradient(90deg,rgba(4,24,44,.82) 0%,rgba(4,24,44,.60) 35%,rgba(4,24,44,.13) 72%,rgba(4,24,44,.06) 100%), linear-gradient(0deg,rgba(1,17,33,.28),transparent 55%);
}

.brHeroCopy {
    position:absolute;
    z-index:4;
    left:clamp(38px,7vw,92px);
    top:50%;
    transform:translateY(-50%);
    width:min(540px,calc(100% - 90px));
    color:#fff;
}

.brEyebrow {
    display:inline-block;
    color:var(--br-green);
    font-size:12px;
    line-height:1;
    font-weight:800;
    letter-spacing:.11em;
    text-transform:uppercase;
}
.brHeroCopy .brEyebrow { color:#a8efbd; }

.brHeroCopy h1 {
    margin:15px 0 16px;
    color:#fff;
    font-size:clamp(38px,5.4vw,68px);
    line-height:.99;
    letter-spacing:-2.4px;
    font-weight:820;
}

.brHeroCopy p {
    max-width:490px;
    margin:0 0 27px;
    color:rgba(255,255,255,.92);
    font-size:clamp(15px,1.6vw,18px);
    line-height:1.55;
}

.brButton {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:15px;
    padding:13px 19px;
    border-radius:7px;
    text-decoration:none;
    font-weight:750;
    transition:transform .2s ease,box-shadow .2s ease,background .2s ease;
}
.brButtonGreen { color:#fff !important; background:var(--br-green); box-shadow:0 8px 22px rgba(22,148,71,.24); }
.brButtonGreen:hover { color:#fff !important; background:var(--br-green-dark); transform:translateY(-1px); }

.brHeroArrow {
    position:absolute;
    z-index:5;
    top:50%;
    transform:translateY(-50%);
    width:44px;
    height:44px;
    padding:0;
    border:0;
    border-radius:50%;
    background:rgba(255,255,255,.94);
    color:var(--br-navy);
    font-size:32px;
    line-height:1;
    cursor:pointer;
    box-shadow:0 8px 24px rgba(0,0,0,.16);
}
.brHeroArrow:hover { background:#fff; color:var(--br-green); }
.brHeroPrev { left:20px; }
.brHeroNext { right:20px; }

.brHeroDots {
    position:absolute;
    z-index:6;
    left:50%;
    bottom:30px;
    transform:translateX(-50%);
    display:flex;
    gap:8px;
}
.brHeroDots button { width:9px; height:9px; padding:0; border:0; border-radius:50%; background:rgba(255,255,255,.84); cursor:pointer; }
.brHeroDots button.is-active { background:var(--br-green); box-shadow:0 0 0 3px rgba(22,148,71,.25); }

.brHeroThumbs {
    position:absolute;
    z-index:7;
    left:50%;
    bottom:-43px;
    transform:translateX(-50%);
    width:min(700px,calc(100% - 80px));
    display:grid;
    grid-template-columns:repeat(5,1fr);
    padding:5px;
    gap:5px;
    border-radius:12px;
    background:rgba(255,255,255,.97);
    box-shadow:0 12px 30px rgba(17,40,61,.18);
}
.brHeroThumbs button { padding:0; height:75px; overflow:hidden; border:0; border-radius:8px; cursor:pointer; background:#e9eef2; opacity:.78; }
.brHeroThumbs button.is-active,.brHeroThumbs button:hover { opacity:1; }
.brHeroThumbs img { display:block; width:100%; height:100%; object-fit:cover; }

.brValues {
    border:1px solid var(--br-line);
    border-radius:15px;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    background:#fff;
    margin-bottom:38px;
    box-shadow:0 8px 30px rgba(15,43,68,.04);
}
.brValue { display:flex; gap:18px; padding:28px 30px; min-height:145px; align-items:flex-start; }
.brValue + .brValue { border-left:1px solid var(--br-line); }
.brValueIcon,.brActionIcon,.brJoinIcon { display:grid; place-items:center; flex:0 0 auto; border-radius:50%; background:var(--br-green); color:#fff; font-weight:800; }
.brValueIcon { width:58px; height:58px; font-size:25px; }
.brValue h2 { margin:0 0 7px; font-size:17px; color:var(--br-navy); }
.brValue p { margin:0 0 10px; font-size:14px; color:var(--br-muted); line-height:1.5; }
.brValue a { color:var(--br-green); text-decoration:none; font-weight:750; font-size:13px; }

.brMainGrid {
    display:grid;
    grid-template-columns:minmax(0,1.22fr) minmax(340px,.95fr);
    gap:30px;
    align-items:stretch;
    margin-bottom:38px;
}
.brSectionHead { display:flex; align-items:baseline; justify-content:space-between; gap:20px; margin-bottom:16px; }
.brSectionHead h2 { margin:0; font-size:22px; color:var(--br-navy); }
.brSectionHead a { color:var(--br-green); text-decoration:none; font-size:13px; font-weight:750; }
.brNewsGrid { display:grid; grid-template-columns:repeat(3,1fr); gap:15px; }
.brNewsCard { min-width:0; overflow:hidden; border:1px solid var(--br-line); border-radius:12px; background:#fff; box-shadow:0 8px 24px rgba(10,42,75,.035); }
.brNewsImage { display:block; aspect-ratio:1.45/1; overflow:hidden; background:#e7edf1; }
.brNewsImage img { width:100%; height:100%; display:block; object-fit:cover; transition:transform .35s ease; }
.brNewsCard:hover .brNewsImage img { transform:scale(1.035); }
.brNewsBody { padding:15px 16px 17px; }
.brNewsTag { display:inline-block; padding:4px 8px; border-radius:99px; background:var(--br-green-soft); color:var(--br-green-dark); font-size:10px; font-weight:750; }
.brNewsBody h3 { margin:10px 0 8px; font-size:16px; line-height:1.22; }
.brNewsBody h3 a { color:var(--br-navy); text-decoration:none; }
.brNewsBody h3 a:hover { color:var(--br-green); }
.brNewsBody p { margin:0 0 14px; color:var(--br-muted); font-size:13px; line-height:1.48; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.brNewsBody time { color:#788594; font-size:11px; }
.brEmptyNews { padding:28px; border:1px solid var(--br-line); border-radius:12px; color:var(--br-muted); }

.brNavyPanel {
    border-radius:14px;
    padding:25px 26px;
    color:#fff;
    background:radial-gradient(circle at 100% 0%,rgba(18,96,159,.35),transparent 42%), linear-gradient(145deg,#082f5b,#041f40);
    box-shadow:0 16px 40px rgba(5,39,75,.18);
}
.brSectionHeadLight h2 { color:#fff; }
.brSectionHeadLight a { color:#6fe28f; }
.brAction { display:grid; grid-template-columns:58px 1fr; gap:18px; padding:15px 0; color:#fff; text-decoration:none; }
.brAction + .brAction { border-top:1px solid rgba(255,255,255,.12); }
.brActionIcon { width:58px; height:58px; border-radius:10px; font-size:24px; }
.brAction span:last-child { display:flex; flex-direction:column; gap:5px; }
.brAction strong { font-size:16px; color:#fff; }
.brAction small { color:rgba(255,255,255,.78); line-height:1.45; font-size:13px; }
.brAction:hover strong { color:#84efa1; }

.brJoin {
    min-height:132px;
    display:grid;
    grid-template-columns:1.7fr .8fr;
    overflow:hidden;
    border-radius:18px;
    background:linear-gradient(90deg,#edf7f0 0%,#fbfdfb 62%);
    border:1px solid #dce8df;
    margin-bottom:34px;
}
.brJoinCopy { display:grid; grid-template-columns:65px 1fr auto; gap:20px; align-items:center; padding:28px 30px; }
.brJoinIcon { width:65px; height:65px; color:var(--br-green); background:rgba(22,148,71,.10); font-size:31px; }
.brJoinCopy h2 { margin:0 0 6px; color:var(--br-navy); font-size:21px; }
.brJoinCopy p { margin:0; color:var(--br-muted); font-size:14px; line-height:1.5; }
.brJoinPhoto { background:linear-gradient(90deg,rgba(255,255,255,.85),transparent 44%), url("/assets/images/home/hero-06.webp") center 38%/cover no-repeat; }

.brQuote {
    padding:28px 30px;
    border-left:5px solid var(--br-green);
    background:#f5f8fa;
    border-radius:0 12px 12px 0;
    margin-bottom:40px;
}
.brQuote blockquote { margin:10px 0; font-size:clamp(20px,2.6vw,28px); line-height:1.35; color:var(--br-navy); }
.brQuote p { margin:0 0 9px; color:var(--br-muted); }
.brQuote a { color:var(--br-green); text-decoration:none; font-weight:700; }

body.siteBody footer {
    position:relative;
    margin-top:0 !important;
    border-top:4px solid #169447 !important;
    background:
        radial-gradient(circle at 8% 18%,rgba(22,148,71,.12),transparent 27%),
        linear-gradient(135deg,#062f5a 0%,#031d3a 74%) !important;
    color:rgba(255,255,255,.82) !important;
    overflow:hidden;
}

body.siteBody footer::after {
    content:"";
    position:absolute;
    right:-55px;
    top:-54px;
    width:250px;
    height:250px;
    opacity:.025;
    background:#fff;
    -webkit-mask:url("/assets/images/home/bractwo-logo-mark.png") center/contain no-repeat;
    mask:url("/assets/images/home/bractwo-logo-mark.png") center/contain no-repeat;
    pointer-events:none;
}

body.siteBody footer .wrap.foot.footRich {
    position:relative;
    z-index:2;
    width:min(1180px,calc(100% - 40px)) !important;
    min-height:225px !important;
    margin:0 auto !important;
    padding:42px 0 36px !important;
    display:grid !important;
    grid-template-columns:minmax(300px,1.4fr) minmax(170px,.7fr) minmax(190px,.8fr) !important;
    align-items:start !important;
    gap:60px !important;
}

body.siteBody footer .footBrand {
    position:relative;
    padding-left:90px;
    min-height:72px;
    color:rgba(255,255,255,.78) !important;
}

body.siteBody footer .footBrand::before {
    content:"";
    position:absolute;
    left:0;
    top:0;
    width:69px;
    height:69px;
    background:#4bd273;
    -webkit-mask:url("/assets/images/home/bractwo-logo-mark.png") center/contain no-repeat;
    mask:url("/assets/images/home/bractwo-logo-mark.png") center/contain no-repeat;
}

body.siteBody footer .footBrand strong {
    display:block;
    color:#5bdd80 !important;
    font-size:20px;
    line-height:1.15;
    margin-bottom:5px;
}

body.siteBody footer .footBrand > span {
    color:rgba(255,255,255,.73) !important;
    font-size:13px;
}

body.siteBody footer .footBrand p {
    max-width:325px;
    margin:16px 0 0;
    color:rgba(255,255,255,.61) !important;
    font-size:13px;
    line-height:1.58;
}

body.siteBody footer .footGroupTitle {
    display:block;
    margin:3px 0 15px;
    color:#68df88 !important;
    font-size:11px;
    font-weight:800;
    letter-spacing:.09em;
    text-transform:uppercase;
}

body.siteBody footer .footGroup nav {
    display:flex !important;
    flex-direction:column !important;
    align-items:flex-start !important;
    gap:9px !important;
}

body.siteBody footer .footGroup nav a,
body.siteBody footer .footGroup nav a:link,
body.siteBody footer .footGroup nav a:visited {
    position:relative;
    color:rgba(255,255,255,.86) !important;
    -webkit-text-fill-color:rgba(255,255,255,.86) !important;
    text-decoration:none !important;
    font-size:13px !important;
    font-weight:600 !important;
    line-height:1.4;
    padding-left:13px;
}

body.siteBody footer .footGroup nav a::before {
    content:"";
    position:absolute;
    left:0;
    top:.58em;
    width:5px;
    height:5px;
    border-radius:50%;
    background:#169447;
}

body.siteBody footer .footGroup nav a:hover {
    color:#74e491 !important;
    -webkit-text-fill-color:#74e491 !important;
}

body.siteBody footer .footBottom {
    position:relative;
    z-index:2;
    border-top:1px solid rgba(255,255,255,.10);
    background:rgba(0,0,0,.07);
}

body.siteBody footer .footBottom .wrap {
    width:min(1180px,calc(100% - 40px)) !important;
    min-height:52px;
    margin:0 auto !important;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
    color:rgba(255,255,255,.48) !important;
    font-size:11px;
}

body.siteBody footer .footBottom a,
body.siteBody footer .footBottom a:visited {
    color:rgba(255,255,255,.68) !important;
    -webkit-text-fill-color:rgba(255,255,255,.68) !important;
    text-decoration:none !important;
}

body.siteBody footer .footBottom a:hover {
    color:#65dc86 !important;
    -webkit-text-fill-color:#65dc86 !important;
}

@media (max-width: 980px) {
    body.siteBody .top .wrap.nav { min-height:96px !important;gap:18px !important; }
    body.siteBody .top .brand { min-width:240px !important; }
    body.siteBody .top .brand .logoMark { width:58px !important;height:58px !important;flex-basis:58px !important; }
    body.siteBody .top .brand b { font-size:20px !important; }
    body.siteBody .top nav { gap:2px !important;padding:5px 6px !important; }
    body.siteBody .top nav a { min-height:35px !important;padding:0 10px !important;font-size:13px !important; }

    .brMainGrid { grid-template-columns:1fr; }
    .brNewsGrid { grid-template-columns:repeat(3,1fr); }
    .brJoin { grid-template-columns:1fr; }
    .brJoinPhoto { min-height:155px;order:-1;background-position:center 40%; }

    body.siteBody footer .wrap.foot.footRich {
        grid-template-columns:1.2fr .7fr .8fr !important;
        gap:34px !important;
    }
}

@media (max-width: 760px) {
    .brHomeV1 .wrap,.brHomeV1 .brHero { width:min(100% - 24px,1180px); }

    body.siteBody .top .wrap.nav {
        width:min(100% - 24px,1180px) !important;
        min-height:auto !important;
        padding:14px 0 !important;
        flex-direction:column !important;
        align-items:flex-start !important;
    }
    body.siteBody .top .brand .logoMark { width:52px !important;height:52px !important;flex-basis:52px !important; }

    body.siteBody .top nav {
        width:100% !important;
        margin-left:0 !important;
        justify-content:flex-start !important;
        flex-wrap:nowrap !important;
        overflow-x:auto !important;
        -webkit-overflow-scrolling:touch;
        scrollbar-width:none;
    }
    body.siteBody .top nav::-webkit-scrollbar { display:none; }
    body.siteBody .top nav a { flex:0 0 auto !important; }

    .brHero { margin-top:12px;margin-bottom:42px;width:100% !important; }
    .brHeroSlides { height:540px;border-radius:0; }
    .brHeroShade { background:linear-gradient(0deg,rgba(3,26,49,.87) 0%,rgba(3,26,49,.55) 58%,rgba(3,26,49,.18) 100%); }
    .brHeroCopy { left:24px;right:24px;top:auto;bottom:65px;transform:none;width:auto; }
    .brHeroCopy h1 { font-size:clamp(38px,10vw,52px);letter-spacing:-1.5px; }
    .brHeroArrow { top:38%;width:40px;height:40px; }
    .brHeroPrev { left:12px; }.brHeroNext { right:12px; }
    .brHeroThumbs { display:none; }.brHeroDots { bottom:24px; }

    .brValues { grid-template-columns:1fr; }
    .brValue + .brValue { border-left:0;border-top:1px solid var(--br-line); }
    .brNewsGrid { grid-template-columns:1fr; }
    .brNewsCard { display:grid;grid-template-columns:42% 1fr; }
    .brNewsImage { aspect-ratio:auto;height:100%; }
    .brJoinCopy { grid-template-columns:55px 1fr;padding:24px; }
    .brJoinCopy .brButton { grid-column:1/-1;justify-self:start; }
    .brJoinIcon { width:55px;height:55px; }

    body.siteBody footer .wrap.foot.footRich {
        width:min(100% - 32px,1180px) !important;
        min-height:auto !important;
        padding:36px 0 31px !important;
        grid-template-columns:1fr 1fr !important;
        gap:30px 24px !important;
    }
    body.siteBody footer .footBrand { grid-column:1/-1; }
    body.siteBody footer .footBottom .wrap {
        width:min(100% - 32px,1180px) !important;
        min-height:auto;
        padding:13px 0;
        flex-direction:column;
        align-items:flex-start;
        gap:5px;
    }
}

@media (prefers-reduced-motion:reduce) {
    .brHeroSlide,.brNewsImage img,.brButton,body.siteBody .top nav a { transition:none !important; }
}
