/**
 * BASOFA CSS module: global-polish.css
 * Generated from style-orig.css lines 6151-6912.
 * Regenerate with scripts/split-theme-css.ps1; do not reorder modules.
 */

/* ========================================================================
   3.19.0 shared Azure Mist colour and contrast system
   ======================================================================== */

/* Replace flat grey alternate sections with a restrained BASOFA-blue tint. */
.basofa-enterprise-home :where(
	.enterprise-success,
	.solution-capabilities,
	.enterprise-case-study,
	.enterprise-faq,
	.services-platform,
	.solutions-foundation,
	.expertise-proof,
	.implementation-controls,
	.expertise-stack,
	.about-method,
	.about-principles,
	.career-roles,
	.contact-offices,
	.contact-paths
) {
	background:
		radial-gradient(circle at 88% 8%, rgba(8, 162, 209, .09), transparent 28%),
		linear-gradient(135deg, var(--enterprise-surface-soft) 0%, var(--enterprise-surface) 58%, var(--enterprise-surface-strong) 100%);
}

/* White cards remain clearly separated from Azure Mist section surfaces. */
.basofa-enterprise-home :where(
	.enterprise-success__rail,
	.solution-context__grid,
	.solution-capabilities__grid,
	.services-capability-grid,
	.solutions-foundation__grid,
	.expertise-proof__grid,
	.implementation-controls__grid,
	.expertise-stack__items,
	.about-method__grid,
	.about-principles__grid,
	.career-roles__list,
	.contact-offices__grid
) > :where(article, a, details, li) {
	border-color: var(--enterprise-line);
	background-color: #ffffff;
	box-shadow: 0 14px 34px rgba(9, 85, 153, .065);
}

.basofa-enterprise-home .company-form {
	border-color: var(--enterprise-line);
	background: #ffffff;
	box-shadow: 0 20px 48px rgba(9, 85, 153, .09);
}

/* Stronger typography hierarchy on all light alternate surfaces. */
.basofa-enterprise-home :where(
	.enterprise-success,
	.solution-capabilities,
	.enterprise-case-study,
	.enterprise-faq,
	.services-platform,
	.solutions-foundation,
	.expertise-proof,
	.implementation-controls,
	.expertise-stack,
	.about-method,
	.about-principles,
	.career-roles,
	.contact-offices,
	.contact-paths,
	.company-form
) :where(h2, h3, h4, strong) {
	color: var(--enterprise-ink) !important;
}

.basofa-enterprise-home :where(
	.enterprise-success,
	.solution-capabilities,
	.enterprise-case-study,
	.enterprise-faq,
	.services-platform,
	.solutions-foundation,
	.expertise-proof,
	.implementation-controls,
	.expertise-stack,
	.about-method,
	.about-principles,
	.career-roles,
	.contact-offices,
	.contact-paths,
	.company-form
) :where(p:not(.enterprise-kicker), li, small, label) {
	color: var(--enterprise-copy) !important;
}

.basofa-enterprise-home :where(
	.enterprise-success,
	.solution-capabilities,
	.enterprise-faq,
	.services-platform,
	.solutions-foundation,
	.expertise-proof,
	.implementation-controls,
	.expertise-stack,
	.about-method,
	.about-principles,
	.career-roles,
	.contact-offices,
	.contact-paths
) .enterprise-kicker {
	color: var(--enterprise-blue) !important;
}

/* Dark sections use luminous blue-white copy instead of muted grey text. */
.basofa-enterprise-home :where(
	.enterprise-isv,
	.enterprise-services-overview,
	.enterprise-delivery,
	.services-card--wide,
	.services-engagement,
	.solutions-fit,
	.expertise-evidence,
	.implementation-evidence,
	.implementation-lifecycle,
	.expertise-outcomes,
	.d365-deliverables,
	.d365-why,
	.about-work-cta,
	.enterprise-cta,
	.solution-fit,
	.enterprise-footer
) :where(p:not(.enterprise-kicker), li, small) {
	color: var(--enterprise-text-on-dark) !important;
}

.basofa-enterprise-home :where(
	.enterprise-isv,
	.enterprise-services-overview,
	.enterprise-delivery,
	.services-card--wide,
	.services-engagement,
	.solutions-fit,
	.expertise-evidence,
	.implementation-evidence,
	.implementation-lifecycle,
	.expertise-outcomes,
	.d365-deliverables,
	.d365-why,
	.about-work-cta,
	.enterprise-cta,
	.solution-fit,
	.enterprise-footer
) :where(h2, h3, h4) {
	color: #ffffff !important;
}

/* Labels and supporting UI retain a clear BASOFA-blue hierarchy. */
.basofa-enterprise-home :where(.enterprise-heading, .services-platform__intro, .expertise-stack__intro) > p:not(.enterprise-kicker) {
	color: var(--enterprise-copy);
}

.basofa-enterprise-home :where(input, select, textarea) {
	border-color: #b9d1e4;
	background: #ffffff;
	color: var(--enterprise-ink);
}

.basofa-enterprise-home :where(input, select, textarea)::placeholder {
	color: #62738b;
	opacity: 1;
}

/* ========================================================================
   Meaningful feature icons and privacy-friendly website guide
   ======================================================================== */

.basofa-feature-icon {
	display: inline-grid;
	place-items: center;
	width: 42px;
	height: 42px;
	flex: 0 0 42px;
	border-radius: 12px;
	background: #eaf3ff;
	color: var(--enterprise-blue, #0867d5);
}

.basofa-feature-icon svg {
	display: block;
	width: 22px;
	height: 22px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.about-method__grid article > .basofa-feature-icon,
.career-culture__grid article > .basofa-feature-icon,
.expertise-engagements__grid article > .basofa-feature-icon {
	display: grid;
	margin-bottom: 42px;
}

.expertise-capability-grid article > .basofa-feature-icon,
.solution-context__grid article > .basofa-feature-icon,
.story-challenge__grid article > .basofa-feature-icon,
.solutions-proof article > .basofa-feature-icon {
	display: grid;
}

.expertise-artifacts > li > .basofa-feature-icon {
	display: grid;
	width: 46px;
	height: 46px;
	color: #ffffff;
	background: rgba(255, 255, 255, 0.12);
}

.enterprise-industry-grid__number.basofa-feature-icon {
	display: grid;
	font-size: 0;
}

.solutions-map__node .basofa-feature-icon,
.solutions-value-strip .basofa-feature-icon,
.solutions-fit__items .basofa-feature-icon {
	width: 34px;
	height: 34px;
	border-radius: 10px;
}

.solutions-map__node .basofa-feature-icon svg,
.solutions-value-strip .basofa-feature-icon svg,
.solutions-fit__items .basofa-feature-icon svg {
	width: 18px;
	height: 18px;
}

.solution-system__index .basofa-feature-icon {
	width: 52px;
	height: 52px;
	color: inherit;
	background: rgba(255, 255, 255, 0.9);
}

.company-value-strip li .basofa-feature-icon {
	width: 34px;
	height: 34px;
	font-size: initial;
}

.company-value-strip li .basofa-feature-icon svg,
.contact-hero__options .basofa-feature-icon svg {
	width: 18px;
	height: 18px;
}

.contact-hero__options .basofa-feature-icon {
	grid-row: 1 / 3;
	width: 30px;
	height: 30px;
	border-radius: 9px;
}

.basofa-guide {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 1400;
	font-family: var(--enterprise-font, Arial, sans-serif);
}

.basofa-guide__toggle {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 52px;
	padding: 8px 18px 8px 8px;
	border: 1px solid rgba(255, 255, 255, 0.24);
	border-radius: 999px;
	box-shadow: 0 16px 36px rgba(5, 29, 73, 0.24);
	background: #075fae;
	color: #ffffff;
	font-weight: 750;
	cursor: pointer;
}

.basofa-guide__toggle-icon.basofa-feature-icon {
	width: 36px;
	height: 36px;
	flex-basis: 36px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.15);
	color: #ffffff;
}

.basofa-guide__toggle-icon svg {
	width: 19px;
	height: 19px;
}

.basofa-guide__panel {
	position: absolute;
	right: 0;
	bottom: 66px;
	display: flex;
	width: min(390px, calc(100vw - 32px));
	max-height: min(670px, calc(100vh - 110px));
	flex-direction: column;
	overflow: hidden;
	border: 1px solid #d8e3f2;
	border-radius: 22px;
	box-shadow: 0 26px 70px rgba(5, 29, 73, 0.28);
	background: #ffffff;
	color: #071a40;
}

.basofa-guide__panel[hidden] {
	display: none;
}

.basofa-guide__panel > header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	padding: 20px;
	background: linear-gradient(135deg, #075fae, #073a78);
	color: #ffffff;
}

.basofa-guide__panel > header > div {
	display: flex;
	align-items: center;
	gap: 12px;
}

.basofa-guide__brand-icon.basofa-feature-icon {
	width: 38px;
	height: 38px;
	flex-basis: 38px;
	background: rgba(255, 255, 255, 0.14);
	color: #ffffff;
}

.basofa-guide__panel h2 {
	margin: 0 0 3px;
	color: #ffffff;
	font-size: 1rem;
	line-height: 1.25;
}

.basofa-guide__panel header p,
.basofa-guide__privacy {
	margin: 0;
	color: #dcecff;
	font-size: 0.74rem;
	line-height: 1.4;
}

.basofa-guide__close {
	width: 34px;
	height: 34px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: #ffffff;
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
}

.basofa-guide__close:hover {
	background: rgba(255, 255, 255, 0.12);
}

.basofa-guide__body {
	overflow-y: auto;
	padding: 18px 20px 8px;
}

.basofa-guide__intro p,
.basofa-guide__result-label {
	margin: 0 0 12px;
	color: #253a60;
	font-size: 0.88rem;
	font-weight: 700;
}

.basofa-guide__suggestions {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin-bottom: 16px;
}

.basofa-guide__suggestions button {
	padding: 7px 10px;
	border: 1px solid #cdddf1;
	border-radius: 999px;
	background: #f4f8fd;
	color: #164a83;
	font-size: 0.73rem;
	line-height: 1.3;
	cursor: pointer;
}

.basofa-guide__suggestions button:hover {
	border-color: #75a9df;
	background: #eaf3ff;
}

.basofa-guide__results article {
	margin-bottom: 8px;
	padding: 12px 14px;
	border: 1px solid #dce6f3;
	border-radius: 13px;
	background: #fbfdff;
}

.basofa-guide__results h3 {
	margin: 0 0 4px;
	color: #071a40;
	font-size: 0.88rem;
}

.basofa-guide__results article p {
	margin: 0 0 6px;
	color: #536580;
	font-size: 0.76rem;
	line-height: 1.45;
}

.basofa-guide__results a {
	color: #075fae;
	font-size: 0.76rem;
	font-weight: 750;
}

.basofa-guide__contact {
	margin: 12px 0 4px;
	color: #536580;
	font-size: 0.76rem;
}

.basofa-guide__form {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 8px;
	padding: 12px 20px;
	border-top: 1px solid #e0e8f3;
}

.basofa-guide__form input {
	min-width: 0;
	height: 42px;
	padding: 0 12px;
	border: 1px solid #b9cbe0;
	border-radius: 10px;
	background: #ffffff;
	color: #071a40;
	font-size: 0.82rem;
}

.basofa-guide__form button {
	padding: 0 16px;
	border: 0;
	border-radius: 10px;
	background: #075fae;
	color: #ffffff;
	font-weight: 750;
	cursor: pointer;
}

.basofa-guide__privacy {
	padding: 0 20px 15px;
	color: #6b7890;
}

@media (max-width: 680px) {
	.basofa-guide {
		right: 14px;
		bottom: 82px;
	}

	.basofa-guide__panel {
		position: fixed;
		right: 12px;
		bottom: 142px;
		left: 12px;
		width: auto;
		max-height: calc(100vh - 165px);
	}
}

@media (prefers-reduced-motion: reduce) {
	.basofa-guide *,
	.basofa-feature-icon * {
		scroll-behavior: auto !important;
		transition: none !important;
	}
}

/* ========================================================================
   BASOFA conversion experience
   ======================================================================== */

.solutions-product__actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 14px 24px;
}

.solutions-product__actions > a:last-child {
	display: inline-flex;
	align-items: center;
	min-height: 42px;
	padding: 9px 15px;
	border: 1px solid #b9cff0;
	border-radius: 8px;
	color: var(--enterprise-blue);
	font-size: 0.82rem;
	font-weight: 780;
}

.solutions-product__actions > a:last-child:hover,
.solutions-product__actions > a:last-child:focus-visible {
	border-color: var(--enterprise-blue);
	background: #eef5ff;
}

.contact-intent {
	border-bottom: 1px solid #b9d4f5;
	background: #eaf3ff;
}

.contact-intent .enterprise-shell {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto auto;
	align-items: center;
	gap: 10px 18px;
	min-height: 64px;
}

.contact-intent span,
.contact-intent p,
.contact-intent a {
	margin: 0;
	font-size: 0.78rem;
}

.contact-intent > .enterprise-shell > span {
	color: var(--enterprise-blue);
	font-weight: 800;
	text-transform: uppercase;
}

.contact-intent strong {
	color: var(--enterprise-ink);
	font-size: 0.9rem;
}

.contact-intent p {
	color: var(--enterprise-muted);
}

.contact-intent a {
	color: var(--enterprise-blue);
	font-weight: 780;
}

.company-form .basofa-lead-form {
	display: grid;
	grid-column: 1 / -1;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.company-form .basofa-lead-form > p,
.company-form .basofa-form-actions {
	margin: 0;
}

.company-form .basofa-field--wide,
.company-form .basofa-form-actions,
.company-form .basofa-form-privacy {
	grid-column: 1 / -1;
}

.company-form .basofa-field small {
	display: block;
	margin-top: 7px;
	color: var(--enterprise-muted);
	font-size: 0.72rem;
	font-weight: 500;
	line-height: 1.45;
}

.company-form .basofa-captcha {
	max-width: 320px;
}

.company-form .basofa-captcha input {
	max-width: 150px;
}

.company-form .basofa-honeypot {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

.company-form .basofa-form-actions {
	display: flex;
	align-items: center;
	gap: 16px;
}

.company-form .basofa-form-actions > span {
	color: var(--enterprise-muted);
	font-size: 0.74rem;
	line-height: 1.4;
}

.company-form .basofa-form-privacy {
	color: var(--enterprise-muted);
	font-size: 0.7rem;
	font-weight: 500;
	line-height: 1.5;
}

.company-form .basofa-form-privacy a {
	color: var(--enterprise-blue);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.contact-thank-you {
	display: grid;
	min-height: 68vh;
	place-items: center;
	background: linear-gradient(145deg, #f5f9ff, #ffffff);
}

.contact-thank-you__inner {
	max-width: 760px;
	text-align: center;
}

.contact-thank-you__inner > span {
	display: grid;
	width: 70px;
	height: 70px;
	margin: 0 auto 28px;
	place-items: center;
	border-radius: 50%;
	background: #e5f7ef;
	color: #0a8558;
	font-size: 2rem;
	font-weight: 800;
}

.contact-thank-you__inner h1 {
	margin-bottom: 18px;
	font-size: clamp(2.5rem, 5vw, 4.5rem);
}

.contact-thank-you__inner > p:not(.enterprise-kicker) {
	max-width: 610px;
	margin: 0 auto 30px;
	color: var(--enterprise-copy);
	font-size: 1.05rem;
}

.contact-thank-you__inner .enterprise-actions {
	justify-content: center;
}

.enterprise-mobile-actions {
	display: none;
}

@media (max-width: 920px) {
	body.basofa-enterprise-home {
		padding-bottom: 66px;
	}

	.contact-intent .enterprise-shell {
		grid-template-columns: 1fr auto;
		padding-block: 14px;
	}

	.contact-intent strong,
	.contact-intent p {
		grid-column: 1 / -1;
	}

	.enterprise-mobile-actions {
		position: fixed;
		right: 10px;
		bottom: 10px;
		left: 10px;
		z-index: 1200;
		display: grid;
		grid-template-columns: 0.8fr 0.8fr 1.4fr;
		overflow: hidden;
		border: 1px solid rgba(255, 255, 255, 0.22);
		border-radius: 14px;
		background: #082f68;
		box-shadow: 0 18px 45px rgba(6, 29, 65, 0.3);
		transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
	}

	.enterprise-mobile-actions.is-hidden {
		visibility: hidden;
		opacity: 0;
		transform: translateY(18px);
	}

	.enterprise-mobile-actions a {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 6px;
		min-height: 54px;
		padding: 8px 10px;
		color: #ffffff;
		font-size: 0.78rem;
		font-weight: 760;
	}

	.enterprise-mobile-actions a + a {
		border-left: 1px solid rgba(255, 255, 255, 0.2);
	}

	.enterprise-mobile-actions a:last-child {
		background: var(--enterprise-blue);
	}
}

@media (max-width: 580px) {
	.company-form .basofa-lead-form {
		grid-template-columns: 1fr;
	}

	.company-form .basofa-field,
	.company-form .basofa-form-actions,
	.company-form .basofa-form-privacy {
		grid-column: 1;
	}

	.company-form .basofa-form-actions {
		align-items: stretch;
		flex-direction: column;
	}
}

