/* BBCG website styles */
:root {
  --navy: #0b1f3a;
  --navy-2: #102b50;
  --blue: #164687;
  --blue-2: #1f5fad;
  --gold: #f6a83b;
  --gold-2: #e0901f;
  --ink: #142033;
  --muted: #5a677a;
  --line: #e2e7ee;
  --soft: #f4f6fa;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(11, 31, 58, .06), 0 8px 24px rgba(11, 31, 58, .08);
  --wrap: 1180px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); font-size: 17px; line-height: 1.65; }
img { max-width: 100%; display: block; }
a { color: var(--blue-2); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.18; margin: 0 0 .5em; letter-spacing: -0.015em; color: var(--navy); }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 12px; z-index: 100; background: var(--white); padding: 8px 12px; border-radius: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5em; padding: .85em 1.35em; border-radius: 999px; font-weight: 700; font-size: .98rem; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease; text-decoration: none !important; font-family: inherit; }
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #ffb64f; box-shadow: 0 6px 18px rgba(246, 168, 59, .35); }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: var(--white); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.btn-outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn-outline:hover { background: var(--blue); color: var(--white); }
.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: var(--blue-2); }
.btn-sm { padding: .55em 1.05em; font-size: .9rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a.link { color: var(--ink); font-weight: 600; font-size: .97rem; padding: .5em .8em; border-radius: 8px; }
.nav a.link:hover { background: var(--soft); text-decoration: none; }
.nav a.link[aria-current="page"] { color: var(--blue); }
.nav .btn { margin-left: 8px; }
.menu-btn { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--navy); }
.menu-btn svg { width: 28px; height: 28px; }

@media (max-width: 960px) {
  .menu-btn { display: block; }
  .nav { position: absolute; top: 76px; left: 0; right: 0; background: var(--white); flex-direction: column; align-items: stretch; padding: 12px 20px 22px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; }
  .nav.open { display: flex; }
  .nav a.link { padding: .8em .6em; font-size: 1.05rem; }
  .nav .btn { margin: 8px 0 0; justify-content: center; }
}

/* Hero */
.hero { position: relative; color: var(--white); background: var(--navy) center/cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 22, 44, .94) 0%, rgba(8, 22, 44, .82) 42%, rgba(8, 22, 44, .35) 100%); }
.hero .wrap { position: relative; }
.hero-home { min-height: min(88vh, 760px); display: flex; align-items: center; padding: 90px 0 140px; }
.hero-home .copy { max-width: 690px; }
.hero h1 { color: var(--white); }
.hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgba(255, 255, 255, .88); max-width: 620px; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.hero .eyebrow { background: rgba(246, 168, 59, .14); border: 1px solid rgba(246, 168, 59, .4); padding: .4em .9em; border-radius: 999px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero .assure { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .95rem; color: rgba(255, 255, 255, .85); }
.hero .assure span { display: inline-flex; align-items: center; gap: 8px; }
.hero .assure svg { width: 18px; height: 18px; color: var(--gold); flex: none; }
.page-hero { padding: 110px 0 90px; }
.page-hero .lead { margin-bottom: 0; }

/* Stats */
.stats { position: relative; margin-top: -70px; z-index: 2; }
.stats .grid { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 28px 26px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-size: clamp(1.7rem, 2.6vw, 2.3rem); font-weight: 800; color: var(--blue); line-height: 1.1; }
.stat span { color: var(--muted); font-size: .95rem; }
@media (max-width: 860px) { .stats .grid { grid-template-columns: 1fr 1fr; } .stat:nth-child(2) { border-right: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }

/* Sections */
.section { padding: 96px 0; }
.section.soft { background: var(--soft); }
.section.tight { padding: 64px 0; }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } .grid-2 { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 620px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } .section { padding: 72px 0; } }

.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: box-shadow .2s ease, transform .2s ease; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card p { color: var(--muted); margin: 0; }
.card h3 { margin-top: 14px; }
.icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: rgba(31, 95, 173, .1); color: var(--blue-2); }
.icon svg { width: 26px; height: 26px; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 32px; margin-bottom: 12px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%; background: rgba(246, 168, 59, .2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d98a1a' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/13px no-repeat; }
.media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.media img { width: 100%; height: 100%; object-fit: cover; }

/* Ethics band */
.ethics { background: var(--navy); color: var(--white); position: relative; overflow: hidden; }
.ethics::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(31, 95, 173, .45), transparent 70%); }
.ethics h2 { color: var(--white); }
.ethics p { color: rgba(255, 255, 255, .82); }
.ethics .points { display: grid; gap: 16px; position: relative; z-index: 1; }
.ethics .point { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); padding: 20px 22px; }
.ethics .point b { color: var(--gold); display: block; margin-bottom: 4px; }
.ethics .point span { color: rgba(255, 255, 255, .85); }

/* Service groups */
.svc-group { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.svc-group h3 { font-size: 1.3rem; margin: 16px 0 14px; }
.svc-group .check-list li { font-size: .98rem; color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: .45em 1em; font-size: .93rem; font-weight: 600; color: var(--navy); }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 880px; margin-inline: auto; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 36px 20px 0; font-weight: 700; color: var(--navy); position: relative; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--blue-2); font-weight: 400; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; }

/* Team */
.team-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
.avatar { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; background: linear-gradient(135deg, var(--blue), var(--blue-2)); color: var(--white); display: grid; place-items: center; font-weight: 800; font-size: 2rem; letter-spacing: .02em; border: 4px solid var(--white); box-shadow: 0 0 0 1px var(--line); }
.team-card h3 { margin: 18px 0 2px; }
.team-card .role { color: var(--gold-2); font-weight: 700; font-size: .92rem; margin-bottom: 12px; }
.team-card p { color: var(--muted); font-size: .97rem; }
.team-card details { margin-top: auto; border-top: 1px solid var(--line); padding-top: 12px; }
.team-card summary { cursor: pointer; font-weight: 700; color: var(--blue-2); font-size: .95rem; }
.team-card details p { margin-top: 10px; font-size: .95rem; }
.team-mini { text-align: center; }
.team-mini .avatar { margin: 0 auto; width: 128px; height: 128px; }
.team-mini h3 { margin: 16px 0 2px; font-size: 1.1rem; }
.team-mini .role { color: var(--muted); font-size: .92rem; }

/* Clients */
.client-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.client { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; font-weight: 700; color: var(--navy); display: flex; align-items: center; min-height: 72px; }
@media (max-width: 960px) { .client-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px) { .client-grid { grid-template-columns: 1fr 1fr; gap: 8px; } .client { font-size: .9rem; padding: 12px 14px; min-height: 60px; } }
.marquee { display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: center; color: var(--muted); font-weight: 700; font-size: 1.02rem; }
.marquee span { white-space: nowrap; }

/* Portal promo */
.portal { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; background: linear-gradient(135deg, #f7f9fc, #eef3fa); border: 1px solid var(--line); border-radius: 20px; padding: 48px; }
.portal-mock { background: var(--white); border-radius: 14px; box-shadow: var(--shadow); padding: 20px; border: 1px solid var(--line); }
.portal-mock .bar { display: flex; gap: 6px; margin-bottom: 14px; }
.portal-mock .bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); display: block; }
.portal-mock .row { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 10px; padding: 11px 0; border-top: 1px solid var(--line); font-size: .88rem; color: var(--muted); }
.portal-mock .row:first-of-type { border-top: 0; font-weight: 800; color: var(--navy); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }
.portal-mock .pill { display: inline-block; white-space: nowrap; font-size: .78rem; font-weight: 700; padding: .15em .7em; border-radius: 999px; }
.pill.ok { background: #e3f4ea; color: #1d7a45; }
.pill.soon { background: #fff2dc; color: #a2610c; }
@media (max-width: 960px) { .portal { grid-template-columns: 1fr; padding: 32px 24px; } }

/* Top reasons */
.reasons { counter-reset: r; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 40px; }
.reason { position: relative; padding-left: 58px; }
.reason::before { counter-increment: r; content: counter(r, decimal-leading-zero); position: absolute; left: 0; top: 0; font-weight: 800; font-size: 1.5rem; color: var(--gold-2); }
.reason h3 { margin-bottom: 4px; font-size: 1.08rem; }
.reason p { color: var(--muted); font-size: .97rem; }
@media (max-width: 760px) { .reasons { grid-template-columns: 1fr; } }

/* CTA */
.cta { background: linear-gradient(120deg, var(--blue) 0%, var(--navy) 100%); color: var(--white); border-radius: 22px; padding: 56px; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta h2 { color: var(--white); margin-bottom: .3em; }
.cta p { color: rgba(255, 255, 255, .85); margin: 0; max-width: 620px; }
@media (max-width: 620px) { .cta { padding: 36px 26px; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { background: var(--soft); border-radius: var(--radius); padding: 30px; }
.contact-card h3 { margin-bottom: 4px; }
.contact-card .role { color: var(--muted); margin-bottom: 14px; }
.contact-line { display: flex; gap: 12px; align-items: center; margin: 10px 0; font-weight: 600; }
.contact-line svg { width: 20px; height: 20px; color: var(--blue-2); flex: none; }
.contact-card hr { border: 0; border-top: 1px solid var(--line); margin: 22px 0; }
form.contact { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 620px) { .field-row { grid-template-columns: 1fr; } form.contact { padding: 24px 20px; } }
label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 6px; color: var(--navy); }
input, textarea { width: 100%; font: inherit; font-size: 1rem; padding: .75em .9em; border: 1px solid #cfd7e3; border-radius: 10px; background: var(--white); color: var(--ink); }
input:focus, textarea:focus { outline: 3px solid rgba(31, 95, 173, .2); border-color: var(--blue-2); }
textarea { min-height: 140px; resize: vertical; }
.hp { position: absolute; left: -5000px; }
.form-note { font-size: .86rem; color: var(--muted); margin: 14px 0 0; }
.form-status { margin-top: 14px; font-weight: 700; }
.form-status.ok { color: #1d7a45; }
.form-status.err { color: #b42318; }

/* Footer */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .78); padding: 72px 0 28px; margin-top: 0; }
.site-footer a { color: rgba(255, 255, 255, .9); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.foot-grid h4 { color: var(--white); font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 14px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid li { margin-bottom: 8px; }
.foot-brand img { height: 52px; width: auto; margin-bottom: 16px; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 48px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .88rem; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

.lead-muted { color: var(--muted); font-size: 1.1rem; }
.mt-0 { margin-top: 0; }
.center { text-align: center; }

/* Inline stat strip (home page, 2026 at a glance) */
.stats.flat { margin-top: 64px; }
.stats.flat .eyebrow { display: block; }
.stats.flat .grid { box-shadow: none; border: 1px solid var(--line); background: var(--soft); }
.foot-legal { font-size: .8rem; color: rgba(255, 255, 255, .55); margin: 14px 0 0; }
