/* ============================================================
   SERVICE / PILLAR PAGE STYLES — Premium Design
   ============================================================ */

/* ---- Force solid header on inner pages ---- */
body.sb-inner-page .sb-header {
	background: rgba(255,255,255,0.95);
	backdrop-filter: blur(12px);
	box-shadow: 0 1px 0 rgba(10,37,64,0.06);
}
body.sb-inner-page .sb-logo--light { display: none !important; }
body.sb-inner-page .sb-logo--dark { display: inline !important; }
body.sb-inner-page .sb-header__nav a { color: #0A2540; }
body.sb-inner-page .sb-hamburger__line { background: #0A2540; }

/* ================================================================
   PAGE HERO — Enhanced with stats + badge
   ================================================================ */
.sb-page-hero {
	background: linear-gradient(135deg, #0A2540 0%, #0f3460 50%, #0A2540 100%);
	color: #fff;
	padding: clamp(8rem, 14vw, 11rem) 0 clamp(3rem, 6vw, 5rem);
	position: relative;
	overflow: hidden;
}

/* Decorative gradient orbs */
.sb-page-hero::before {
	content: "";
	position: absolute;
	top: -30%;
	right: -10%;
	width: 700px;
	height: 700px;
	background: radial-gradient(circle, rgba(51,91,255,0.18) 0%, transparent 65%);
	border-radius: 50%;
	pointer-events: none;
}
.sb-page-hero::after {
	content: "";
	position: absolute;
	bottom: -40%;
	left: -15%;
	width: 500px;
	height: 500px;
	background: radial-gradient(circle, rgba(126,180,255,0.08) 0%, transparent 65%);
	border-radius: 50%;
	pointer-events: none;
}

/* Dot grid pattern overlay */
.sb-page-hero .sb-page-hero__dots {
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
	background-size: 24px 24px;
	pointer-events: none;
}

.sb-page-hero h1 {
	font-size: clamp(1.85rem, 4.5vw, 3rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.12;
	margin: 0 0 1.5rem;
	max-width: 750px;
	color: #fff;
}

.sb-page-hero__intro {
	font-size: clamp(1.05rem, 1.6vw, 1.25rem);
	line-height: 1.7;
	color: rgba(255,255,255,0.65);
	max-width: 620px;
	margin: 0 0 2.5rem;
}

/* Hero CTA */
.sb-page-hero .sb-btn {
	margin-top: 0;
}

/* Hero badge (e.g. Stape.io partner) */
.sb-page-hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.45rem 1rem;
	background: rgba(255,255,255,0.08);
	backdrop-filter: blur(8px);
	border: 1px solid rgba(255,255,255,0.12);
	border-radius: 980px;
	font-size: 0.8rem;
	font-weight: 500;
	color: rgba(255,255,255,0.8);
	margin-bottom: 1.5rem;
}
.sb-page-hero__badge svg {
	width: 16px;
	height: 16px;
	color: #7EB4FF;
}

/* Hero stats row */
.sb-page-hero__stats {
	display: flex;
	gap: 3rem;
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid rgba(255,255,255,0.1);
}
.sb-page-hero__stat {
	text-align: left;
}
.sb-page-hero__stat-number {
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	background: linear-gradient(135deg, #7EB4FF, #fff);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	display: block;
	line-height: 1.2;
}
.sb-page-hero__stat-label {
	font-size: 0.8rem;
	color: rgba(255,255,255,0.45);
	margin-top: 0.25rem;
	display: block;
}

/* ---- Breadcrumbs (page hero version) ---- */
.sb-page-hero .sb-breadcrumbs {
	margin-bottom: 1.5rem;
	font-size: 0.82rem;
}
.sb-page-hero .sb-breadcrumbs a {
	color: rgba(255,255,255,0.4);
	text-decoration: none;
	transition: color 0.2s;
}
.sb-page-hero .sb-breadcrumbs a:hover {
	color: #7EB4FF;
}
.sb-page-hero .sb-breadcrumbs span {
	color: rgba(255,255,255,0.7);
}

/* ================================================================
   SUB-SERVICE CARDS — Premium Grid
   ================================================================ */
.sb-subservices {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 1.5rem;
	margin: 0;
}

.sb-subservice-card {
	background: #fff;
	border: 1px solid rgba(10,37,64,0.06);
	border-radius: 16px;
	padding: 2rem 1.75rem;
	text-decoration: none;
	color: inherit;
	position: relative;
	overflow: hidden;
	transition: box-shadow 0.4s, transform 0.4s;
}

/* Top accent line */
.sb-subservice-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, #335BFF, transparent);
	opacity: 0;
	transition: opacity 0.4s;
}
.sb-subservice-card:hover::before {
	opacity: 1;
}

.sb-subservice-card:hover {
	box-shadow: 0 12px 40px rgba(51,91,255,0.12);
	transform: translateY(-4px);
}

.sb-subservice-card__icon {
	width: 48px;
	height: 48px;
	border-radius: 12px;
	background: linear-gradient(135deg, rgba(51,91,255,0.08), rgba(51,91,255,0.03));
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1.25rem;
}
.sb-subservice-card__icon svg {
	width: 24px;
	height: 24px;
	color: #335BFF;
	stroke: #335BFF;
}

.sb-subservice-card__number {
	position: absolute;
	top: 1.25rem;
	right: 1.25rem;
	font-size: 0.75rem;
	font-weight: 700;
	color: rgba(10,37,64,0.08);
	font-variant-numeric: tabular-nums;
}

.sb-subservice-card h3 {
	font-size: 1.15rem;
	font-weight: 700;
	color: #0A2540;
	margin: 0 0 0.5rem;
	letter-spacing: -0.01em;
}

.sb-subservice-card p {
	font-size: 0.92rem;
	color: #6b7b8d;
	line-height: 1.65;
	margin: 0;
}

.sb-subservice-card .sb-card__link {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	margin-top: 1.25rem;
	font-size: 0.88rem;
	color: #335BFF;
	font-weight: 600;
	transition: gap 0.3s;
}
.sb-subservice-card:hover .sb-card__link {
	gap: 0.6rem;
}

/* ================================================================
   PAIN POINTS SECTION — Dark background
   ================================================================ */
.sb-pain-section {
	background: linear-gradient(135deg, #0A2540, #0f3460);
	color: #fff;
	padding: clamp(4rem, 8vw, 6rem) 0;
	position: relative;
	overflow: hidden;
}
.sb-pain-section::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
	background-size: 20px 20px;
	pointer-events: none;
}

.sb-pain-section__header {
	text-align: center;
	margin-bottom: 3rem;
}
.sb-pain-section__label {
	font-size: 0.8rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #7EB4FF;
	margin-bottom: 0.75rem;
}
.sb-pain-section__title {
	font-size: clamp(1.5rem, 3vw, 2.25rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	color: #fff;
	max-width: 600px;
	margin: 0 auto;
}

.sb-pain-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
	max-width: 1000px;
	margin: 0 auto;
}

.sb-pain-card {
	background: rgba(255,255,255,0.04);
	border: 1px solid rgba(255,255,255,0.08);
	border-radius: 16px;
	padding: 2rem;
	text-align: center;
	backdrop-filter: blur(4px);
}
.sb-pain-card__icon {
	font-size: 2.5rem;
	margin-bottom: 1rem;
	line-height: 1;
}
.sb-pain-card__stat {
	font-size: clamp(1.75rem, 3vw, 2.5rem);
	font-weight: 800;
	background: linear-gradient(135deg, #FF6B6B, #FFB347);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	display: block;
	margin-bottom: 0.5rem;
}
.sb-pain-card__text {
	font-size: 0.92rem;
	color: rgba(255,255,255,0.6);
	line-height: 1.6;
	margin: 0;
}

/* ================================================================
   PROCESS / APPROACH SECTION
   ================================================================ */
.sb-process-section {
	padding: clamp(4rem, 8vw, 6rem) 0;
	background: #fff;
}

.sb-process-section__header {
	text-align: center;
	margin-bottom: 4rem;
}
.sb-process-section__label {
	font-size: 0.8rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #335BFF;
	margin-bottom: 0.75rem;
}
.sb-process-section__title {
	font-size: clamp(1.5rem, 3vw, 2.25rem);
	font-weight: 800;
	color: #0A2540;
	letter-spacing: -0.02em;
}
.sb-process-section__subtitle {
	font-size: 1.05rem;
	color: #6b7b8d;
	max-width: 580px;
	margin: 1rem auto 0;
	line-height: 1.7;
}

.sb-process-timeline {
	max-width: 800px;
	margin: 0 auto;
	position: relative;
}

/* Vertical line */
.sb-process-timeline::before {
	content: "";
	position: absolute;
	left: 28px;
	top: 0;
	bottom: 0;
	width: 2px;
	background: linear-gradient(180deg, #335BFF, rgba(51,91,255,0.1));
}

.sb-process-step {
	display: flex;
	gap: 2rem;
	align-items: flex-start;
	position: relative;
	padding-bottom: 3rem;
}
.sb-process-step:last-child {
	padding-bottom: 0;
}

.sb-process-step__marker {
	width: 56px;
	height: 56px;
	min-width: 56px;
	border-radius: 16px;
	background: linear-gradient(135deg, #335BFF, #5B7FFF);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.15rem;
	font-weight: 800;
	color: #fff;
	position: relative;
	z-index: 2;
	box-shadow: 0 4px 16px rgba(51,91,255,0.25);
}

.sb-process-step__content {
	flex: 1;
	padding-top: 0.25rem;
}
.sb-process-step__title {
	font-size: 1.2rem;
	font-weight: 700;
	color: #0A2540;
	margin: 0 0 0.5rem;
}
.sb-process-step__desc {
	font-size: 0.98rem;
	color: #6b7b8d;
	line-height: 1.7;
	margin: 0;
}
.sb-process-step__tools {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 0.75rem;
}
.sb-process-step__tool {
	font-size: 0.75rem;
	font-weight: 600;
	padding: 0.25rem 0.75rem;
	border-radius: 980px;
	background: rgba(51,91,255,0.06);
	color: #335BFF;
}

/* ================================================================
   RESULTS / STATS SECTION — Dark with gradient numbers
   ================================================================ */
.sb-results-section {
	background: #0A2540;
	color: #fff;
	padding: clamp(4rem, 8vw, 6rem) 0;
	position: relative;
	overflow: hidden;
}
.sb-results-section::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 800px;
	height: 800px;
	background: radial-gradient(circle, rgba(51,91,255,0.1) 0%, transparent 60%);
	pointer-events: none;
}

.sb-results-section__header {
	text-align: center;
	margin-bottom: 3.5rem;
}
.sb-results-section__label {
	font-size: 0.8rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #7EB4FF;
	margin-bottom: 0.75rem;
}
.sb-results-section__title {
	font-size: clamp(1.5rem, 3vw, 2.25rem);
	font-weight: 800;
	color: #fff;
	letter-spacing: -0.02em;
}

.sb-results-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 2rem;
	max-width: 900px;
	margin: 0 auto;
	text-align: center;
}

.sb-result-item {
	position: relative;
}
/* Vertical glow separator */
.sb-result-item + .sb-result-item::before {
	content: "";
	position: absolute;
	left: -1rem;
	top: 10%;
	height: 80%;
	width: 1px;
	background: linear-gradient(180deg, transparent, rgba(126,180,255,0.3), transparent);
}

.sb-result-item__number {
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	background: linear-gradient(135deg, #7EB4FF, #fff);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	display: block;
	line-height: 1.1;
}
.sb-result-item__label {
	font-size: 0.85rem;
	color: rgba(255,255,255,0.5);
	margin-top: 0.5rem;
	line-height: 1.4;
	display: block;
}

/* ================================================================
   SYNERGIES / CROSS-LINKS SECTION
   ================================================================ */
.sb-synergies-section {
	padding: clamp(4rem, 8vw, 6rem) 0;
	background: #F5F5F7;
}

.sb-synergies-section__header {
	text-align: center;
	margin-bottom: 3rem;
}
.sb-synergies-section__label {
	font-size: 0.8rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #335BFF;
	margin-bottom: 0.75rem;
}
.sb-synergies-section__title {
	font-size: clamp(1.5rem, 3vw, 2.25rem);
	font-weight: 800;
	color: #0A2540;
	letter-spacing: -0.02em;
}

.sb-synergies-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
	max-width: 1000px;
	margin: 0 auto;
}

.sb-synergy-card {
	background: #fff;
	border: 1px solid rgba(10,37,64,0.06);
	border-radius: 16px;
	padding: 2rem;
	text-decoration: none;
	color: inherit;
	transition: box-shadow 0.4s, transform 0.4s;
}
.sb-synergy-card:hover {
	box-shadow: 0 12px 40px rgba(10,37,64,0.08);
	transform: translateY(-3px);
}
.sb-synergy-card__icon {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: linear-gradient(135deg, rgba(51,91,255,0.08), rgba(51,91,255,0.03));
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1rem;
}
.sb-synergy-card__icon svg {
	width: 22px;
	height: 22px;
	stroke: #335BFF;
}
.sb-synergy-card h3 {
	font-size: 1.1rem;
	font-weight: 700;
	color: #0A2540;
	margin: 0 0 0.5rem;
}
.sb-synergy-card p {
	font-size: 0.9rem;
	color: #6b7b8d;
	line-height: 1.6;
	margin: 0;
}
.sb-synergy-card__link {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	margin-top: 1rem;
	font-size: 0.85rem;
	color: #335BFF;
	font-weight: 600;
	transition: gap 0.3s;
}
.sb-synergy-card:hover .sb-synergy-card__link {
	gap: 0.6rem;
}

/* ================================================================
   ARTICLE CONTENT — Enhanced
   ================================================================ */
.sb-article {
	max-width: 800px;
	margin: 0 auto;
	padding: clamp(2rem, 5vw, 4rem) 0;
}
.sb-article h2 {
	font-size: clamp(1.35rem, 2.5vw, 1.8rem);
	font-weight: 700;
	color: #0A2540;
	margin: 3rem 0 1rem;
	letter-spacing: -0.02em;
	line-height: 1.2;
}
.sb-article h2:first-child {
	margin-top: 0;
}
.sb-article p {
	font-size: 1.05rem;
	line-height: 1.8;
	color: #3a4a5c;
	margin: 0 0 1.25rem;
}
.sb-article a {
	color: #335BFF;
	text-decoration: underline;
	text-underline-offset: 3px;
	transition: color 0.2s;
}
.sb-article a:hover {
	color: #0A2540;
}
.sb-article strong {
	color: #0A2540;
	font-weight: 600;
}

/* ================================================================
   FAQ SECTION — Enhanced
   ================================================================ */
.sb-faq-section {
	background: #F5F5F7;
	padding: clamp(4rem, 8vw, 6rem) 0;
}
.sb-faq-section__header {
	text-align: center;
	margin-bottom: 3rem;
}
.sb-faq-section h2 {
	text-align: center;
	font-size: clamp(1.5rem, 3vw, 2rem);
	color: #0A2540;
	margin-bottom: 0.5rem;
	font-weight: 800;
}
.sb-faq-section__subtitle {
	font-size: 1rem;
	color: #6b7b8d;
	text-align: center;
	margin-bottom: 2.5rem;
}
.sb-faq-section .sb-faq {
	max-width: 800px;
	margin: 0 auto;
}

/* FAQ Accordion items */
.sb-faq__item {
	background: #fff;
	border: 1px solid rgba(10,37,64,0.06);
	border-radius: 12px;
	margin-bottom: 0.75rem;
	overflow: hidden;
	transition: box-shadow 0.3s;
}
.sb-faq__item[open] {
	box-shadow: 0 4px 20px rgba(10,37,64,0.06);
}
.sb-faq__question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1.25rem 2rem;
	font-size: 1.05rem;
	font-weight: 600;
	color: #0A2540;
	cursor: pointer;
	list-style: none;
	transition: color 0.2s;
}
.sb-faq__question::-webkit-details-marker {
	display: none;
}
.sb-faq__question::after {
	content: '+';
	font-size: 1.5rem;
	font-weight: 300;
	color: #335BFF;
	transition: transform 0.3s;
	flex-shrink: 0;
	margin-left: 1rem;
}
.sb-faq__item[open] .sb-faq__question::after {
	content: '\2212';
	transform: rotate(180deg);
}
.sb-faq__item[open] .sb-faq__question {
	color: #335BFF;
}
.sb-faq__answer {
	padding: 0 2rem 1.25rem;
	font-size: 0.95rem;
	color: #6b7b8d;
	line-height: 1.7;
}
.sb-faq__answer p {
	margin: 0 0 0.5rem;
}
.sb-faq__answer p:last-child {
	margin-bottom: 0;
}

/* ================================================================
   DELIVERABLES CHECKLIST — Cards grid
   ================================================================ */
.sb-deliverables-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1.5rem;
	max-width: 900px;
	margin: 0 auto;
}

.sb-deliverable-card {
	background: #fff;
	border: 1px solid rgba(10,37,64,0.06);
	border-radius: 16px;
	padding: 1.75rem;
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	transition: box-shadow 0.4s, transform 0.4s;
}
.sb-deliverable-card:hover {
	box-shadow: 0 8px 30px rgba(10,37,64,0.06);
	transform: translateY(-2px);
}

.sb-deliverable-card__check {
	flex-shrink: 0;
	margin-top: 0.1rem;
}

.sb-deliverable-card__content strong {
	display: block;
	font-size: 1rem;
	font-weight: 700;
	color: #0A2540;
	margin-bottom: 0.35rem;
}
.sb-deliverable-card__content p {
	font-size: 0.9rem;
	color: #6b7b8d;
	line-height: 1.6;
	margin: 0;
}

/* ================================================================
   PLACEHOLDER PAGE
   ================================================================ */
.sb-placeholder {
	text-align: center;
	padding: clamp(4rem, 8vw, 8rem) 0;
}
.sb-placeholder__icon {
	font-size: 4rem;
	margin-bottom: 1.5rem;
}
.sb-placeholder h2 {
	font-size: 1.75rem;
	color: #0A2540;
	margin-bottom: 1rem;
}
.sb-placeholder p {
	color: #6b7b8d;
	font-size: 1.1rem;
	max-width: 500px;
	margin: 0 auto 2rem;
	line-height: 1.7;
}

/* ================================================================
   RESPONSIVE — Service Pages
   ================================================================ */
@media (max-width: 768px) {
	.sb-page-hero__stats {
		flex-wrap: wrap;
		gap: 1.5rem 2.5rem;
	}

	.sb-pain-grid {
		grid-template-columns: 1fr;
		max-width: 400px;
		margin: 0 auto;
	}

	.sb-process-timeline::before {
		left: 20px;
	}
	.sb-process-step__marker {
		width: 40px;
		height: 40px;
		min-width: 40px;
		border-radius: 12px;
		font-size: 0.95rem;
	}
	.sb-process-step {
		gap: 1.25rem;
	}

	.sb-results-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 2rem 1rem;
	}
	.sb-result-item + .sb-result-item::before {
		display: none;
	}

	.sb-synergies-grid {
		grid-template-columns: 1fr;
		max-width: 500px;
		margin: 0 auto;
	}

	.sb-deliverables-grid {
		grid-template-columns: 1fr;
		max-width: 500px;
		margin: 0 auto;
	}

	.sb-faq__question {
		padding: 1rem 1.25rem;
		font-size: 0.95rem;
		gap: 0.75rem;
	}
	.sb-faq__question::after {
		font-size: 1.25rem;
		margin-left: 0.75rem;
	}
	.sb-faq__answer {
		padding: 0 1.25rem 1rem;
		font-size: 0.9rem;
	}
}

@media (max-width: 480px) {
	.sb-page-hero__stats {
		flex-direction: column;
		gap: 1rem;
	}
	.sb-page-hero__stat {
		display: flex;
		align-items: baseline;
		gap: 0.5rem;
	}

	.sb-results-grid {
		grid-template-columns: 1fr 1fr;
	}
}
