/* =====================================================================
   BEACONS CONSULTANCY — Public site stylesheet
   Theme: "Ledger" — deep ledger green, gold accent, warm paper neutrals.
   Brand colours are injected from Admin → Settings as --bc-primary / --bc-accent.
   ===================================================================== */

:root {
    --bc-primary: #0B3D2E;
    --bc-accent: #C8A24A;
    --bc-ink: #15211c;
    --bc-body: #4a5650;
    --bc-muted: #6f7b75;
    --bc-paper: #fbf9f4;
    --bc-tint: #f4f0e6;
    --bc-line: #e7e1d2;
    --bc-white: #ffffff;
    --bc-dark: color-mix(in srgb, var(--bc-primary) 88%, #000);
    --bc-primary-soft: color-mix(in srgb, var(--bc-primary) 9%, #fff);
    --bc-accent-soft: color-mix(in srgb, var(--bc-accent) 16%, #fff);
    --bc-radius: 16px;
    --bc-radius-sm: 10px;
    --bc-shadow: 0 1px 2px rgba(16, 33, 26, .05), 0 8px 24px -8px rgba(16, 33, 26, .12);
    --bc-shadow-lg: 0 24px 60px -20px rgba(16, 33, 26, .30);
    --font-head: 'Fraunces', Georgia, 'Times New Roman', serif;
    --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --header-h: 80px;

    --bs-primary: var(--bc-primary);
    --bs-link-color: var(--bc-primary);
    --bs-link-hover-color: var(--bc-dark);
    --bs-body-font-family: var(--font-body);
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { font-family: var(--font-body); color: var(--bc-body); background: var(--bc-paper); font-size: 1rem; line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5 { font-family: var(--font-head); color: var(--bc-ink); font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; }
a { color: var(--bc-primary); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--bc-dark); }
img { max-width: 100%; height: auto; }
::selection { background: var(--bc-accent); color: #111; }
.skip-link { position: absolute; left: 1rem; top: 1rem; z-index: 2000; background: #fff; padding: .5rem 1rem; border-radius: 8px; }
.text-primary-brand { color: var(--bc-primary); }
.text-light-muted { color: rgba(255,255,255,.72); }
.req { color: #c0392b; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Buttons ---------- */
.btn { font-weight: 700; border-radius: 999px; padding: .7rem 1.4rem; letter-spacing: .01em; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease; }
.btn-lg { padding: .9rem 1.75rem; font-size: 1rem; }
.btn:focus-visible { outline: 3px solid var(--bc-accent); outline-offset: 2px; box-shadow: none; }
.btn-primary { --bs-btn-bg: var(--bc-primary); --bs-btn-border-color: var(--bc-primary); --bs-btn-hover-bg: var(--bc-dark); --bs-btn-hover-border-color: var(--bc-dark); --bs-btn-active-bg: var(--bc-dark); --bs-btn-active-border-color: var(--bc-dark); --bs-btn-disabled-bg: var(--bc-primary); --bs-btn-disabled-border-color: var(--bc-primary); }
/* explicit colours so themes/overrides can't tint the button */
.btn-primary, .btn-primary:focus { background: var(--bc-primary); border-color: var(--bc-primary); color: #fff; background-image: none; }
.btn-primary:hover, .btn-primary:active { background: var(--bc-dark) !important; border-color: var(--bc-dark) !important; color: #fff !important; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -10px var(--bc-primary); }
@media (max-width: 575.98px) { .ledger-card { box-shadow: 8px 8px 0 color-mix(in srgb, var(--bc-accent) 45%, transparent), var(--bc-shadow-lg); } }
.btn-outline-primary { --bs-btn-color: var(--bc-primary); --bs-btn-border-color: var(--bc-primary); --bs-btn-hover-bg: var(--bc-primary); --bs-btn-hover-border-color: var(--bc-primary); --bs-btn-active-bg: var(--bc-primary); --bs-btn-active-border-color: var(--bc-primary); border-width: 2px; }
.btn-accent { background: var(--bc-accent); color: #1a1406; border: 2px solid var(--bc-accent); }
.btn-accent:hover, .btn-accent:focus { background: color-mix(in srgb, var(--bc-accent) 85%, #000); border-color: color-mix(in srgb, var(--bc-accent) 85%, #000); color: #111; transform: translateY(-2px); }
.btn-outline-light { border-width: 2px; }
.btn-link { font-weight: 700; text-decoration: none; }

/* ---------- Eyebrow & section heads ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--bc-primary); margin-bottom: .9rem; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--bc-accent); display: inline-block; }
.eyebrow-light { color: var(--bc-accent); }
.section { padding: 88px 0; }
.section-tint { background: var(--bc-tint); }
.section-dark { background: var(--bc-primary); color: rgba(255,255,255,.82); position: relative; overflow: hidden; }
.section-dark::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px); background-size: 100% 36px; pointer-events: none; }
.section-dark .container { position: relative; }
.section-title { font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.5rem); margin-bottom: 1rem; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 2.5rem; }
.section-head .section-title { margin-bottom: 0; max-width: 640px; }
.section-head-center { justify-content: center; text-align: center; }
.section-head-center .eyebrow { justify-content: center; }
.section-head-center .section-title { margin-inline: auto; }
.lead-text { font-size: 1.08rem; }
.rich-text h2, .rich-text h3 { font-size: 1.35rem; margin: 1.6rem 0 .7rem; }
.rich-text h4 { font-size: 1.15rem; margin: 1.3rem 0 .5rem; }
.rich-text ul, .rich-text ol { padding-left: 1.2rem; }
.rich-text li { margin-bottom: .35rem; }
.rich-text > :last-child { margin-bottom: 0; }
.rich-text blockquote { border-left: 3px solid var(--bc-accent); padding-left: 1rem; font-style: italic; }
.rich-text table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
.rich-text th, .rich-text td { border: 1px solid var(--bc-line); padding: .5rem .75rem; }

/* ---------- Topbar ---------- */
.topbar { background: var(--bc-dark); color: rgba(255,255,255,.78); font-size: .84rem; padding: .5rem 0; }
.topbar a, .topbar span { color: rgba(255,255,255,.82); display: inline-flex; align-items: center; gap: .45rem; }
.topbar a:hover { color: var(--bc-accent); }
.topbar i { color: var(--bc-accent); }
.topbar-right a i { color: inherit; }
.topbar-note { opacity: .85; }
.topbar-note:not(:last-child) { padding-right: .75rem; border-right: 1px solid rgba(255,255,255,.18); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 1030; background: rgba(251, 249, 244, .92); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid transparent; transition: box-shadow .25s ease, border-color .25s ease; }
.site-header.scrolled { box-shadow: 0 6px 24px -14px rgba(0,0,0,.25); border-bottom-color: var(--bc-line); }
.site-header .navbar { min-height: var(--header-h); padding: .5rem 0; }
.brand { display: flex; align-items: center; gap: .7rem; margin-right: 1rem; }
.brand-mark { color: var(--bc-primary); display: inline-flex; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-line1 { font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; letter-spacing: .08em; color: var(--bc-primary); }
.brand-line2 { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--bc-muted); margin-top: 3px; }
.brand-logo { max-height: 56px; width: auto; }
.navbar-nav .nav-link { font-weight: 700; font-size: .93rem; color: var(--bc-ink); padding: .5rem .8rem !important; position: relative; }
.navbar-nav .nav-link::after { content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .2rem; height: 2px; background: var(--bc-accent); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active { color: var(--bc-primary); }
.navbar-nav .nav-link:hover::after, .navbar-nav .nav-link.active::after { transform: scaleX(1); }
.nav-cta { padding: .6rem 1.2rem; font-size: .9rem; white-space: nowrap; }
.navbar-toggler { border: 0; padding: .5rem; display: flex; flex-direction: column; gap: 5px; border-radius: 10px; }
.navbar-toggler:focus { box-shadow: 0 0 0 3px var(--bc-accent-soft); }
.toggler-bar { width: 24px; height: 2px; background: var(--bc-primary); border-radius: 2px; display: block; }
.toggler-bar:nth-child(2) { width: 16px; margin-left: auto; }
.offcanvas-contact { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--bc-line); display: flex; flex-direction: column; gap: .6rem; font-size: .92rem; }
.offcanvas-contact a, .offcanvas-contact span { display: flex; align-items: center; gap: .6rem; color: var(--bc-body); }
.offcanvas-contact i { color: var(--bc-primary); width: 18px; }
.offcanvas-contact .social-btn { background: var(--bc-primary-soft); color: var(--bc-primary); }

@media (max-width: 991.98px) {
    :root { --header-h: 68px; }
    /* backdrop-filter would trap the fixed off-canvas menu inside the header */
    .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bc-paper); }
    .offcanvas { background: var(--bc-paper); max-width: 320px; }
    .offcanvas-title { font-family: var(--font-head); color: var(--bc-primary); }
    .navbar-nav .nav-link { font-size: 1.05rem; padding: .75rem 0 !important; border-bottom: 1px solid var(--bc-line); }
    .navbar-nav .nav-link::after { display: none; }
    .navbar-nav .nav-link.active { color: var(--bc-primary); padding-left: .6rem !important; border-left: 3px solid var(--bc-accent); }
    .nav-cta { width: 100%; }
    .brand-line1 { font-size: 1.15rem; }
    .brand-line2 { font-size: .6rem; }
    .brand-mark svg { width: 38px; height: 38px; }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
    .navbar-nav .nav-link { padding: .5rem .5rem !important; font-size: .88rem; }
    .navbar-nav .nav-link::after { left: .5rem; right: .5rem; }
    .nav-cta { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; background: radial-gradient(1200px 500px at 85% -10%, color-mix(in srgb, var(--bc-accent) 28%, transparent), transparent 60%), linear-gradient(160deg, var(--bc-primary), var(--bc-dark)); color: #fff; padding: 88px 0 72px; overflow: hidden; }
.hero-grid-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 100% 40px, 40px 100%; mask-image: linear-gradient(180deg, #000 30%, transparent); -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent); pointer-events: none; }
.hero-title { font-size: clamp(2.1rem, 1.3rem + 3.6vw, 3.9rem); color: #fff; font-weight: 600; line-height: 1.08; margin-bottom: 1.25rem; max-width: 14ch; }
.hero-sub { font-size: clamp(1rem, .95rem + .3vw, 1.18rem); color: rgba(255,255,255,.8); max-width: 560px; }
.hero .carousel-item { min-height: 420px; }
.hero-image img { border-radius: 24px; box-shadow: var(--bc-shadow-lg); width: 100%; aspect-ratio: 4/3.4; object-fit: cover; }
.hero-controls { display: flex; align-items: center; gap: 1rem; margin-top: 2.5rem; }
.hero-arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: transparent; color: #fff; transition: all .2s; }
.hero-arrow:hover { background: var(--bc-accent); border-color: var(--bc-accent); color: #111; }
.hero .carousel-indicators [data-bs-target] { width: 28px; height: 4px; border-radius: 4px; border: 0; background: rgba(255,255,255,.35); opacity: 1; margin: 0 4px; }
.hero .carousel-indicators .active { background: var(--bc-accent); width: 44px; }

/* Ledger card (hero visual) */
.ledger-card { background: var(--bc-paper); color: var(--bc-ink); border-radius: 22px; padding: 1.5rem; box-shadow: 14px 14px 0 color-mix(in srgb, var(--bc-accent) 45%, transparent), var(--bc-shadow-lg); position: relative; transform: rotate(-1.5deg); max-width: 460px; margin-left: auto; }
.ledger-head { display: flex; justify-content: space-between; align-items: center; font-weight: 800; font-size: .95rem; color: var(--bc-primary); padding-bottom: 1rem; border-bottom: 2px solid var(--bc-ink); }
.ledger-chip { font-size: .72rem; font-weight: 700; background: var(--bc-accent-soft); color: #6a5313; padding: .25rem .6rem; border-radius: 999px; }
.ledger-rows { list-style: none; padding: 0; margin: 0; }
.ledger-rows li { display: grid; grid-template-columns: 14px 1fr auto; gap: .75rem; align-items: center; padding: .78rem 0; border-bottom: 1px dashed var(--bc-line); font-weight: 600; font-size: .93rem; }
.ledger-rows .dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.ok { background: #2e9e6b; } .dot.due { background: var(--bc-accent); } .dot.next { background: #9aa6a0; }
.ledger-rows .tag { font-size: .72rem; font-weight: 800; padding: .2rem .55rem; border-radius: 6px; letter-spacing: .02em; }
.tag.ok { background: #e3f4ea; color: #1d6b47; } .tag.due { background: var(--bc-accent-soft); color: #6a5313; } .tag.next { background: #eef0ef; color: #57625d; }
.ledger-foot { display: flex; justify-content: space-between; align-items: flex-end; padding-top: 1rem; }
.ledger-foot small { display: block; color: var(--bc-muted); font-size: .75rem; font-weight: 600; }
.ledger-foot strong { font-family: var(--font-head); font-size: 1.4rem; color: var(--bc-primary); }
.ledger-bars { display: flex; align-items: flex-end; gap: 6px; height: 48px; }
.ledger-bars span { width: 10px; background: var(--bc-primary); border-radius: 3px 3px 0 0; opacity: .85; }
.ledger-bars span:last-child { background: var(--bc-accent); opacity: 1; }

@media (max-width: 991.98px) {
    .hero { padding: 56px 0 48px; }
    .hero .carousel-item { min-height: 0; }
    .ledger-card { margin: 1rem auto 0; transform: none; }
    .hero-title { max-width: none; }
}
@media (max-width: 575.98px) {
    .ledger-card { padding: 1.1rem; }
    .ledger-rows li { font-size: .85rem; padding: .6rem 0; }
    .hero .btn-lg { width: 100%; }
}

/* Trust strip */
.trust-strip { background: var(--bc-white); border-bottom: 1px solid var(--bc-line); padding: 1.1rem 0; }
.trust-items { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 2.2rem; font-weight: 700; font-size: .9rem; color: var(--bc-ink); }
.trust-items span { display: inline-flex; align-items: center; gap: .5rem; }
.trust-items i { color: var(--bc-accent); }

/* ---------- Vision & mission ---------- */
.vm-grid { display: grid; gap: 1.25rem; }
.vm-card { background: var(--bc-white); border: 1px solid var(--bc-line); border-radius: var(--bc-radius); padding: 2rem; box-shadow: var(--bc-shadow); }
.vm-card h3, .vm-card h2 { font-size: 1.35rem; }
.vm-card-dark { background: var(--bc-primary); border-color: var(--bc-primary); color: rgba(255,255,255,.85); }
.vm-card-dark h3, .vm-card-dark h2 { color: #fff; }
.vm-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--bc-accent-soft); color: var(--bc-primary); font-size: 1.3rem; margin-bottom: 1rem; }
.vm-card-dark .vm-icon { background: rgba(255,255,255,.1); color: var(--bc-accent); }
@media (min-width: 576px) { .vm-grid { grid-template-columns: 1fr 1fr; } .vm-grid .vm-card:last-child { margin-top: 2.5rem; } }

/* ---------- Service cards ---------- */
.service-card { position: relative; display: flex; flex-direction: column; height: 100%; background: var(--bc-white); border: 1px solid var(--bc-line); border-radius: var(--bc-radius); padding: 1.75rem 1.5rem; color: var(--bc-body); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; overflow: hidden; }
.service-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--bc-accent); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--bc-shadow-lg); border-color: transparent; color: var(--bc-body); }
.service-card:hover::after { transform: scaleX(1); }
.service-no { position: absolute; top: 1.2rem; right: 1.3rem; font-family: var(--font-head); font-size: 1.1rem; color: var(--bc-line); font-weight: 700; }
.service-icon { width: 56px; height: 56px; border-radius: 14px; background: var(--bc-primary-soft); color: var(--bc-primary); display: grid; place-items: center; font-size: 1.35rem; margin-bottom: 1.25rem; transition: background .3s, color .3s; }
.service-card:hover .service-icon { background: var(--bc-primary); color: var(--bc-accent); }
.service-card h3 { font-size: 1.15rem; margin-bottom: .6rem; }
.service-card p { font-size: .93rem; flex: 1; }
.service-link { font-weight: 800; font-size: .88rem; color: var(--bc-primary); display: inline-flex; gap: .4rem; align-items: center; }
.service-link i { transition: transform .2s; }
.service-card:hover .service-link i, .post-card:hover .service-link i { transform: translateX(4px); }

/* ---------- Why cards ---------- */
.why-card { display: flex; gap: 1rem; padding: 1.4rem; border-radius: var(--bc-radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); height: 100%; transition: background .3s, border-color .3s; }
.why-card:hover { background: rgba(255,255,255,.09); border-color: color-mix(in srgb, var(--bc-accent) 60%, transparent); }
.why-icon { flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--bc-accent); color: #1a1406; font-size: 1.1rem; }
.why-card h3 { color: #fff; font-size: 1.08rem; margin-bottom: .35rem; }
.why-card p { margin: 0; font-size: .92rem; color: rgba(255,255,255,.72); }

/* ---------- Expertise ---------- */
.expertise-card { background: var(--bc-white); border: 1px solid var(--bc-line); border-radius: var(--bc-radius); padding: 1.75rem; height: 100%; position: relative; transition: transform .3s, box-shadow .3s; }
.expertise-card:hover { transform: translateY(-4px); box-shadow: var(--bc-shadow); }
.expertise-card > i { font-size: 1.5rem; color: var(--bc-accent); margin-bottom: 1rem; display: block; }
.expertise-card h3 { font-size: 1.12rem; margin-bottom: .5rem; }
.expertise-card p { margin: 0; font-size: .93rem; }
.section-tint .expertise-card { background: var(--bc-paper); }

/* ---------- Stats ---------- */
.stats-band { background: var(--bc-accent); padding: 56px 0; color: #1a1406; }
.stat-value { font-family: var(--font-head); font-size: clamp(2.2rem, 1.6rem + 2.2vw, 3.3rem); font-weight: 700; line-height: 1; color: var(--bc-dark); font-variant-numeric: tabular-nums; }
.stat-label { margin-top: .5rem; font-weight: 700; font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; }
@media (min-width: 992px) { .stats-band .col-lg-3 + .col-lg-3 .stat { border-left: 1px solid rgba(0,0,0,.15); } }

/* ---------- Approach ---------- */
.approach-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; counter-reset: step; }
@media (min-width: 768px) { .approach-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .approach-steps { grid-template-columns: repeat(4, 1fr); } }
.approach-step { position: relative; background: var(--bc-white); border-radius: var(--bc-radius); padding: 2rem 1.6rem 1.6rem; border: 1px solid var(--bc-line); }
.section-tint .approach-step { background: var(--bc-paper); }
.step-num { position: absolute; top: -16px; left: 1.6rem; width: 34px; height: 34px; border-radius: 50%; background: var(--bc-primary); color: var(--bc-accent); font-weight: 800; display: grid; place-items: center; font-size: .9rem; box-shadow: 0 0 0 5px var(--bc-tint); }
.step-icon { display: block; font-size: 1.4rem; color: var(--bc-primary); margin-bottom: .8rem; }
.approach-step h3 { font-size: 1.15rem; margin-bottom: .45rem; }
.approach-step p { margin: 0; font-size: .93rem; }
@media (min-width: 1200px) {
    .approach-step:not(:last-child)::after { content: ""; position: absolute; top: 1px; right: -1.25rem; width: 1.25rem; border-top: 2px dashed var(--bc-accent); }
}

/* ---------- Testimonials ---------- */
.testimonial-carousel { max-width: 820px; margin: 0 auto; }
.testimonial { text-align: center; padding: 1rem 1rem 3rem; margin: 0; }
.quote-mark { font-size: 2.4rem; color: var(--bc-accent); margin-bottom: 1rem; }
.stars { color: var(--bc-accent); margin-bottom: 1rem; font-size: .9rem; display: flex; gap: 3px; justify-content: center; }
.testimonial blockquote p { font-family: var(--font-head); font-size: clamp(1.15rem, 1rem + .7vw, 1.55rem); color: var(--bc-ink); line-height: 1.5; font-weight: 500; }
.testimonial figcaption { display: inline-flex; align-items: center; gap: .8rem; text-align: left; margin-top: 1rem; }
.testimonial figcaption strong { display: block; color: var(--bc-ink); }
.testimonial figcaption small { color: var(--bc-muted); }
.avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.avatar-initials { display: grid; place-items: center; background: var(--bc-primary); color: var(--bc-accent); font-weight: 800; }
.testimonial-dots { position: static; margin: 0; }
.testimonial-dots [data-bs-target] { width: 10px; height: 10px; border-radius: 50%; background: var(--bc-line); border: 0; opacity: 1; margin: 0 5px; }
.testimonial-dots .active { background: var(--bc-primary); }

/* ---------- Posts ---------- */
.post-card { background: var(--bc-white); border-radius: var(--bc-radius); overflow: hidden; height: 100%; display: flex; flex-direction: column; border: 1px solid var(--bc-line); transition: transform .3s, box-shadow .3s; }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--bc-shadow-lg); }
.post-thumb { position: relative; display: block; aspect-ratio: 16/9; overflow: hidden; background: var(--bc-primary); }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post-card:hover .post-thumb img { transform: scale(1.05); }
.post-thumb-placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: var(--bc-accent); font-size: 2rem; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px); background-size: 100% 22px; }
.post-cat { position: absolute; left: 1rem; top: 1rem; background: var(--bc-accent); color: #1a1406; font-size: .72rem; font-weight: 800; padding: .25rem .65rem; border-radius: 999px; text-transform: uppercase; letter-spacing: .06em; }
.post-body { padding: 1.4rem; display: flex; flex-direction: column; flex: 1; }
.post-body time { font-size: .82rem; color: var(--bc-muted); font-weight: 600; }
.post-body h3 { font-size: 1.15rem; margin: .5rem 0 .6rem; }
.post-body h3 a { color: var(--bc-ink); }
.post-body h3 a:hover { color: var(--bc-primary); }
.post-body p { font-size: .93rem; flex: 1; }
.article-image { border-radius: var(--bc-radius-sm); margin-bottom: 1.5rem; width: 100%; }
.share-row { display: flex; align-items: center; gap: .5rem; margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--bc-line); font-weight: 700; }

/* ---------- Contact CTA card ---------- */
.contact-cta-card { background: var(--bc-white); border-radius: 24px; padding: clamp(1.5rem, 1rem + 2.5vw, 3rem); box-shadow: var(--bc-shadow-lg); border: 1px solid var(--bc-line); position: relative; overflow: hidden; }
.contact-cta-card::before { content: ""; position: absolute; top: 0; left: 0; width: 6px; height: 100%; background: linear-gradient(var(--bc-accent), var(--bc-primary)); }
.contact-mini { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .75rem; }
.contact-mini li { display: flex; gap: .75rem; align-items: flex-start; font-weight: 600; color: var(--bc-ink); }
.contact-mini i { color: var(--bc-accent); margin-top: .35rem; width: 16px; }

/* ---------- Forms ---------- */
.bc-form .form-label { font-weight: 700; font-size: .88rem; color: var(--bc-ink); margin-bottom: .35rem; }
.bc-form .form-control, .bc-form .form-select { border-radius: 10px; border: 1.5px solid var(--bc-line); padding: .72rem .95rem; background-color: var(--bc-paper); font-size: .97rem; }
.bc-form .form-control:focus, .bc-form .form-select:focus { border-color: var(--bc-primary); box-shadow: 0 0 0 4px var(--bc-primary-soft); background: #fff; }
.bc-form .form-check-input:checked { background-color: var(--bc-primary); border-color: var(--bc-primary); }
.form-alert:empty { display: none; }
.form-alert { margin-bottom: 1rem; }
@media (min-width: 768px) { .w-md-auto { width: auto !important; } }
.form-card, .apply-card, .info-panel, .legal-card { background: var(--bc-white); border-radius: 20px; padding: clamp(1.4rem, 1rem + 1.5vw, 2.4rem); border: 1px solid var(--bc-line); box-shadow: var(--bc-shadow); }
.apply-card { position: sticky; top: calc(var(--header-h) + 20px); }
@media (max-width: 991.98px) { .apply-card { position: static; } }

/* ---------- Page hero ---------- */
.page-hero { position: relative; background: linear-gradient(160deg, var(--bc-primary), var(--bc-dark)); color: #fff; padding: 64px 0 56px; overflow: hidden; }
.page-hero.has-image { background: linear-gradient(160deg, color-mix(in srgb, var(--bc-primary) 92%, transparent), color-mix(in srgb, var(--bc-dark) 85%, transparent)), var(--hero-img) center/cover no-repeat; }
.page-hero-title { color: #fff; font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem); margin-bottom: .6rem; max-width: 900px; }
.page-hero-sub { color: rgba(255,255,255,.78); font-size: 1.08rem; max-width: 680px; margin: 0; }
.page-hero .breadcrumb { --bs-breadcrumb-divider-color: rgba(255,255,255,.5); --bs-breadcrumb-item-active-color: var(--bc-accent); margin-bottom: 1rem; font-size: .88rem; font-weight: 600; }
.page-hero .breadcrumb a { color: rgba(255,255,255,.8); }
.page-hero .breadcrumb a:hover { color: #fff; }
.page-hero .breadcrumb-item.active { max-width: 60vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- About ---------- */
.glance { display: grid; grid-template-columns: 1fr; gap: .2rem; margin-bottom: 1.5rem; }
.glance dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--bc-muted); font-weight: 800; margin-top: .8rem; }
.glance dd { margin: 0; font-weight: 700; color: var(--bc-ink); border-bottom: 1px dashed var(--bc-line); padding-bottom: .6rem; }

/* ---------- Services page ---------- */
.service-jump { display: flex; flex-wrap: wrap; gap: .5rem; }
.service-jump a { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .85rem; border-radius: 999px; background: var(--bc-white); border: 1px solid var(--bc-line); font-size: .82rem; font-weight: 700; color: var(--bc-ink); }
.service-jump a i { color: var(--bc-accent); }
.service-jump a:hover { border-color: var(--bc-primary); color: var(--bc-primary); }
.service-detail { display: grid; gap: 2rem; align-items: center; padding: 2.5rem 0; border-bottom: 1px solid var(--bc-line); }
.service-detail:last-child { border-bottom: 0; }
@media (min-width: 992px) {
    .service-detail { grid-template-columns: 5fr 7fr; gap: 4rem; padding: 3.5rem 0; }
    .service-detail.reverse .service-detail-media { order: 2; }
    .service-detail.reverse { grid-template-columns: 7fr 5fr; }
}
.service-detail-media img { border-radius: 20px; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.service-detail-art { aspect-ratio: 4/3; border-radius: 20px; background: linear-gradient(160deg, var(--bc-primary), var(--bc-dark)); position: relative; display: grid; place-items: center; overflow: hidden; }
.service-detail-art::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px); background-size: 100% 28px; }
.service-detail-art i { font-size: clamp(3rem, 2rem + 4vw, 5rem); color: var(--bc-accent); position: relative; }
.service-no-lg { position: absolute; top: 1.2rem; left: 1.5rem; font-family: var(--font-head); font-size: 2.5rem; color: rgba(255,255,255,.18); font-weight: 700; }
.service-detail-body h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); }
.check-list { list-style: none; padding: 0; margin: 1rem 0 1.25rem; display: grid; gap: .55rem; }
@media (min-width: 576px) { .service-detail .check-list { grid-template-columns: 1fr 1fr; } }
.check-list li { position: relative; padding-left: 1.9rem; font-weight: 600; color: var(--bc-ink); font-size: .95rem; }
.check-list li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; top: .15rem; width: 20px; height: 20px; border-radius: 50%; background: var(--bc-accent-soft); color: var(--bc-primary); font-size: .65rem; display: grid; place-items: center; }

/* Chips */
.chip-grid { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }
.chip { display: inline-flex; align-items: center; gap: .55rem; padding: .7rem 1.2rem; border-radius: 999px; background: var(--bc-white); border: 1px solid var(--bc-line); font-weight: 700; color: var(--bc-ink); transition: all .2s; }
.chip i { color: var(--bc-accent); }
.chip:hover { background: var(--bc-primary); color: #fff; border-color: var(--bc-primary); }

/* ---------- Team ---------- */
.team-card { background: var(--bc-white); border-radius: var(--bc-radius); overflow: hidden; border: 1px solid var(--bc-line); height: 100%; transition: transform .3s, box-shadow .3s; }
.team-card:hover { transform: translateY(-5px); box-shadow: var(--bc-shadow-lg); }
.team-photo { position: relative; aspect-ratio: 1/1; background: linear-gradient(160deg, var(--bc-primary), var(--bc-dark)); overflow: hidden; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-initials { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-head); font-size: 3.5rem; color: var(--bc-accent); }
.team-social { position: absolute; bottom: 1rem; left: 0; right: 0; display: flex; justify-content: center; gap: .5rem; opacity: 0; transform: translateY(10px); transition: all .3s; }
.team-card:hover .team-social, .team-card:focus-within .team-social { opacity: 1; transform: none; }
@media (hover: none) { .team-social { opacity: 1; transform: none; } }
.team-social a { width: 38px; height: 38px; border-radius: 50%; background: #fff; color: var(--bc-primary); display: grid; place-items: center; }
.team-social a:hover { background: var(--bc-accent); }
.team-body { padding: 1.2rem 1.3rem 1.4rem; }
.team-body h3 { font-size: 1.12rem; margin-bottom: .2rem; }
.team-role { color: var(--bc-primary); font-weight: 700; font-size: .9rem; margin-bottom: .4rem; }
.team-dept { display: inline-block; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; background: var(--bc-accent-soft); color: #6a5313; padding: .2rem .55rem; border-radius: 6px; }
.team-bio { font-size: .88rem; margin: .75rem 0 0; }
.join-card { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem; background: var(--bc-white); border-radius: 20px; padding: 2rem; border: 1px solid var(--bc-line); }

/* ---------- Careers ---------- */
.filter-pills { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: flex-start; }
@media (min-width: 992px) { .col-lg-5 > .filter-pills { justify-content: flex-end; } }
.pill { border: 1.5px solid var(--bc-line); background: var(--bc-white); border-radius: 999px; padding: .45rem 1rem; font-weight: 700; font-size: .86rem; color: var(--bc-ink); }
.pill.active, .pill:hover { background: var(--bc-primary); border-color: var(--bc-primary); color: #fff; }
.job-list { display: grid; gap: 1rem; }
.job-card { display: flex; flex-wrap: wrap; gap: 1.25rem; justify-content: space-between; align-items: center; background: var(--bc-white); border: 1px solid var(--bc-line); border-left: 4px solid var(--bc-accent); border-radius: var(--bc-radius); padding: 1.5rem 1.75rem; transition: box-shadow .3s, transform .3s; }
.job-card:hover { box-shadow: var(--bc-shadow); transform: translateY(-2px); }
.job-card.is-hidden { display: none; }
.job-main { flex: 1 1 420px; }
.job-main h3 { font-size: 1.25rem; margin-bottom: .35rem; }
.job-main h3 a { color: var(--bc-ink); }
.job-main h3 a:hover { color: var(--bc-primary); }
.job-main p { margin-bottom: .6rem; font-size: .94rem; }
.job-meta { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; font-size: .85rem; font-weight: 700; color: var(--bc-muted); }
.job-meta i { color: var(--bc-accent); margin-right: .35rem; }
.job-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
@media (max-width: 575.98px) { .job-actions, .job-actions .btn { width: 100%; } }
.job-facts { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: .75rem; }
.job-facts li { background: var(--bc-tint); border-radius: 12px; padding: .9rem 1rem; }
.job-facts small { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; color: var(--bc-muted); }
.job-facts strong { color: var(--bc-ink); }

.empty-state { text-align: center; padding: 3rem 1rem; }
.empty-state > i { font-size: 2.6rem; color: var(--bc-accent); margin-bottom: 1rem; }

/* ---------- Contact page ---------- */
.contact-tiles { display: grid; gap: .9rem; }
.contact-tile { display: flex; gap: 1rem; align-items: flex-start; background: var(--bc-white); border: 1px solid var(--bc-line); border-radius: 14px; padding: 1.1rem 1.25rem; color: var(--bc-body); transition: border-color .2s, box-shadow .2s; }
a.contact-tile:hover { border-color: var(--bc-primary); box-shadow: var(--bc-shadow); color: var(--bc-body); }
.contact-tile > i { width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; background: var(--bc-primary); color: var(--bc-accent); display: grid; place-items: center; font-size: 1.05rem; }
.contact-tile small { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; color: var(--bc-muted); }
.contact-tile strong { color: var(--bc-ink); font-weight: 700; word-break: break-word; }
.map-wrap iframe { display: block; width: 100%; height: 420px; border: 0; filter: grayscale(.35); }
@media (max-width: 575.98px) { .map-wrap iframe { height: 300px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--bc-dark); color: rgba(255,255,255,.72); font-size: .94rem; }
.footer-cta { background: var(--bc-primary); padding: 48px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.footer-cta h2 { color: #fff; }
.footer-cta p { color: rgba(255,255,255,.75); max-width: 640px; }
@media (max-width: 575.98px) { .footer-cta .btn { width: 100%; } }
.footer-main { padding: 64px 0 40px; }
.footer-brand { display: flex; align-items: center; gap: .7rem; margin-bottom: 1.2rem; }
.footer-brand .brand-line1 { color: #fff; }
.footer-brand .brand-line2 { color: rgba(255,255,255,.6); }
.footer-logo { max-height: 56px; }
.footer-about { margin-bottom: 1.25rem; }
.footer-title { color: #fff; font-family: var(--font-body); font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 1.2rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer-links a { color: rgba(255,255,255,.72); }
.footer-links a:hover { color: var(--bc-accent); padding-left: 4px; }
.footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.footer-contact li { display: flex; gap: .75rem; align-items: flex-start; }
.footer-contact i { color: var(--bc-accent); margin-top: .35rem; width: 16px; }
.footer-contact a { color: rgba(255,255,255,.82); word-break: break-word; }
.footer-contact a:hover { color: var(--bc-accent); }
.social-btn { width: 38px; height: 38px; border-radius: 50%; display: inline-grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; transition: all .2s; }
.social-btn:hover { background: var(--bc-accent); color: #111; transform: translateY(-2px); }
.social-btn-dark { background: var(--bc-primary-soft); color: var(--bc-primary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 1.25rem 0; font-size: .85rem; }
.footer-legal { color: rgba(255,255,255,.5); }
.footer-bottom-links { display: flex; gap: 1.25rem; }
.footer-bottom-links a { color: rgba(255,255,255,.72); }
.footer-bottom-links a:hover { color: var(--bc-accent); }

/* ---------- Back to top ---------- */
.back-to-top { position: fixed; right: 18px; bottom: 18px; z-index: 1040; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--bc-accent); color: #111; box-shadow: var(--bc-shadow-lg); opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .3s; }
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }

/* ---------- Scroll reveal ---------- */
html.js [data-animate] { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
html.js [data-animate].in-view { opacity: 1; transform: none; }

/* ---------- Pagination ---------- */
.pagination { --bs-pagination-active-bg: var(--bc-primary); --bs-pagination-active-border-color: var(--bc-primary); --bs-pagination-color: var(--bc-primary); --bs-pagination-border-radius: 10px; }

/* ---------- Small screens ---------- */
@media (max-width: 767.98px) {
    .section { padding: 60px 0; }
    .section-head { margin-bottom: 1.75rem; }
    .vm-card, .expertise-card { padding: 1.4rem; }
    .join-card { padding: 1.5rem; }
    .join-card .btn { width: 100%; }
}
