/* ==========================================================================
   PBIS Theme — main.css
   Pulsate Business Information Service, LLC
   --------------------------------------------------------------------------
   A handcrafted, enterprise-grade stylesheet. Organized as a small design
   system: tokens → base → layout → components → sections → pages → utilities.

   Brand: #0160BF
   Author: Ashin Iqbal (Digital Solutions Architect)
   ========================================================================== */


/* ==========================================================================
   1. DESIGN TOKENS
   ========================================================================== */

:root {
	/* Brand */
	--pbis-brand: #0160BF;
	--pbis-brand-600: #014e9a;
	--pbis-brand-400: #2e7fd1;
	--pbis-brand-50:  #e6f0fb;

	/* Neutrals (warm-grey scale, tuned for both themes) */
	--pbis-ink-50:  #f7f8fa;
	--pbis-ink-100: #eef0f4;
	--pbis-ink-200: #dde1e8;
	--pbis-ink-300: #bbc2cd;
	--pbis-ink-400: #8c96a4;
	--pbis-ink-500: #5f6979;
	--pbis-ink-600: #3f4856;
	--pbis-ink-700: #2a313c;
	--pbis-ink-800: #1a1f27;
	--pbis-ink-900: #0e131a;
	--pbis-ink-950: #06090e;

	/* Type */
	--pbis-font-body: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--pbis-font-display: 'Archivo', 'Plus Jakarta Sans', system-ui, sans-serif;

	/* Scale */
	--fs-xs:   0.8125rem;
	--fs-sm:   0.9375rem;
	--fs-base: 1rem;
	--fs-md:   1.0625rem;
	--fs-lg:   1.25rem;
	--fs-xl:   1.5rem;
	--fs-2xl:  2rem;
	--fs-3xl:  2.75rem;
	--fs-4xl:  3.5rem;
	--fs-5xl:  clamp(2.5rem, 4.6vw + 1rem, 5.25rem);

	/* Spacing rhythm */
	--space-1: 0.25rem;
	--space-2: 0.5rem;
	--space-3: 0.75rem;
	--space-4: 1rem;
	--space-5: 1.5rem;
	--space-6: 2rem;
	--space-7: 3rem;
	--space-8: 4rem;
	--space-9: 6rem;
	--space-10: 8rem;

	/* Radii */
	--radius-xs: 4px;
	--radius-sm: 8px;
	--radius-md: 14px;
	--radius-lg: 22px;
	--radius-xl: 32px;
	--radius-pill: 999px;

	/* Shadows — layered, cinematic */
	--shadow-xs: 0 1px 2px rgba(8, 15, 30, 0.06);
	--shadow-sm: 0 4px 14px rgba(8, 15, 30, 0.08);
	--shadow-md: 0 18px 40px -16px rgba(8, 15, 30, 0.18), 0 4px 12px rgba(8, 15, 30, 0.06);
	--shadow-lg: 0 30px 60px -20px rgba(8, 15, 30, 0.28), 0 8px 24px rgba(8, 15, 30, 0.10);
	--shadow-brand: 0 18px 40px -12px rgba(1, 96, 191, 0.45);
	--shadow-brand-sm: 0 10px 22px -8px rgba(1, 96, 191, 0.35);

	/* Motion */
	--ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
	--ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
	--ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
	--dur-fast: 180ms;
	--dur: 320ms;
	--dur-slow: 600ms;

	/* Layout */
	--container-max: 1240px;
	--container-px: clamp(20px, 4vw, 48px);
	--header-h: 84px;
}

/* ---- LIGHT THEME (default) ---- */
:root,
[data-theme="light"] {
	--bg:        #ffffff;
	--bg-alt:    #f7f8fa;
	--bg-soft:   #eef1f6;
	--surface:   #ffffff;
	--surface-2: #f7f8fa;
	--text:      #0e131a;
	--text-soft: #3f4856;
	--text-mute: #5f6979;
	--border:    #e2e6ed;
	--border-soft: #eef0f4;
	--accent:    var(--pbis-brand);
	--accent-hover: var(--pbis-brand-600);
	--on-accent: #ffffff;

	--hero-bg-1: #0a0d12;
	--hero-bg-2: #11192a;
	--hero-text: #ffffff;
	--hero-text-soft: rgba(255,255,255,0.72);

	--header-bg-scrolled: rgba(255, 255, 255, 0.78);
	--header-border-scrolled: rgba(15, 25, 40, 0.08);
	--header-text-top: #ffffff;
	--header-text-scrolled: #0e131a;

	--card-bg: #ffffff;
	--card-border: #e2e6ed;
	--card-shadow: var(--shadow-md);

	--marquee-bg: #0a0d12;
	--marquee-text: rgba(255,255,255,0.62);
}

/* ---- DARK THEME ---- */
[data-theme="dark"] {
	--bg:        #06090e;
	--bg-alt:    #0a0e15;
	--bg-soft:   #11161f;
	--surface:   #0e131a;
	--surface-2: #131923;
	--text:      #f3f5f8;
	--text-soft: #c4cbd5;
	--text-mute: #8c96a4;
	--border:    #1f2531;
	--border-soft: #161b24;
	--accent:    #2e7fd1;
	--accent-hover: #4e95dc;
	--on-accent: #ffffff;

	--hero-bg-1: #04060a;
	--hero-bg-2: #0a1224;
	--hero-text: #ffffff;
	--hero-text-soft: rgba(255,255,255,0.7);

	--header-bg-scrolled: rgba(10, 14, 21, 0.78);
	--header-border-scrolled: rgba(255,255,255,0.06);
	--header-text-top: #ffffff;
	--header-text-scrolled: #ffffff;

	--card-bg: #0e131a;
	--card-border: #1f2531;
	--card-shadow: 0 24px 60px -24px rgba(0,0,0,0.7);

	--marquee-bg: #04060a;
	--marquee-text: rgba(255,255,255,0.55);
}


/* ==========================================================================
   2. RESET / BASE
   ========================================================================== */

*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: var(--header-h);
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
}

body {
	margin: 0;
	font-family: var(--pbis-font-body);
	font-size: var(--fs-base);
	line-height: 1.6;
	color: var(--text);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

img, svg, video, canvas {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: var(--accent);
	text-decoration: none;
	transition: color var(--dur-fast) var(--ease-out);
}

a:hover { color: var(--accent-hover); }

button {
	font: inherit;
	color: inherit;
	background: none;
	border: 0;
	cursor: pointer;
	padding: 0;
}

input, select, textarea {
	font: inherit;
	color: inherit;
}

ul, ol {
	list-style: none;
	padding: 0;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--pbis-font-display);
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -0.02em;
	color: var(--text);
	font-optical-sizing: auto;
	text-wrap: balance;
}

::selection {
	background: var(--pbis-brand);
	color: #fff;
}


/* ==========================================================================
   3. ACCESSIBILITY
   ========================================================================== */

.screen-reader-text {
	position: absolute !important;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	width: 1px;
	height: 1px;
	overflow: hidden;
	white-space: nowrap;
}

.skip-link {
	position: fixed;
	top: -100px;
	left: 16px;
	z-index: 9999;
	padding: 12px 18px;
	background: var(--accent);
	color: #fff !important;
	border-radius: var(--radius-sm);
	font-weight: 600;
	transition: top var(--dur) var(--ease-out);
}

.skip-link:focus {
	top: 16px;
	clip: auto;
	clip-path: none;
	width: auto;
	height: auto;
}

:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
	border-radius: 4px;
}


/* ==========================================================================
   4. LAYOUT
   ========================================================================== */

.container {
	width: 100%;
	max-width: var(--container-max);
	margin-inline: auto;
	padding-inline: var(--container-px);
}

.site-content {
	min-height: 60vh;
}


/* ==========================================================================
   5. BUTTONS
   ========================================================================== */

.btn {
	--btn-bg: var(--accent);
	--btn-color: var(--on-accent);
	--btn-border: var(--accent);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 14px 24px;
	border-radius: var(--radius-pill);
	background: var(--btn-bg);
	color: var(--btn-color);
	border: 1px solid var(--btn-border);
	font-family: var(--pbis-font-body);
	font-size: var(--fs-sm);
	font-weight: 600;
	letter-spacing: -0.005em;
	text-decoration: none;
	cursor: pointer;
	transition: transform var(--dur-fast) var(--ease-out),
	            background var(--dur-fast) var(--ease-out),
	            color var(--dur-fast) var(--ease-out),
	            border-color var(--dur-fast) var(--ease-out),
	            box-shadow var(--dur) var(--ease-out);
	white-space: nowrap;
	position: relative;
	overflow: hidden;
}

.btn svg {
	width: 18px;
	height: 18px;
	transition: transform var(--dur) var(--ease-out);
}

.btn:hover {
	color: var(--btn-color);
	transform: translateY(-2px);
	box-shadow: var(--shadow-brand);
}

.btn:hover svg { transform: translateX(4px); }

.btn:active { transform: translateY(0); }

.btn-primary {
	--btn-bg: var(--accent);
	--btn-color: var(--on-accent);
	--btn-border: var(--accent);
	box-shadow: var(--shadow-brand-sm);
}

.btn-primary:hover {
	--btn-bg: var(--accent-hover);
	--btn-border: var(--accent-hover);
}

.btn-ghost {
	--btn-bg: transparent;
	--btn-color: var(--text);
	--btn-border: var(--border);
}

.btn-ghost:hover {
	--btn-bg: var(--bg-soft);
	--btn-border: var(--text-mute);
	box-shadow: var(--shadow-sm);
}

.btn-lg {
	padding: 17px 30px;
	font-size: var(--fs-base);
}

.btn-cta {
	--btn-bg: var(--accent);
	--btn-color: #fff;
	--btn-border: var(--accent);
	padding: 11px 20px;
	font-size: var(--fs-sm);
	box-shadow: var(--shadow-brand-sm);
}

.btn-cta:hover {
	--btn-bg: var(--accent-hover);
	--btn-border: var(--accent-hover);
}

.btn-cta--block {
	display: flex;
	width: 100%;
}


/* ==========================================================================
   6. SECTION HEADS
   ========================================================================== */

.section-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--pbis-font-body);
	font-size: var(--fs-xs);
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: var(--space-4);
}

.section-eyebrow::before {
	content: "";
	display: inline-block;
	width: 28px;
	height: 1px;
	background: var(--accent);
	opacity: 0.6;
}

.section-title {
	font-size: clamp(2rem, 3.4vw + 0.4rem, 3.4rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.06;
	color: var(--text);
	margin: 0 0 var(--space-5);
}

.section-title em {
	font-style: italic;
	color: var(--accent);
	font-weight: 700;
}

.section-lead {
	font-size: var(--fs-md);
	line-height: 1.65;
	color: var(--text-soft);
	max-width: 62ch;
	margin: 0;
}

.section-head { margin-bottom: var(--space-7); max-width: 880px; }
.section-head--center { text-align: center; margin-inline: auto; }


/* ==========================================================================
   7. SITE HEADER
   ========================================================================== */

.site-header {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 100;
	transition: background var(--dur) var(--ease-out),
	            backdrop-filter var(--dur) var(--ease-out),
	            -webkit-backdrop-filter var(--dur) var(--ease-out),
	            border-color var(--dur) var(--ease-out),
	            box-shadow var(--dur) var(--ease-out);
	background: transparent;
	border-bottom: 1px solid transparent;
	color: var(--header-text-top);
}

.site-header[data-state="scrolled"] {
	background: var(--header-bg-scrolled);
	-webkit-backdrop-filter: saturate(180%) blur(18px);
	backdrop-filter: saturate(180%) blur(18px);
	border-bottom-color: var(--header-border-scrolled);
	box-shadow: 0 8px 30px -12px rgba(8, 15, 30, 0.12);
	color: var(--header-text-scrolled);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-5);
	height: var(--header-h);
}

/* Logo swap: light logo on transparent header, dark logo when scrolled */
.header-brand {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

.header-brand .brand-logo {
	display: inline-block;
	line-height: 0;
}

.header-brand .brand-logo img {
	display: block;
	height: 38px;
	width: auto;
	transition: opacity var(--dur) var(--ease-out);
}

@media (min-width: 640px) {
	.header-brand .brand-logo img { height: 44px; }
}

/* Logo swap — bulletproof. Both <a> elements always rendered;
   we toggle display based on theme + scroll state. Defaults to
   showing the light-on-dark variant so the logo never disappears
   during the brief moment before data-theme is applied. */
.header-brand .brand-logo { display: none; }
.header-brand .brand-logo--light { display: inline-block; }

/* In LIGHT theme + scrolled state: swap to the dark-on-light variant. */
[data-theme="light"] .site-header[data-state="scrolled"] .brand-logo--light { display: none; }
[data-theme="light"] .site-header[data-state="scrolled"] .brand-logo--dark { display: inline-block; }

/* Dark theme always shows the light-on-dark variant (text reads on dark glass). */

/* Primary nav */
.primary-nav { display: none; }

@media (min-width: 1024px) {
	.primary-nav { display: block; }
}

.primary-menu {
	display: flex;
	align-items: center;
	gap: 4px;
	margin: 0;
	padding: 0;
}

.primary-menu li { position: relative; }

.primary-menu a {
	display: inline-flex;
	padding: 10px 16px;
	color: inherit;
	font-size: var(--fs-sm);
	font-weight: 500;
	letter-spacing: -0.005em;
	border-radius: var(--radius-sm);
	position: relative;
	transition: color var(--dur-fast) var(--ease-out);
}

.primary-menu a::after {
	content: "";
	position: absolute;
	left: 16px;
	right: 16px;
	bottom: 6px;
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform var(--dur) var(--ease-out);
	opacity: 0.7;
}

.primary-menu a:hover::after,
.primary-menu .current-menu-item > a::after,
.primary-menu .current-menu-ancestor > a::after { transform: scaleX(1); }

/* Sub menu */
.primary-menu .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	padding: 8px;
	background: var(--surface);
	color: var(--text);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-lg);
	opacity: 0;
	transform: translateY(8px);
	pointer-events: none;
	transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}

.primary-menu li:hover > .sub-menu,
.primary-menu li:focus-within > .sub-menu {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}

.primary-menu .sub-menu a {
	display: block;
	padding: 8px 12px;
	border-radius: var(--radius-sm);
	color: var(--text);
}

.primary-menu .sub-menu a:hover {
	background: var(--bg-soft);
	color: var(--accent);
}

.primary-menu .sub-menu a::after { display: none; }

/* Dropdown chevron indicator (desktop) — the walker injects .submenu-toggle.
   On desktop it is a non-interactive indicator; hover / focus opens the menu. */
.primary-menu .submenu-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-left: -8px;
	padding: 0 4px;
	background: none;
	border: 0;
	color: inherit;
	pointer-events: none;
}

.primary-menu .submenu-toggle svg {
	width: 15px;
	height: 15px;
	transition: transform var(--dur) var(--ease-out);
}

.primary-menu .menu-item-has-children:hover > .submenu-toggle svg,
.primary-menu .menu-item-has-children:focus-within > .submenu-toggle svg {
	transform: rotate(180deg);
}

/* Header actions */
.header-actions {
	display: flex;
	align-items: center;
	gap: 10px;
}

.theme-toggle {
	width: 42px;
	height: 42px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	color: inherit;
	border: 1px solid transparent;
	transition: background var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
	position: relative;
}

.theme-toggle:hover {
	background: rgba(255,255,255,0.08);
}

.site-header[data-state="scrolled"] .theme-toggle:hover {
	background: var(--bg-soft);
}

.theme-toggle .icon {
	width: 20px;
	height: 20px;
	position: absolute;
	transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}

.theme-toggle .icon-sun { opacity: 0; transform: rotate(90deg) scale(0.6); }
.theme-toggle .icon-moon { opacity: 1; transform: rotate(0) scale(1); }

[data-theme="dark"] .theme-toggle .icon-sun { opacity: 1; transform: rotate(0) scale(1); }
[data-theme="dark"] .theme-toggle .icon-moon { opacity: 0; transform: rotate(-90deg) scale(0.6); }

/* Animated hamburger — absolutely-positioned bars form a clean X */
.mobile-toggle {
	position: relative;
	width: 42px;
	height: 42px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: var(--radius-sm);
	transition: background var(--dur-fast) var(--ease-out);
}

.mobile-toggle:hover { background: rgba(255,255,255,0.08); }
.site-header[data-state="scrolled"] .mobile-toggle:hover { background: var(--bg-soft); }

@media (min-width: 1024px) {
	.mobile-toggle { display: none; }
}

.mobile-toggle .bar {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 22px;
	height: 2px;
	margin-left: -11px;
	background: currentColor;
	border-radius: 1px;
	transform-origin: center center;
	transition: transform 320ms var(--ease-out), opacity 200ms var(--ease-out);
}

.mobile-toggle .bar-1 { transform: translateY(-7px); }
.mobile-toggle .bar-2 { transform: translateY(0); }
.mobile-toggle .bar-3 { transform: translateY(7px); }

.mobile-toggle[aria-expanded="true"] .bar-1 { transform: translateY(0) rotate(45deg); }
.mobile-toggle[aria-expanded="true"] .bar-2 { opacity: 0; transform: translateY(0) scaleX(0); }
.mobile-toggle[aria-expanded="true"] .bar-3 { transform: translateY(0) rotate(-45deg); }

/* Hide CTA label on small screens but keep button visible */
@media (max-width: 559px) {
	.header-actions .btn-cta svg { display: none; }
	.header-actions .btn-cta { padding: 10px 14px; }
}

@media (max-width: 419px) {
	.header-actions .btn-cta { display: none; }
}


/* ==========================================================================
   8. MOBILE DRAWER
   ========================================================================== */

.mobile-drawer {
	position: fixed;
	top: 0; right: 0; bottom: 0;
	width: min(440px, 88vw);
	z-index: 200;
	background: var(--surface);
	color: var(--text);
	border-left: 1px solid var(--border);
	transform: translateX(100%);
	transition: transform var(--dur) var(--ease-out);
	overflow-y: auto;
	box-shadow: -30px 0 60px -20px rgba(8,15,30,0.3);
}

.mobile-drawer[aria-hidden="false"] { transform: translateX(0); }

.mobile-drawer__inner {
	padding: 24px 24px 36px;
	display: flex;
	flex-direction: column;
	gap: 24px;
	min-height: 100%;
}

.mobile-drawer__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-bottom: 18px;
	border-bottom: 1px solid var(--border);
}

.mobile-drawer__label {
	font-family: var(--pbis-font-body);
	font-size: var(--fs-xs);
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--text-mute);
}

.mobile-drawer__close {
	width: 44px;
	height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--bg-soft);
	color: var(--text);
	border-radius: 50%;
	border: 1px solid var(--border);
	transition: background var(--dur-fast) var(--ease-out),
	            border-color var(--dur-fast) var(--ease-out),
	            transform var(--dur-fast) var(--ease-out);
}

.mobile-drawer__close:hover {
	background: var(--accent);
	border-color: var(--accent);
	color: #fff;
	transform: rotate(90deg);
}

.mobile-drawer__close svg { width: 20px; height: 20px; }

.mobile-nav { margin-top: 0; }

.mobile-menu {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.mobile-menu a {
	display: block;
	padding: 14px 14px;
	font-family: var(--pbis-font-display);
	font-size: 1.375rem;
	font-weight: 600;
	color: var(--text);
	border-radius: var(--radius-sm);
	letter-spacing: -0.015em;
	transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}

.mobile-menu a:hover,
.mobile-menu .current-menu-item > a {
	background: var(--bg-soft);
	color: var(--accent);
}

.mobile-menu .sub-menu {
	padding-left: 14px;
	margin-top: 2px;
	margin-bottom: 6px;
	border-left: 2px solid var(--border);
}

.mobile-menu .sub-menu a {
	font-size: 1rem;
	padding: 10px 14px;
}

/* Mobile submenu accordion — parent row holds link + chevron toggle,
   the sub-menu drops onto the next row and collapses by default (when JS
   is active, so no-JS visitors still see the links). */
.mobile-menu .menu-item-has-children {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

.mobile-menu .menu-item-has-children > a {
	flex: 1 1 auto;
}

.mobile-menu .submenu-toggle {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	background: none;
	border: 0;
	color: var(--text);
	border-radius: var(--radius-sm);
	cursor: pointer;
	transition: background var(--dur-fast) var(--ease-out);
}

.mobile-menu .submenu-toggle:hover {
	background: var(--bg-soft);
}

.mobile-menu .submenu-toggle svg {
	width: 22px;
	height: 22px;
	transition: transform var(--dur) var(--ease-out);
}

.mobile-menu .menu-item.is-open > .submenu-toggle svg {
	transform: rotate(180deg);
}

.mobile-menu .sub-menu {
	flex-basis: 100%;
	width: 100%;
}

/* Collapse only when JS is available (progressive enhancement). */
html.js .mobile-menu .menu-item-has-children > .sub-menu {
	display: none;
}

html.js .mobile-menu .menu-item-has-children.is-open > .sub-menu {
	display: block;
}

.mobile-drawer__contact {
	margin-top: auto;
	padding-top: 20px;
	border-top: 1px solid var(--border);
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: var(--fs-sm);
	color: var(--text-soft);
}

.mobile-drawer__contact a { color: var(--text); font-weight: 500; }
.mobile-drawer__contact a:hover { color: var(--accent); }

/* Body lock when drawer open */
body.drawer-open { overflow: hidden; }

/* Backdrop */
.mobile-drawer-backdrop {
	position: fixed;
	inset: 0;
	z-index: 150;
	background: rgba(0,0,0,0.5);
	opacity: 0;
	pointer-events: none;
	transition: opacity var(--dur) var(--ease-out);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
}

.mobile-drawer-backdrop.is-visible {
	opacity: 1;
	pointer-events: auto;
}


/* ==========================================================================
   9. HERO
   ========================================================================== */

.hero {
	position: relative;
	min-height: clamp(680px, 100svh, 940px);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background:
		radial-gradient(ellipse 80% 60% at 50% 0%, #102447 0%, transparent 60%),
		radial-gradient(ellipse 70% 50% at 80% 100%, #0a1f3d 0%, transparent 55%),
		linear-gradient(175deg, #050810 0%, #0a1224 50%, #060a13 100%);
	color: var(--hero-text);
	isolation: isolate;
	padding-top: calc(var(--header-h) + 40px);
	padding-bottom: 60px;
}

.hero-video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	object-fit: cover;
	object-position: center;
	pointer-events: none;
}

.hero-video-veil {
	position: absolute;
	inset: 0;
	z-index: 2;
	background:
		linear-gradient(180deg, rgba(5, 8, 16, 0.65) 0%, rgba(5, 8, 16, 0.55) 40%, rgba(5, 8, 16, 0.8) 100%),
		radial-gradient(ellipse 70% 60% at 50% 50%, rgba(5, 8, 16, 0.2) 0%, rgba(5, 8, 16, 0.7) 100%);
	pointer-events: none;
}

/* Soft atmospheric tint — sits between the video and the orbs. */
.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 3;
	background:
		radial-gradient(circle at 18% 30%, rgba(31, 140, 255, 0.10), transparent 38%),
		radial-gradient(circle at 82% 70%, rgba(1, 96, 191, 0.12), transparent 42%);
	pointer-events: none;
}

/* Vignette — keeps the eye centered. */
.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 4;
	background: radial-gradient(ellipse 90% 90% at 50% 50%, transparent 55%, rgba(0,0,0,0.35) 100%);
	pointer-events: none;
}

.hero-orb {
	position: absolute;
	border-radius: 50%;
	filter: blur(90px);
	opacity: 0.35;
	z-index: 3;
	will-change: transform;
	animation: orb-drift 22s ease-in-out infinite alternate;
	pointer-events: none;
	mix-blend-mode: screen;
}

.hero-orb--a {
	top: -15%;
	left: -10%;
	width: 560px;
	height: 560px;
	background: radial-gradient(circle at 30% 30%, #2e7fd1, transparent 70%);
}

.hero-orb--b {
	bottom: -20%;
	right: -12%;
	width: 660px;
	height: 660px;
	background: radial-gradient(circle at 70% 70%, #0160BF, transparent 65%);
	animation-delay: -8s;
	animation-duration: 28s;
}

.hero-orb--c {
	top: 35%;
	left: 55%;
	width: 380px;
	height: 380px;
	background: radial-gradient(circle, rgba(121, 182, 255, 0.45), transparent 70%);
	animation-delay: -14s;
	animation-duration: 32s;
	opacity: 0.35;
}

@keyframes orb-drift {
	0%   { transform: translate3d(0,0,0) scale(1); }
	50%  { transform: translate3d(50px,-40px,0) scale(1.08); }
	100% { transform: translate3d(-40px,30px,0) scale(0.95); }
}

.hero-inner {
	position: relative;
	z-index: 5;
	text-align: center;
	max-width: 980px;
}

/* Hero badge — modern split design with animated conic-gradient border */
.hero-tag {
	display: inline-flex;
	align-items: stretch;
	position: relative;
	padding: 1px;
	border-radius: var(--radius-pill);
	margin-bottom: var(--space-6);
	background: linear-gradient(135deg, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0.04) 100%);
	overflow: hidden;
	isolation: isolate;
}

/* Animated conic-gradient sweep behind the badge */
.hero-tag::before {
	content: "";
	position: absolute;
	inset: -150%;
	z-index: -1;
	background: conic-gradient(
		from 0deg,
		transparent 0deg,
		rgba(120, 180, 255, 0.6) 90deg,
		transparent 180deg,
		rgba(54, 210, 127, 0.5) 270deg,
		transparent 360deg
	);
	animation: tag-sweep 6s linear infinite;
}

@keyframes tag-sweep {
	to { transform: rotate(360deg); }
}

.hero-tag__inner {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 9px 22px 9px 16px;
	border-radius: var(--radius-pill);
	background: rgba(8, 14, 26, 0.85);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	color: #fff;
	font-size: var(--fs-xs);
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.hero-tag__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #36d27f;
	box-shadow: 0 0 0 0 rgba(54, 210, 127, 0.7);
	animation: pulse-dot 2.4s ease-in-out infinite;
	flex-shrink: 0;
}

.hero-tag__divider {
	display: inline-block;
	width: 1px;
	height: 14px;
	background: rgba(255,255,255,0.2);
}

.hero-tag__city,
.hero-tag__since {
	display: inline-block;
	white-space: nowrap;
}

.hero-tag__city { color: #fff; }
.hero-tag__since { color: rgba(255,255,255,0.7); }

@keyframes pulse-dot {
	0%, 100% { box-shadow: 0 0 0 0 rgba(54,210,127,0.6); }
	50%      { box-shadow: 0 0 0 10px rgba(54,210,127,0); }
}

.hero-title {
	font-family: var(--pbis-font-display);
	font-size: var(--fs-5xl);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.04em;
	margin: 0 0 var(--space-6);
	color: var(--hero-text);
	text-wrap: balance;
	transition: transform 380ms var(--ease-out);
	will-change: transform;
}

.hero-title em {
	font-style: italic;
	background: linear-gradient(135deg, #79b6ff 0%, #ffffff 35%, #79b6ff 70%, #ffffff 100%);
	background-size: 200% 100%;
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	font-weight: 700;
	animation: title-shimmer 6s ease-in-out infinite;
}

@keyframes title-shimmer {
	0%, 100% { background-position: 0% 50%; }
	50%      { background-position: 100% 50%; }
}

/* Word-split entrance */
.hero-title .word {
	display: inline-block;
	overflow: hidden;
	vertical-align: bottom;
}
.hero-title .word > span {
	display: inline-block;
	transform: translateY(110%);
	opacity: 0;
	transition: transform 900ms var(--ease-out), opacity 900ms var(--ease-out);
	transition-delay: var(--word-delay, 0ms);
}
.hero-title.is-in .word > span {
	transform: translateY(0);
	opacity: 1;
}

.hero-sub {
	font-size: var(--fs-lg);
	line-height: 1.55;
	color: var(--hero-text-soft);
	max-width: 660px;
	margin: 0 auto var(--space-7);
	text-wrap: pretty;
}

.hero-cta {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	justify-content: center;
	margin-bottom: var(--space-8);
}

.hero-cta .btn-ghost {
	--btn-color: #fff;
	--btn-border: rgba(255,255,255,0.25);
	background: rgba(255,255,255,0.04);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

.hero-cta .btn-ghost:hover {
	--btn-border: rgba(255,255,255,0.55);
	background: rgba(255,255,255,0.08);
}

/* Hero meta stats — pinned with a top divider, generous breathing room */
.hero-meta {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 4px 16px;
	max-width: 760px;
	margin: 0 auto;
	padding-top: var(--space-6);
	border-top: 1px solid rgba(255,255,255,0.1);
	list-style: none;
}

@media (min-width: 720px) {
	.hero-meta { grid-template-columns: repeat(4, 1fr); gap: 0; }
}

.hero-meta__item,
.hero-meta li {
	padding: 18px 4px;
	text-align: center;
	position: relative;
}

@media (min-width: 720px) {
	.hero-meta li + li::before {
		content: "";
		position: absolute;
		left: 0;
		top: 25%;
		bottom: 25%;
		width: 1px;
		background: rgba(255,255,255,0.1);
	}
}

.hero-meta__num,
.hero-meta li strong {
	display: block;
	font-family: var(--pbis-font-display);
	font-size: clamp(1.6rem, 2.6vw, 2rem);
	font-weight: 700;
	color: #fff;
	letter-spacing: -0.03em;
	line-height: 1;
}

.hero-meta__label,
.hero-meta li span {
	display: block;
	font-size: var(--fs-xs);
	color: rgba(255,255,255,0.6);
	margin-top: 8px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	line-height: 1.3;
}

/* hero-scroll element removed from markup — was overlapping the meta stats. */


/* ==========================================================================
   10. TRUST STRIP (Marquee)
   ========================================================================== */

.trust-strip {
	position: relative;
	background: var(--marquee-bg);
	color: var(--marquee-text);
	overflow: hidden;
	border-block: 1px solid rgba(255,255,255,0.06);
	z-index: 5;
}

.trust-strip__track {
	display: flex;
	gap: 0;
	width: max-content;
	animation: marquee 38s linear infinite;
	will-change: transform;
}

.trust-strip__list {
	display: flex;
	gap: 48px;
	padding: 22px 24px;
	font-family: var(--pbis-font-display);
	font-size: 1.0625rem;
	font-weight: 500;
	letter-spacing: -0.01em;
	white-space: nowrap;
}

.trust-strip__list li {
	display: flex;
	align-items: center;
	gap: 48px;
}

.trust-strip__dot {
	display: inline-block;
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: var(--accent);
	opacity: 0.7;
}

@keyframes marquee {
	from { transform: translate3d(0,0,0); }
	to   { transform: translate3d(-50%,0,0); }
}

/* No hover pause — clients felt this looked broken because they'd hover and
   wonder why the band stopped. Continuous motion communicates "live" better. */


/* ==========================================================================
   11. SECTIONS (spacing rhythm)
   ========================================================================== */

.services-section,
.about-section,
.stats-section,
.industries-section,
.reviews-section,
.contact-section,
.post-list-section,
.service-related {
	padding-block: clamp(48px, 5.5vw, 88px);
	position: relative;
}

.about-section,
.industries-section { background: var(--bg-alt); }

.stats-section {
	background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
}

/* About has the BBB badge floating below — add buffer so it doesn't visually
   collide with the next section. */
.about-section { padding-bottom: clamp(72px, 7vw, 110px); }


/* ==========================================================================
   12. SERVICES
   ========================================================================== */

.services-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
}

@media (min-width: 640px) {
	.services-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 28px;
	}
}

@media (min-width: 1024px) {
	.services-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 30px;
	}
}

.service-card {
	position: relative;
	background: var(--card-bg);
	border: 1px solid var(--card-border);
	border-radius: var(--radius-lg);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform var(--dur) var(--ease-out),
	            box-shadow var(--dur) var(--ease-out),
	            border-color var(--dur) var(--ease-out);
	color: var(--text);
	height: 100%;
}

.service-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-lg);
	border-color: var(--accent);
}

.service-card__media {
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--bg-soft);
}

.service-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 900ms var(--ease-out);
}

.service-card:hover .service-card__media img { transform: scale(1.06); }

.service-card__media-veil {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(8,15,30,0.55) 100%);
}

.service-card__icon {
	position: absolute;
	top: 16px;
	left: 16px;
	width: 48px;
	height: 48px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba(255,255,255,0.12);
	border: 1px solid rgba(255,255,255,0.2);
	border-radius: var(--radius-md);
	color: #fff;
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}

.service-card__icon svg {
	width: 24px;
	height: 24px;
}

.service-card__body {
	padding: 22px 24px 26px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 1;
}

.service-card__title {
	font-family: var(--pbis-font-display);
	font-size: 1.25rem;
	line-height: 1.25;
	letter-spacing: -0.02em;
	color: var(--text);
	margin: 0;
}

.service-card__tagline {
	color: var(--text-soft);
	font-size: var(--fs-sm);
	line-height: 1.6;
	margin: 0;
	flex: 1;
}

.service-card__arrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 8px;
	color: var(--accent);
	font-weight: 600;
	font-size: var(--fs-sm);
}

.service-card__arrow svg {
	width: 18px;
	height: 18px;
	transition: transform var(--dur) var(--ease-out);
}

.service-card:hover .service-card__arrow svg { transform: translateX(6px); }

/* Compact services list (used on Services archive page) — same as default now */
.services-grid--compact { gap: 28px; }
.services-grid--compact .service-card__media { aspect-ratio: 16 / 10; }

/* Legacy modifier — kept as no-op so older markup still renders cleanly */
.service-card--feature,
.service-card--small { /* uniform sizing — no override needed */ }


/* ==========================================================================
   12-b. RELATED SERVICES CARDS (icon-only, no hero image)
   Used on single service pages.
   ========================================================================== */

.related-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
}

@media (min-width: 640px) {
	.related-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

@media (min-width: 1024px) {
	.related-grid { grid-template-columns: repeat(4, 1fr); }
}

.related-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 28px 26px 26px;
	background: var(--card-bg);
	border: 1px solid var(--card-border);
	border-radius: var(--radius-lg);
	color: var(--text);
	transition: transform 420ms var(--ease-out),
	            box-shadow 420ms var(--ease-out),
	            border-color 420ms var(--ease-out);
	overflow: hidden;
	height: 100%;
}

.related-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-lg);
	border-color: var(--accent);
}

.related-card__icon {
	width: 48px;
	height: 48px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--pbis-brand-50);
	color: var(--accent);
	border-radius: var(--radius-md);
	flex-shrink: 0;
}

[data-theme="dark"] .related-card__icon { background: rgba(1,96,191,0.18); }

.related-card__icon svg { width: 24px; height: 24px; display: block; }

.related-card__title {
	font-family: var(--pbis-font-display);
	font-size: 1.2rem;
	line-height: 1.25;
	letter-spacing: -0.02em;
	margin: 0;
	color: var(--text);
}

.related-card__tagline {
	margin: 0;
	color: var(--text-soft);
	font-size: var(--fs-sm);
	line-height: 1.55;
	flex: 1;
}

.related-card__arrow {
	display: inline-flex;
	align-items: center;
	color: var(--accent);
	margin-top: 4px;
}

.related-card__arrow svg {
	width: 18px;
	height: 18px;
	transition: transform var(--dur) var(--ease-out);
}

.related-card:hover .related-card__arrow svg {
	transform: translateX(6px);
}


/* ==========================================================================
   13. ABOUT
   ========================================================================== */

.about-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 48px;
	align-items: center;
}

@media (min-width: 960px) {
	.about-grid {
		grid-template-columns: 1.1fr 1fr;
		gap: 80px;
	}
}

.about-content { max-width: 580px; }

.about-lead {
	font-size: var(--fs-md);
	line-height: 1.7;
	color: var(--text-soft);
	margin-bottom: var(--space-6);
}

.about-list {
	display: grid;
	gap: 18px;
	margin-bottom: var(--space-6);
}

.about-list li {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	color: var(--text);
}

.about-list li > svg {
	flex-shrink: 0;
	width: 24px;
	height: 24px;
	padding: 4px;
	border-radius: 50%;
	background: var(--pbis-brand-50);
	color: var(--accent);
	margin-top: 2px;
	box-sizing: content-box;
}

[data-theme="dark"] .about-list li > svg { background: rgba(1,96,191,0.18); }

.about-list li > div { display: flex; flex-direction: column; gap: 2px; }

.about-list li strong {
	font-family: var(--pbis-font-display);
	font-size: 1.05rem;
	font-weight: 600;
	color: var(--text);
	letter-spacing: -0.01em;
}

.about-list li span {
	color: var(--text-soft);
	font-size: var(--fs-sm);
	line-height: 1.55;
}

.about-photo figcaption {
	position: absolute;
	left: 16px;
	bottom: 16px;
	padding: 10px 14px;
	background: rgba(8,15,30,0.65);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	border-radius: var(--radius-sm);
	color: #fff;
	font-size: var(--fs-xs);
	display: flex;
	flex-direction: column;
	gap: 2px;
	max-width: 60%;
}

.about-photo figcaption strong {
	font-family: var(--pbis-font-display);
	font-size: 0.95rem;
	font-weight: 600;
	letter-spacing: -0.01em;
	color: #fff;
}

.about-photo figcaption span {
	color: rgba(255,255,255,0.72);
	letter-spacing: 0.02em;
	font-size: 0.75rem;
}

.about-ctas {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.about-media {
	position: relative;
}

.about-photo {
	position: relative;
	border-radius: var(--radius-xl);
	overflow: hidden;
	box-shadow: var(--shadow-lg);
	aspect-ratio: 4 / 5;
	background: var(--bg-soft);
}

.about-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.about-shape {
	position: absolute;
	inset: -22px auto auto -22px;
	width: 200px;
	height: 200px;
	border: 1px solid var(--accent);
	border-radius: var(--radius-xl);
	z-index: -1;
	opacity: 0.35;
}

.about-badge {
	position: absolute;
	bottom: -32px;
	right: -18px;
	background: var(--surface);
	padding: 12px 16px;
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-lg);
	border: 1px solid var(--border);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0;
	z-index: 2;
}

.about-badge img {
	height: 64px;
	width: auto;
	display: block;
}

@media (max-width: 540px) {
	.about-badge { right: 12px; bottom: -22px; padding: 8px 12px; }
	.about-badge img { height: 50px; }
}


/* ==========================================================================
   14. STATS
   ========================================================================== */

.stats-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 28px;
	text-align: center;
}

@media (min-width: 760px) {
	.stats-grid { grid-template-columns: repeat(4, 1fr); }
}

.stat {
	padding: 24px 12px;
	border-radius: var(--radius-lg);
	background: var(--surface);
	border: 1px solid var(--border-soft);
	transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}

.stat:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-md);
}

.stat-num {
	display: block;
	font-family: var(--pbis-font-display);
	font-size: clamp(2.4rem, 4.4vw, 3.6rem);
	font-weight: 700;
	color: var(--accent);
	letter-spacing: -0.04em;
	line-height: 1;
}

.stat-label {
	display: block;
	margin-top: 10px;
	font-size: var(--fs-sm);
	color: var(--text-mute);
	letter-spacing: 0.04em;
	text-transform: uppercase;
}


/* ==========================================================================
   15. INDUSTRIES
   ========================================================================== */

.industries-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 18px;
}

@media (min-width: 600px) { .industries-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .industries-grid { grid-template-columns: repeat(3, 1fr); } }

.industry-card {
	padding: 32px 28px;
	background: var(--surface);
	border: 1px solid var(--border-soft);
	border-radius: var(--radius-lg);
	transition: transform var(--dur) var(--ease-out),
	            box-shadow var(--dur) var(--ease-out),
	            border-color var(--dur) var(--ease-out);
	position: relative;
	overflow: hidden;
}

.industry-card::after {
	content: "";
	position: absolute;
	inset: auto -40% -60% auto;
	width: 200px;
	height: 200px;
	background: radial-gradient(circle, rgba(1,96,191,0.15), transparent 70%);
	opacity: 0;
	transition: opacity var(--dur) var(--ease-out);
}

.industry-card:hover {
	transform: translateY(-4px);
	border-color: var(--accent);
	box-shadow: var(--shadow-md);
}

.industry-card:hover::after { opacity: 1; }

.industry-card__icon {
	width: 56px;
	height: 56px;
	border-radius: var(--radius-md);
	background: var(--pbis-brand-50);
	color: var(--accent);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 18px;
}

[data-theme="dark"] .industry-card__icon { background: rgba(1,96,191,0.18); }

.industry-card__icon svg { width: 28px; height: 28px; }

.industry-card__title {
	font-family: var(--pbis-font-display);
	font-size: 1.3rem;
	margin: 0 0 8px;
}

.industry-card__desc {
	margin: 0;
	color: var(--text-soft);
	font-size: var(--fs-sm);
	line-height: 1.6;
}


/* ==========================================================================
   16. REVIEWS
   ========================================================================== */

.reviews-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 18px;
	padding: clamp(40px, 6vw, 72px) clamp(28px, 5vw, 64px);
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-xl);
	box-shadow: var(--shadow-md);
	position: relative;
	overflow: hidden;
	max-width: 880px;
	margin: 0 auto;
}

/* Decorative giant quotation mark in the corner */
.reviews-card::before {
	content: "\201C";
	position: absolute;
	top: -40px;
	left: 24px;
	font-family: var(--pbis-font-display);
	font-size: 18rem;
	line-height: 1;
	color: var(--accent);
	opacity: 0.06;
	pointer-events: none;
	font-weight: 700;
}

/* Subtle gradient glow in the opposite corner */
.reviews-card::after {
	content: "";
	position: absolute;
	bottom: -80px;
	right: -80px;
	width: 320px;
	height: 320px;
	background: radial-gradient(circle, rgba(1,96,191,0.18), transparent 70%);
	border-radius: 50%;
	pointer-events: none;
}

.reviews-card > * { position: relative; z-index: 1; }

.reviews-card__google {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 8px 18px 8px 14px;
	border-radius: var(--radius-pill);
	background: var(--bg-alt);
	border: 1px solid var(--border);
	font-size: var(--fs-xs);
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--text-soft);
}

.reviews-card__google::after {
	content: "Verified on Google";
}

.reviews-card__google svg { height: 22px; width: auto; }

.reviews-card__stars {
	display: inline-flex;
	gap: 6px;
	color: #fbbc04;
	margin: 4px 0 8px;
}

.reviews-card__stars svg { width: 26px; height: 26px; fill: currentColor; }

.reviews-card__title {
	font-family: var(--pbis-font-display);
	font-size: clamp(1.5rem, 2.6vw, 2rem);
	letter-spacing: -0.025em;
	margin: 0;
	color: var(--text);
	max-width: 580px;
	line-height: 1.2;
}

.reviews-card__text {
	margin: 0;
	color: var(--text-soft);
	font-size: var(--fs-md);
	line-height: 1.65;
	max-width: 560px;
}

.reviews-card__body {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 18px;
	width: 100%;
}


/* ==========================================================================
   17. CONTACT FORM
   ========================================================================== */

.contact-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 48px;
}

@media (min-width: 960px) {
	.contact-grid {
		grid-template-columns: 0.9fr 1.1fr;
		gap: 64px;
	}
}

.contact-meta {
	display: grid;
	gap: 22px;
	margin-top: var(--space-7);
	list-style: none;
	padding: 0;
}

.contact-meta li {
	display: flex;
	gap: 18px;
	align-items: center;
}

.contact-meta__icon {
	flex-shrink: 0;
	width: 48px;
	height: 48px;
	border-radius: var(--radius-md);
	background: var(--pbis-brand-50);
	color: var(--accent);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

[data-theme="dark"] .contact-meta__icon { background: rgba(1,96,191,0.16); }

.contact-meta__icon svg { width: 22px; height: 22px; display: block; }

.contact-meta li > div {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.contact-meta li strong {
	display: block;
	font-family: var(--pbis-font-display);
	font-size: var(--fs-base);
	font-weight: 600;
	color: var(--text);
	letter-spacing: -0.01em;
}

.contact-meta li span,
.contact-meta li a {
	display: block;
	font-size: var(--fs-sm);
	color: var(--text-soft);
	line-height: 1.5;
}

.contact-meta li a:hover { color: var(--accent); }

/* Form */
.contact-form {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-xl);
	padding: clamp(28px, 4vw, 48px);
	box-shadow: var(--shadow-md);
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.form-row {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
}

@media (min-width: 600px) {
	.form-row--double { grid-template-columns: 1fr 1fr; }
}

.form-row--align-end { align-items: end; }

.field {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.field__label {
	font-size: var(--fs-xs);
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--text-mute);
}

.field input,
.field select,
.field textarea {
	width: 100%;
	padding: 14px 16px;
	background: var(--bg-alt);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	color: var(--text);
	font-size: var(--fs-base);
	font-family: inherit;
	transition: border-color var(--dur-fast) var(--ease-out),
	            background var(--dur-fast) var(--ease-out),
	            box-shadow var(--dur-fast) var(--ease-out);
}

.field textarea {
	resize: vertical;
	min-height: 130px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
	outline: none;
	border-color: var(--accent);
	background: var(--surface);
	box-shadow: 0 0 0 4px rgba(1,96,191,0.12);
}

/* ---- Inline validation states ---- */
.field.has-error input,
.field.has-error select,
.field.has-error textarea {
	border-color: #e0384d;
	background: rgba(224,56,77,0.04);
}

.field.has-error input:focus,
.field.has-error select:focus,
.field.has-error textarea:focus {
	border-color: #e0384d;
	box-shadow: 0 0 0 4px rgba(224,56,77,0.14);
}

.field__error {
	display: block;
	min-height: 0;
	margin-top: 6px;
	font-size: var(--fs-xs);
	font-weight: 600;
	line-height: 1.35;
	color: #e0384d;
}

.field.has-error .field__error {
	animation: field-error-in 240ms var(--ease-out);
}

@keyframes field-error-in {
	from { opacity: 0; transform: translateY(-3px); }
	to   { opacity: 1; transform: translateY(0); }
}

[data-theme="dark"] .field__error { color: #ff7a8a; }
[data-theme="dark"] .field.has-error input,
[data-theme="dark"] .field.has-error select,
[data-theme="dark"] .field.has-error textarea {
	border-color: #ff7a8a;
	background: rgba(255,122,138,0.06);
}

.field select {
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%235f6979' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 18px;
	padding-right: 44px;
}

.form-submit {
	width: 100%;
	min-height: 56px;
}

@media (min-width: 600px) {
	.form-submit { width: auto; }
}

.form-submit[disabled] {
	opacity: 0.7;
	cursor: progress;
}

.form-submit.is-loading .form-submit__label::after {
	content: "…";
	display: inline-block;
	animation: dots 1.2s steps(4) infinite;
}

@keyframes dots {
	0%   { content: ""; }
	33%  { content: "."; }
	66%  { content: ".."; }
	100% { content: "..."; }
}

.hp-field {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.form-response {
	font-size: var(--fs-sm);
	min-height: 24px;
	padding: 0;
	transition: padding var(--dur) var(--ease-out);
}

.form-response.is-success {
	color: #1d7a3f;
	background: rgba(54, 210, 127, 0.08);
	border: 1px solid rgba(54, 210, 127, 0.3);
	border-radius: var(--radius-md);
	padding: 14px 18px;
}

.form-response.is-error {
	color: #b71d2f;
	background: rgba(229, 62, 62, 0.08);
	border: 1px solid rgba(229, 62, 62, 0.3);
	border-radius: var(--radius-md);
	padding: 14px 18px;
}

[data-theme="dark"] .form-response.is-success { color: #6deba0; }
[data-theme="dark"] .form-response.is-error { color: #ff7a8a; }


/* ==========================================================================
   18. FOOTER
   ========================================================================== */

.site-footer {
	background: var(--pbis-ink-950);
	color: rgba(255,255,255,0.78);
	position: relative;
	overflow: hidden;
}

.footer-cta {
	padding: clamp(40px, 6vw, 72px) 0;
	background: linear-gradient(135deg, var(--pbis-brand) 0%, #014e9a 100%);
	color: #fff;
	position: relative;
	overflow: hidden;
}

.footer-cta::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 20% 30%, rgba(255,255,255,0.18), transparent 50%),
		radial-gradient(circle at 80% 70%, rgba(255,255,255,0.1), transparent 50%);
	pointer-events: none;
}

.footer-cta__inner {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
	align-items: center;
	position: relative;
	z-index: 1;
}

@media (min-width: 760px) {
	.footer-cta__inner {
		grid-template-columns: 1fr auto;
		gap: 48px;
	}
}

.footer-cta__title {
	font-family: var(--pbis-font-display);
	font-size: clamp(1.6rem, 3vw, 2.5rem);
	font-weight: 800;
	color: #fff;
	letter-spacing: -0.03em;
	margin: 0 0 8px;
	line-height: 1.12;
}

.footer-cta__sub {
	color: rgba(255,255,255,0.85);
	font-size: var(--fs-md);
	margin: 0;
}

.footer-cta .btn-primary {
	--btn-bg: #fff;
	--btn-color: var(--pbis-brand);
	--btn-border: #fff;
	box-shadow: 0 12px 30px -10px rgba(0,0,0,0.3);
}

.footer-cta .btn-primary:hover {
	--btn-bg: #f3f5f8;
	--btn-color: var(--pbis-brand);
}

.footer-main { padding: 80px 0 56px; }

.footer-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 40px;
}

@media (min-width: 600px) {
	.footer-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}

@media (min-width: 1024px) {
	.footer-grid {
		grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
		gap: 48px;
	}
}

.footer-brand .brand-logo img {
	height: 48px;
	width: auto;
	margin-bottom: 16px;
}

.footer-tagline {
	color: rgba(255,255,255,0.65);
	font-size: var(--fs-sm);
	line-height: 1.65;
	margin: 0 0 24px;
	max-width: 320px;
}

.footer-bbb {
	height: 70px;
	width: auto;
	display: block;
}

.footer-title {
	font-family: var(--pbis-font-display);
	font-size: var(--fs-base);
	color: #fff;
	margin: 0 0 18px;
	letter-spacing: -0.01em;
}

.footer-links {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.footer-links a {
	color: rgba(255,255,255,0.68);
	font-size: var(--fs-sm);
	transition: color var(--dur-fast) var(--ease-out), padding-left var(--dur-fast) var(--ease-out);
	display: inline-flex;
	align-items: center;
}

.footer-links a:hover {
	color: #fff;
	padding-left: 6px;
}

.footer-contact { font-style: normal; }

.footer-contact-row {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: var(--fs-sm);
	color: rgba(255,255,255,0.72);
	margin: 0 0 12px;
}

.footer-contact-row--top { align-items: flex-start; }

.footer-contact-row svg {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	color: var(--pbis-brand-400);
	margin-top: 2px;
}

.footer-contact-row a { color: rgba(255,255,255,0.92); }
.footer-contact-row a:hover { color: var(--pbis-brand-400); }

.footer-social {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 22px;
}

.footer-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(255,255,255,0.06);
	color: #fff;
	border: 1px solid rgba(255,255,255,0.1);
	transition: background var(--dur-fast) var(--ease-out),
	            transform var(--dur-fast) var(--ease-out),
	            border-color var(--dur-fast) var(--ease-out);
}

.footer-social a svg { width: 18px; height: 18px; }

.footer-social a:hover {
	background: var(--pbis-brand);
	border-color: var(--pbis-brand);
	color: #fff;
	transform: translateY(-2px);
}

.footer-bar {
	padding: 22px 0;
	border-top: 1px solid rgba(255,255,255,0.08);
	background: #04060a;
}

.footer-bar__inner {
	display: flex;
	flex-direction: column;
	gap: 8px;
	align-items: center;
	text-align: center;
	font-size: var(--fs-xs);
	color: rgba(255,255,255,0.58);
}

@media (min-width: 720px) {
	.footer-bar__inner {
		flex-direction: row;
		justify-content: space-between;
		text-align: left;
	}
}

.footer-meta {
	display: inline-flex;
	gap: 8px;
	align-items: center;
}

.footer-meta a { color: rgba(255,255,255,0.7); }
.footer-meta a:hover { color: #fff; }


/* ==========================================================================
   19. PAGE HERO (inner pages)
   ========================================================================== */

.page-hero {
	position: relative;
	padding: calc(var(--header-h) + 80px) 0 80px;
	background: linear-gradient(170deg, var(--hero-bg-1) 0%, var(--hero-bg-2) 100%);
	color: #fff;
	overflow: hidden;
	isolation: isolate;
}

.page-hero__inner {
	position: relative;
	z-index: 2;
	max-width: 820px;
}

.page-hero__title {
	font-family: var(--pbis-font-display);
	font-size: clamp(2.2rem, 4.4vw, 3.75rem);
	font-weight: 800;
	letter-spacing: -0.035em;
	line-height: 1.06;
	color: #fff;
	margin: 0 0 var(--space-5);
	text-wrap: balance;
}

.page-hero__title em {
	font-style: italic;
	background: linear-gradient(135deg, #79b6ff, #fff);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	font-weight: 700;
}

.page-hero .section-eyebrow { color: var(--pbis-brand-400); }

.page-hero .section-lead {
	color: rgba(255,255,255,0.78);
	font-size: var(--fs-lg);
	max-width: 680px;
}


/* ==========================================================================
   20. SERVICE SINGLE
   ========================================================================== */

.service-hero {
	position: relative;
	padding: calc(var(--header-h) + 80px) 0 96px;
	color: #fff;
	background-color: #0a0d12;
	background-image: var(--svc-bg);
	background-size: cover;
	background-position: center;
	overflow: hidden;
	isolation: isolate;
}

.service-hero__veil {
	position: absolute;
	inset: 0;
	background: linear-gradient(125deg, rgba(6,9,14,0.92) 0%, rgba(6,9,14,0.7) 55%, rgba(1,96,191,0.55) 100%);
	z-index: 1;
}

.service-hero__inner {
	position: relative;
	z-index: 2;
	max-width: 820px;
}

.service-hero__icon {
	width: 56px;
	height: 56px;
	border-radius: var(--radius-md);
	background: rgba(255,255,255,0.1);
	border: 1px solid rgba(255,255,255,0.2);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	margin-bottom: 22px;
}

.service-hero__icon svg { width: 28px; height: 28px; }

.service-hero__title {
	font-family: var(--pbis-font-display);
	font-size: clamp(2.2rem, 4.4vw, 3.75rem);
	font-weight: 800;
	letter-spacing: -0.035em;
	line-height: 1.06;
	color: #fff;
	margin: 0 0 var(--space-4);
}

.service-hero__sub {
	font-size: var(--fs-lg);
	color: rgba(255,255,255,0.85);
	max-width: 680px;
	margin: 0 0 var(--space-6);
	line-height: 1.55;
}

.service-hero__cta {
	display: inline-flex;
	gap: 14px;
	flex-wrap: wrap;
}

.service-hero__cta .btn-ghost {
	--btn-color: #fff;
	--btn-border: rgba(255,255,255,0.3);
	background: rgba(255,255,255,0.04);
}

.service-hero__cta .btn-ghost:hover {
	--btn-border: rgba(255,255,255,0.6);
}

.breadcrumbs {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-bottom: 24px;
	font-size: var(--fs-sm);
	color: rgba(255,255,255,0.7);
}

.breadcrumbs a {
	color: rgba(255,255,255,0.7);
	transition: color var(--dur-fast) var(--ease-out);
}

.breadcrumbs a:hover { color: #fff; }

.breadcrumbs span[aria-current] { color: #fff; font-weight: 500; }

.service-body {
	padding: clamp(60px, 8vw, 100px) 0;
}

.service-body .container {
	max-width: 820px;
}

.service-related { background: var(--bg-alt); }


/* ==========================================================================
   21. PROSE (article body)
   ========================================================================== */

.prose {
	font-size: var(--fs-md);
	line-height: 1.75;
	color: var(--text);
}

.prose > * + * { margin-top: 1.25em; }

.prose h2,
.prose h3,
.prose h4 {
	font-family: var(--pbis-font-display);
	letter-spacing: -0.02em;
	margin-top: 1.8em;
	margin-bottom: 0.6em;
}

.prose h2 { font-size: 1.875rem; }
.prose h3 { font-size: 1.4rem; }
.prose h4 { font-size: 1.15rem; }

.prose p { color: var(--text-soft); }

.prose ul,
.prose ol {
	padding-left: 1.5em;
	color: var(--text-soft);
}

.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin: 0.4em 0; }
.prose li::marker { color: var(--accent); }

.prose a {
	color: var(--accent);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.prose a:hover { color: var(--accent-hover); }

.prose blockquote {
	border-left: 3px solid var(--accent);
	padding: 8px 0 8px 20px;
	color: var(--text);
	font-style: italic;
	font-size: 1.1em;
}

.prose img,
.prose figure { border-radius: var(--radius-md); margin: 1.5em 0; }

.prose code {
	background: var(--bg-soft);
	padding: 2px 6px;
	border-radius: 4px;
	font-size: 0.9em;
}

.prose pre {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	padding: 16px;
	overflow-x: auto;
}

.prose hr {
	margin: 2.5em 0;
	border: 0;
	height: 1px;
	background: var(--border);
}

/* -- Funding & Financing — partner logo grid (Lenders & Processors) -- */
.partner-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 18px;
	margin: 1.5rem 0 2.5rem;
	padding: 0;
	list-style: none;
}

.partner-card {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 116px;
	padding: 22px 26px;
	background: #ffffff;
	border: 1px solid var(--card-border);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
	text-decoration: none;
	transition: transform var(--dur) var(--ease-out),
		box-shadow var(--dur) var(--ease-out),
		border-color var(--dur) var(--ease-out);
}

/* Dark tile for white / light-colored logos (e.g. PayDivy). */
.partner-card--dark {
	background: #000000;
	border-color: rgba(255, 255, 255, 0.14);
}

a.partner-card:hover,
a.partner-card:focus-visible {
	transform: translateY(-4px);
	box-shadow: var(--shadow-md);
	border-color: var(--accent);
	outline: none;
}

.partner-card__logo {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 58px;
	object-fit: contain;
}

.partner-card__name {
	font-weight: 600;
	font-size: 0.95rem;
	color: var(--text);
	text-align: center;
}

.partner-card--dark .partner-card__name {
	color: #ffffff;
}

@media (max-width: 600px) {
	.partner-grid {
		grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
		gap: 12px;
	}
	.partner-card {
		min-height: 92px;
		padding: 16px 18px;
	}
	.partner-card__logo {
		max-height: 44px;
	}
}


/* ==========================================================================
   22. BLOG (index / single)
   ========================================================================== */

.post-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 30px;
}

@media (min-width: 700px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }

.post-card {
	background: var(--card-bg);
	border: 1px solid var(--card-border);
	border-radius: var(--radius-lg);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}

.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.post-card__media {
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--bg-soft);
}

.post-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 700ms var(--ease-out);
}

.post-card:hover .post-card__media img { transform: scale(1.05); }

.post-card__body { padding: 24px 24px 28px; flex: 1; display: flex; flex-direction: column; gap: 10px; }

.post-card__title {
	font-family: var(--pbis-font-display);
	font-size: 1.2rem;
	margin: 0;
	line-height: 1.3;
}

.post-card__title a { color: var(--text); }
.post-card__title a:hover { color: var(--accent); }

.post-card__meta {
	font-size: var(--fs-xs);
	color: var(--text-mute);
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.post-card__excerpt {
	color: var(--text-soft);
	font-size: var(--fs-sm);
	line-height: 1.6;
	margin: 0;
	flex: 1;
}

.post-card__more {
	color: var(--accent);
	font-weight: 600;
	font-size: var(--fs-sm);
	margin-top: 6px;
}

.single-post__hero {
	padding: calc(var(--header-h) + 60px) 0 40px;
	background: var(--bg-alt);
	border-bottom: 1px solid var(--border);
}

.single-post__body { padding: 60px 0 80px; }
.single-post__body .container { max-width: 820px; }
.single-post__comments { padding: 0 0 80px; }
.single-post__comments .container { max-width: 820px; }

/* Pagination */
.pagination,
.posts-pagination {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin-top: 48px;
}

.pagination a,
.pagination span,
.posts-pagination a,
.posts-pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 14px;
	border-radius: var(--radius-sm);
	background: var(--surface);
	border: 1px solid var(--border);
	font-size: var(--fs-sm);
	font-weight: 500;
	color: var(--text);
	transition: background var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}

.pagination .current,
.posts-pagination .current {
	background: var(--accent);
	color: #fff;
	border-color: var(--accent);
}

.pagination a:hover,
.posts-pagination a:hover {
	border-color: var(--accent);
	color: var(--accent);
}

/* Comments */
.comments-title { font-family: var(--pbis-font-display); font-size: 1.4rem; margin-bottom: 18px; }
.comment-list { display: flex; flex-direction: column; gap: 18px; margin-bottom: 30px; }
.comment-list li { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 18px 20px; }
.comment-meta { font-size: var(--fs-xs); color: var(--text-mute); margin-bottom: 8px; }
.comment-form { display: grid; gap: 16px; }
.comment-form label { font-size: var(--fs-xs); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-mute); }
.comment-form input,
.comment-form textarea {
	width: 100%; padding: 12px 14px;
	background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius-md);
	color: var(--text); font: inherit;
}
.comment-form input:focus, .comment-form textarea:focus {
	outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(1,96,191,0.12);
}


/* ==========================================================================
   23. 404 / EMPTY STATES
   ========================================================================== */

.error-404,
.empty-state {
	padding: calc(var(--header-h) + 80px) 0 100px;
	text-align: center;
	min-height: 70vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.error-404__num {
	font-family: var(--pbis-font-display);
	font-size: clamp(7rem, 18vw, 14rem);
	font-weight: 800;
	line-height: 0.9;
	letter-spacing: -0.05em;
	background: linear-gradient(135deg, var(--pbis-brand) 0%, #79b6ff 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	margin-bottom: 12px;
}

.error-404__title,
.empty-state__title {
	font-family: var(--pbis-font-display);
	font-size: clamp(1.5rem, 3vw, 2.2rem);
	margin: 0 0 14px;
}

.error-404__lead,
.empty-state__lead {
	max-width: 520px;
	color: var(--text-soft);
	margin: 0 auto 30px;
	font-size: var(--fs-md);
}


/* ==========================================================================
   24. REVEAL ANIMATIONS
   ========================================================================== */

[data-reveal] {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out);
	transition-delay: var(--reveal-delay, 0ms);
	will-change: opacity, transform;
}

[data-reveal].is-in {
	opacity: 1;
	transform: translateY(0);
}


/* ==========================================================================
   25. WORDPRESS-SPECIFIC
   ========================================================================== */

.alignleft  { float: left; margin: 4px 24px 24px 0; }
.alignright { float: right; margin: 4px 0 24px 24px; }
.aligncenter { display: block; margin-inline: auto; }
.alignwide { max-width: 1100px; margin-inline: auto; }
.alignfull { max-width: 100%; }
.wp-caption-text, figcaption {
	font-size: var(--fs-xs);
	color: var(--text-mute);
	text-align: center;
	margin-top: 8px;
}
.gallery {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 12px;
	margin: 24px 0;
}
.sticky { position: relative; }
.bypostauthor { /* placeholder for WP standards */ }


/* ==========================================================================
   26. REDUCED MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
	/* We still let core layout animations run, just dial them down. Killing
	   ALL animation makes the page feel broken (marquee stops mid-scroll,
	   hero badge dot freezes, etc.) — that's worse than the accessibility
	   reason we'd be doing it for. */

	html { scroll-behavior: auto !important; }

	/* Kill the most decorative loops only */
	.hero-orb,
	.hero-tag::before,
	.about-badge {
		animation: none !important;
	}

	/* Reveal effects: show immediately, no slide */
	[data-reveal] {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}

	[data-stagger] > * {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}

	.hero-title .word > span {
		opacity: 1 !important;
		transform: none !important;
	}

	/* Marquee: slow but don't stop */
	.trust-strip__track { animation-duration: 90s !important; }

	/* Scroll progress bar still updates because it's transform-driven */
}


/* ==========================================================================
   27. PRINT
   ========================================================================== */

@media print {
	.site-header,
	.site-footer,
	.mobile-drawer,
	.hero-video,
	.hero-video-veil,
	.hero-orb,
	.trust-strip,
	.footer-cta { display: none !important; }
	body { color: #000; background: #fff; }
	.hero, .page-hero, .service-hero { background: #fff !important; color: #000 !important; padding: 20px 0 !important; }
	.hero-title, .page-hero__title, .service-hero__title { color: #000 !important; }
}


/* ==========================================================================
   28. PAGE BODY (default page.php template)
   ========================================================================== */

.container--narrow {
	max-width: 820px;
}

.page-body {
	padding: clamp(50px, 8vw, 90px) 0 clamp(60px, 8vw, 100px);
}

.page-body__hero {
	margin: 0 0 36px;
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-md);
}

.page-body__hero img {
	width: 100%;
	height: auto;
	display: block;
}

.page-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	margin: 40px 0;
	font-size: var(--fs-sm);
	color: var(--text-mute);
}

.page-links a,
.page-links > span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	padding: 0 12px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	color: var(--text);
	font-weight: 500;
}

.page-links a:hover {
	border-color: var(--accent);
	color: var(--accent);
}


/* ==========================================================================
   29. UTILITIES
   ========================================================================== */

.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }


/* ==========================================================================
   30. SCROLL PROGRESS BAR
   ========================================================================== */

.scroll-progress {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	z-index: 999;
	background: linear-gradient(90deg, var(--pbis-brand) 0%, #79b6ff 50%, var(--pbis-brand) 100%);
	background-size: 200% 100%;
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 60ms linear;
	box-shadow: 0 0 12px rgba(1, 96, 191, 0.6);
	animation: progress-shimmer 3s linear infinite;
	pointer-events: none;
}

@keyframes progress-shimmer {
	to { background-position: -200% 0; }
}


/* ==========================================================================
   33. MAP SECTION (contact page)
   ========================================================================== */

.map-section {
	padding-block: clamp(48px, 5.5vw, 88px);
	background: var(--bg-alt);
}

.map-frame {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	max-height: 560px;
	border-radius: var(--radius-xl);
	overflow: hidden;
	box-shadow: var(--shadow-lg);
	border: 1px solid var(--border);
	background: var(--surface);
}

@media (max-width: 640px) {
	.map-frame { aspect-ratio: 4 / 5; max-height: none; }
}

.map-frame iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
	/* In dark mode, fade the map slightly to match the theme */
	transition: filter var(--dur) var(--ease-out);
}

[data-theme="dark"] .map-frame iframe {
	filter: invert(0.92) hue-rotate(180deg) brightness(0.95) contrast(0.9) saturate(0.7);
}


/* ==========================================================================
   34. SMOOTH SCROLL — enhanced reveal animations
   ========================================================================== */

/* Staggered direction variants for [data-reveal] */
[data-reveal="left"]  { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="up"],
[data-reveal=""],
[data-reveal] { /* default */ }

[data-reveal="left"].is-in,
[data-reveal="right"].is-in {
	transform: translateX(0);
}

[data-reveal="scale"] {
	transform: scale(0.92);
}

[data-reveal="scale"].is-in {
	transform: scale(1);
}

/* Children-stagger: any element with data-stagger will reveal its direct
   children one after another based on --stagger-step (default 80ms). */
[data-stagger] > * {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
	transition-delay: calc(var(--i, 0) * var(--stagger-step, 80ms));
}

[data-stagger].is-in > * {
	opacity: 1;
	transform: translateY(0);
}


/* ==========================================================================
   31. SECTION HEAD — FEATURE VARIANT (richer typographic design)
   ========================================================================== */

.section-head--feature {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
	align-items: end;
	max-width: none;
	position: relative;
	padding-top: 24px;
	margin-bottom: var(--space-7);
}

@media (min-width: 900px) {
	.section-head--feature {
		grid-template-columns: 1fr 1fr;
		gap: 56px;
	}
}

/* Accent line + counter sit above-left, span the grid */
.section-head--feature::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 64px;
	height: 2px;
	background: linear-gradient(90deg, var(--accent), transparent);
}

.section-head__counter {
	position: absolute;
	top: 14px;
	right: 0;
	font-family: var(--pbis-font-display);
	font-size: var(--fs-sm);
	font-weight: 600;
	color: var(--text-mute);
	letter-spacing: 0.16em;
}

.section-head__counter strong {
	color: var(--accent);
	font-weight: 700;
}

.section-head--feature .section-eyebrow {
	margin-bottom: var(--space-3);
}

.section-head--feature .section-title {
	font-size: clamp(2.2rem, 4vw, 3.6rem);
	margin: 0;
	letter-spacing: -0.03em;
}

.section-head--feature .section-lead-col {
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding-top: 8px;
}

.section-head--feature .section-lead-col::before {
	content: "";
	display: block;
	width: 32px;
	height: 1px;
	background: var(--accent);
	opacity: 0.5;
}

.section-head--feature .section-lead {
	max-width: none;
	font-size: var(--fs-md);
	color: var(--text-soft);
}


/* ==========================================================================
   32. MOTION POLISH — interactive states
   ========================================================================== */

/* Magnetic CTAs need an easing transition for the JS-driven transform */
.btn-primary,
.btn-cta {
	transition: transform 380ms var(--ease-spring),
	            background var(--dur-fast) var(--ease-out),
	            color var(--dur-fast) var(--ease-out),
	            border-color var(--dur-fast) var(--ease-out),
	            box-shadow var(--dur) var(--ease-out);
}

/* Card hovers — slightly more dramatic lift with breathing glow */
.service-card,
.industry-card,
.stat,
.post-card {
	transition: transform 420ms var(--ease-out),
	            box-shadow 420ms var(--ease-out),
	            border-color 420ms var(--ease-out);
	will-change: transform;
}

/* Subtle floating animation for the BBB badge in about section */
.about-badge {
	animation: float-y 5s ease-in-out infinite;
}

@keyframes float-y {
	0%, 100% { transform: translateY(0); }
	50%      { transform: translateY(-6px); }
}

/* Animated section background accents removed — were creating perceived gaps */


/* ==========================================================================
   WEB DEVELOPMENT & DIGITAL MARKETING SERVICE PAGE
   Mobile-first. Everything scales up at >=680px and >=980px.
   ========================================================================== */

.section-lead--center { margin-inline: auto; text-align: center; }

.wd-page { overflow-x: clip; }

/* ---- Hero ---- */
.wd-hero {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(120% 90% at 50% -10%, rgba(1,96,191,0.35), transparent 60%),
		linear-gradient(180deg, #070b12 0%, #0b1220 60%, #0e1626 100%);
	color: #fff;
	padding: clamp(120px, 20vw, 190px) 0 clamp(56px, 9vw, 96px);
	isolation: isolate;
}

.wd-hero__grid {
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image:
		linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
	background-size: 46px 46px;
	mask-image: radial-gradient(85% 70% at 50% 30%, #000 40%, transparent 100%);
	-webkit-mask-image: radial-gradient(85% 70% at 50% 30%, #000 40%, transparent 100%);
}

.wd-hero__inner { position: relative; max-width: 860px; }

.wd-hero .breadcrumbs { margin-bottom: var(--space-5); }
.wd-hero .section-eyebrow { color: var(--pbis-brand-400); }

.wd-hero__title {
	font-family: var(--pbis-font-display);
	font-size: clamp(2.1rem, 6.4vw, 4rem);
	font-weight: 800;
	letter-spacing: -0.04em;
	line-height: 1.03;
	margin: 0 0 var(--space-5);
	text-wrap: balance;
}

.wd-hero__title em {
	font-style: italic;
	font-weight: 700;
	background: linear-gradient(120deg, #79b6ff, #ffffff);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.wd-hero__sub {
	font-size: clamp(1.02rem, 2.4vw, 1.25rem);
	line-height: 1.6;
	color: rgba(255,255,255,0.82);
	max-width: 640px;
	margin: 0 0 var(--space-6);
}

.wd-hero__cta {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-4);
	margin-bottom: clamp(40px, 7vw, 64px);
}

.wd-hero__stats {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--space-5) var(--space-4);
	padding-top: var(--space-6);
	border-top: 1px solid rgba(255,255,255,0.12);
	max-width: 640px;
}

.wd-hero__stats strong {
	display: block;
	font-family: var(--pbis-font-display);
	font-size: clamp(1.4rem, 3.4vw, 1.9rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1;
	color: #fff;
}

.wd-hero__stats span {
	display: block;
	margin-top: 6px;
	font-size: var(--fs-xs);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: rgba(255,255,255,0.6);
}

/* ---- Intro ---- */
.wd-intro { padding: clamp(56px, 9vw, 96px) 0 0; }

.wd-intro__lead {
	font-family: var(--pbis-font-display);
	font-size: clamp(1.25rem, 3vw, 1.85rem);
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: -0.02em;
	color: var(--text);
	text-align: center;
	text-wrap: balance;
	margin: 0;
}

/* ---- Shared section rhythm ---- */
.wd-process,
.wd-build,
.wd-marketing,
.wd-portfolio { padding: clamp(60px, 10vw, 110px) 0; }

.wd-build { background: var(--bg-alt); }
.wd-portfolio { background: var(--bg-alt); }

/* ---- Process steps ---- */
.wd-steps {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-4);
	counter-reset: none;
}

.wd-step {
	position: relative;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: clamp(24px, 4vw, 32px);
	transition: transform var(--dur) var(--ease-out),
	            box-shadow var(--dur) var(--ease-out),
	            border-color var(--dur) var(--ease-out);
}

.wd-step:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-md);
	border-color: transparent;
}

.wd-step__no {
	display: inline-block;
	font-family: var(--pbis-font-display);
	font-size: clamp(1.6rem, 4vw, 2.2rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1;
	background: linear-gradient(120deg, var(--pbis-brand), var(--pbis-brand-400));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	margin-bottom: var(--space-4);
}

.wd-step__title {
	font-size: var(--fs-lg);
	font-weight: 700;
	letter-spacing: -0.01em;
	margin: 0 0 var(--space-3);
	color: var(--text);
}

.wd-step__desc {
	font-size: var(--fs-sm);
	line-height: 1.6;
	color: var(--text-soft);
	margin: 0;
}

/* ---- Capability / marketing cards ---- */
.wd-cards {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-4);
}

.wd-card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: clamp(22px, 4vw, 30px);
	transition: transform var(--dur) var(--ease-out),
	            box-shadow var(--dur) var(--ease-out),
	            border-color var(--dur) var(--ease-out);
}

.wd-build .wd-card { background: var(--bg); }

.wd-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-md);
	border-color: transparent;
}

.wd-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: var(--radius-md);
	background: var(--pbis-brand-50);
	color: var(--pbis-brand);
	margin-bottom: var(--space-4);
}

.wd-card__icon svg { width: 26px; height: 26px; }

.wd-card--alt .wd-card__icon {
	background: linear-gradient(135deg, var(--pbis-brand), var(--pbis-brand-400));
	color: #fff;
}

.wd-card__title {
	font-size: var(--fs-md);
	font-weight: 700;
	letter-spacing: -0.01em;
	line-height: 1.25;
	margin: 0 0 var(--space-3);
	color: var(--text);
}

.wd-card__desc {
	font-size: var(--fs-sm);
	line-height: 1.6;
	color: var(--text-soft);
	margin: 0;
}

.wd-build__note {
	margin: var(--space-7) auto 0;
	max-width: 720px;
	text-align: center;
	font-size: var(--fs-sm);
	color: var(--text-mute);
	padding: var(--space-4) var(--space-5);
	border: 1px dashed var(--border);
	border-radius: var(--radius-md);
	background: var(--surface);
}

/* ---- Portfolio grid ---- */
.wd-work-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(20px, 3vw, 28px);
}

.wd-work {
	display: flex;
	flex-direction: column;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	transition: transform var(--dur) var(--ease-out),
	            box-shadow var(--dur) var(--ease-out),
	            border-color var(--dur) var(--ease-out);
}

a.wd-work:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-lg);
	border-color: transparent;
}

.wd-work__media {
	position: relative;
	aspect-ratio: 16 / 10;
	background: linear-gradient(135deg, var(--pbis-brand) 0%, #0b1220 100%);
	overflow: hidden;
}

.wd-work__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--dur-slow) var(--ease-out);
}

a.wd-work:hover .wd-work__media img { transform: scale(1.06); }

.wd-work__placeholder {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--pbis-font-display);
	font-size: 3.4rem;
	font-weight: 800;
	color: rgba(255,255,255,0.85);
}

.wd-work__open {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 38px;
	height: 38px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(255,255,255,0.92);
	color: #0e131a;
	opacity: 0;
	transform: translateY(-4px);
	transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}

.wd-work__open svg { width: 18px; height: 18px; }
a.wd-work:hover .wd-work__open { opacity: 1; transform: translateY(0); }

.wd-work__body { padding: clamp(18px, 3vw, 24px); }

.wd-work__cat {
	display: inline-block;
	font-size: var(--fs-xs);
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--pbis-brand);
	margin-bottom: var(--space-3);
}

.wd-work__title {
	font-size: var(--fs-lg);
	font-weight: 700;
	letter-spacing: -0.015em;
	margin: 0 0 var(--space-3);
	color: var(--text);
}

.wd-work__desc {
	font-size: var(--fs-sm);
	line-height: 1.6;
	color: var(--text-soft);
	margin: 0;
}

.wd-work-empty {
	text-align: center;
	color: var(--text-mute);
	font-size: var(--fs-md);
}
.wd-work-empty a { color: var(--pbis-brand); font-weight: 600; }

/* ---- CTA ---- */
.wd-cta { padding: clamp(48px, 8vw, 90px) 0; }

.wd-cta__inner {
	position: relative;
	overflow: hidden;
	text-align: center;
	border-radius: var(--radius-xl);
	padding: clamp(40px, 7vw, 72px) clamp(24px, 5vw, 56px);
	background:
		radial-gradient(120% 140% at 50% 0%, rgba(1,96,191,0.55), transparent 65%),
		linear-gradient(160deg, #0b1220, #0e1626);
	color: #fff;
}

.wd-cta__title {
	font-family: var(--pbis-font-display);
	font-size: clamp(1.7rem, 4.4vw, 2.6rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	margin: 0 0 var(--space-4);
	color: #fff;
}

.wd-cta__sub {
	font-size: clamp(1rem, 2.4vw, 1.15rem);
	line-height: 1.6;
	color: rgba(255,255,255,0.82);
	max-width: 560px;
	margin: 0 auto var(--space-6);
}

/* ---- Responsive breakpoints ---- */
@media (min-width: 680px) {
	.wd-hero__stats { grid-template-columns: repeat(4, 1fr); }
	.wd-steps { grid-template-columns: repeat(2, 1fr); }
	.wd-cards { grid-template-columns: repeat(2, 1fr); }
	.wd-work-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 980px) {
	.wd-steps { grid-template-columns: repeat(3, 1fr); }
	.wd-cards { grid-template-columns: repeat(4, 1fr); }
	.wd-cards--marketing { grid-template-columns: repeat(3, 1fr); }
	.wd-work-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Dark-mode surface tweaks */
[data-theme="dark"] .wd-card__icon { background: rgba(46,127,209,0.16); }
[data-theme="dark"] .wd-build__note { background: var(--surface-2); }


/* ==========================================================================
   END
   ========================================================================== */
