/* ==========================================================================
   B2B Accountancy — site stylesheet
   Loaded after Bootstrap 5.3. Bootstrap is themed through its CSS variables,
   then site components are layered on top. Mobile-first throughout.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
    --b2b-navy: #1a3441;
    --b2b-navy-700: #234552;
    --b2b-navy-600: #2e5462;
    --b2b-teal: #27aeb9;
    --b2b-teal-600: #1f97a1;
    --b2b-teal-700: #16838c;
    --b2b-teal-100: #dceeee;
    --b2b-teal-50: #e9f2f1;
    --b2b-cream: #f6f6f2;
    --b2b-white: #fff;
    --b2b-ink: #1a3441;
    --b2b-body: #4c5e66;
    --b2b-muted: #7b8a90;
    --b2b-line: #dfe6e5;
    --b2b-line-dark: rgba(255, 255, 255, .12);

    --b2b-font-heading: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --b2b-font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

    --b2b-radius: .5rem;
    --b2b-radius-lg: .75rem;
    --b2b-shadow: 0 1px 2px rgba(26, 52, 65, .04), 0 8px 24px rgba(26, 52, 65, .06);
    --b2b-shadow-lg: 0 24px 48px -12px rgba(26, 52, 65, .18);
    --b2b-section-y: clamp(3.5rem, 8vw, 6.5rem);
    --b2b-header-h: 72px;

    /* Bootstrap theme overrides */
    --bs-body-font-family: var(--b2b-font-body);
    --bs-body-font-size: 1rem;
    --bs-body-line-height: 1.65;
    --bs-body-color: var(--b2b-body);
    --bs-body-bg: var(--b2b-cream);
    --bs-heading-color: var(--b2b-ink);
    --bs-primary: var(--b2b-teal);
    --bs-primary-rgb: 39, 174, 185;
    --bs-link-color: var(--b2b-teal-700);
    --bs-link-color-rgb: 22, 131, 140;
    --bs-link-hover-color: var(--b2b-navy);
    --bs-link-hover-color-rgb: 26, 52, 65;
    --bs-border-color: var(--b2b-line);
    --bs-border-radius: var(--b2b-radius);
    --bs-focus-ring-color: rgba(39, 174, 185, .35);
}

@media (min-width: 992px) {
    :root { --b2b-header-h: 82px; }
}

/* --------------------------------------------------------------------------
   2. Base & typography
   -------------------------------------------------------------------------- */
html { scroll-padding-top: calc(var(--b2b-header-h) + 1rem); }

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--b2b-font-heading);
    font-weight: 500;
    letter-spacing: -.035em;
    line-height: 1.1;
    color: var(--bs-heading-color);
}

h1, .h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 600; letter-spacing: -.045em; line-height: 1.02; }
h2, .h2 { font-size: clamp(2rem, 4.2vw, 3rem); }
h3, .h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); letter-spacing: -.02em; }
h4, .h4 { font-size: 1.125rem; letter-spacing: -.01em; }

.display-hero { font-size: clamp(2.75rem, 7vw, 4.75rem); }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); font-weight: 400; color: var(--b2b-body); }
.text-teal { color: var(--b2b-teal-700) !important; }
.text-teal-light { color: var(--b2b-teal) !important; }
.text-navy { color: var(--b2b-navy) !important; }
.text-muted-2 { color: var(--b2b-muted) !important; }
.small-print { font-size: .8125rem; color: var(--b2b-muted); }

a { text-underline-offset: .2em; transition: color .15s ease; }

img, video { max-width: 100%; height: auto; }

::selection { background: var(--b2b-teal); color: #fff; }

:focus-visible { outline: 2px solid var(--b2b-teal); outline-offset: 3px; }

.visually-hidden-focusable:focus {
    position: fixed !important; top: .5rem; left: .5rem; z-index: 2000;
    padding: .75rem 1rem; background: var(--b2b-navy); color: #fff;
}

/* Eyebrow label: "—— A GOOD CONVERSATION STARTS HERE" */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .875rem;
    margin-bottom: 1.25rem;
    font-family: var(--b2b-font-body);
    font-size: .6875rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--b2b-teal-700);
}
.eyebrow::before {
    content: "";
    width: 1.75rem;
    height: 2px;
    background: currentColor;
    flex: none;
}
.eyebrow-plain::before { display: none; }
.bg-navy .eyebrow, .bg-teal .eyebrow { color: var(--b2b-teal); }
.bg-teal .eyebrow { color: rgba(255, 255, 255, .85); }

/* --------------------------------------------------------------------------
   3. Layout helpers
   -------------------------------------------------------------------------- */
.container { --bs-gutter-x: 2rem; max-width: 1240px; }
@media (min-width: 576px) { .container { --bs-gutter-x: 3rem; } }

.section { padding-block: var(--b2b-section-y); }
.section-sm { padding-block: calc(var(--b2b-section-y) * .6); }

.bg-cream { background-color: var(--b2b-cream) !important; }
.bg-tint { background-color: var(--b2b-teal-50) !important; }
.bg-white { background-color: var(--b2b-white) !important; }
.bg-navy { background-color: var(--b2b-navy) !important; color: rgba(255, 255, 255, .72); }
.bg-teal { background-color: var(--b2b-teal) !important; color: rgba(255, 255, 255, .9); }
.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4,
.bg-teal h1, .bg-teal h2, .bg-teal h3, .bg-teal h4 { color: #fff; }

.section-head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head p { max-width: 32rem; margin-bottom: 0; }

/* Decorative ring used throughout the design */
.has-ring { position: relative; overflow: hidden; isolation: isolate; }
.has-ring::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: var(--ring-size, 520px);
    aspect-ratio: 1;
    border-radius: 50%;
    border: var(--ring-width, 70px) solid var(--ring-color, rgba(39, 174, 185, .08));
    top: var(--ring-top, -40%);
    right: var(--ring-right, -12%);
    pointer-events: none;
}
.ring-sm { --ring-size: 220px; --ring-width: 26px; --ring-top: auto; --ring-right: -70px; }
.ring-sm::after { bottom: -90px; }

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
    --bs-btn-font-family: var(--b2b-font-body);
    --bs-btn-font-weight: 700;
    --bs-btn-font-size: .875rem;
    --bs-btn-padding-x: 1.25rem;
    --bs-btn-padding-y: .8rem;
    --bs-btn-border-radius: 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    letter-spacing: .005em;
}
.btn .bi { font-size: .95em; transition: transform .2s ease; }
.btn:hover .bi-arrow-up-right { transform: translate(2px, -2px); }
.btn:hover .bi-arrow-right { transform: translateX(3px); }

.btn-primary {
    --bs-btn-bg: var(--b2b-teal);
    --bs-btn-border-color: var(--b2b-teal);
    --bs-btn-hover-bg: var(--b2b-teal-600);
    --bs-btn-hover-border-color: var(--b2b-teal-600);
    --bs-btn-active-bg: var(--b2b-teal-700);
    --bs-btn-active-border-color: var(--b2b-teal-700);
    --bs-btn-focus-shadow-rgb: 39, 174, 185;
}
.btn-outline-primary {
    --bs-btn-color: var(--b2b-teal-700);
    --bs-btn-border-color: var(--b2b-teal);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--b2b-teal);
    --bs-btn-hover-border-color: var(--b2b-teal);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--b2b-teal-700);
    --bs-btn-active-border-color: var(--b2b-teal-700);
    --bs-btn-focus-shadow-rgb: 39, 174, 185;
}
.btn-navy {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--b2b-navy);
    --bs-btn-border-color: var(--b2b-navy);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--b2b-navy-700);
    --bs-btn-hover-border-color: var(--b2b-navy-700);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--b2b-navy-600);
    --bs-btn-active-border-color: var(--b2b-navy-600);
}
.btn-outline-light {
    --bs-btn-border-color: rgba(255, 255, 255, .45);
    --bs-btn-hover-color: var(--b2b-navy);
}
.btn-sm { --bs-btn-padding-x: .9rem; --bs-btn-padding-y: .5rem; --bs-btn-font-size: .8125rem; }
.btn-lg { --bs-btn-padding-x: 1.6rem; --bs-btn-padding-y: 1rem; --bs-btn-font-size: .9375rem; }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-size: .8125rem;
    font-weight: 700;
    color: var(--b2b-teal-700);
    text-decoration: none;
}
.link-arrow:hover { color: var(--b2b-navy); }
.link-arrow .bi { transition: transform .2s ease; }
.link-arrow:hover .bi { transform: translateX(3px); }
.bg-navy .link-arrow { color: var(--b2b-teal); }
.bg-navy .link-arrow:hover { color: #fff; }

/* --------------------------------------------------------------------------
   5. Top bar & header
   -------------------------------------------------------------------------- */
.topbar {
    background: var(--b2b-navy);
    color: rgba(255, 255, 255, .8);
    font-size: .75rem;
}
.topbar a { color: inherit; text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar .container { min-height: 35px; }
.topbar .bi { font-size: .875rem; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(246, 246, 242, .96);
    border-bottom: 1px solid var(--b2b-line);
    transition: box-shadow .2s ease, background-color .2s ease;
}
@supports (backdrop-filter: blur(8px)) {
    .site-header { background: rgba(246, 246, 242, .85); backdrop-filter: saturate(160%) blur(10px); }
}
.site-header.is-scrolled { box-shadow: 0 6px 20px -10px rgba(26, 52, 65, .25); }
.site-header .container { min-height: var(--b2b-header-h); }

.brand { display: inline-flex; flex: none; }
.brand img { display: block; width: auto; height: 34px; }
@media (min-width: 992px) { .brand img { height: 44px; } }

.main-nav { gap: .25rem; }
.main-nav .nav-link {
    position: relative;
    padding: .5rem .75rem;
    font-size: .875rem;
    font-weight: 500;
    color: var(--b2b-navy);
}
.main-nav .nav-link::after {
    content: "";
    position: absolute;
    left: .75rem;
    right: .75rem;
    bottom: .2rem;
    height: 2px;
    background: var(--b2b-teal);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .2s ease;
}
.main-nav .nav-link:hover::after,
.main-nav .nav-link.active::after,
.main-nav .nav-link[aria-current="page"]::after { transform: scaleX(1); }
.main-nav .dropdown-toggle::after { display: none; }
.main-nav .dropdown-toggle .bi { font-size: .65rem; margin-left: .25rem; vertical-align: .1em; }

.main-nav .dropdown-menu {
    --bs-dropdown-border-color: var(--b2b-line);
    --bs-dropdown-border-radius: var(--b2b-radius);
    --bs-dropdown-link-color: var(--b2b-navy);
    --bs-dropdown-link-hover-bg: var(--b2b-teal-50);
    --bs-dropdown-link-active-bg: var(--b2b-teal);
    --bs-dropdown-font-size: .875rem;
    --bs-dropdown-padding-y: .5rem;
    --bs-dropdown-item-padding-y: .5rem;
    min-width: 15rem;
    margin-top: .5rem !important;
    box-shadow: var(--b2b-shadow-lg);
}
/* Open dropdowns on hover for mouse users; click still works for touch & keyboard */
@media (hover: hover) and (min-width: 992px) {
    .main-nav .dropdown:hover > .dropdown-menu { display: block; }
    .main-nav .dropdown > .dropdown-menu::before {
        content: ""; position: absolute; inset: -.6rem 0 auto; height: .6rem;
    }
}

/* Mega menu: full container width, hanging from the bottom of the header.
   Nav items stretch to the header's full height so hover carries straight into the panel. */
@media (min-width: 992px) {
    .site-header .container { position: relative; }
    .site-header nav, .main-nav { align-self: stretch; }
    .main-nav { height: 100%; }
    .main-nav > .nav-item { display: flex; align-items: center; }
}
.main-nav .mega { position: static; }
.main-nav .mega > .mega-menu {
    top: 100%;
    left: .75rem;
    right: .75rem;
    margin-top: 1px !important; /* sits under the header's border */
    padding: 2.25rem 2.5rem 2.5rem;
    border-top: 0;
    border-radius: 0 0 var(--b2b-radius-lg) var(--b2b-radius-lg);
}
.main-nav .mega > .mega-menu::before { display: none; }
.mega-grid {
    display: grid;
    grid-template-columns: repeat(var(--mega-cols, 4), minmax(0, 1fr));
    gap: 2rem 2.5rem;
}
.mega-title {
    margin: 0 0 1.1rem;
    padding-bottom: .9rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--b2b-navy);
    position: relative;
}
.mega-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 3rem;
    height: 3px;
    border-radius: 3px;
    background: var(--b2b-teal);
}
.mega-title a { color: inherit; text-decoration: none; }
.mega-title a:hover { color: var(--b2b-teal-700); }
.mega-links { list-style: none; margin: 0; padding: 0; }
.mega-links a {
    display: block;
    padding: .35rem 0;
    font-size: .9rem;
    line-height: 1.4;
    color: rgba(26, 52, 65, .78);
    text-decoration: none;
    transition: color .15s ease, transform .15s ease;
}
.mega-links a:hover,
.mega-links a[aria-current="page"] { color: var(--b2b-teal-700); transform: translateX(3px); }
.mega-more {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    margin-top: .6rem;
    font-size: .9rem;
    font-weight: 700;
    color: var(--b2b-teal-700);
    text-decoration: none;
}
.mega-more:hover { color: var(--b2b-navy); }
.mega-more .bi { transition: transform .15s ease; }
.mega-more:hover .bi { transform: translateX(3px); }

/* Hamburger */
.nav-toggle {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--b2b-line);
    border-radius: var(--b2b-radius);
    background: #fff;
    color: var(--b2b-navy);
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    position: relative;
    content: "";
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; width: 14px; }

/* --------------------------------------------------------------------------
   6. Off-canvas mobile menu
   -------------------------------------------------------------------------- */
.offcanvas.mobile-menu {
    --bs-offcanvas-width: min(420px, 100vw);
    --bs-offcanvas-bg: var(--b2b-navy);
    --bs-offcanvas-color: #fff;
    --bs-offcanvas-padding-x: 1.5rem;
    border-left: 0 !important;
}
.mobile-menu .offcanvas-header { justify-content: space-between; min-height: var(--b2b-header-h); border-bottom: 1px solid var(--b2b-line-dark); }
.mobile-menu .brand img { height: 32px; }
.mobile-menu .btn-close-menu {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--b2b-line-dark);
    border-radius: var(--b2b-radius);
    background: transparent;
    color: #fff;
    font-size: 1.25rem;
}
.mobile-menu .btn-close-menu:hover { background: rgba(255, 255, 255, .08); }

.mobile-nav { list-style: none; margin: 0; padding: .5rem 0 0; counter-reset: navitem; }
.mobile-nav > li {
    border-bottom: 1px solid var(--b2b-line-dark);
    opacity: 0;
    transform: translateX(16px);
    transition: opacity .35s ease, transform .35s ease;
}
.mobile-menu.show .mobile-nav > li,
.mobile-menu.showing .mobile-nav > li { opacity: 1; transform: none; }
.mobile-nav > li:nth-child(1) { transition-delay: .05s; }
.mobile-nav > li:nth-child(2) { transition-delay: .09s; }
.mobile-nav > li:nth-child(3) { transition-delay: .13s; }
.mobile-nav > li:nth-child(4) { transition-delay: .17s; }
.mobile-nav > li:nth-child(5) { transition-delay: .21s; }
.mobile-nav > li:nth-child(6) { transition-delay: .25s; }
.mobile-nav > li:nth-child(n+7) { transition-delay: .29s; }

.mobile-nav .mobile-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1.05rem 0;
    border: 0;
    background: none;
    font-family: var(--b2b-font-heading);
    font-size: 1.375rem;
    font-weight: 500;
    letter-spacing: -.02em;
    color: #fff;
    text-align: left;
    text-decoration: none;
}
.mobile-nav .mobile-link:hover,
.mobile-nav .mobile-link[aria-current="page"] { color: var(--b2b-teal); }
.mobile-nav .mobile-link .bi { font-size: 1rem; color: var(--b2b-teal); transition: transform .25s ease; }
.mobile-nav .mobile-link[aria-expanded="true"] .bi-chevron-down { transform: rotate(180deg); }
.mobile-subnav { list-style: none; margin: 0; padding: 0 0 1rem .9rem; border-left: 2px solid var(--b2b-teal); }
.mobile-subnav a {
    display: block;
    padding: .45rem 0;
    font-size: .975rem;
    color: rgba(255, 255, 255, .75);
    text-decoration: none;
}
.mobile-subnav a:hover, .mobile-subnav a[aria-current="page"] { color: #fff; }
.mobile-mega-title {
    margin: .5rem 0 .35rem;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--b2b-teal);
}
.mobile-subnav a.mobile-more { color: var(--b2b-teal); font-weight: 600; }

.mobile-menu-footer {
    margin-top: auto;
    padding-top: 2rem;
    font-size: .875rem;
    color: rgba(255, 255, 255, .7);
}
.mobile-menu-footer a { color: #fff; text-decoration: none; }
.mobile-menu-footer .contact-row { display: flex; align-items: center; gap: .75rem; padding: .35rem 0; }
.mobile-menu-footer .contact-row .bi { color: var(--b2b-teal); }
.offcanvas-backdrop { --bs-backdrop-bg: var(--b2b-navy); --bs-backdrop-opacity: .55; }

/* --------------------------------------------------------------------------
   7. Heroes
   -------------------------------------------------------------------------- */
/* Home: video hero */
.hero-video {
    position: relative;
    display: flex;
    align-items: center;
    min-height: clamp(520px, 78vh, 760px);
    padding-block: 5rem;
    color: rgba(255, 255, 255, .85);
    background: var(--b2b-navy);
    overflow: hidden;
    isolation: isolate;
}
.hero-video .hero-media,
.hero-video .hero-media video,
.hero-video .hero-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}
.hero-video::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(20, 42, 53, .92) 0%, rgba(20, 42, 53, .7) 45%, rgba(20, 42, 53, .25) 100%),
        linear-gradient(0deg, rgba(20, 42, 53, .55), transparent 40%);
}
.hero-video h1 { color: #fff; max-width: 13ch; }
.hero-video .lead { color: rgba(255, 255, 255, .82); max-width: 34rem; }
.hero-video .eyebrow { color: var(--b2b-teal); }
@media (prefers-reduced-motion: reduce) {
    .hero-video video { display: none; }
}

/* About: image hero */
.hero-image {
    position: relative;
    display: flex;
    align-items: center;
    min-height: clamp(360px, 55vh, 560px);
    padding-block: 4rem;
    background: var(--b2b-navy) center / cover no-repeat;
    isolation: isolate;
}
.hero-image::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(20, 42, 53, .85), rgba(20, 42, 53, .35) 70%, rgba(20, 42, 53, .15));
}
.hero-image > img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
}
.hero-image h1 { color: #fff; font-size: clamp(2.25rem, 5vw, 3.75rem); }
.hero-image .lead { color: rgba(255, 255, 255, .85); max-width: 36rem; }

/* Inner pages (contact / content / policy): the About image hero, plus breadcrumb and aside */
.page-hero {
    min-height: clamp(340px, 48vh, 500px);
    padding-block: clamp(3rem, 7vw, 4.5rem);
}
.page-hero .breadcrumb {
    --bs-breadcrumb-item-active-color: #fff;
    --bs-breadcrumb-margin-bottom: 1.5rem;
}
.page-hero .breadcrumb a { color: rgba(255, 255, 255, .7); }
.page-hero .breadcrumb a:hover { color: var(--b2b-teal); }
.page-hero .eyebrow { color: var(--b2b-teal); }
.page-hero h1 { margin-bottom: 1.25rem; }
.page-hero h1:last-child { margin-bottom: 0; }
.page-hero .lead { max-width: 40rem; margin-bottom: 0; }
.page-hero .policy-meta { color: rgba(255, 255, 255, .75); }
.page-hero-aside {
    padding-top: 1.25rem;
    border-top: 2px solid var(--b2b-teal);
}
.page-hero-aside h2 { font-size: 1.375rem; letter-spacing: -.015em; font-weight: 600; margin-bottom: .75rem; color: #fff; }
.page-hero-aside p { font-size: .875rem; color: rgba(255, 255, 255, .75); margin-bottom: 0; }
.page-hero-compact { min-height: clamp(260px, 34vh, 360px); }
.page-hero-compact h1 { font-size: clamp(2.25rem, 5vw, 3.25rem); }

.breadcrumb {
    --bs-breadcrumb-font-size: .75rem;
    --bs-breadcrumb-divider-color: var(--b2b-teal);
    --bs-breadcrumb-item-active-color: var(--b2b-body);
    --bs-breadcrumb-margin-bottom: 1.75rem;
    --bs-breadcrumb-item-padding-x: .6rem;
}
.breadcrumb-item + .breadcrumb-item::before {
    content: "\F138"; /* bi-arrow-right */
    font-family: "bootstrap-icons";
    font-size: .7rem;
    line-height: 1.7;
}
.breadcrumb a { color: var(--b2b-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--b2b-teal-700); }

/* Teal ribbon below heroes */
.ribbon { background: var(--b2b-teal); color: #fff; font-size: .8125rem; font-weight: 600; }
.ribbon ul { list-style: none; margin: 0; padding: 0; }
.ribbon li {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .9rem 0;
}
.ribbon li + li { border-top: 1px solid rgba(255, 255, 255, .2); }
@media (min-width: 768px) {
    .ribbon ul { display: grid; grid-template-columns: repeat(3, 1fr); }
    .ribbon li { padding: 1.1rem 1.25rem; }
    .ribbon li:first-child { padding-left: 0; }
    .ribbon li + li { border-top: 0; border-left: 1px solid rgba(255, 255, 255, .25); }
}

/* --------------------------------------------------------------------------
   8. Cards & components
   -------------------------------------------------------------------------- */
.card-b2b {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: clamp(1.5rem, 3vw, 2rem);
    background: #fff;
    border: 1px solid var(--b2b-line);
    border-radius: var(--b2b-radius-lg);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card-b2b h3 { font-size: 1.125rem; letter-spacing: -.015em; margin-bottom: .6rem; }
.card-b2b p { font-size: .875rem; color: var(--b2b-muted); }
.card-b2b .card-foot { margin-top: auto; padding-top: 1rem; }
a.card-b2b, .card-b2b.is-link { color: inherit; text-decoration: none; }
a.card-b2b:hover, .card-b2b.is-link:hover {
    transform: translateY(-3px);
    border-color: rgba(39, 174, 185, .45);
    box-shadow: var(--b2b-shadow-lg);
}
.card-b2b.is-flat { background: rgba(255, 255, 255, .6); }

.card-index {
    font-size: .6875rem;
    font-weight: 600;
    letter-spacing: .1em;
    color: var(--b2b-muted);
}
.card-kicker {
    display: block;
    margin-bottom: .35rem;
    font-size: .625rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--b2b-teal-700);
}

.icon-badge {
    display: inline-grid;
    place-items: center;
    flex: none;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: var(--b2b-teal-100);
    color: var(--b2b-teal-700);
    font-size: 1.05rem;
}
.icon-badge-lg { width: 3rem; height: 3rem; font-size: 1.25rem; }
.bg-navy .icon-badge { background: rgba(39, 174, 185, .15); color: var(--b2b-teal); }

.tag-list { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 0; padding: 0; }
.tag-list li {
    padding: .25rem .6rem;
    font-size: .6875rem;
    font-weight: 500;
    color: var(--b2b-body);
    background: var(--b2b-teal-50);
    border-radius: 999px;
}

/* Service card (home) */
.service-card .service-title { display: flex; align-items: center; gap: .65rem; padding-right: 1.5rem; }
.service-card .service-title .bi { color: var(--b2b-teal-700); font-size: 1.1rem; }
.service-card .corner-arrow {
    position: absolute;
    right: 1.25rem;
    top: 1.25rem;
    color: var(--b2b-teal-700);
    transition: transform .2s ease;
}
.service-card:hover .corner-arrow { transform: translate(2px, -2px); }

/* Lift, grow and shadow on hover (mouse/trackpad only, so taps on mobile don't stick) */
.service-card .service-title .bi { transition: transform .25s ease; }
@media (hover: hover) {
    .service-card {
        transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s ease, border-color .3s ease;
    }
    .card-b2b.service-card:hover {
        transform: translateY(-6px) scale(1.02);
        border-color: rgba(39, 174, 185, .45);
        box-shadow: 0 1.25rem 2.5rem -1rem rgba(26, 52, 65, .25);
    }
    .col-12 > .card-b2b.service-card:hover { transform: translateY(-4px) scale(1.008); }
    .service-card:hover .service-title .bi { transform: scale(1.15); }
}

/* Client Zone */
.zone-group + .zone-group { margin-top: clamp(3rem, 6vw, 4.5rem); }
.zone-heading {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: clamp(1.375rem, 2.5vw, 1.75rem);
}
.zone-heading::after { content: ""; flex: 1; height: 1px; background: var(--b2b-line); }
.zone-card h3 { padding-right: 1.5rem; }
.zone-card .card-foot { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; }
.zone-card .icon-badge { transition: background-color .25s ease, color .25s ease; }
.zone-card:hover .icon-badge { background: var(--b2b-teal); color: #fff; }
.zone-help {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.25rem 1.5rem;
    margin-top: clamp(3rem, 6vw, 4.5rem);
    padding: clamp(1.5rem, 3vw, 2rem);
    background: var(--b2b-teal-50);
    border: 1px solid var(--b2b-teal-100);
    border-radius: var(--b2b-radius-lg);
}
.zone-help p { font-size: .9375rem; color: var(--b2b-muted); }
.zone-help .btn .bi { margin-right: .35rem; }

/* Article card */
/* Article card: image with a faint number and category tag, then text */
.article-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    background: #fff;
    border: 1px solid var(--b2b-line);
    border-radius: var(--b2b-radius-lg);
    transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s ease, border-color .3s ease;
}
.article-card .article-img {
    position: relative;
    aspect-ratio: 2 / 1;
    overflow: hidden;
    background: var(--b2b-teal-50);
}
.article-card .article-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.article-number {
    position: absolute;
    top: .15em;
    right: .25em;
    font-family: var(--b2b-font-heading);
    font-size: clamp(4rem, 7vw, 5.25rem);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -.04em;
    color: rgba(39, 174, 185, .35);
    pointer-events: none;
}
.article-tag {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    padding: .35rem .6rem;
    background: rgba(255, 255, 255, .92);
    border-radius: 2px;
    font-size: .5625rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--b2b-body);
}
.article-card .article-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.5rem 1.25rem 1.25rem;
}
.article-card .card-kicker { margin-bottom: .75rem; }
.article-card h3 {
    font-size: 1.25rem;
    font-weight: 400;
    letter-spacing: -.03em;
    line-height: 1.25;
    margin-bottom: .6rem;
    transition: color .15s ease;
}
.article-card p { font-size: .8125rem; line-height: 1.7; color: var(--b2b-muted); margin-bottom: 1.25rem; }
.article-card .link-arrow { margin-top: auto; font-size: .8125rem; font-weight: 700; color: var(--b2b-teal-700); }
.article-card:hover h3 { color: var(--b2b-teal-700); }
.article-card:hover .article-img img { transform: scale(1.05); }
.article-card:hover .link-arrow .bi { transform: translate(2px, -2px); }
@media (hover: hover) {
    .article-card:hover {
        transform: translateY(-6px);
        border-color: rgba(39, 174, 185, .45);
        box-shadow: 0 1.25rem 2.5rem -1rem rgba(26, 52, 65, .25);
    }
}

/* Quote card (about) */
.quote-card {
    --ring-size: 140px; --ring-width: 18px; --ring-top: auto; --ring-right: -40px;
    --ring-color: rgba(39, 174, 185, .18);
    padding: 2rem;
    background: var(--b2b-navy);
    color: rgba(255, 255, 255, .7);
    border-radius: var(--b2b-radius-lg);
    overflow: hidden; /* clips the decorative ring to the rounded corner */
}
.quote-card::after { bottom: -50px; }
.quote-card blockquote {
    font-family: var(--b2b-font-heading);
    font-size: 1.375rem;
    line-height: 1.3;
    letter-spacing: -.02em;
    color: rgba(255, 255, 255, .7);
    margin: 1rem 0 1.5rem;
}

/* Numbered list (about purpose) */
.numbered-list { list-style: none; margin: 0; padding: 0; }
.numbered-list li {
    display: grid;
    grid-template-columns: 2.5rem 1fr;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--b2b-line-dark);
}
.numbered-list li:first-child { border-top: 1px solid var(--b2b-line-dark); }
.numbered-list .num { font-size: .75rem; color: rgba(255, 255, 255, .45); padding-top: .2rem; }
.numbered-list h3 { font-family: var(--b2b-font-body); font-size: 1rem; font-weight: 700; letter-spacing: 0; margin-bottom: .25rem; }
.numbered-list p { font-size: .8125rem; margin: 0; }

/* Check list (home "why choose us") */
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li { display: grid; grid-template-columns: 1.75rem 1fr; padding: .75rem 0; }
.check-list .bi { color: var(--b2b-teal); font-size: 1.1rem; line-height: 1.4; }
.check-list strong { display: block; color: var(--b2b-navy); font-size: .9375rem; }
.check-list span { font-size: .8125rem; color: var(--b2b-muted); }

/* Mini chart card (home) */
.chart-card {
    --ring-size: 360px; --ring-width: 50px; --ring-top: -30%; --ring-right: -20%;
    --ring-color: rgba(255, 255, 255, .25);
    display: grid;
    place-items: center;
    min-height: 320px;
    padding: 2rem;
    background: linear-gradient(135deg, #bfe5e6, #e6f3f2);
    border-radius: var(--b2b-radius-lg);
}
.chart-card .chart-inner {
    width: min(100%, 320px);
    padding: 1.5rem;
    background: #fff;
    border-radius: var(--b2b-radius);
    box-shadow: var(--b2b-shadow-lg);
}
.chart-card .bars { display: flex; align-items: flex-end; gap: 6px; height: 80px; margin-top: 1rem; }
.chart-card .bars span { flex: 1; background: var(--b2b-teal); border-radius: 2px 2px 0 0; }

/* Testimonials page: quote tiles in staggered columns */
.quote-masonry { columns: 1; column-gap: 1.5rem; }
@media (min-width: 768px) { .quote-masonry { columns: 2; } }
@media (min-width: 992px) { .quote-masonry { columns: 3; } }
.quote-tile {
    break-inside: avoid;
    margin-bottom: 1.5rem !important;
    padding: clamp(1.5rem, 3vw, 2rem);
    background: #fff;
    border: 1px solid var(--b2b-line);
    border-radius: var(--b2b-radius-lg);
    scroll-margin-top: calc(var(--b2b-header-h) + 1.5rem);
}
.quote-tile:target { border-color: var(--b2b-teal); box-shadow: var(--b2b-shadow); }
.quote-tile-mark { display: block; font-size: 2rem; line-height: 1; color: var(--b2b-teal); }
.quote-tile blockquote { margin: .75rem 0 1.5rem; font-size: .9375rem; color: var(--b2b-body); }
.quote-tile blockquote p:last-child { margin-bottom: 0; }
.quote-tile-author { display: flex; align-items: center; gap: .75rem; font-size: .8125rem; color: var(--b2b-muted); }
.quote-tile-author strong { color: var(--b2b-ink); font-size: .875rem; }
.quote-tile-initial {
    display: grid; place-items: center; flex-shrink: 0;
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--b2b-teal-100); color: var(--b2b-teal-700); font-weight: 600; font-size: 1rem;
}

/* Testimonial */
.testimonial { text-align: center; }
.testimonial .quote-mark { font-family: Georgia, serif; font-size: 6rem; line-height: .6; color: var(--b2b-teal); opacity: .5; }
.testimonial blockquote {
    font-family: var(--b2b-font-heading);
    font-size: clamp(1.4rem, 3vw, 2rem);
    letter-spacing: -.02em;
    color: #fff;
    max-width: 44rem;
    margin: 1.5rem auto;
}
.testimonial figcaption { font-size: .8125rem; }

/* Partner logo slider: two identical tracks scroll left forever; pauses on hover */
.logo-marquee {
    display: flex;
    overflow: hidden;
    /* Logos fade out over the outer 12% on each side */
    -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
            mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}
.logo-track {
    display: flex;
    flex-shrink: 0;
    gap: 1rem;
    min-width: 100%;
    justify-content: space-around;
    margin: 0;
    padding: 0 1rem 0 0; /* matches the gap so the loop has no jump */
    list-style: none;
    animation: logo-scroll 40s linear infinite;
}
.logo-marquee:hover .logo-track { animation-play-state: paused; }
@keyframes logo-scroll { to { transform: translateX(-100%); } }
.logo-item {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    min-width: 170px;
    height: 76px;
    padding: 1rem 1.5rem;
    background: #fff;
    border: 1px solid var(--b2b-line);
    border-radius: var(--b2b-radius);
}
.logo-item img { max-height: 32px; width: auto; filter: grayscale(1); opacity: .7; transition: filter .2s, opacity .2s; }
/* Files from images/partners have padding built into a 180x100 canvas, so show them larger */
.logo-item:has(.logo-file) { padding: .4rem 1rem; }
.logo-item img.logo-file { max-height: 64px; max-width: 120px; opacity: .85; }
.logo-item:hover img { filter: none; opacity: 1; }
@media (prefers-reduced-motion: reduce) {
    .logo-track { animation: none; flex-wrap: wrap; justify-content: center; padding: 0 1rem; }
    .logo-track[aria-hidden] { display: none; }
}

/* Image frame */
.img-frame { border-radius: var(--b2b-radius-lg); overflow: hidden; }
.img-frame img { width: 100%; height: 100%; object-fit: cover; }

/* --------------------------------------------------------------------------
   9. Contact page
   -------------------------------------------------------------------------- */
.booking-card {
    padding: clamp(1.5rem, 4vw, 2.5rem);
    background: #fff;
    border: 1px solid var(--b2b-line);
    box-shadow: var(--b2b-shadow-lg);
}
.booking-card h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); margin-bottom: .75rem; }
.booking-inner {
    --ring-size: 300px; --ring-width: 30px; --ring-top: -25%; --ring-right: -12%;
    margin-top: 2rem;
    padding: clamp(1.5rem, 3vw, 2rem);
    background: var(--b2b-teal-50);
    border: 1px solid var(--b2b-line);
    border-radius: var(--b2b-radius-lg);
}
.booking-inner h3 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); letter-spacing: -.03em; margin-bottom: 1rem; }
.cta-panel {
    --ring-size: 200px; --ring-width: 22px; --ring-top: auto; --ring-right: -40px;
    --ring-color: rgba(39, 174, 185, .2);
    padding: clamp(1.5rem, 3vw, 2rem);
}
.cta-panel::after { bottom: -60px; }
.cta-panel h2 { font-size: clamp(1.6rem, 2.6vw, 1.85rem); margin-bottom: 1rem; }
.cta-panel p { font-size: .8125rem; max-width: 20rem; }

.contact-card { padding: clamp(1.5rem, 3vw, 2rem); background: #fff; border: 1px solid var(--b2b-line); }
.contact-card h2 { font-size: 1.375rem; margin-bottom: 1.5rem; }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { display: flex; gap: 1rem; padding-bottom: 1.25rem; }
.contact-list .label {
    display: block;
    font-size: .625rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--b2b-muted);
}
.contact-list a { font-size: .875rem; font-weight: 700; color: var(--b2b-navy); text-decoration: none; word-break: break-word; }
.contact-list a:hover { color: var(--b2b-teal-700); }

.map-card {
    position: relative;
    display: block;
    min-height: 210px;
    background:
        linear-gradient(115deg, transparent 47%, #fff 47%, #fff 53%, transparent 53%) 0 0 / 100% 100%,
        linear-gradient(28deg, transparent 46%, #fff 46%, #fff 52%, transparent 52%) 0 0 / 100% 100%,
        linear-gradient(160deg, transparent 60%, rgba(255, 255, 255, .7) 60%, rgba(255, 255, 255, .7) 63%, transparent 63%),
        #dfeceb;
    border: 1px solid var(--b2b-line);
    overflow: hidden;
}
.map-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.6) contrast(.95); }
.map-card .map-canvas { position: absolute; inset: 0; z-index: 0; background: transparent; font-family: var(--b2b-font-body); }
@media (min-width: 992px) { .map-card { min-height: 300px; } }
.map-card .map-pin {
    position: absolute; top: 40%; left: 62%;
    display: grid; place-items: center;
    width: 2.5rem; height: 2.5rem;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    background: var(--b2b-teal);
    color: #fff;
    box-shadow: var(--b2b-shadow-lg);
}
.map-card .map-pin .bi { transform: rotate(45deg); }
/* Map with the address panel attached underneath, one bordered card */
.location-card { background: #fff; border: 1px solid var(--b2b-line); }
.location-card .map-card { border: 0; border-bottom: 1px solid var(--b2b-line); }
.location-details {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: clamp(1.25rem, 3vw, 1.75rem);
}
.location-details .label {
    display: block;
    margin-bottom: .25rem;
    font-size: .625rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--b2b-muted);
}
.location-details address { font-style: normal; line-height: 1.6; color: var(--b2b-navy); }

/* Leaflet marker: the same teal pin, with a soft pulse at its point */
.map-marker { background: none; border: 0; }
.map-marker .map-pin { top: 0; left: 0; }
.map-marker-pulse {
    position: absolute; left: 50%; bottom: -6px;
    width: 28px; height: 10px; margin-left: -14px;
    border-radius: 50%;
    background: rgba(39, 174, 185, .45);
    animation: map-pulse 2s ease-out infinite;
}
@keyframes map-pulse {
    0% { transform: scale(.5); opacity: 1; }
    100% { transform: scale(2.2); opacity: 0; }
}
/* Mute the OSM colours to soft grey-teal so the map sits with the brand */
.map-card .leaflet-tile-pane { filter: grayscale(1) sepia(.2) hue-rotate(140deg) saturate(1.25) brightness(1.06) contrast(.9); }
.map-card .leaflet-control-zoom { border: 0; box-shadow: var(--b2b-shadow); border-radius: var(--b2b-radius); overflow: hidden; }
.map-card .leaflet-control-zoom a { color: var(--b2b-navy); }
.map-card .leaflet-control-attribution { font-size: .625rem; background: rgba(255, 255, 255, .8); }

/* --------------------------------------------------------------------------
   10. Rich text (content & policy pages)
   -------------------------------------------------------------------------- */
.rte { color: var(--b2b-body); font-size: 1.0625rem; line-height: 1.75; }
.rte > :first-child { margin-top: 0; }
.rte > :last-child { margin-bottom: 0; }
.rte h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 2.75rem 0 1rem; }
.rte h3 { font-size: clamp(1.25rem, 2.2vw, 1.5rem); margin: 2.25rem 0 .75rem; }
.rte h4 { margin: 1.75rem 0 .5rem; }
.rte p, .rte ul, .rte ol, .rte table, .rte blockquote, .rte figure { margin-bottom: 1.35rem; }
.rte ul, .rte ol { padding-left: 1.25rem; }
.rte li { margin-bottom: .45rem; padding-left: .25rem; }
.rte ul li::marker { color: var(--b2b-teal); }
.rte ol li::marker { color: var(--b2b-teal-700); font-weight: 700; }
.rte a { color: var(--b2b-teal-700); font-weight: 500; text-decoration-thickness: 1px; }
.rte a:hover { color: var(--b2b-navy); }
.rte strong { color: var(--b2b-navy); }
.rte img { border-radius: var(--b2b-radius-lg); }
.rte blockquote {
    padding: 1.25rem 1.5rem;
    border-left: 3px solid var(--b2b-teal);
    background: var(--b2b-teal-50);
    font-family: var(--b2b-font-heading);
    font-size: 1.2rem;
    color: var(--b2b-navy);
}
.rte blockquote p:last-child { margin-bottom: 0; }
.rte table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.rte th, .rte td { padding: .75rem; border-bottom: 1px solid var(--b2b-line); text-align: left; vertical-align: top; }
.rte th { color: var(--b2b-navy); font-weight: 700; background: var(--b2b-teal-50); }
.rte hr { margin: 2.5rem 0; border-color: var(--b2b-line); opacity: 1; }
.rte .table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.content-panel {
    padding: clamp(1.5rem, 5vw, 3.5rem);
    background: #fff;
    border: 1px solid var(--b2b-line);
}

/* Sidebar */
.sidebar-sticky { position: sticky; top: calc(var(--b2b-header-h) + 1.5rem); }

/* Policy table of contents */
.toc { font-size: .875rem; }
.toc-title {
    font-size: .6875rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--b2b-muted);
    margin-bottom: .75rem;
}
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--b2b-line); counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a {
    display: flex;
    gap: .6rem;
    padding: .4rem 0 .4rem 1rem;
    margin-left: -1px;
    border-left: 2px solid transparent;
    color: var(--b2b-body);
    text-decoration: none;
    line-height: 1.4;
}
.toc a::before { content: counter(toc, decimal-leading-zero); color: var(--b2b-muted); font-size: .75rem; padding-top: .1rem; }
.toc a:hover { color: var(--b2b-teal-700); }
.toc a.active { color: var(--b2b-navy); font-weight: 600; border-left-color: var(--b2b-teal); }

.policy-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 1.5rem;
    font-size: .8125rem;
    color: var(--b2b-muted);
}
.policy-meta .bi { color: var(--b2b-teal); margin-right: .35rem; }

/* Blog listing: category chips and pagination */
.blog-filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.blog-filters a {
    padding: .45rem .95rem;
    font-size: .8125rem;
    font-weight: 600;
    color: var(--b2b-navy);
    text-decoration: none;
    background: #fff;
    border: 1px solid var(--b2b-line);
    border-radius: 999px;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.blog-filters a:hover { border-color: var(--b2b-teal); color: var(--b2b-teal-700); }
.blog-filters a.active { background: var(--b2b-teal); border-color: var(--b2b-teal); color: #fff; }
.blog-pagination {
    --bs-pagination-color: var(--b2b-navy);
    --bs-pagination-hover-color: var(--b2b-teal-700);
    --bs-pagination-hover-bg: var(--b2b-teal-50);
    --bs-pagination-focus-color: var(--b2b-teal-700);
    --bs-pagination-active-bg: var(--b2b-teal);
    --bs-pagination-active-border-color: var(--b2b-teal);
    --bs-pagination-border-color: var(--b2b-line);
    gap: .35rem;
}
.blog-pagination .page-link { border-radius: var(--b2b-radius) !important; min-width: 2.5rem; text-align: center; }

/* FAQs accordion */
.faq-accordion {
    --bs-accordion-border-color: var(--b2b-line);
    --bs-accordion-border-radius: var(--b2b-radius-lg);
    --bs-accordion-inner-border-radius: var(--b2b-radius-lg);
    --bs-accordion-btn-color: var(--b2b-navy);
    --bs-accordion-active-color: var(--b2b-navy);
    --bs-accordion-active-bg: var(--b2b-teal-50);
    --bs-accordion-btn-focus-box-shadow: 0 0 0 .2rem rgba(39, 174, 185, .25);
    --bs-accordion-btn-padding-y: 1.15rem;
    --bs-accordion-body-padding-y: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: .75rem;
}
.faq-accordion .accordion-item { border-radius: var(--b2b-radius-lg) !important; border: 1px solid var(--b2b-line) !important; overflow: hidden; }
.faq-accordion .accordion-button { font-weight: 600; font-size: 1rem; }
.faq-accordion .accordion-body p:last-child { margin-bottom: 0; }

/* Blog article sidebar */
.recent-posts li + li { margin-top: .9rem; padding-top: .9rem; border-top: 1px solid var(--b2b-line); }
.recent-posts a { display: block; font-weight: 600; color: var(--b2b-navy); text-decoration: none; line-height: 1.35; }
.recent-posts a:hover { color: var(--b2b-teal-700); }
.recent-posts time { display: block; margin-top: .2rem; font-size: .75rem; color: var(--b2b-muted); }

/* --------------------------------------------------------------------------
   11. CTA band & footer
   -------------------------------------------------------------------------- */
.cta-band {
    --ring-size: 560px; --ring-width: 60px; --ring-top: -60%; --ring-right: 8%;
    --ring-color: rgba(255, 255, 255, .1);
    padding-block: clamp(3rem, 6vw, 4.5rem);
}
.cta-band h2 { font-size: clamp(1.9rem, 4vw, 2.75rem); margin-bottom: .5rem; }
.cta-band p { margin: 0; font-size: .875rem; }

.site-footer {
    background: var(--b2b-navy);
    color: rgba(255, 255, 255, .7);
    font-size: .875rem;
    padding-top: clamp(3rem, 6vw, 4.5rem);
}
.site-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.site-footer a:hover { color: var(--b2b-teal); }
.footer-logo { display: inline-block; margin-bottom: 1.5rem; }
.footer-logo img { height: 40px; width: auto; display: block; }
.footer-heading {
    font-family: var(--b2b-font-body);
    font-size: .6875rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--b2b-teal);
    margin-bottom: 1.1rem;
}
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { padding: .3rem 0; }
.footer-contact address { font-style: normal; line-height: 1.6; margin-bottom: 1rem; }
.footer-contact .contact-row { display: flex; align-items: center; gap: .6rem; padding: .25rem 0; }
.footer-contact .bi { color: var(--b2b-teal); }
.social-links { display: flex; gap: 1rem; list-style: none; margin: 1rem 0 0; padding: 0; font-size: 1.1rem; }
.footer-bottom {
    margin-top: clamp(2.5rem, 5vw, 3.5rem);
    padding-block: 1.5rem;
    border-top: 1px solid var(--b2b-line-dark);
    font-size: .75rem;
    color: rgba(255, 255, 255, .55);
}
.footer-bottom a { color: rgba(255, 255, 255, .65); }

/* --------------------------------------------------------------------------
   12. Motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
    .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
    .reveal.is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* --------------------------------------------------------------------------
   13. Print
   -------------------------------------------------------------------------- */
@media print {
    .topbar, .site-header, .site-footer, .cta-band, .offcanvas, .toc-col, .sidebar-col { display: none !important; }
    .page-hero { min-height: 0; padding: 0 0 1.5rem; background: none; }
    .page-hero::before, .page-hero > img, .page-hero nav { display: none; }
    .page-hero h1, .page-hero .lead, .page-hero .policy-meta { color: #000 !important; }
    .content-panel { border: 0; padding: 0; }
}

/* About: purpose section ring */
.purpose { --ring-color: rgba(255, 255, 255, .04); --ring-top: -35%; --ring-right: -8%; }
.booking-intro { max-width: 28rem; }

/* Resources hub */
.resource-links { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.resource-links li { border-top: 1px solid var(--b2b-line); }
.resource-links li:last-child { border-bottom: 1px solid var(--b2b-line); }
.resource-links a { display: block; padding: .65rem 0; font-size: .9375rem; color: var(--b2b-ink); text-decoration: none; }
.resource-links a:hover { color: var(--b2b-teal-700); }

/* Inner-page sidebars: rounded boxes (overflow clips the decorative ring on the navy panel) */
.sidebar-col .cta-panel,
.sidebar-col .contact-card,
.sidebar-sticky > * {
    border-radius: var(--b2b-radius-lg);
    overflow: hidden;
}

/* Client Zone: a card that isn't live yet */
.soon-badge {
    display: inline-flex; align-items: center; gap: .4rem; align-self: flex-start;
    padding: .3rem .75rem; border-radius: 999px;
    background: var(--b2b-teal-100); color: var(--b2b-teal-700);
    font-size: .75rem; font-weight: 700; letter-spacing: .02em;
}
.card-b2b .soon-badge.card-foot { padding-top: .3rem; }

/* Home: rotating testimonials. Slides are stacked in one grid cell so the band keeps the
   height of the longest quote and doesn't jump as they change */
.testimonial-carousel { text-align: center; }
.testimonial-carousel .quote-mark { font-family: Georgia, serif; font-size: 6rem; line-height: .6; color: var(--b2b-teal); opacity: .5; }
.testimonial-carousel .carousel-inner { display: grid; }
.testimonial-carousel .carousel-item {
    display: block;
    grid-area: 1 / 1;
    float: none;
    margin-right: 0;
    align-self: center;
}
.testimonial-carousel .carousel-item:not(.active):not(.carousel-item-next):not(.carousel-item-prev) { visibility: hidden; }
.testimonial-controls { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 2rem; }
.testimonial-arrow {
    display: grid; place-items: center;
    width: 2.5rem; height: 2.5rem; border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .25); background: transparent; color: #fff;
    transition: background-color .2s ease, border-color .2s ease;
}
.testimonial-arrow:hover, .testimonial-arrow:focus-visible { background: var(--b2b-teal); border-color: var(--b2b-teal); }
.testimonial-carousel .testimonial-dots { position: static; margin: 0; gap: .4rem; }
.testimonial-carousel .testimonial-dots [data-bs-target] {
    width: .55rem; height: .55rem; margin: 0; border: 0; border-radius: 50%;
    background-color: #fff; opacity: .35; text-indent: 0;
}
.testimonial-carousel .testimonial-dots .active { opacity: 1; background-color: var(--b2b-teal); }

/* Contact page: rounded booking, contact and map/office boxes (overflow clips the map and rings to the curve) */
.booking-card,
.contact-card,
.location-card {
    border-radius: var(--b2b-radius-lg);
    overflow: hidden;
}
.location-card .map-card { border-radius: 0; }

/* Contact page: WhatsApp QR code under the WhatsApp link */
.whatsapp-qr { align-items: center; gap: 1rem; margin-top: 1rem; }
.whatsapp-qr img {
    flex-shrink: 0; padding: .4rem; background: #fff;
    border: 1px solid var(--b2b-line); border-radius: var(--b2b-radius);
}
.whatsapp-qr span { font-size: .8125rem; color: var(--b2b-muted); line-height: 1.45; max-width: 12rem; }

/* Contact page: contact card fills its half so it lines up with the map box beside it */
.contact-col .contact-card { flex-grow: 1; display: flex; flex-direction: column; }
.contact-col .contact-card > .small-print { margin-top: auto; }
