/* Business Power: site styles (layout and colours live in theme.json) */

html { scroll-behavior: smooth; }
:where(#approach, #about, #faq, #contact, #power-bi, #automation, #health-check, #software, #security, #process) { scroll-margin-top: 80px; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
:where(.wp-site-blocks) > * { margin-block-start: 0; }

/* ---------- Header ---------- */
.bp-header-wrap { position: sticky; top: 0; z-index: 50; }
.admin-bar .bp-header-wrap { top: 32px; }
@media (max-width: 782px) { .admin-bar .bp-header-wrap { top: 46px; } }
.bp-header { border-bottom: 1px solid var(--wp--preset--color--line); box-shadow: 0 1px 12px rgba(11, 31, 58, .04); }

.bp-logo { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--wp--preset--color--navy); }
.bp-logo__mark { flex: none; display: block; }
.bp-logo__text { font-size: 1.15rem; letter-spacing: -.02em; font-weight: 500; white-space: nowrap; }
.bp-logo__text strong { font-weight: 800; margin-left: .15em; }
.bp-logo--light { color: #fff; }

.bp-nav a { color: var(--wp--preset--color--ink); text-decoration: none; }
.bp-nav a:hover { color: var(--wp--preset--color--navy-light); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; text-decoration-color: var(--wp--preset--color--accent); }
.bp-nav .wp-block-navigation__responsive-container.is-menu-open { background: var(--wp--preset--color--navy); color: #fff; padding: 2rem 1.5rem; }
.bp-nav .wp-block-navigation__responsive-container.is-menu-open a { color: #fff; font-size: 1.35rem; }
.bp-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 1.25rem; }
.bp-header-cta .wp-element-button { white-space: nowrap; }
.bp-nav .wp-block-navigation-item__content { white-space: nowrap; }
@media (min-width: 601px) and (max-width: 960px) {
	.bp-nav .wp-block-navigation__container { gap: 1rem !important; }
	.bp-nav { font-size: .9rem !important; }
	.bp-header .bp-header-cta { display: none; }
}
@media (max-width: 600px) {
	.bp-header .bp-header-cta .wp-element-button { padding: .5rem .85rem !important; font-size: .875rem !important; }
	.bp-logo__text { font-size: 1.05rem; }
}
@media (max-width: 360px) { .bp-header .bp-header-cta { display: none; } }

/* ---------- Shared text ---------- */
.bp-eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--wp--preset--color--accent); margin-bottom: .25rem; }
.bp-eyebrow--dark { color: var(--wp--preset--color--accent-dark); }
.bp-lead { font-size: var(--wp--preset--font-size--large); line-height: 1.6; opacity: .88; }
.bp-sub { font-size: 1.125rem; color: var(--wp--preset--color--muted); }
.bp-section-head { margin-bottom: var(--wp--preset--spacing--50); }
.bp-section-head > * + * { margin-top: .75rem; }

/* Tick lists */
.bp-ticks { list-style: none; padding-left: 0; margin-top: var(--wp--preset--spacing--40); }
.bp-ticks li { position: relative; padding-left: 1.85rem; margin: .55rem 0; }
.bp-ticks li::before {
	content: ""; position: absolute; left: 0; top: .28em; width: 1.15rem; height: 1.15rem; border-radius: 50%;
	background: var(--wp--preset--color--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B1F3A' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 70% no-repeat;
}
.bp-ticks--hero { display: flex; flex-wrap: wrap; gap: .25rem 1.75rem; font-size: .95rem; opacity: .9; }
.bp-ticks--hero li { margin: .25rem 0; }
.bp-offer .bp-ticks--hero { display: block; font-size: 1rem; }

/* ---------- Buttons ---------- */
.wp-element-button { transition: background-color .15s ease, transform .15s ease, box-shadow .15s ease; }
.wp-block-button:not(.is-style-outline) .wp-element-button:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(11, 31, 58, .18); }
.wp-block-button.is-style-outline .wp-element-button { background: transparent; color: var(--wp--preset--color--navy); border: 2px solid currentColor; padding: calc(.85rem - 2px) calc(1.5rem - 2px); }
.wp-block-button.is-style-outline .wp-element-button:hover { background: var(--wp--preset--color--surface); }
.bp-btn-ghost .wp-element-button { color: #fff !important; border-color: rgba(255, 255, 255, .45) !important; }
.bp-btn-ghost .wp-element-button:hover { background: rgba(255, 255, 255, .08) !important; border-color: #fff !important; }
.has-navy-background-color.wp-element-button:hover { background-color: var(--wp--preset--color--navy-light) !important; }

/* ---------- Hero ---------- */
.bp-hero { position: relative; overflow: hidden; }
.bp-hero::before {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background:
		radial-gradient(60rem 30rem at 85% -10%, rgba(242, 182, 0, .12), transparent 60%),
		radial-gradient(50rem 30rem at -10% 120%, rgba(60, 110, 200, .25), transparent 60%);
}
.bp-hero::after {
	content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
	background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
	background-size: 48px 48px;
	mask-image: linear-gradient(to bottom, #000, transparent 85%);
}
.bp-hero > * { position: relative; z-index: 1; }
.bp-hero h1 { margin-top: .5rem; max-width: 16ch; }
.bp-hero--page h1 { max-width: 22ch; }

/* Dashboard illustration */
.bp-dash {
	background: linear-gradient(160deg, #18355f, #102849); border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px;
	padding: 1rem 1.1rem 1.2rem; box-shadow: 0 30px 60px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .06);
	transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
}
.bp-dash__bar { display: flex; gap: 6px; margin-bottom: .9rem; }
.bp-dash__bar span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .2); }
.bp-dash__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.bp-kpi { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); border-radius: 9px; padding: .6rem .7rem; display: flex; flex-direction: column; min-width: 0; }
.bp-kpi small { font-size: .68rem; opacity: .7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bp-kpi b { font-size: 1.2rem; letter-spacing: -.02em; }
.bp-kpi em { font-style: normal; font-size: .68rem; color: #F2B600; }
.bp-dash__charts { display: grid; grid-template-columns: 2.3fr 1fr; gap: .6rem; margin-top: .6rem; }
.bp-dash__charts svg { width: 100%; height: auto; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); border-radius: 9px; padding: .5rem; box-sizing: border-box; }
.bp-dash__flow { display: flex; align-items: center; gap: .4rem; margin-top: .8rem; font-size: .7rem; flex-wrap: wrap; }
.bp-dash__flow span { padding: .3rem .55rem; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); white-space: nowrap; }
.bp-dash__flow span.is-accent { background: #F2B600; color: #0B1F3A; border-color: #F2B600; font-weight: 700; }
.bp-dash__flow i { flex: 1 1 10px; min-width: 10px; height: 1px; background: linear-gradient(90deg, rgba(255, 255, 255, .5) 50%, transparent 0) 0 0 / 6px 1px repeat-x; }
@media (max-width: 781px) {
	.bp-dash { transform: none; margin-top: var(--wp--preset--spacing--40); }
}

/* ---------- Tech strip ---------- */
.bp-stack .wp-block-group { gap: .5rem 2.25rem; align-items: center; }
.bp-stack p { margin: 0; }
.bp-stack__label { font-size: .85rem; color: var(--wp--preset--color--muted); }
.bp-stack__item { font-weight: 700; color: var(--wp--preset--color--navy); opacity: .8; letter-spacing: -.01em; }

/* ---------- Cards ---------- */
.bp-card, .bp-service {
	background: #fff; border: 1px solid var(--wp--preset--color--line); border-radius: 12px; padding: var(--wp--preset--spacing--40);
	transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.bp-card:hover, .bp-service:hover { box-shadow: 0 14px 34px rgba(11, 31, 58, .08); border-color: #cfd7e3; transform: translateY(-2px); }
.bp-card h3 { margin-top: .9rem; }
.bp-card p { color: var(--wp--preset--color--muted); margin-top: .5rem; }
.bp-mini-grid .bp-card h3 { margin-top: 0; font-size: 1.1rem; }
.bp-mini-grid + .bp-mini-grid { margin-top: var(--wp--preset--spacing--30); }
.bp-mini-grid { gap: var(--wp--preset--spacing--30) !important; }
.bp-service { padding: var(--wp--preset--spacing--50); }
.bp-service h3 { margin-top: 1rem; }
.bp-service > p:not(.bp-more) { color: var(--wp--preset--color--muted); }
.bp-more a { font-weight: 600; text-decoration: none; color: var(--wp--preset--color--navy); border-bottom: 2px solid var(--wp--preset--color--accent); padding-bottom: 2px; }
.bp-more a:hover { color: var(--wp--preset--color--navy-light); }
.bp-icon {
	display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 10px;
	background: rgba(242, 182, 0, .16); color: var(--wp--preset--color--navy);
}
.bp-icon--lg { width: 54px; height: 54px; border-radius: 12px; background: var(--wp--preset--color--navy); color: var(--wp--preset--color--accent); }
.bp-fit { margin-top: var(--wp--preset--spacing--40); padding: 1rem 1.15rem; border-left: 3px solid var(--wp--preset--color--accent); background: rgba(242, 182, 0, .08); border-radius: 0 8px 8px 0; font-size: .97rem; }

/* ---------- Steps ---------- */
.bp-steps { counter-reset: step; }
.bp-step { border-top: 3px solid var(--wp--preset--color--line); padding-top: 1.25rem; position: relative; }
.bp-step::before { content: ""; position: absolute; top: -3px; left: 0; width: 48px; height: 3px; background: var(--wp--preset--color--accent); }
.bp-step__num { font-size: .85rem; font-weight: 800; color: var(--wp--preset--color--accent-dark); letter-spacing: .08em; margin: 0; }
.bp-step h3 { margin-top: .35rem; }
.bp-step p:not(.bp-step__num) { color: var(--wp--preset--color--muted); margin-top: .4rem; }

/* ---------- About ---------- */
.bp-about-copy p { opacity: .9; }
.bp-values h3 { font-size: 1.05rem; padding-left: 1rem; border-left: 3px solid var(--wp--preset--color--accent); }
.bp-values p { font-size: .95rem; opacity: .8; margin-top: .4rem; padding-left: calc(1rem + 3px); }

/* ---------- Offer ---------- */
.bp-offer { border-radius: 16px; position: relative; overflow: hidden; }
.bp-offer::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(242, 182, 0, .22), transparent 70%); pointer-events: none; }
.bp-offer > * { position: relative; z-index: 1; }

/* ---------- FAQ ---------- */
.bp-faq { border-bottom: 1px solid var(--wp--preset--color--line); padding: 1.15rem 0; margin-block: 0 !important; }
.bp-faq:first-of-type { border-top: 1px solid var(--wp--preset--color--line); }
.bp-faq summary { font-weight: 600; font-size: 1.08rem; color: var(--wp--preset--color--navy); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.bp-faq summary::-webkit-details-marker { display: none; }
.bp-faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; font-weight: 400; color: var(--wp--preset--color--accent-dark); transition: transform .2s ease; }
.bp-faq[open] summary::after { transform: rotate(45deg); }
.bp-faq p { color: var(--wp--preset--color--muted); margin-top: .75rem; }

/* ---------- Contact form (Contact Form 7) ---------- */
.bp-form-card { background: #fff; border: 1px solid var(--wp--preset--color--line); border-radius: 14px; padding: var(--wp--preset--spacing--50); box-shadow: 0 20px 40px rgba(11, 31, 58, .06); }
.bp-form-card form p { margin: 0 0 1rem; }
.wpcf7 .hidden-fields-container, .wpcf7 form.init .wpcf7-response-output, .wpcf7 form.resetting .wpcf7-response-output, .wpcf7 form.submitting .wpcf7-response-output { display: none; }
.wpcf7 form.sent .wpcf7-response-output { border: 1px solid #12b76a; background: #ecfdf3; }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.failed .wpcf7-response-output, .wpcf7 form.spam .wpcf7-response-output { border: 1px solid #f04438; background: #fef3f2; }
.wpcf7-spinner { visibility: hidden; display: inline-block; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--wp--preset--color--line); border-top-color: var(--wp--preset--color--navy); animation: bp-spin 1s linear infinite; }
.wpcf7 form.submitting .wpcf7-spinner { visibility: visible; }
@keyframes bp-spin { to { transform: rotate(360deg); } }
.bp-form-card label { display: block; font-weight: 600; font-size: .92rem; color: var(--wp--preset--color--navy); }
.bp-form-card input[type="text"], .bp-form-card input[type="email"], .bp-form-card input[type="tel"], .bp-form-card textarea {
	width: 100%; box-sizing: border-box; margin-top: .4rem; padding: .8rem .9rem; font: inherit; font-size: 1rem; color: var(--wp--preset--color--ink);
	border: 1px solid #cdd5e0; border-radius: 8px; background: #fff; transition: border-color .15s, box-shadow .15s;
}
.bp-form-card textarea { min-height: 140px; resize: vertical; }
.bp-form-card input:focus, .bp-form-card textarea:focus { outline: none; border-color: var(--wp--preset--color--navy-light); box-shadow: 0 0 0 3px rgba(22, 50, 92, .15); }
.bp-form-card input[type="submit"] {
	background: var(--wp--preset--color--accent); color: var(--wp--preset--color--navy); border: 0; border-radius: 6px; padding: .9rem 1.6rem;
	font: inherit; font-weight: 600; cursor: pointer; transition: background-color .15s;
}
.bp-form-card input[type="submit"]:hover { background: #FFC81F; }
.bp-form-card .wpcf7-spinner { margin-left: .75rem; vertical-align: middle; }
.bp-form-card .wpcf7-not-valid-tip { color: #b42318; font-size: .85rem; margin-top: .3rem; display: block; }
.bp-form-card .wpcf7-response-output { margin: 1rem 0 0 !important; padding: .8rem 1rem !important; border-radius: 8px; font-size: .95rem; }
.bp-form-card .screen-reader-response { position: absolute; clip: rect(1px, 1px, 1px, 1px); height: 1px; width: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.bp-footer a { color: #fff; text-decoration: none; opacity: .8; }
.bp-footer a:hover { opacity: 1; text-decoration: underline; }
.bp-footer__muted { opacity: .7; max-width: 34ch; margin-top: 1rem; }
.bp-footer__heading { font-size: .8rem !important; text-transform: uppercase; letter-spacing: .12em; color: var(--wp--preset--color--accent) !important; }
.bp-footer__list { list-style: none; padding: 0; margin-top: .75rem; }
.bp-footer__list li { margin: .45rem 0; font-size: .95rem; }
.bp-footer__base { margin-top: var(--wp--preset--spacing--50) !important; padding-top: var(--wp--preset--spacing--40); border-top: 1px solid rgba(255, 255, 255, .12); opacity: .65; }
.bp-footer__base p { margin: 0; }

/* ---------- Generic pages (booking, account, etc.) ---------- */
.bp-page-body .wp-block-post-content > * + * { margin-top: 1.25rem; }
.bp-booking-intro { position: sticky; top: 110px; }
.bp-booking-card { background: #fff; border: 1px solid var(--wp--preset--color--line); border-radius: 14px; padding: var(--wp--preset--spacing--30); box-shadow: 0 20px 40px rgba(11, 31, 58, .06); }
@media (max-width: 781px) { .bp-booking-intro { position: static; } }


/* ---------- Software page: app + MFA illustration ---------- */
.bp-app { position: relative; padding: 0 0 2.5rem 2rem; }
.bp-app__window {
	background: #fff; color: var(--wp--preset--color--ink); border-radius: 12px; overflow: hidden;
	box-shadow: 0 30px 60px rgba(0, 0, 0, .35); transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
}
.bp-app__top { display: flex; align-items: center; gap: 6px; padding: .6rem .8rem; background: #eef1f6; border-bottom: 1px solid var(--wp--preset--color--line); }
.bp-app__top span { width: 9px; height: 9px; border-radius: 50%; background: #cfd6e1; }
.bp-app__top em { font-style: normal; font-size: .7rem; color: var(--wp--preset--color--muted); background: #fff; border-radius: 999px; padding: .15rem .7rem; margin-left: .6rem; }
.bp-app__body { display: grid; grid-template-columns: 64px 1fr; min-height: 250px; }
.bp-app__side { background: var(--wp--preset--color--navy); padding: .9rem .7rem; display: flex; flex-direction: column; gap: .6rem; }
.bp-app__side b { width: 26px; height: 26px; border-radius: 7px; background: #F2B600; margin-bottom: .4rem; }
.bp-app__side i { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .22); }
.bp-app__side i.is-on { background: rgba(255, 255, 255, .7); }
.bp-app__main { padding: 1rem 1.1rem; }
.bp-app__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .8rem; }
.bp-app__head strong { font-size: .95rem; color: var(--wp--preset--color--navy); }
.bp-pill { font-size: .7rem; font-weight: 700; background: var(--wp--preset--color--navy); color: #fff; padding: .3rem .65rem; border-radius: 6px; }
.bp-app__row { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: .8rem; align-items: center; padding: .62rem 0; border-top: 1px solid var(--wp--preset--color--line); }
.bp-app__row i { height: 8px; border-radius: 4px; background: #e3e8ef; }
.bp-app__row i + i { width: 70%; }
.bp-tag { font-size: .66rem; font-weight: 600; padding: .18rem .5rem; border-radius: 999px; background: #eef1f6; color: var(--wp--preset--color--muted); white-space: nowrap; }
.bp-tag--ok { background: #e7f6ee; color: #067647; }
.bp-tag--wait { background: #fff4d6; color: #8A6400; }
.bp-mfa {
	position: absolute; left: 0; bottom: 0; width: 250px; background: #fff; color: var(--wp--preset--color--ink);
	border-radius: 14px; padding: 1rem; box-shadow: 0 24px 50px rgba(0, 0, 0, .4); display: grid; grid-template-columns: auto 1fr auto; gap: .35rem .7rem; align-items: center;
}
.bp-mfa__icon { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--wp--preset--color--navy); color: #F2B600; }
.bp-mfa strong { display: block; font-size: .88rem; color: var(--wp--preset--color--navy); }
.bp-mfa small { display: block; font-size: .7rem; color: var(--wp--preset--color--muted); }
.bp-mfa__code { font-size: 1.4rem; font-weight: 800; color: var(--wp--preset--color--navy); letter-spacing: .02em; }
.bp-mfa__btns { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-top: .45rem; }
.bp-mfa__btns span { text-align: center; font-size: .78rem; font-weight: 600; padding: .45rem; border-radius: 7px; background: #eef1f6; color: var(--wp--preset--color--muted); }
.bp-mfa__btns span.is-yes { background: #F2B600; color: var(--wp--preset--color--navy); }
@media (max-width: 781px) {
	.bp-app { margin-top: var(--wp--preset--spacing--40); padding-left: 0; }
	.bp-app__window { transform: none; }
	.bp-mfa { left: auto; right: -.25rem; width: 230px; }
}

/* Security grid */
.bp-sec { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px; padding: var(--wp--preset--spacing--40); position: relative; }
.bp-sec::before {
	content: ""; display: block; width: 36px; height: 36px; border-radius: 9px; margin-bottom: .9rem;
	background: rgba(242, 182, 0, .15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F2B600' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l8 3v6c0 4.5-3.4 8.3-8 9-4.6-.7-8-4.5-8-9V6l8-3z'/%3E%3Cpath d='M8.5 12l2.5 2.5 4.5-5'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.bp-sec h3 { font-size: 1.08rem; }
.bp-sec p { opacity: .78; font-size: .96rem; margin-top: .45rem; }

/* Tech chips */
.bp-chips { list-style: none; padding: 0; margin-top: var(--wp--preset--spacing--40); display: flex; flex-wrap: wrap; gap: .5rem; }
.bp-chips li { font-size: .88rem; font-weight: 600; color: var(--wp--preset--color--navy); background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--line); padding: .4rem .8rem; border-radius: 999px; }

/* Five-step row and three-service row */
@media (min-width: 782px) and (max-width: 1100px) { .bp-steps--5 { flex-wrap: wrap !important; } .bp-steps--5 > .bp-step { flex-basis: calc(33.333% - 1.5rem) !important; } }
.bp-services-3 .bp-service { padding: var(--wp--preset--spacing--40); }
@media (min-width: 782px) and (max-width: 1100px) { .bp-services-3 { flex-wrap: wrap !important; } .bp-services-3 > .bp-service { flex-basis: calc(50% - 1rem) !important; } }
.bp-service .bp-tagline { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--wp--preset--color--accent-dark); background: rgba(242, 182, 0, .14); padding: .2rem .55rem; border-radius: 999px; margin-top: 1rem; }
.bp-service .bp-tagline + h3 { margin-top: .5rem; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	* { transition: none !important; }
}
