/*
 * Borneo Bay — NovaCMS theme for a seafront superblock (Borneo Bay City, Balikpapan).
 * World: a bright bay morning — blue-white ground, navy ink, sea blue for actions; wide aerial photos fading into
 * the page, rounded white cards with soft shadows, icon chips for unit specs.
 *
 * Contrast (tokens in config/tokens.json): ink on mist 15.6:1 · text on white 10.3:1 · muted on white 5.6:1 ·
 * white on blue 6.1:1 · blue on white 6.1:1 · blue-deep on sky 8.4:1.
 *
 * Block classes for the page builder (Advanced → CSS classes), see README.md:
 *   section   bb-hero | bb-banner | bb-promo | bb-overlap | bb-s--plain | bb-s--white | bb-s--mist | bb-s--tight-top | bb-s--flush
 *   heading   bb-title | bb-display | bb-banner__title | bb-promo__title | bb-unit__title | bb-news__title
 *   text      bb-eyebrow | bb-lead | bb-hero__title | bb-hero__stat | bb-badge | bb-pill | bb-spec bb-spec--{bed,bath,area,land,floor}
 *             bb-checklist | bb-callout | bb-portfolio | bb-date | bb-prose-block | bb-banner__lead | bb-promo__text
 *   columns   bb-finder | bb-features | bb-tiles | bb-steps | bb-awards | bb-partners | bb-usps | bb-split | bb-facilities | bb-contacts
 *   column    bb-finder__cell | bb-feature | bb-tile | bb-step | bb-award | bb-partner | bb-usp | bb-facility | bb-contact
 *   container bb-head (+ bb-head--left) | bb-btn-row (+ bb-btn-row--center) | bb-unit, bb-unit__media, bb-unit__body, bb-specs | bb-news, bb-news__body
 *   image     bb-photo (+ bb-photo--tall) | bb-tile__image | bb-award__image | bb-partner__logo
 *   query     bb-unit-grid | bb-news-grid
 *   button    primary = blue, secondary = ink, outline; add bb-btn--light (white), bb-btn--block (full width), bb-link-button (text link)
 *   icons     add bb-icon-<name> to a column/text: pin home key wave award compass road leaf eye sign search city family cpu chart phone mail clock
 */

/* ---------- Tokens ---------- */
:root {
    --bb-ink: var(--nova-color-ink, #0A1F44);
    --bb-text: var(--nova-color-text, #33415C);
    --bb-muted: var(--nova-color-muted, #5A6782);
    --bb-blue: var(--nova-color-blue, #1655E0);
    --bb-blue-deep: var(--nova-color-blue-deep, #0C3BA8);
    --bb-sky: var(--nova-color-sky, #E8F0FE);
    --bb-mist: var(--nova-color-mist, #F3F6FB);
    --bb-surface: var(--nova-color-surface, #FFFFFF);
    --bb-line: var(--nova-color-line, #DCE3EF);
    --bb-red: var(--nova-color-red, #B4202B);
    --bb-band: #E6EDF9;
    --bb-font: var(--nova-font-body, 'Plus Jakarta Sans', 'Segoe UI', Roboto, Arial, sans-serif);
    --bb-radius-sm: var(--nova-radius-sm, 10px);
    --bb-radius: var(--nova-radius-md, 16px);
    --bb-radius-lg: var(--nova-radius-lg, 24px);
    --bb-container: var(--nova-container-max-width, 1200px);
    --bb-gutter: clamp(16px, 4vw, 40px);
    --bb-section: clamp(56px, 7vw, 96px);
    --bb-header-h: 76px;
    --bb-ease: cubic-bezier(.16, 1, .3, 1);
    --bb-shadow: 0 1px 2px rgba(10, 31, 68, .04), 0 12px 32px -12px rgba(10, 31, 68, .16);
    --bb-shadow-lg: 0 2px 4px rgba(10, 31, 68, .04), 0 24px 48px -20px rgba(10, 31, 68, .28);
    --bb-gradient: linear-gradient(180deg, #2B6BF3 0%, var(--bb-blue) 55%, var(--bb-blue-deep) 100%);
}

/* ---------- Icon set (Lucide-style strokes, as masks) ---------- */
:root {
    --bb-i-phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
    --bb-i-mail: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7'/%3E%3C/svg%3E");
    --bb-i-pin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 5-5.5 10.2-7.4 11.8a1 1 0 0 1-1.2 0C9.5 20.2 4 15 4 10a8 8 0 0 1 16 0'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
    --bb-i-clock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 6v6l4 2'/%3E%3C/svg%3E");
    --bb-i-chat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7.9 20A9 9 0 1 0 4 16.1L2 22Z'/%3E%3C/svg%3E");
    --bb-i-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E");
    --bb-i-award: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='6'/%3E%3Cpath d='M15.48 12.89 17 22l-5-3-5 3 1.52-9.11'/%3E%3C/svg%3E");
    --bb-i-compass: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m16.24 7.76-2.12 6.36-6.36 2.12 2.12-6.36z'/%3E%3C/svg%3E");
    --bb-i-road: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='6' cy='19' r='3'/%3E%3Cpath d='M9 19h8.5a3.5 3.5 0 0 0 0-7h-11a3.5 3.5 0 0 1 0-7H15'/%3E%3Ccircle cx='18' cy='5' r='3'/%3E%3C/svg%3E");
    --bb-i-leaf: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 20A7 7 0 0 1 9.8 6.1C15.5 5 17 4.48 19 2c1 2 2 4.18 2 8 0 5.5-4.78 10-10 10Z'/%3E%3Cpath d='M2 21c0-3 1.85-5.36 5.08-6C9.5 14.52 12 13 13 12'/%3E%3C/svg%3E");
    --bb-i-home: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10l9-7 9 7v10a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3Cpath d='M9 22V12h6v10'/%3E%3C/svg%3E");
    --bb-i-key: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='7.5' cy='15.5' r='5.5'/%3E%3Cpath d='m21 2-9.6 9.6'/%3E%3Cpath d='m15.5 7.5 3 3L22 7l-3-3'/%3E%3C/svg%3E");
    --bb-i-wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 6c.6.5 1.2 1 2.5 1C7 7 7 5 9.5 5c2.6 0 2.4 2 5 2 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1'/%3E%3Cpath d='M2 12c.6.5 1.2 1 2.5 1 2.5 0 2.5-2 5-2 2.6 0 2.4 2 5 2 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1'/%3E%3Cpath d='M2 18c.6.5 1.2 1 2.5 1 2.5 0 2.5-2 5-2 2.6 0 2.4 2 5 2 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1'/%3E%3C/svg%3E");
    --bb-i-eye: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.06 12.35a1 1 0 0 1 0-.7 10.75 10.75 0 0 1 19.88 0 1 1 0 0 1 0 .7 10.75 10.75 0 0 1-19.88 0'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
    --bb-i-sign: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.12 2.12 0 0 1 3 3L7 19l-4 1 1-4Z'/%3E%3C/svg%3E");
    --bb-i-city: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z'/%3E%3Cpath d='M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2'/%3E%3Cpath d='M18 9h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2'/%3E%3Cpath d='M10 6h4M10 10h4M10 14h4M10 18h4'/%3E%3C/svg%3E");
    --bb-i-family: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E");
    --bb-i-cpu: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='4' width='16' height='16' rx='2'/%3E%3Crect x='9' y='9' width='6' height='6' rx='1'/%3E%3Cpath d='M15 2v2M15 20v2M2 15h2M2 9h2M20 15h2M20 9h2M9 2v2M9 20v2'/%3E%3C/svg%3E");
    --bb-i-chart: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 7l-8.5 8.5-5-5L2 17'/%3E%3Cpath d='M16 7h6v6'/%3E%3C/svg%3E");
    --bb-i-bed: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 4v16M2 8h18a2 2 0 0 1 2 2v10M2 17h20M6 8v9'/%3E%3C/svg%3E");
    --bb-i-bath: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6 6.5 3.5a1.5 1.5 0 0 0-1-.5C4.68 3 4 3.68 4 4.5V17a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-5'/%3E%3Cpath d='M10 5 8 7M2 12h20M7 19v2M17 19v2'/%3E%3C/svg%3E");
    --bb-i-area: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 3H5a2 2 0 0 0-2 2v3M21 8V5a2 2 0 0 0-2-2h-3M3 16v3a2 2 0 0 0 2 2h3M16 21h3a2 2 0 0 0 2-2v-3'/%3E%3C/svg%3E");
    --bb-i-land: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Cpath d='M3 9h18M9 21V9'/%3E%3C/svg%3E");
    --bb-i-floor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2 2 7l10 5 10-5-10-5z'/%3E%3Cpath d='M2 17l10 5 10-5M2 12l10 5 10-5'/%3E%3C/svg%3E");
    --bb-i-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E");
    --bb-i-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
    --bb-i-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    --bb-i-instagram: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='2' width='20' height='20' rx='5'/%3E%3Cpath d='M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37zM17.5 6.5h.01'/%3E%3C/svg%3E");
    --bb-i-facebook: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z'/%3E%3C/svg%3E");
    --bb-i-youtube: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 17a24.1 24.1 0 0 1 0-10 2 2 0 0 1 1.4-1.4 49.6 49.6 0 0 1 16.2 0A2 2 0 0 1 21.5 7a24.1 24.1 0 0 1 0 10 2 2 0 0 1-1.4 1.4 49.6 49.6 0 0 1-16.2 0A2 2 0 0 1 2.5 17'/%3E%3Cpath d='m10 15 5-3-5-3z'/%3E%3C/svg%3E");
    --bb-i-whatsapp: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2Zm0 18.2a8.2 8.2 0 0 1-4.2-1.1l-.3-.2-3 .8.8-2.9-.2-.3A8.2 8.2 0 1 1 12 20.2Zm4.5-6.1c-.2-.1-1.5-.7-1.7-.8-.2-.1-.4-.1-.6.1l-.8 1c-.1.2-.3.2-.5.1a6.7 6.7 0 0 1-3.3-2.9c-.3-.4.3-.4.7-1.3.1-.2 0-.3 0-.4l-.8-1.8c-.2-.5-.4-.4-.6-.4h-.5a1 1 0 0 0-.7.3 3 3 0 0 0-.9 2.2 5.2 5.2 0 0 0 1.1 2.7 11.8 11.8 0 0 0 4.5 4c1.7.7 2.3.8 3.2.6.5-.1 1.5-.6 1.7-1.2.2-.6.2-1.1.2-1.2-.1-.1-.3-.2-.5-.3Z'/%3E%3C/svg%3E");
    --bb-i-tiktok: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M16.6 5.82A4.28 4.28 0 0 1 15.54 3h-3.09v12.4a2.59 2.59 0 0 1-2.59 2.5c-1.42 0-2.6-1.16-2.6-2.6 0-1.72 1.66-3.01 3.37-2.48V9.66c-3.45-.46-6.47 2.22-6.47 5.64 0 3.33 2.76 5.7 5.69 5.7 3.14 0 5.69-2.55 5.69-5.7V9.01a7.35 7.35 0 0 0 4.3 1.38V7.3s-1.88.09-3.24-1.48z'/%3E%3C/svg%3E");
}

.bb-ico--phone, .bb-icon-phone { --bb-icon: var(--bb-i-phone); }
.bb-ico--mail, .bb-icon-mail { --bb-icon: var(--bb-i-mail); }
.bb-ico--pin, .bb-icon-pin { --bb-icon: var(--bb-i-pin); }
.bb-ico--clock, .bb-icon-clock { --bb-icon: var(--bb-i-clock); }
.bb-ico--chat, .bb-icon-chat { --bb-icon: var(--bb-i-chat); }
.bb-ico--search, .bb-icon-search { --bb-icon: var(--bb-i-search); }
.bb-ico--award, .bb-icon-award { --bb-icon: var(--bb-i-award); }
.bb-ico--compass, .bb-icon-compass { --bb-icon: var(--bb-i-compass); }
.bb-ico--road, .bb-icon-road { --bb-icon: var(--bb-i-road); }
.bb-ico--leaf, .bb-icon-leaf { --bb-icon: var(--bb-i-leaf); }
.bb-ico--home, .bb-icon-home { --bb-icon: var(--bb-i-home); }
.bb-ico--key, .bb-icon-key { --bb-icon: var(--bb-i-key); }
.bb-ico--wave, .bb-icon-wave { --bb-icon: var(--bb-i-wave); }
.bb-ico--eye, .bb-icon-eye { --bb-icon: var(--bb-i-eye); }
.bb-ico--sign, .bb-icon-sign { --bb-icon: var(--bb-i-sign); }
.bb-ico--city, .bb-icon-city { --bb-icon: var(--bb-i-city); }
.bb-ico--family, .bb-icon-family { --bb-icon: var(--bb-i-family); }
.bb-ico--cpu, .bb-icon-cpu { --bb-icon: var(--bb-i-cpu); }
.bb-ico--chart, .bb-icon-chart { --bb-icon: var(--bb-i-chart); }
.bb-ico--bed, .bb-icon-bed { --bb-icon: var(--bb-i-bed); }
.bb-ico--bath, .bb-icon-bath { --bb-icon: var(--bb-i-bath); }
.bb-ico--area, .bb-icon-area { --bb-icon: var(--bb-i-area); }
.bb-ico--land, .bb-icon-land { --bb-icon: var(--bb-i-land); }
.bb-ico--floor, .bb-icon-floor { --bb-icon: var(--bb-i-floor); }
.bb-ico--arrow, .bb-icon-arrow { --bb-icon: var(--bb-i-arrow); }
.bb-ico--check, .bb-icon-check { --bb-icon: var(--bb-i-check); }
.bb-ico--chevron, .bb-icon-chevron { --bb-icon: var(--bb-i-chevron); }
.bb-ico--instagram, .bb-icon-instagram { --bb-icon: var(--bb-i-instagram); }
.bb-ico--facebook, .bb-icon-facebook { --bb-icon: var(--bb-i-facebook); }
.bb-ico--youtube, .bb-icon-youtube { --bb-icon: var(--bb-i-youtube); }
.bb-ico--whatsapp, .bb-icon-whatsapp { --bb-icon: var(--bb-i-whatsapp); }
.bb-ico--tiktok, .bb-icon-tiktok { --bb-icon: var(--bb-i-tiktok); }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--bb-header-h) + 24px); }
body {
    margin: 0;
    font-family: var(--bb-font);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--bb-text);
    background: var(--bb-mist);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; }
h1, h2, h3, h4, h5, h6 {
    margin: 0 0 .5em;
    font-family: var(--bb-font);
    font-weight: 750;
    line-height: 1.15;
    letter-spacing: -.02em;
    color: var(--bb-ink);
    text-wrap: balance;
}
h1 { font-size: clamp(2.125rem, 1.4rem + 2.8vw, 3.5rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.625rem, 1.25rem + 1.4vw, 2.375rem); }
h3 { font-size: 1.125rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: var(--bb-blue); text-decoration-thickness: 1px; text-underline-offset: .2em; transition: color .15s; }
a:hover { color: var(--bb-blue-deep); }
:focus-visible { outline: 3px solid var(--bb-blue); outline-offset: 3px; border-radius: 4px; }
.bb-footer .bb-band :focus-visible, .bb-promo :focus-visible { outline-color: #fff; }
#main:focus { outline: none; }
::selection { background: var(--bb-blue); color: #fff; }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
th, td { padding: .7em .9em; border-bottom: 1px solid var(--bb-line); text-align: left; vertical-align: top; }
th { color: var(--bb-ink); font-weight: 700; }

.bb-visually-hidden {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.bb-skip {
    position: absolute; left: 16px; top: -100px; z-index: 100; padding: 12px 18px; border-radius: var(--bb-radius-sm);
    background: var(--bb-blue); color: #fff; font-weight: 700; text-decoration: none; transition: top .2s var(--bb-ease);
}
.bb-skip:focus { top: 12px; color: #fff; }

/* ---------- Icons (masks, drawn in currentColor) ---------- */
.bb-ico {
    display: inline-block; flex: none; width: 1.15em; height: 1.15em; vertical-align: -.2em;
    background: currentColor;
    -webkit-mask: var(--bb-icon) center / contain no-repeat;
            mask: var(--bb-icon) center / contain no-repeat;
}

/* ---------- Layout ---------- */
.bb-container { width: 100%; max-width: calc(var(--bb-container) + 2 * var(--bb-gutter)); margin: 0 auto; padding-inline: var(--bb-gutter); }
.bb-container--narrow { max-width: calc(800px + 2 * var(--bb-gutter)); }
.bb-section { padding-block: var(--bb-section); }
.bb-layout-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 4vw, 56px); align-items: start; }
.bb-sidebar { position: sticky; top: calc(var(--bb-header-h) + 24px); display: grid; gap: 20px; }

/* Builder sections: same width and rhythm as the theme's own sections. */
.bb-canvas .nb-section { padding: var(--bb-section) var(--bb-gutter); }
.bb-canvas .nb-section > .nb-section__inner { max-width: var(--bb-container); position: relative; z-index: 1; }
.bb-canvas .nb-section--wide > .nb-section__inner { max-width: 1440px; }
.nb-section.bb-s--white { background: var(--bb-surface); }
.nb-section.bb-s--plain { background: transparent; }
.nb-section.bb-s--mist { background: var(--bb-band); }
.bb-canvas .nb-section.bb-s--tight-top { padding-top: 8px; }
.bb-canvas .nb-section.bb-s--flush { padding-top: 0; padding-bottom: 0; }

.nb-columns { gap: clamp(16px, 2.4vw, 28px); }
.nb-image { margin: 0; }
.nb-button-wrap { margin: 0; }
.nb-text:empty { display: none !important; }
.nb-text > ul, .nb-text > ol { padding-left: 1.2em; }

/* ---------- Type roles ---------- */
.bb-eyebrow, .nb-text.bb-eyebrow p {
    margin: 0 0 .9em;
    font-size: .8125rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase;
    color: var(--bb-blue);
}
.nb-text.bb-eyebrow { margin-bottom: .9em; }
.nb-text.bb-eyebrow p { margin: 0; }
.bb-display { font-size: clamp(2.5rem, 1.5rem + 4vw, 4.25rem); line-height: 1.04; letter-spacing: -.035em; max-width: 16ch; }
.bb-lead, .nb-text.bb-lead { font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); line-height: 1.6; color: var(--bb-text); max-width: 58ch; }
.nb-text.bb-lead p { margin: 0; }

/* Section head: centered title between two hairlines with end dots. */
.nb-container.bb-head { align-items: center; text-align: center; margin: 0 auto clamp(28px, 3.5vw, 44px); max-width: 760px; }
.bb-head .bb-title, .bb-head h2 {
    display: flex; align-items: center; justify-content: center; gap: 18px;
    margin: 0; color: var(--bb-blue-deep); font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2.125rem);
}
.bb-head .bb-title::before, .bb-head .bb-title::after {
    content: ""; flex: none; width: clamp(28px, 7vw, 96px); height: 2px; border-radius: 2px;
    background: linear-gradient(90deg, transparent, var(--bb-blue));
}
.bb-head .bb-title::after { transform: scaleX(-1); }
.bb-head .bb-lead { margin-top: .6em; color: var(--bb-muted); font-size: 1.0625rem; }
.nb-container.bb-head--left, .bb-head--left { align-items: flex-start; text-align: left; margin-left: 0; }
.bb-head--left .bb-title, .bb-head--left h2 { justify-content: flex-start; }
.bb-head--left .bb-title::before { display: none; }
.bb-units .bb-head { margin-bottom: 20px; }
.bb-units .bb-head h2 { font-size: 1.5rem; }

/* ---------- Buttons ---------- */
.bb-btn, .nb-button {
    display: inline-flex; align-items: center; justify-content: center; gap: .55em;
    min-height: 48px; padding: .7em 1.35em;
    border: 1.5px solid transparent; border-radius: var(--bb-radius-sm);
    font-family: var(--bb-font); font-weight: 700; font-size: .9375rem; line-height: 1.2;
    text-decoration: none; cursor: pointer;
    background: var(--bb-gradient); color: #fff;
    box-shadow: 0 8px 20px -10px rgba(22, 85, 224, .7);
    transition: transform .2s var(--bb-ease), box-shadow .2s, background-color .2s, color .2s, border-color .2s;
}
.bb-btn::after, .nb-button::after {
    content: ""; width: 1em; height: 1em; flex: none; background: currentColor;
    -webkit-mask: var(--bb-i-arrow) center / contain no-repeat; mask: var(--bb-i-arrow) center / contain no-repeat;
    transition: transform .25s var(--bb-ease);
}
.bb-btn:hover, .nb-button:hover { opacity: 1; color: #fff; transform: translateY(-1px); box-shadow: 0 14px 28px -12px rgba(22, 85, 224, .75); }
.bb-btn:hover::after, .nb-button:hover::after { transform: translateX(3px); }
.bb-btn--outline, .nb-button--outline { background: var(--bb-surface); border-color: var(--bb-blue); color: var(--bb-blue); box-shadow: none; }
.bb-btn--outline:hover, .nb-button--outline:hover { background: var(--bb-sky); color: var(--bb-blue-deep); box-shadow: none; }
.nb-button--outline::after, .bb-btn--outline::after { --bb-i-arrow: var(--bb-i-chevron); transform: rotate(-90deg); }
.nb-button--outline:hover::after, .bb-btn--outline:hover::after { transform: rotate(-90deg) translateY(2px); }
.nb-button--secondary { background: var(--bb-ink); color: #fff; box-shadow: none; }
.bb-btn--light, .nb-button.bb-btn--light { background: #fff; color: var(--bb-blue-deep); border-color: #fff; box-shadow: 0 10px 24px -14px rgba(10, 31, 68, .5); }
.bb-btn--light:hover, .nb-button.bb-btn--light:hover { background: var(--bb-sky); color: var(--bb-blue-deep); }
.bb-btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .6); color: #fff; box-shadow: none; }
.bb-btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.bb-btn--lg, .nb-button--lg { min-height: 54px; padding: .85em 1.6em; font-size: 1rem; }
.bb-btn--sm, .nb-button--sm { min-height: 40px; padding: .5em 1em; font-size: .875rem; }
.bb-btn--block, .nb-button.bb-btn--block { width: 100%; }
.nb-button-wrap:has(> .bb-btn--block) { width: 100%; }
.nb-button.bb-btn--search::after { --bb-i-arrow: var(--bb-i-search); }
.bb-btn-row, .nb-container.bb-btn-row { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px; margin: 1.75em 0 0; }
.nb-container.bb-btn-row--center { justify-content: center; margin-top: clamp(28px, 3vw, 40px); }
.nb-button.bb-link-button { min-height: 0; padding: 0; border: 0; background: none; box-shadow: none; color: var(--bb-blue); font-size: .9375rem; }
.nb-button.bb-link-button:hover { transform: none; color: var(--bb-blue-deep); background: none; }

/* ---------- Header ---------- */
.bb-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, .86);
    -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s, box-shadow .2s;
}
.bb-header.is-scrolled { border-bottom-color: var(--bb-line); box-shadow: 0 10px 30px -24px rgba(10, 31, 68, .5); }
.bb-header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--bb-header-h); }
.bb-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--bb-ink); flex: none; }
.bb-brand:hover { color: var(--bb-ink); }
.bb-brand__mark { width: 40px; height: 40px; }
.bb-brand__name { display: grid; font-weight: 800; font-size: 1.0625rem; line-height: 1.05; letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; }
.bb-brand__name b { font-weight: inherit; color: var(--bb-red); }
.bb-brand__name small { margin-top: 3px; font-size: .625rem; font-weight: 650; letter-spacing: .16em; color: var(--bb-muted); }

.bb-nav { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.bb-menu { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.bb-menu__item { position: relative; display: flex; align-items: center; }
.bb-menu__link {
    position: relative; display: block; padding: 10px 12px;
    font-size: .9375rem; font-weight: 600; color: var(--bb-ink); text-decoration: none;
}
.bb-menu__link::after {
    content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px;
    background: var(--bb-blue); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--bb-ease);
}
.bb-menu__link:hover { color: var(--bb-blue); }
.bb-menu__link:hover::after, .bb-menu__link[aria-current="page"]::after, .bb-menu__item.is-active > .bb-menu__link::after { transform: scaleX(1); }
.bb-menu__link[aria-current="page"], .bb-menu__item.is-active > .bb-menu__link { color: var(--bb-blue); }
.has-sub > .bb-menu__link { padding-right: 4px; }
.has-sub > .bb-menu__link::after { right: 4px; }
.bb-menu__toggle {
    width: 28px; height: 36px; padding: 0; border: 0; background: none; cursor: pointer; color: var(--bb-muted);
}
.bb-menu__toggle::before {
    content: ""; display: block; width: 14px; height: 14px; margin: auto; background: currentColor;
    -webkit-mask: var(--bb-i-chevron) center / contain no-repeat; mask: var(--bb-i-chevron) center / contain no-repeat;
    transition: transform .2s;
}
.is-open > .bb-menu__toggle::before { transform: rotate(180deg); }
.bb-submenu {
    position: absolute; top: calc(100% + 8px); left: 0; z-index: 10; min-width: 230px; margin: 0; padding: 8px; list-style: none;
    background: var(--bb-surface); border: 1px solid var(--bb-line); border-radius: var(--bb-radius); box-shadow: var(--bb-shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s var(--bb-ease), visibility .18s;
}
.bb-submenu a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--bb-ink); font-size: .9375rem; font-weight: 600; text-decoration: none; }
.bb-submenu a:hover, .bb-submenu a[aria-current="page"] { background: var(--bb-sky); color: var(--bb-blue-deep); }
.bb-menu__item.is-open > .bb-submenu { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (min-width: 1024px) {
    .bb-menu__item.has-sub:hover > .bb-submenu, .bb-menu__item.has-sub:focus-within > .bb-submenu { opacity: 1; visibility: visible; transform: none; }
}

.bb-phone-pill {
    display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 18px 0 8px;
    background: var(--bb-surface); border: 1px solid var(--bb-line); border-radius: 999px; box-shadow: var(--bb-shadow);
    color: var(--bb-ink); font-weight: 750; font-size: .9375rem; text-decoration: none; white-space: nowrap;
}
.bb-phone-pill__icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--bb-gradient); color: #fff; }
.bb-phone-pill__icon .bb-ico { width: 16px; height: 16px; }
.bb-phone-pill:hover { color: var(--bb-blue); border-color: #BFD0F4; }

.bb-nav-toggle {
    display: none; margin-left: auto; width: 46px; height: 46px; padding: 0; cursor: pointer;
    background: var(--bb-surface); border: 1px solid var(--bb-line); border-radius: 12px; color: var(--bb-ink);
}
.bb-nav-toggle__bars, .bb-nav-toggle__bars::before, .bb-nav-toggle__bars::after {
    display: block; width: 20px; height: 2px; margin: auto; border-radius: 2px; background: currentColor; transition: transform .25s var(--bb-ease), opacity .2s;
}
.bb-nav-toggle__bars { position: relative; }
.bb-nav-toggle__bars::before, .bb-nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.bb-nav-toggle__bars::before { top: -6px; }
.bb-nav-toggle__bars::after { top: 6px; }
.bb-nav-toggle[aria-expanded="true"] .bb-nav-toggle__bars { background: transparent; }
.bb-nav-toggle[aria-expanded="true"] .bb-nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.bb-nav-toggle[aria-expanded="true"] .bb-nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero (builder section with a background photo) ---------- */
.nb-section.bb-hero {
    min-height: clamp(560px, 78vh, 760px);
    display: flex; align-items: center;
    background-color: var(--bb-mist); background-size: cover; background-position: 70% center;
    overflow: hidden;
}
.bb-canvas .nb-section.bb-hero { padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(96px, 11vw, 150px); }
.nb-section.bb-hero > .nb-section__inner { width: 100%; }
.nb-section.bb-hero::before, .nb-section.bb-banner::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background:
        linear-gradient(90deg, var(--bb-mist) 0%, var(--bb-mist) 34%, rgba(243, 246, 251, .88) 50%, rgba(243, 246, 251, 0) 74%),
        linear-gradient(0deg, var(--bb-mist) 0%, rgba(243, 246, 251, 0) 26%);
}
.bb-hero__title h1 {
    margin: 0 0 .35em; max-width: 13ch;
    font-size: clamp(2.5rem, 1.35rem + 4.4vw, 4.375rem); font-weight: 800; line-height: 1.04; letter-spacing: -.025em;
}
.bb-hero__title em { display: block; font-style: normal; color: var(--bb-blue); }
.nb-section.bb-hero .bb-lead { max-width: 46ch; }
.nb-text.bb-hero__stat { position: relative; display: flex; align-items: center; gap: 14px; margin-top: 32px; }
.nb-text.bb-hero__stat::before {
    content: ""; flex: none; width: 52px; height: 52px; border-radius: 50%;
    background: var(--bb-surface); box-shadow: var(--bb-shadow);
}
.nb-text.bb-hero__stat::after {
    content: ""; position: absolute; left: 14px; top: 50%; width: 24px; height: 24px; margin-top: -12px; background: var(--bb-blue);
    -webkit-mask: var(--bb-icon) center / contain no-repeat; mask: var(--bb-icon) center / contain no-repeat;
}
.bb-hero__stat p { margin: 0; display: grid; line-height: 1.3; font-size: .9375rem; color: var(--bb-muted); }
.bb-hero__stat strong { font-size: 1.375rem; font-weight: 800; color: var(--bb-ink); letter-spacing: -.02em; }

/* Fallback hero of the theme's own front-page template. */
.bb-hero-fallback { background: linear-gradient(180deg, var(--bb-sky), var(--bb-mist)); }

/* ---------- Finder bar and feature strip (overlapping the hero) ---------- */
.bb-canvas .nb-section.bb-overlap { margin-top: -84px; position: relative; z-index: 2; }
.nb-columns.bb-finder {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(170px, auto); align-items: center; gap: 0;
    padding: 12px; background: var(--bb-surface); border: 1px solid var(--bb-line); border-radius: var(--bb-radius); box-shadow: var(--bb-shadow-lg);
}
.bb-finder__cell { position: relative; padding: 10px 18px 10px 58px; }
.bb-finder__cell + .bb-finder__cell::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 1px; background: var(--bb-line); }
.bb-finder__cell::after {
    content: ""; position: absolute; left: 20px; top: 50%; width: 24px; height: 24px; margin-top: -12px; background: var(--bb-blue);
    -webkit-mask: var(--bb-icon) center / contain no-repeat; mask: var(--bb-icon) center / contain no-repeat;
}
.bb-finder__cell p { margin: 0; display: grid; font-weight: 700; color: var(--bb-ink); line-height: 1.35; }
.bb-finder__cell small { font-size: .75rem; font-weight: 600; color: var(--bb-muted); }
.bb-finder__action { padding-left: 8px; }

.nb-columns.bb-features {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 20px;
    padding: 8px; background: var(--bb-surface); border: 1px solid var(--bb-line); border-radius: var(--bb-radius); box-shadow: var(--bb-shadow);
}
.bb-feature { position: relative; padding: 16px 18px 16px 72px; }
.bb-feature + .bb-feature::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 1px; background: var(--bb-line); }
.bb-feature::after {
    content: ""; position: absolute; left: 22px; top: 50%; width: 34px; height: 34px; margin-top: -17px; background: var(--bb-blue);
    -webkit-mask: var(--bb-icon) center / contain no-repeat; mask: var(--bb-icon) center / contain no-repeat;
}
.bb-feature h3 { margin: 0; font-size: 1.0625rem; color: var(--bb-blue-deep); }
.bb-feature p { margin: 0; font-size: .875rem; color: var(--bb-muted); line-height: 1.4; }

/* ---------- Unit cards (builder query loop) and theme cards ---------- */
.bb-unit, .bb-card, .bb-news {
    position: relative; height: 100%; overflow: hidden;
    background: var(--bb-surface); border: 1px solid var(--bb-line); border-radius: var(--bb-radius); box-shadow: var(--bb-shadow);
    transition: transform .3s var(--bb-ease), box-shadow .3s;
}
.bb-unit:hover, .bb-card:hover, .bb-news:hover { transform: translateY(-4px); box-shadow: var(--bb-shadow-lg); }
.nb-query.bb-unit-grid, .nb-query.bb-news-grid { gap: clamp(16px, 2.4vw, 28px); }
.nb-container.bb-unit { display: flex; flex-direction: column; }
.nb-container.bb-unit__media, .bb-card__media { position: relative; display: block; margin: 8px 8px 0; overflow: hidden; border-radius: 12px; background: var(--bb-sky); }
.bb-unit__media .nb-image img, .bb-card__media img, .bb-news .nb-image img {
    display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .6s var(--bb-ease);
}
.bb-unit:hover .nb-image img, .bb-card:hover .bb-card__media img, .bb-news:hover .nb-image img { transform: scale(1.04); }
.bb-card__placeholder { display: block; aspect-ratio: 16 / 10; background: linear-gradient(135deg, var(--bb-sky), var(--bb-band)); }

.bb-badge, .nb-text.bb-badge {
    position: absolute; top: 12px; left: 12px; z-index: 1; padding: 5px 10px; border-radius: 999px;
    background: var(--bb-blue); color: #fff; font-size: .6875rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; line-height: 1.2;
}
.bb-badge--ready { background: #0E7A4E; }
.bb-pill, .nb-text.bb-pill {
    position: absolute; left: 12px; bottom: 12px; z-index: 1; padding: 6px 12px; border-radius: 8px;
    background: rgba(10, 31, 68, .88); color: #fff; font-size: .9375rem; font-weight: 800; line-height: 1.2; letter-spacing: -.01em;
}
.bb-unit .bb-badge p, .bb-unit .bb-pill p { margin: 0; }

.nb-container.bb-unit__body, .bb-card__body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; }
.bb-unit__title, .bb-card__title { margin: 0 0 4px; font-size: 1.125rem; line-height: 1.3; }
.bb-card__title a { color: var(--bb-ink); text-decoration: none; }
.bb-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.bb-card__title a:hover { color: var(--bb-blue); }
.nb-text.bb-unit__project { display: flex; align-items: center; gap: 6px; font-size: .875rem; color: var(--bb-muted); }
.nb-text.bb-unit__project::before {
    content: ""; width: 14px; height: 14px; flex: none; background: var(--bb-blue);
    -webkit-mask: var(--bb-i-pin) center / contain no-repeat; mask: var(--bb-i-pin) center / contain no-repeat;
}
.bb-card__text { margin: 0 0 12px; font-size: .9375rem; color: var(--bb-muted); line-height: 1.55; }
.bb-card__meta { margin: 0 0 6px; font-size: .8125rem; font-weight: 700; color: var(--bb-blue); }
.bb-card__more { margin-top: auto; font-weight: 700; font-size: .9375rem; color: var(--bb-blue); }

/* Spec chips: builder container (.nb-container.bb-specs) and theme list (ul.bb-specs). */
.bb-specs, .nb-container.bb-specs {
    display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px 16px;
    margin: 14px 0 16px; padding: 12px 0 0; list-style: none; border-top: 1px solid var(--bb-line);
}
.bb-spec, .nb-text.bb-spec { display: inline-flex; align-items: center; gap: 6px; font-size: .8125rem; font-weight: 650; color: var(--bb-text); white-space: nowrap; }
.nb-text.bb-spec p { margin: 0; }
.bb-spec::before {
    content: ""; width: 16px; height: 16px; flex: none; background: var(--bb-blue);
    -webkit-mask: var(--bb-spec-icon) center / contain no-repeat; mask: var(--bb-spec-icon) center / contain no-repeat;
}
.bb-spec--bed { --bb-spec-icon: var(--bb-i-bed); }
.bb-spec--bath { --bb-spec-icon: var(--bb-i-bath); }
.bb-spec--area { --bb-spec-icon: var(--bb-i-area); }
.bb-spec--land { --bb-spec-icon: var(--bb-i-land); }
.bb-spec--floor { --bb-spec-icon: var(--bb-i-floor); }
.bb-unit__body .nb-button-wrap, .bb-card__body > .bb-btn { margin-top: auto; }
.bb-card__body > .bb-btn { box-shadow: none; }

.bb-specs--large { gap: 12px; margin: 24px 0 8px; padding: 0; border: 0; }
.bb-specs--large .bb-spec {
    gap: 10px; padding: 12px 16px; font-size: .9375rem; color: var(--bb-ink);
    background: var(--bb-surface); border: 1px solid var(--bb-line); border-radius: 12px;
}
.bb-specs--large .bb-spec::before { width: 20px; height: 20px; }

.bb-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.bb-cards--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bb-card { display: flex; flex-direction: column; }
.bb-card--property .bb-pill { font-size: .8125rem; }

/* News cards */
.nb-container.bb-news { display: flex; flex-direction: column; }
.bb-news .nb-image { margin: 8px 8px 0; overflow: hidden; border-radius: 12px; }
.nb-container.bb-news__body { flex: 1; padding: 16px 18px 20px; }
.nb-text.bb-date { margin-bottom: 6px; font-size: .8125rem; font-weight: 700; color: var(--bb-blue); }
.bb-news__title { margin: 0 0 8px; font-size: 1.0625rem; line-height: 1.35; }
.nb-text.bb-news__excerpt { margin-bottom: 14px; font-size: .9375rem; color: var(--bb-muted); line-height: 1.55;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bb-news__body .nb-button-wrap { margin-top: auto; }

/* ---------- Facility tiles ---------- */
.nb-columns.bb-tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 16px); }
.nb-image.bb-tile__image { position: relative; overflow: hidden; border-radius: 14px; box-shadow: var(--bb-shadow); }
.bb-tile__image img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s var(--bb-ease); }
.bb-tile__image:hover img { transform: scale(1.06); }
.bb-tile__image figcaption {
    position: absolute; inset: auto 0 0; margin: 0; padding: 28px 12px 12px; opacity: 1; pointer-events: none;
    background: linear-gradient(0deg, rgba(10, 31, 68, .78), rgba(10, 31, 68, 0));
    color: #fff; font-size: .9375rem; font-weight: 750; text-align: center;
}

/* ---------- Promo band (builder section with a background photo) ---------- */
.bb-canvas .nb-section.bb-promo {
    width: calc(100% - 2 * var(--bb-gutter)); max-width: var(--bb-container); margin: clamp(8px, 2vw, 24px) auto;
    padding: clamp(36px, 5vw, 64px) clamp(24px, 5vw, 64px); border-radius: var(--bb-radius-lg); overflow: hidden;
    background-size: cover; background-position: center 60%; box-shadow: var(--bb-shadow-lg);
}
.nb-section.bb-promo::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(12, 59, 168, .94) 0%, rgba(22, 85, 224, .78) 42%, rgba(22, 85, 224, .1) 78%);
}
.bb-canvas .nb-section.bb-promo > .nb-section__inner { max-width: none; margin: 0; }
.bb-promo .bb-eyebrow p, .bb-promo .bb-eyebrow { color: #CFE0FF; }
.bb-promo__title { margin: 0 0 .35em; max-width: 18ch; color: #fff; font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); letter-spacing: -.03em; }
.nb-text.bb-promo__text { max-width: 44ch; color: #E3ECFF; font-size: 1.0625rem; }
.bb-promo .bb-btn-row { margin-top: 1.25em; }

/* ---------- Steps ---------- */
.nb-columns.bb-steps { position: relative; }
.nb-columns.bb-steps::before {
    content: ""; position: absolute; top: 36px; left: 12.5%; right: 12.5%; border-top: 2px dashed #B7C8EA;
}
.bb-step { position: relative; text-align: center; padding-top: 88px; }
.bb-step::before {
    content: ""; position: absolute; top: 0; left: 50%; width: 72px; height: 72px; margin-left: -36px; border-radius: 50%;
    background: var(--bb-surface); border: 1px solid var(--bb-line); box-shadow: var(--bb-shadow);
}
.bb-step::after {
    content: ""; position: absolute; top: 22px; left: 50%; width: 28px; height: 28px; margin-left: -14px; background: var(--bb-blue);
    -webkit-mask: var(--bb-icon) center / contain no-repeat; mask: var(--bb-icon) center / contain no-repeat;
}
.bb-step h3 { margin: 0 0 4px; font-size: 1rem; color: var(--bb-blue-deep); }
.bb-step p { margin: 0 auto; max-width: 24ch; font-size: .875rem; color: var(--bb-muted); line-height: 1.5; }

/* ---------- Awards, consultants, USPs, facilities, contacts ---------- */
.bb-award, .bb-partner, .bb-usp, .bb-facility, .bb-contact, .nb-text.bb-callout {
    position: relative; padding: 10px 10px 18px;
    background: var(--bb-surface); border: 1px solid var(--bb-line); border-radius: var(--bb-radius); box-shadow: var(--bb-shadow);
}
.bb-award .nb-image, .bb-partner .nb-image, .bb-facility .nb-image { overflow: hidden; border-radius: 12px; margin-bottom: 14px; }
.bb-award img, .bb-partner img, .bb-facility img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.bb-award .nb-text, .bb-partner .nb-text, .bb-facility .nb-text { padding: 0 8px; }
.bb-award h3, .bb-partner h3, .bb-facility h3 { margin: 0 0 4px; font-size: 1rem; color: var(--bb-blue-deep); }
.bb-award p, .bb-partner p, .bb-facility p { margin: 0; font-size: .875rem; color: var(--bb-muted); line-height: 1.5; }
.bb-facility--cta { padding: 28px; background: var(--bb-sky); border-color: #C9D9F8; display: flex; flex-direction: column; justify-content: center; }
.bb-facility--cta .nb-text.bb-callout { padding: 0 0 0 60px; background: none; border: 0; box-shadow: none; }
.bb-facility--cta .bb-callout::before { left: 0; top: 0; }
.bb-facility--cta .bb-callout::after { left: 12px; top: 12px; }
.nb-columns.bb-facilities + .nb-columns.bb-facilities { margin-top: clamp(16px, 2.4vw, 28px); }

.nb-columns.bb-usps { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.bb-usp, .bb-contact { padding: 22px 22px 22px 80px; min-height: 92px; display: flex; flex-direction: column; justify-content: center; }
.bb-usp::before, .bb-contact::before, .nb-text.bb-callout::before {
    content: ""; position: absolute; left: 20px; top: 22px; width: 44px; height: 44px; border-radius: 12px; background: var(--bb-sky);
}
.bb-usp::after, .bb-contact::after, .nb-text.bb-callout::after {
    content: ""; position: absolute; left: 31px; top: 33px; width: 22px; height: 22px; background: var(--bb-blue);
    -webkit-mask: var(--bb-icon) center / contain no-repeat; mask: var(--bb-icon) center / contain no-repeat;
}
.bb-usp h3 { margin: 0; font-size: 1rem; line-height: 1.35; }
.nb-columns.bb-contacts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bb-contact { justify-content: flex-start; padding-top: 80px; padding-left: 22px; }
.bb-contact h3 { margin: 0 0 8px; font-size: 1.0625rem; }
.bb-contact p { margin: 0 0 .5em; font-size: .9375rem; }
.nb-text.bb-callout { padding: 24px 24px 24px 84px; }
.bb-callout h3 { margin: 0 0 6px; color: var(--bb-blue-deep); }
.bb-callout p { margin: 0; color: var(--bb-muted); }

.nb-text.bb-portfolio ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0; padding: 0; list-style: none; }
.bb-portfolio li { padding: 10px 18px; background: var(--bb-surface); border: 1px solid var(--bb-line); border-radius: 999px; font-weight: 650; color: var(--bb-ink); box-shadow: var(--bb-shadow); }

.bb-checklist ul, ul.bb-checklist { margin: 0; padding: 0; list-style: none; }
.bb-checklist li { position: relative; padding: .45em 0 .45em 2em; }
.bb-checklist li::before {
    content: ""; position: absolute; left: 0; top: .6em; width: 1.3em; height: 1.3em; border-radius: 50%; background: var(--bb-sky);
}
.bb-checklist li::after {
    content: ""; position: absolute; left: .3em; top: .9em; width: .7em; height: .7em; background: var(--bb-blue);
    -webkit-mask: var(--bb-i-check) center / contain no-repeat; mask: var(--bb-i-check) center / contain no-repeat;
}

/* Split rows and photos */
.nb-columns.bb-split { gap: clamp(28px, 5vw, 72px); }
.nb-image.bb-photo { overflow: hidden; border-radius: var(--bb-radius-lg); box-shadow: var(--bb-shadow-lg); }
.bb-photo img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.bb-photo--tall img { aspect-ratio: 4 / 5; }
.bb-split .bb-title { font-size: clamp(1.625rem, 1.25rem + 1.4vw, 2.375rem); color: var(--bb-ink); }
.nb-text.bb-prose-block { font-size: 1.0625rem; }

/* ---------- Inner page banner (theme partial and builder section) ---------- */
.bb-banner { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--bb-sky), var(--bb-mist)); }
.bb-banner--photo, .nb-section.bb-banner { background-color: var(--bb-mist); background-size: cover; background-position: 70% center; }
.bb-banner__photo { position: absolute; inset: 0; background-size: cover; background-position: 70% center; }
.bb-banner--photo::after {
    content: ""; position: absolute; inset: 0;
    background:
        linear-gradient(90deg, var(--bb-mist) 0%, var(--bb-mist) 28%, rgba(243, 246, 251, .8) 48%, rgba(243, 246, 251, .05) 78%),
        linear-gradient(0deg, var(--bb-mist) 0%, rgba(243, 246, 251, 0) 30%);
}
.bb-banner__inner { position: relative; z-index: 1; padding-block: clamp(40px, 6vw, 80px) clamp(48px, 6vw, 88px); }
.bb-canvas .nb-section.bb-banner { padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(56px, 7vw, 104px); }
.bb-banner--photo .bb-banner__inner { padding-bottom: clamp(72px, 9vw, 128px); }
.bb-banner__title { max-width: 18ch; margin: 0 0 .3em; font-size: clamp(2rem, 1.3rem + 2.8vw, 3.5rem); }
.bb-banner__lead, .nb-text.bb-banner__lead { max-width: 56ch; font-size: 1.125rem; color: var(--bb-text); }
.bb-banner__lead p { margin: 0; }
.bb-banner__meta { margin-top: 18px; }
.bb-breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; padding: 0; list-style: none; font-size: .875rem; color: var(--bb-muted); }
.bb-breadcrumb li + li::before { content: "/"; margin-right: 6px; color: #9AA6BF; }
.bb-breadcrumb a { color: var(--bb-muted); text-decoration: none; }
.bb-breadcrumb a:hover { color: var(--bb-blue); }
.bb-breadcrumb [aria-current] { color: var(--bb-ink); font-weight: 600; }
.bb-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.bb-chip { padding: 6px 14px; border-radius: 999px; background: var(--bb-surface); border: 1px solid var(--bb-line); font-size: .8125rem; font-weight: 750; color: var(--bb-ink); }
.bb-chip--ready { background: #E3F5EC; border-color: #B9E3CD; color: #0B5C3B; }

/* ---------- Content (prose, galleries, property pages) ---------- */
.bb-prose { font-size: 1.0625rem; color: var(--bb-text); }
.bb-prose > :first-child { margin-top: 0; }
.bb-prose h2 { margin: 1.6em 0 .6em; font-size: clamp(1.375rem, 1.2rem + .6vw, 1.75rem); }
.bb-prose h3 { margin: 1.4em 0 .5em; }
.bb-prose ul, .bb-prose ol { padding-left: 1.3em; }
.bb-prose li { margin: .3em 0; }
.bb-prose li::marker { color: var(--bb-blue); }
.bb-prose figure { margin: 0 0 1.25em; }
.bb-prose figure img, .bb-feature-image img, img.bb-feature-image { display: block; width: 100%; border-radius: 14px; background: var(--bb-surface); }
.bb-prose figcaption { margin-top: .5em; font-size: .875rem; color: var(--bb-muted); }
.bb-prose div:has(> figure + figure) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0 0 1.25em; }
.bb-prose div:has(> figure + figure) figure { margin: 0; }
.bb-prose div:has(> figure + figure) img { aspect-ratio: 4 / 3; object-fit: cover; cursor: zoom-in; }
.bb-prose > figure img { border: 1px solid var(--bb-line); }
.bb-feature-image { margin-bottom: 8px; }
.bb-feature-image img { aspect-ratio: 16 / 9; object-fit: cover; box-shadow: var(--bb-shadow); }
.bb-property > .bb-prose { margin-top: 28px; }
.bb-units { margin-top: clamp(40px, 5vw, 64px); }

/* Sidebar */
.bb-contact-card { position: relative; padding: 24px; background: var(--bb-surface); border: 1px solid var(--bb-line); border-radius: var(--bb-radius); box-shadow: var(--bb-shadow); }
.bb-contact-card__icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 14px; border-radius: 14px; background: var(--bb-sky); color: var(--bb-blue); }
.bb-contact-card__icon .bb-ico { width: 24px; height: 24px; }
.bb-contact-card h2 { margin: 0 0 6px; font-size: 1.25rem; }
.bb-contact-card p { font-size: .9375rem; color: var(--bb-muted); }
.bb-contact-card .bb-btn { margin-top: 10px; }
.bb-contact-card__link { display: inline-block; margin-top: 14px; font-weight: 700; font-size: .9375rem; }
.bb-side-nav { padding: 20px 22px; background: var(--bb-surface); border: 1px solid var(--bb-line); border-radius: var(--bb-radius); }
.bb-side-nav__title { margin: 0 0 10px; font-size: 1rem; }
.bb-side-nav ul { margin: 0; padding: 0; list-style: none; }
.bb-side-nav li + li { border-top: 1px solid var(--bb-line); }
.bb-side-nav a { display: block; padding: 10px 0; font-weight: 600; color: var(--bb-ink); text-decoration: none; }
.bb-side-nav a:hover { color: var(--bb-blue); }
.bb-side-nav__all { color: var(--bb-blue) !important; }

/* Listing extras */
.bb-pagination { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 40px; }
.bb-pagination__status { font-size: .9375rem; color: var(--bb-muted); }
.bb-empty { padding: 40px; text-align: center; background: var(--bb-surface); border: 1px dashed #BFCBE2; border-radius: var(--bb-radius); }
.bb-empty__title { font-size: 1.25rem; font-weight: 750; color: var(--bb-ink); }
.bb-search { position: relative; display: flex; gap: 10px; margin: 0 0 32px; }
.bb-search > .bb-ico { position: absolute; left: 18px; top: 50%; margin-top: -10px; width: 20px; height: 20px; color: var(--bb-muted); }
.bb-search input {
    flex: 1; min-width: 0; min-height: 52px; padding: 0 16px 0 48px; font: inherit; color: var(--bb-ink);
    background: var(--bb-surface); border: 1px solid var(--bb-line); border-radius: var(--bb-radius-sm); box-shadow: var(--bb-shadow);
}
.bb-search input:focus { outline: 3px solid rgba(22, 85, 224, .3); border-color: var(--bb-blue); }
.bb-search .bb-btn { min-height: 52px; }
.bb-notfound { text-align: center; }
.bb-notfound__code { margin: 0; font-size: clamp(5rem, 3rem + 10vw, 9rem); font-weight: 800; line-height: 1; letter-spacing: -.05em; background: var(--bb-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bb-notfound .bb-btn-row { justify-content: center; margin-bottom: 32px; }
.bb-notfound .bb-lead { margin-inline: auto; }

/* ---------- Footer ---------- */
.bb-footer { padding-top: clamp(24px, 4vw, 48px); background: linear-gradient(180deg, var(--bb-mist) 0, var(--bb-mist) 140px, var(--bb-surface) 140px); }
.bb-band {
    position: relative; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: center; gap: 32px;
    padding: clamp(32px, 5vw, 56px); overflow: hidden; border-radius: var(--bb-radius-lg); color: #DCE7FF;
    background: linear-gradient(90deg, rgba(12, 59, 168, .96) 0%, rgba(22, 85, 224, .86) 55%, rgba(12, 59, 168, .7) 100%), url("../images/band.jpg") center 70% / cover;
    box-shadow: var(--bb-shadow-lg);
}
.bb-band__title { margin: 0 0 .35em; max-width: 20ch; color: #fff; font-size: clamp(1.625rem, 1.2rem + 1.8vw, 2.5rem); letter-spacing: -.03em; }
.bb-band__copy p { max-width: 50ch; margin: 0; }
.bb-band .bb-btn-row { margin-top: 1.5em; }
.bb-band__call { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 8px 16px; justify-self: end; }
.bb-band__call-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25); color: #fff; }
.bb-band__call-icon .bb-ico { width: 26px; height: 26px; }
.bb-band__call-label { margin: 0; font-size: .875rem; font-weight: 600; color: #C7D8FF; }
.bb-band__call-number { color: #fff; font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem); font-weight: 800; letter-spacing: -.02em; text-decoration: none; }
.bb-band__call-number:hover { color: #fff; text-decoration: underline; }
.bb-band__call .bb-socials { grid-column: 2; }
.bb-socials { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; }
.bb-socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--bb-sky); color: var(--bb-blue); transition: background-color .2s, color .2s; }
.bb-socials a:hover { background: var(--bb-blue); color: #fff; }
.bb-socials--light a { background: rgba(255, 255, 255, .16); color: #fff; }
.bb-socials--light a:hover { background: #fff; color: var(--bb-blue); }
.bb-socials .bb-ico { width: 18px; height: 18px; }

.bb-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.5fr; gap: clamp(24px, 4vw, 48px); padding: clamp(40px, 6vw, 64px) 0 32px; }
.bb-footer__brand img { width: 132px; height: auto; margin-bottom: 12px; }
.bb-footer__brand p { max-width: 34ch; font-size: .9375rem; color: var(--bb-muted); }
.bb-footer__title { margin: 0 0 14px; font-size: .9375rem; color: var(--bb-ink); }
.bb-footer__col ul { margin: 0; padding: 0; list-style: none; }
.bb-footer__col li { margin: 0 0 8px; }
.bb-footer__col a { color: var(--bb-text); font-size: .9375rem; text-decoration: none; }
.bb-footer__col a:hover { color: var(--bb-blue); text-decoration: underline; }
.bb-footer__col .sub-menu, .bb-footer__col ul ul { display: none; }
.bb-contact-list li { display: flex; gap: 10px; font-size: .9375rem; color: var(--bb-text); }
.bb-contact-list .bb-ico { margin-top: .2em; color: var(--bb-blue); }
.bb-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 20px 0 28px; border-top: 1px solid var(--bb-line); font-size: .8125rem; color: var(--bb-muted); }
.bb-footer__bottom p { margin: 0; }

/* Floating WhatsApp */
.bb-whatsapp {
    position: fixed; right: 20px; bottom: 20px; z-index: 40; display: inline-flex; align-items: center; gap: 8px;
    min-height: 52px; padding: 0 20px 0 16px; border-radius: 999px; background: #128C4A; color: #fff;
    font-weight: 750; font-size: .9375rem; text-decoration: none; box-shadow: 0 12px 28px -10px rgba(18, 140, 74, .7);
    transition: transform .2s var(--bb-ease);
}
.bb-whatsapp:hover { color: #fff; transform: translateY(-2px); }
.bb-whatsapp .bb-ico { width: 22px; height: 22px; }

/* Lightbox (theme.js) */
.bb-lightbox { max-width: min(1100px, 94vw); max-height: 92vh; padding: 0; border: 0; border-radius: var(--bb-radius); background: #0A1F44; color: #fff; overflow: hidden; }
.bb-lightbox::backdrop { background: rgba(5, 15, 35, .82); }
.bb-lightbox img { display: block; max-width: 100%; max-height: 80vh; margin: 0 auto; }
.bb-lightbox p { margin: 0; padding: 12px 18px; font-size: .9375rem; }
.bb-lightbox__close { position: absolute; top: 10px; right: 10px; min-height: 40px; padding: 0 14px; border: 0; border-radius: 999px; background: #fff; color: var(--bb-ink); font: 700 .875rem var(--bb-font); cursor: pointer; }

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
    .bb-footer__grid { grid-template-columns: 1fr 1fr; }
    .nb-columns.bb-contacts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1023.98px) {
    :root { --bb-header-h: 68px; }
    .bb-nav-toggle { display: block; }
    .bb-nav {
        position: fixed; inset: var(--bb-nav-offset, var(--bb-header-h)) 0 0; z-index: 49;
        display: flex; flex-direction: column; align-items: stretch; gap: 20px; margin: 0; padding: 16px var(--bb-gutter) 32px;
        background: var(--bb-surface); overflow-y: auto;
        opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .25s var(--bb-ease), visibility .2s;
    }
    .bb-nav.is-open { opacity: 1; visibility: visible; transform: none; }
    body.bb-nav-open { overflow: hidden; }
    .bb-menu { flex-direction: column; align-items: stretch; gap: 0; }
    .bb-menu__item { flex-wrap: wrap; border-bottom: 1px solid var(--bb-line); }
    .bb-menu__link { flex: 1; padding: 16px 4px; font-size: 1.0625rem; }
    .bb-menu__link::after { display: none; }
    .bb-menu__toggle { width: 48px; height: 48px; }
    .bb-submenu { position: static; display: none; width: 100%; min-width: 0; margin: 0 0 12px; padding: 4px; box-shadow: none; opacity: 1; visibility: visible; transform: none; background: var(--bb-mist); }
    .bb-menu__item.is-open > .bb-submenu { display: block; }
    .bb-phone-pill { justify-content: center; }
    .bb-layout-sidebar { grid-template-columns: minmax(0, 1fr); }
    .bb-sidebar { position: static; }
    .bb-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nb-columns.bb-finder { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
    .bb-finder__cell + .bb-finder__cell::before { display: none; }
    .bb-finder__action { grid-column: 1 / -1; padding: 8px 0 0; }
    .nb-columns.bb-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bb-feature:nth-child(3)::before { display: none; }
    .nb-columns.bb-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .nb-columns.bb-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
    .nb-columns.bb-steps::before { display: none; }
    .nb-columns.bb-awards, .nb-columns.bb-facilities { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bb-band { grid-template-columns: minmax(0, 1fr); }
    .bb-band__call { justify-self: start; }
    .nb-section.bb-hero::before, .nb-section.bb-banner::before, .bb-banner--photo::after {
        background: linear-gradient(0deg, var(--bb-mist) 0%, rgba(243, 246, 251, .86) 45%, rgba(243, 246, 251, .55) 100%);
    }
}
@media (max-width: 767.98px) {
    .bb-brand__name small { display: none; }
    .bb-cards, .bb-cards--two { grid-template-columns: minmax(0, 1fr); }
    .nb-columns.bb-finder { grid-template-columns: minmax(0, 1fr); }
    .nb-columns.bb-features { grid-template-columns: minmax(0, 1fr); }
    .bb-feature + .bb-feature::before { display: block; left: 18px; right: 18px; top: 0; bottom: auto; width: auto; height: 1px; }
    .nb-columns.bb-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bb-tiles > .nb-column:last-child { grid-column: 1 / -1; }
    .bb-tiles > .nb-column:last-child img { aspect-ratio: 16 / 7; }
    .nb-columns.bb-steps, .nb-columns.bb-awards, .nb-columns.bb-facilities, .nb-columns.bb-contacts { grid-template-columns: minmax(0, 1fr); }
    .bb-prose div:has(> figure + figure) { grid-template-columns: minmax(0, 1fr); }
    .bb-footer__grid { grid-template-columns: minmax(0, 1fr); }
    .bb-whatsapp span:last-child { display: none; }
    .bb-whatsapp { padding: 0; width: 56px; justify-content: center; }
    .bb-head .bb-title::before, .bb-head .bb-title::after { width: 20px; }
    .bb-search { flex-wrap: wrap; }
    .bb-search .bb-btn { width: 100%; }
    .bb-pill, .nb-text.bb-pill { font-size: .875rem; }
}

/* ---------- Scroll animation (theme.js adds html.bb-reveal-on and .bb-reveal; off for reduced motion) ---------- */
.bb-reveal-on .bb-reveal {
    opacity: 0; transform: translateY(28px);
    transition: opacity .7s ease, transform .9s var(--bb-ease);
    transition-delay: var(--bb-delay, 0ms);
}
.bb-reveal-on .bb-reveal.is-in { opacity: 1; transform: none; }
.bb-reveal-on .bb-tiles > .bb-reveal, .bb-reveal-on .bb-awards > .bb-reveal { transform: translateY(28px) scale(.97); }
.bb-reveal-on .bb-tiles > .bb-reveal.is-in, .bb-reveal-on .bb-awards > .bb-reveal.is-in { transform: none; }
.bb-reveal-on .bb-head.bb-reveal .bb-title::before, .bb-reveal-on .bb-head.bb-reveal .bb-title::after { transform: scaleX(0); transition: transform .9s var(--bb-ease) .25s; }
.bb-reveal-on .bb-head.bb-reveal .bb-title::after { transform: scaleX(0) scaleX(-1); }
.bb-reveal-on .bb-head.bb-reveal.is-in .bb-title::before { transform: none; }
.bb-reveal-on .bb-head.bb-reveal.is-in .bb-title::after { transform: scaleX(-1); }

/* Hero and page banners: copy rises in on load, the staggered. */
@keyframes bb-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.bb-js .nb-section.bb-hero > .nb-section__inner > *,
.bb-js .bb-banner__inner > *, .bb-js .nb-section.bb-banner > .nb-section__inner > * {
    animation: bb-rise .9s var(--bb-ease) both;
}
.bb-js .nb-section.bb-hero > .nb-section__inner > :nth-child(2), .bb-js .bb-banner__inner > :nth-child(2), .bb-js .nb-section.bb-banner > .nb-section__inner > :nth-child(2) { animation-delay: .08s; }
.bb-js .nb-section.bb-hero > .nb-section__inner > :nth-child(3), .bb-js .bb-banner__inner > :nth-child(3), .bb-js .nb-section.bb-banner > .nb-section__inner > :nth-child(3) { animation-delay: .16s; }
.bb-js .nb-section.bb-hero > .nb-section__inner > :nth-child(4), .bb-js .bb-banner__inner > :nth-child(4) { animation-delay: .24s; }
.bb-js .nb-section.bb-hero > .nb-section__inner > :nth-child(5), .bb-js .bb-banner__inner > :nth-child(5) { animation-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
    .bb-reveal-on .bb-reveal { opacity: 1 !important; transform: none !important; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
    .bb-unit:hover, .bb-card:hover, .bb-news:hover, .bb-btn:hover, .nb-button:hover { transform: none; }
}
