/* Balanced View supplementary styles. Design tokens live in theme.json. */

/* Section rhythm */
.bv-section { padding-top: var(--wp--preset--spacing--60); padding-bottom: var(--wp--preset--spacing--60); }
.bv-pad { padding-top: var(--wp--preset--spacing--60); padding-bottom: var(--wp--preset--spacing--60); }
.bv-landing, .bv-landing > .wp-block-post-content { margin-block-start: 0; }
.bv-main { margin-block-start: 0; }
.bv-hero { padding-top: var(--wp--preset--spacing--70); padding-bottom: var(--wp--preset--spacing--70); }
.bv-page-hero { padding-top: var(--wp--preset--spacing--60); padding-bottom: var(--wp--preset--spacing--60); }
.wp-site-blocks > * + * { margin-block-start: 0; }
.bv-narrow > * { max-width: 740px; }

/* Asymmetric two-part compositions */
.bv-split { gap: clamp(2rem, 6vw, 6rem); align-items: flex-start; }
.bv-split > .wp-block-column > * + * { margin-block-start: 1.25rem; }
.bv-hero-title { max-width: 15ch; }
.bv-secondary { max-width: 52ch; }
.bv-section h2 + .wp-block-table, .bv-section h2 + .bv-rows { margin-top: var(--wp--preset--spacing--40); }
.bv-section > .bv-narrow + .bv-rows,
.bv-section > .bv-narrow + .wp-block-table { margin-top: var(--wp--preset--spacing--40); }
.bv-section > .bv-split + .wp-block-table,
.bv-section > .bv-split + .bv-rows { margin-top: var(--wp--preset--spacing--50); }

/* Ruled rows: fine dividers instead of cards */
.bv-rows { border-bottom: 1px solid var(--wp--preset--color--hairline); }
.bv-row { border-top: 1px solid var(--wp--preset--color--hairline); padding-top: 1.75rem; padding-bottom: 1.75rem; }
.bv-row-cols { margin-bottom: 0; gap: clamp(1.5rem, 5vw, 5rem); }
.bv-row h3 { margin: 0; }
.bv-row h3 a { text-decoration: none; }
.bv-row h3 a:hover { text-decoration: underline; text-decoration-color: var(--wp--preset--color--turquoise); text-decoration-thickness: 3px; text-underline-offset: 0.2em; }
.bv-row p { margin-top: 0; }
.bv-row p + p { margin-top: 0.75rem; }

/* Hero side rail */
.bv-facts { border-left: 1px solid var(--wp--preset--color--hairline); padding-left: clamp(1.25rem, 3vw, 2.5rem); }
.bv-fact + .bv-fact { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--wp--preset--color--hairline); }
.bv-fact h3 { font-size: var(--wp--preset--font-size--lead); margin: 0 0 0.35rem; }
.bv-fact p { margin: 0; }

/* Navy sections: inherit light text, restrained turquoise accent */
.has-navy-background-color :is(h1, h2, h3, h4, h5, h6, p, li) { color: inherit; }
.has-navy-background-color :where(a:not(.wp-block-button__link)) { color: inherit; }
.bv-accent-rule { border-left: 3px solid var(--wp--preset--color--turquoise); padding-left: clamp(1.25rem, 3vw, 2.5rem); }
.bv-ruled-list { list-style: none; padding: 0; margin: 0; }
.bv-ruled-list li { padding: 0.9rem 0; border-top: 1px solid rgba(255, 255, 255, 0.22); }
.bv-ruled-list li:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.22); }

/* Buttons */
.wp-block-button .wp-block-button__link { transition: background-color 0.15s ease, color 0.15s ease; }
.wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--wp--preset--color--navy); border: 1px solid currentColor; }
.wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--wp--preset--color--navy); color: var(--wp--preset--color--white); }
.wp-block-button.is-style-cta .wp-block-button__link { background: var(--wp--preset--color--orange); color: var(--wp--preset--color--navy); }
.wp-block-button.is-style-cta .wp-block-button__link:hover { background: #E56D00; color: var(--wp--preset--color--navy); }
.has-navy-background-color .wp-block-button.is-style-outline .wp-block-button__link { color: var(--wp--preset--color--white); }
.has-navy-background-color .wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--wp--preset--color--white); color: var(--wp--preset--color--navy); }

/* Tables */
.wp-block-table table { border-collapse: collapse; width: 100%; }
.wp-block-table th, .wp-block-table td { border: 0; border-top: 1px solid var(--wp--preset--color--hairline); padding: 1rem 1rem 1rem 0; text-align: left; vertical-align: top; }
.wp-block-table thead { border-bottom: 0; }
.wp-block-table th { font-size: var(--wp--preset--font-size--label); font-weight: 600; color: var(--wp--preset--color--muted-slate); border-top: 0; border-bottom: 1px solid var(--wp--preset--color--navy); }
.wp-block-table tbody tr:last-child td { border-bottom: 1px solid var(--wp--preset--color--hairline); }
.wp-block-table td:first-child { font-weight: 600; color: var(--wp--preset--color--navy); }
.wp-block-table { overflow-x: auto; }

/* Header and footer */
.bv-header { border-bottom: 1px solid var(--wp--preset--color--hairline); padding-top: 1.25rem; padding-bottom: 1.25rem; }
.bv-header-inner { gap: 1.5rem 2.5rem; }
.bv-brand > * { margin: 0; }
.bv-wordmark, .bv-wordmark a { letter-spacing: -0.01em; line-height: 1.1; }
.bv-descriptor { font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--wp--preset--color--muted-slate); margin-top: 0.2rem; }
.bv-nav a { text-decoration: none; padding: 0.35rem 0; }
.bv-nav .wp-block-navigation-item a:hover { text-decoration: underline; text-decoration-color: var(--wp--preset--color--turquoise); text-decoration-thickness: 3px; text-underline-offset: 0.35em; }
.bv-footer { padding-top: var(--wp--preset--spacing--60); padding-bottom: var(--wp--preset--spacing--40); }
.bv-footer .bv-split > .wp-block-column > * { margin-top: 0; margin-bottom: 0.6rem; }
.bv-footer a { text-decoration: none; }
.bv-footer a:hover { text-decoration: underline; text-decoration-color: var(--wp--preset--color--turquoise); text-decoration-thickness: 2px; }
.bv-legal { margin-top: var(--wp--preset--spacing--50); padding-top: 1.5rem; border-top: 1px solid var(--wp--preset--color--hairline); color: var(--wp--preset--color--muted-slate); }
.bv-brand .wp-block-site-logo:empty { display: none; }

/* Placeholders to replace before launch */
.bv-placeholder { border: 1px dashed var(--wp--preset--color--muted-slate); padding: 1.25rem 1.5rem; background: var(--wp--preset--color--light-neutral); }
.bv-placeholder p { margin: 0; color: var(--wp--preset--color--muted-slate); }

/* Forms (works with most form plugins) */
input[type="text"], input[type="email"], input[type="tel"], input[type="search"], textarea, select {
  border: 1px solid var(--wp--preset--color--muted-slate); border-radius: 0; padding: 0.7rem 0.85rem; font: inherit; color: inherit; background: var(--wp--preset--color--white); max-width: 100%; }

/* Accessible focus */
:focus-visible { outline: 3px solid var(--wp--preset--color--navy); outline-offset: 3px; }
.has-navy-background-color :focus-visible { outline-color: var(--wp--preset--color--white); }

/* Brand accents: turquoise identifies the brand, kept to rules, markers and underlines */
.bv-header { border-top: 5px solid var(--wp--preset--color--turquoise); }
.bv-section h1::before, .bv-section h2::before { content: ""; display: block; width: 3.5rem; height: 4px; background: var(--wp--preset--color--turquoise); margin-bottom: 1.5rem; }
.bv-main a:not(.wp-block-button__link) { text-decoration-color: var(--wp--preset--color--turquoise); text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
.bv-main li::marker { color: var(--wp--preset--color--turquoise); }
.bv-facts { border-left: 4px solid var(--wp--preset--color--turquoise); }
.bv-fact h3 { color: var(--wp--preset--color--navy); }
.bv-row { border-top-color: var(--wp--preset--color--hairline); }
.bv-rows > .bv-row:first-child { border-top: 2px solid var(--wp--preset--color--navy); }
.wp-block-table th { border-bottom: 2px solid var(--wp--preset--color--turquoise); }
.bv-page-hero { border-bottom: 1px solid var(--wp--preset--color--hairline); }
.bv-footer { border-top: 5px solid var(--wp--preset--color--turquoise); }
.bv-footer h4 { color: var(--wp--preset--color--navy); }
.bv-ruled-list li { border-top-color: rgba(0, 188, 212, 0.5); }
.bv-ruled-list li:last-child { border-bottom-color: rgba(0, 188, 212, 0.5); }
.bv-on-navy a:not(.wp-block-button__link) { text-decoration-color: var(--wp--preset--color--turquoise); }

/* Bold colour system */
.bv-hero { position: relative; overflow: hidden; padding-top: var(--wp--preset--spacing--70); padding-bottom: var(--wp--preset--spacing--70); }
.bv-hero > *, .bv-page-hero > * { position: relative; z-index: 1; }
.bv-hero::before { content: ""; position: absolute; width: 40rem; height: 40rem; border-radius: 50%; background: var(--wp--preset--color--turquoise); top: -17rem; right: -13rem; z-index: 0; }
.bv-hero::after { content: ""; position: absolute; width: 30rem; height: 15rem; border-radius: 999px; background: var(--wp--preset--color--orange); bottom: -5rem; right: -8rem; z-index: 0; }
.bv-page-hero { position: relative; overflow: hidden; padding-top: var(--wp--preset--spacing--60); padding-bottom: calc(var(--wp--preset--spacing--60) + 1rem); border-bottom: 0; }
.bv-page-hero::before { content: ""; position: absolute; width: 22rem; height: 22rem; border-radius: 50%; background: var(--wp--preset--color--turquoise); top: -18.5rem; right: -4rem; z-index: 0; }
.bv-page-hero::after { content: ""; position: absolute; width: 16rem; height: 8rem; border-radius: 999px; background: var(--wp--preset--color--orange); bottom: -5.5rem; right: 12%; z-index: 0; }
.bv-hero-title { max-width: 15ch; }
.bv-hero .bv-secondary { color: rgba(255, 255, 255, 0.82); }
.bv-hero-cols { align-items: center; }

/* Where do you start panel */
.bv-panel { padding: clamp(1.5rem, 3vw, 2.25rem); color: var(--wp--preset--color--ink); box-shadow: 0 24px 48px rgba(0, 0, 0, 0.28); border-top: 6px solid var(--wp--preset--color--orange); }
.bv-panel h3 { margin-bottom: 0.75rem; color: var(--wp--preset--color--navy); }
.bv-path { position: relative; padding: 1rem 0.75rem; margin: 0 -0.75rem; border-top: 1px solid var(--wp--preset--color--hairline); transition: background-color 0.15s ease, box-shadow 0.15s ease; }
.bv-path > * { margin: 0; color: var(--wp--preset--color--ink); }
.bv-path-title { font-size: var(--wp--preset--font-size--lead); font-family: var(--wp--preset--font-family--serif); }
.bv-path-title a { text-decoration: none; color: var(--wp--preset--color--navy); }
.bv-path-title a::after { content: ""; position: absolute; inset: 0; }
.bv-path-desc { color: var(--wp--preset--color--muted-slate) !important; }
.bv-path:hover { background: var(--wp--preset--color--light-neutral); box-shadow: inset 4px 0 0 var(--wp--preset--color--turquoise); }
.bv-path:hover .bv-path-title a { text-decoration: underline; text-decoration-color: var(--wp--preset--color--turquoise); text-decoration-thickness: 3px; }

/* Interactive service rows */
.bv-row { position: relative; transition: background-color 0.15s ease, box-shadow 0.15s ease; }
.bv-row:has(h3 a) { isolation: isolate; }
.bv-row:has(h3 a)::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1rem; right: -1rem; z-index: -1; transition: background-color 0.15s ease, box-shadow 0.15s ease; }
.bv-row:has(h3 a):hover::before { background: var(--wp--preset--color--light-neutral); box-shadow: inset 5px 0 0 var(--wp--preset--color--turquoise); }
.bv-row h3 a::after { content: ""; position: absolute; inset: 0; }

/* Turquoise band (charity specialism) */
.bv-on-turquoise :is(h1, h2, h3, h4, p, li) { color: var(--wp--preset--color--navy); }
.bv-on-turquoise h2::before { background: var(--wp--preset--color--navy); }
.bv-on-turquoise .bv-accent-rule { border-left-color: var(--wp--preset--color--navy); }
.bv-on-turquoise .bv-ruled-list li { border-top-color: rgba(11, 45, 74, 0.35); }
.bv-on-turquoise .bv-ruled-list li:last-child { border-bottom-color: rgba(11, 45, 74, 0.35); }
.bv-on-turquoise a:not(.wp-block-button__link) { text-decoration-color: var(--wp--preset--color--navy); }
.bv-on-turquoise .wp-block-button__link { background: var(--wp--preset--color--navy); color: var(--wp--preset--color--white); }
.bv-on-turquoise .wp-block-button__link:hover { background: var(--wp--preset--color--white); color: var(--wp--preset--color--navy); }

/* Navy bands: stronger accents */
.bv-on-navy h1::before, .bv-on-navy h2::before { background: var(--wp--preset--color--orange); }
.bv-on-navy .bv-hero-title { color: var(--wp--preset--color--white); }
.bv-on-navy .has-turquoise-color { color: var(--wp--preset--color--turquoise) !important; }
.bv-cta { padding-top: var(--wp--preset--spacing--60); padding-bottom: var(--wp--preset--spacing--60); }
.bv-header .bv-logo { margin: 0; }
.bv-logo img { height: auto; display: block; }
.bv-footer .bv-logo { margin-bottom: 1rem; }
.bv-who-band { }
@media (max-width: 781px) {
  .bv-hero::before { width: 24rem; height: 24rem; top: -14rem; right: -10rem; }
  .bv-hero::after { display: none; }
}

/* Grouped navigation: Services and Our clients, as colour-coded tabs */
.bv-header { padding-top: 1.25rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--wp--preset--color--hairline); }
.bv-header-inner { gap: 1rem 2rem; flex-wrap: wrap; }
.bv-header .wp-block-buttons { margin: 0; }
.bv-btn-sm .wp-block-button__link { padding: 0.45em 1em; font-size: var(--wp--preset--font-size--label); }
.bv-utility { background: var(--wp--preset--color--light-neutral); border-top: 5px solid var(--wp--preset--color--turquoise); padding-top: 0.4rem; padding-bottom: 0.4rem; }
.bv-utility > * + * { margin-top: 0; }
.bv-utility-inner { gap: 1.5rem; }
.bv-utility .bv-login { margin: 0; }
.bv-utility .bv-login a { font-weight: 600; color: var(--wp--preset--color--navy); text-decoration-color: var(--wp--preset--color--turquoise); }
.bv-utility .wp-block-buttons { margin: 0; }
.bv-header { border-top: 0; }
.bv-nav .wp-block-navigation__container { gap: 0; }
.bv-header .bv-nav { margin-top: 1.6rem; margin-left: auto; }
.bv-nav .bv-nav-svc, .bv-nav .bv-nav-cli { position: relative; padding: 0.65rem 1rem 0.55rem; transition: background-color 0.15s ease; }
.bv-nav .bv-nav-svc { background: rgba(0, 188, 212, 0.1); box-shadow: inset 0 -3px 0 var(--wp--preset--color--turquoise); }
.bv-nav .bv-nav-cli { background: rgba(255, 122, 0, 0.1); box-shadow: inset 0 -3px 0 var(--wp--preset--color--orange); }
.bv-nav .bv-nav-svc:hover, .bv-nav .bv-nav-svc:focus-within { background: rgba(0, 188, 212, 0.24); }
.bv-nav .bv-nav-cli:hover, .bv-nav .bv-nav-cli:focus-within { background: rgba(255, 122, 0, 0.22); }
.bv-nav .bv-nav-svc > a, .bv-nav .bv-nav-cli > a { color: var(--wp--preset--color--navy); font-weight: 500; padding: 0; }
.bv-nav .bv-nav-cli > a:hover { text-decoration-color: var(--wp--preset--color--orange); }
.bv-nav .current-menu-item > a, .bv-nav .current-menu-ancestor > a { font-weight: 700; }
.bv-nav .wp-block-navigation__submenu-container a { text-align: left; font-weight: 400; }
.bv-nav .bv-nav-first-cli { margin-left: 1.5rem; }
.bv-nav .bv-nav-first-svc::before, .bv-nav .bv-nav-first-cli::before { position: absolute; left: 0; bottom: 100%; padding: 0.3rem 0.75rem 0.25rem; border-radius: 6px 6px 0 0; font-size: 0.75rem; font-weight: 700; line-height: 1.2; white-space: nowrap; color: var(--wp--preset--color--navy); }
.bv-nav .bv-nav-first-svc::before { content: "Services"; background: var(--wp--preset--color--turquoise); }
.bv-nav .bv-nav-first-cli::before { content: "Our clients"; background: var(--wp--preset--color--orange); }
.wp-block-navigation__responsive-container.is-menu-open .bv-nav-svc, .wp-block-navigation__responsive-container.is-menu-open .bv-nav-cli { background: none; box-shadow: none; padding: 0; margin-left: 0; text-align: left; justify-content: flex-start; flex: none; }
.wp-block-navigation__responsive-container.is-menu-open .bv-nav-first-svc::before, .wp-block-navigation__responsive-container.is-menu-open .bv-nav-first-cli::before { display: none; }

/* When the menu wraps under the logo, it becomes one connected bar across the page width */
@media (max-width: 1100px) {
  .bv-header .bv-nav { flex: 1 1 100%; margin-left: 0; }
  .bv-nav .wp-block-navigation__responsive-container, .bv-nav .wp-block-navigation__responsive-dialog, .bv-nav .wp-block-navigation__responsive-container-content { width: 100%; }
  .bv-header-inner { row-gap: 0.25rem; }
  .bv-nav .wp-block-navigation__container { width: 100%; justify-content: stretch; }
  .bv-nav .bv-nav-svc, .bv-nav .bv-nav-cli { flex: 1 1 0; justify-content: center; text-align: center; }
  .bv-nav .bv-nav-first-cli { margin-left: 4px; }
}
@media (max-width: 782px) {
  .bv-nav .bv-nav-svc, .bv-nav .bv-nav-cli { padding-left: 0.65rem; padding-right: 0.65rem; }
}

/* Dropdown navigation */
.wp-block-navigation.bv-nav .has-child .wp-block-navigation__submenu-container { left: 0; right: auto; min-width: 22rem; text-align: left; border-top-color: var(--wp--preset--color--orange); }
.wp-block-navigation.bv-nav .has-child .wp-block-navigation__submenu-container { min-width: 22rem; }
.bv-nav .wp-block-navigation__submenu-container { background: var(--wp--preset--color--white); border: 1px solid var(--wp--preset--color--hairline); border-top: 3px solid var(--wp--preset--color--turquoise); padding: 0.5rem 0; min-width: 19rem; box-shadow: 0 16px 32px rgba(11, 45, 74, 0.14); }
.bv-nav .wp-block-navigation__submenu-container .wp-block-navigation-item a { padding: 0.55rem 1.25rem; }
.bv-nav .wp-block-navigation__submenu-container .wp-block-navigation-item a:hover { background: rgba(255, 122, 0, 0.1); text-decoration: none; }

/* Icon system: tiles with a line icon, set per heading, row or table row */
.bv-ic-book { --ico: url("../icons/book.svg"); } .bv-ic-file-text { --ico: url("../icons/file-text.svg"); } .bv-ic-percent { --ico: url("../icons/percent.svg"); }
.bv-ic-user { --ico: url("../icons/user.svg"); } .bv-ic-users { --ico: url("../icons/users.svg"); } .bv-ic-wallet { --ico: url("../icons/wallet.svg"); }
.bv-ic-pie { --ico: url("../icons/pie.svg"); } .bv-ic-chat { --ico: url("../icons/chat.svg"); } .bv-ic-calculator { --ico: url("../icons/calculator.svg"); }
.bv-ic-heart { --ico: url("../icons/heart.svg"); } .bv-ic-chart { --ico: url("../icons/chart.svg"); } .bv-ic-cpu { --ico: url("../icons/cpu.svg"); }
.bv-ic-megaphone { --ico: url("../icons/megaphone.svg"); } .bv-ic-compass { --ico: url("../icons/compass.svg"); } .bv-ic-briefcase { --ico: url("../icons/briefcase.svg"); }
.bv-ic-building { --ico: url("../icons/building.svg"); } .bv-ic-home { --ico: url("../icons/home.svg"); } .bv-ic-trend { --ico: url("../icons/trend.svg"); }
.bv-ic-search-check { --ico: url("../icons/search-check.svg"); } .bv-ic-shield { --ico: url("../icons/shield.svg"); } .bv-ic-zap { --ico: url("../icons/zap.svg"); }
.bv-ic-database { --ico: url("../icons/database.svg"); } .bv-ic-link { --ico: url("../icons/link.svg"); } .bv-ic-calendar { --ico: url("../icons/calendar.svg"); }
.bv-ic-clipboard { --ico: url("../icons/clipboard.svg"); } .bv-ic-phone { --ico: url("../icons/phone.svg"); } .bv-ic-award { --ico: url("../icons/award.svg"); } .bv-ic-layers { --ico: url("../icons/layers.svg"); }
.bv-rows { --tile: rgba(0, 188, 212, 0.16); }
.bv-rows.bv-tile-o { --tile: rgba(255, 122, 0, 0.16); }
h3.bv-ic { display: flex; align-items: center; gap: 1rem; }
h3.bv-ic::before { content: ""; flex: 0 0 auto; width: 2.75rem; height: 2.75rem; margin: 0; border-radius: 0.75rem; background: var(--ico) center / 54% no-repeat, var(--tile, rgba(0, 188, 212, 0.16)); }
.bv-row h3.bv-ic { font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem); line-height: 1.2; }
.bv-row-sm h3.bv-ic { font-size: var(--wp--preset--font-size--lead); }
.bv-row-cols { align-items: center; }
.bv-row:has(h3 a):hover h3.bv-ic::before { background-color: transparent; background-image: var(--ico), linear-gradient(var(--tile), var(--tile)); filter: saturate(1.4); }
.bv-pathic { padding-left: 4.25rem; min-height: 4.5rem; }
.bv-pathic::before { content: ""; position: absolute; left: 0.75rem; top: 50%; transform: translateY(-50%); width: 2.5rem; height: 2.5rem; border-radius: 0.7rem; background: var(--ico) center / 54% no-repeat, rgba(255, 122, 0, 0.16); }

/* Tables */
.wp-block-table.bv-table table { border-collapse: separate; border-spacing: 0; width: 100%; border: 1px solid var(--wp--preset--color--hairline); background: var(--wp--preset--color--white); }
.wp-block-table.bv-table thead th { background: var(--wp--preset--color--navy); color: var(--wp--preset--color--white); font-size: var(--wp--preset--font-size--label); font-weight: 600; padding: 1rem 1.25rem; border: 0; border-bottom: 4px solid var(--wp--preset--color--turquoise); }
.wp-block-table.bv-table tbody td { padding: 1.35rem 1.25rem; border: 0; border-top: 1px solid var(--wp--preset--color--hairline); vertical-align: top; transition: background-color 0.15s ease; }
.wp-block-table.bv-table tbody tr:first-child td { border-top: 0; }
.wp-block-table.bv-table tbody tr:hover td { background: var(--wp--preset--color--light-neutral); }
.wp-block-table.bv-table td:first-child { color: var(--wp--preset--color--navy); font-weight: 600; font-family: var(--wp--preset--font-family--serif); font-size: var(--wp--preset--font-size--lead); }
.wp-block-table.bv-table td:first-child::before { content: ""; display: block; width: 2.75rem; height: 2.75rem; border-radius: 0.75rem; margin-bottom: 0.75rem; background: var(--ico) center / 54% no-repeat, rgba(0, 188, 212, 0.16); }
.bv-engagement tbody tr:nth-child(1) { --ico: url("../icons/calendar.svg"); }
.bv-engagement tbody tr:nth-child(2) { --ico: url("../icons/clipboard.svg"); }
.bv-engagement tbody tr:nth-child(3) { --ico: url("../icons/layers.svg"); }
.bv-engagement thead th:first-child { width: 30%; }
.bv-packages tbody tr:nth-child(1) { --ico: url("../icons/wallet.svg"); }
.bv-packages tbody tr:nth-child(2) { --ico: url("../icons/book.svg"); }
.bv-packages tbody tr:nth-child(3) { --ico: url("../icons/file-text.svg"); }
.bv-packages tbody tr:nth-child(4) { --ico: url("../icons/user.svg"); }
.bv-packages tbody tr:nth-child(5) { --ico: url("../icons/building.svg"); }
.bv-packages tbody tr:nth-child(6) { --ico: url("../icons/percent.svg"); }
.bv-packages tbody tr:nth-child(7) { --ico: url("../icons/users.svg"); }
.bv-packages tbody tr:nth-child(8) { --ico: url("../icons/pie.svg"); }
.bv-packages tbody tr:nth-child(9) { --ico: url("../icons/chat.svg"); }
.bv-packages td:first-child { font-size: var(--wp--preset--font-size--base) !important; }
.bv-packages td:first-child::before { display: inline-block !important; vertical-align: middle; margin: 0 0.85rem 0 0 !important; width: 2.25rem !important; height: 2.25rem !important; }
.bv-packages tbody tr:first-child td { font-family: var(--wp--preset--font-family--serif); font-size: var(--wp--preset--font-size--h3); color: var(--wp--preset--color--navy); padding-top: 1.6rem; padding-bottom: 1.6rem; }
.bv-packages tbody tr:first-child td:first-child { font-size: var(--wp--preset--font-size--base) !important; font-family: var(--wp--preset--font-family--sans); }
.wp-block-table.bv-packages tbody td { vertical-align: middle; }
.bv-packages td:nth-child(2), .bv-packages th:nth-child(2) { text-align: center; }
.bv-packages td:nth-child(3), .bv-packages th:nth-child(3) { text-align: center; }
.bv-packages td:nth-child(4), .bv-packages th:nth-child(4) { text-align: center; }
.bv-packages td:nth-child(2) { background: rgba(0, 188, 212, 0.06); }
.bv-packages td:nth-child(4) { background: rgba(255, 122, 0, 0.06); }
.bv-packages td strong { color: var(--wp--preset--color--navy); font-weight: 600; }
.bv-packages td strong::before { content: "\2713\00a0"; color: #007F8F; font-weight: 700; }
.bv-packages td em { font-style: normal; color: var(--wp--preset--color--muted-slate); opacity: 0.8; }

/* Phone number: prominent at the top */
.bv-utility-inner { justify-content: space-between; }
.bv-utility-actions { gap: 1.25rem; }
.bv-utility .bv-phone { margin: 0; font-size: var(--wp--preset--font-size--base); font-weight: 700; }
.bv-utility .bv-phone a { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--wp--preset--color--navy); }
.bv-utility .bv-phone a::before { content: ""; width: 2rem; height: 2rem; border-radius: 50%; background: var(--ico) center / 55% no-repeat, var(--wp--preset--color--turquoise); --ico: url("../icons/phone.svg"); }
.bv-utility .bv-phone a:hover { text-decoration: underline; text-decoration-color: var(--wp--preset--color--turquoise); text-decoration-thickness: 3px; text-underline-offset: 0.25em; }

/* Responsive */
@media (max-width: 599px) {
  .bv-utility { padding-top: 0.5rem; padding-bottom: 0.5rem; }
  .bv-utility-inner, .bv-utility-actions { gap: 0.6rem 1rem; }
  .bv-utility .bv-phone { flex: 1 1 100%; }
  .bv-utility-actions { flex: 1 1 100%; justify-content: space-between; }
  .bv-header { padding-top: 1rem; padding-bottom: 1rem; }
  .bv-header-inner { flex-wrap: nowrap; }
  .bv-header .bv-nav { flex: 0 0 auto; margin: 0 0 0 auto; }
  .bv-logo img { width: 190px !important; }
  .bv-hero, .bv-page-hero, .bv-section { padding-top: var(--wp--preset--spacing--50); padding-bottom: var(--wp--preset--spacing--50); }
  .bv-hero::before { width: 16rem; height: 16rem; top: -9rem; right: -7rem; }
  .bv-page-hero::before { width: 12rem; height: 12rem; top: -8rem; right: -4rem; }
  .bv-page-hero::after { width: 9rem; height: 4.5rem; bottom: -2.5rem; right: 6%; }
  .bv-panel { padding: 1.25rem; }
  .bv-footer { padding-top: var(--wp--preset--spacing--50); }
  .bv-footer .wp-block-column { flex-basis: 100% !important; }
  .bv-footer .bv-logo img { width: 220px !important; }
  .wp-block-buttons { gap: 0.75rem; }
  .wp-block-buttons .wp-block-button { width: 100%; }
  .wp-block-buttons .wp-block-button__link { width: 100%; text-align: center; }
  .bv-utility .wp-block-buttons .wp-block-button { width: auto; }
  .bv-utility .wp-block-buttons .wp-block-button__link { width: auto; }
}
@media (max-width: 781px) {
  .bv-split { gap: 1.75rem; }
  .bv-facts { margin-top: 0.5rem; }
  .wp-block-table.bv-table td:first-child::before { margin-bottom: 0.5rem; }
}
.wp-block-table.bv-table table { min-width: 36rem; }
.wp-block-table { overflow-x: auto; -webkit-overflow-scrolling: touch; }
img, svg, video { max-width: 100%; height: auto; }

/* Engagement table stacks on phones; packages table scrolls with a fixed first column */
@media (max-width: 599px) {
  .wp-block-table.bv-engagement table { min-width: 0; border: 0; background: none; }
  .bv-engagement thead { display: none; }
  .bv-engagement tbody, .bv-engagement tr, .bv-engagement td { display: block; width: 100%; }
  .bv-engagement tr { border: 1px solid var(--wp--preset--color--hairline); background: var(--wp--preset--color--white); margin-bottom: 1rem; border-top: 4px solid var(--wp--preset--color--turquoise); }
  .wp-block-table.bv-engagement tbody td { border-top: 0; padding: 0.75rem 1.25rem; }
  .wp-block-table.bv-engagement tbody td:first-child { padding-top: 1.25rem; }
  .bv-engagement td:nth-child(2)::before, .bv-engagement td:nth-child(3)::before { display: block; font-size: var(--wp--preset--font-size--label); font-weight: 600; color: var(--wp--preset--color--muted-slate); margin-bottom: 0.15rem; }
  .bv-engagement td:nth-child(2)::before { content: "How it works"; }
  .bv-engagement td:nth-child(3)::before { content: "Typical work"; }
}
.bv-packages td:first-child, .bv-packages th:first-child { position: sticky; left: 0; z-index: 1; background: var(--wp--preset--color--white); }
.bv-packages th:first-child { background: var(--wp--preset--color--navy); }
@media (max-width: 599px) { .bv-packages td:first-child { min-width: 11rem; } }

/* Charity thresholds table */
.bv-thresholds td:first-child::before { display: none !important; }
.bv-thresholds td:first-child { width: 30%; }
.bv-section .bv-note { margin-top: 1.25rem; }
@media (max-width: 599px) {
  .wp-block-table.bv-thresholds table { min-width: 0; border: 0; background: none; }
  .bv-thresholds thead { display: none; }
  .bv-thresholds tbody, .bv-thresholds tr, .bv-thresholds td { display: block; width: 100% !important; }
  .bv-thresholds tr { border: 1px solid var(--wp--preset--color--hairline); background: var(--wp--preset--color--white); margin-bottom: 1rem; border-top: 4px solid var(--wp--preset--color--turquoise); }
  .wp-block-table.bv-thresholds tbody td { border-top: 0; padding: 0.6rem 1.25rem; }
  .bv-thresholds td:nth-child(2)::before, .bv-thresholds td:nth-child(3)::before { display: block; font-size: var(--wp--preset--font-size--label); font-weight: 600; color: var(--wp--preset--color--muted-slate); margin-bottom: 0.15rem; }
  .bv-thresholds td:nth-child(2)::before { content: "What is required"; }
  .bv-thresholds td:nth-child(3)::before { content: "Who can carry it out"; }
}

/* Legal links and legal pages */
.bv-legal-links { margin-top: var(--wp--preset--spacing--50); padding-top: 1.5rem; border-top: 1px solid var(--wp--preset--color--hairline); }
.bv-legal-links a { margin-right: 1.5rem; font-weight: 600; }
.bv-legal { margin-top: 0.75rem; padding-top: 0; border-top: 0; }
.bv-legal-body > * + * { margin-top: 1.1rem; }
.bv-legal-body h3 { margin-top: 2rem; font-size: var(--wp--preset--font-size--lead); }
.bv-legal-body .bv-placeholder { margin-bottom: 0.5rem; }

/* Floating WhatsApp button */
.bv-whatsapp { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 90; margin: 0 !important; }
.bv-whatsapp a { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.75rem 1.15rem; border-radius: 999px; background: #25D366; color: var(--wp--preset--color--navy); font-size: var(--wp--preset--font-size--label); font-weight: 700; text-decoration: none; box-shadow: 0 8px 22px rgba(11, 45, 74, 0.28); transition: transform 0.15s ease, box-shadow 0.15s ease; }
.bv-whatsapp a::before { content: ""; width: 1.5rem; height: 1.5rem; flex: 0 0 auto; background: url("../icons/whatsapp.svg") center / contain no-repeat; }
.bv-whatsapp a:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(11, 45, 74, 0.34); }
@media (max-width: 599px) { .bv-whatsapp a { font-size: 0; gap: 0; padding: 0.85rem; } .bv-whatsapp a::before { width: 1.75rem; height: 1.75rem; } }
@media print { .bv-whatsapp { display: none; } }

/* Team rows */
.bv-person .bv-role { margin-top: 0.35rem; }
.bv-portrait { margin: 0 0 1.1rem; }
.bv-portrait img { display: block; width: 150px; height: auto; border-radius: 50%; }
.bv-person .bv-row-cols { align-items: flex-start; }
.bv-person p + p { margin-top: 0.9rem; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
@media (max-width: 781px) {
  .bv-facts { border-left: 0; padding-left: 0; border-top: 1px solid var(--wp--preset--color--hairline); padding-top: 1.5rem; }
}
