/*
Theme Name: Big Digital
Description: Custom theme for Big Digital, built from the Stratum static design.
Author: Big Digital
Version: 1.0.0
Text Domain: big-digital
*/

/* Single post: featured image as the hero background */
.page-subheader.post-hero {
	background-image: linear-gradient(180deg, rgba(10, 10, 20, 0.55) 0%, rgba(10, 10, 20, 0.8) 100%), var(--post-hero-img);
	background-position: center;
	background-size: cover;
	padding: 135px 0 45px;
}

.page-subheader.post-hero .section-title {
	margin-bottom: 0 !important;
}

.page-subheader.post-hero .section-title > .d-flex,
.page-subheader.post-hero h1 {
	margin-bottom: 1rem !important;
}

@media (max-width: 767px) {
	.page-subheader.post-hero {
		padding: 115px 0 35px;
	}
}

/* Single post: tighter gap between hero and article */
.section-row.post-body {
	padding-top: 50px;
}

@media (max-width: 767px) {
	.section-row.post-body {
		padding-top: 40px;
	}
}

/* ==========================================================
   Services mega menu
   ========================================================== */
.mega-panel .mega-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.mega-panel .mega-link {
	display: flex !important;
	align-items: flex-start;
	gap: 14px;
	white-space: normal;
}

.mega-panel .mega-icon {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: rgba(255, 84, 32, 0.1);
	color: var(--accent-color);
	font-size: 18px;
	transition: background 0.25s ease, color 0.25s ease;
}

.mega-panel .mega-text {
	display: block;
	min-width: 0;
}

.mega-panel .mega-title {
	display: block;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--heading-color);
	transition: color 0.25s ease;
}

.mega-panel .mega-desc {
	display: block;
	margin-top: 3px;
	font-size: 13.5px;
	font-weight: 400;
	line-height: 1.45;
	color: var(--text-color);
}

@media (min-width: 992px) {
	header.header nav.navbar {
		position: relative;
	}

	.navbar-expand-lg li.nav-item.dropdown.mega-menu {
		position: static;
	}

	.navbar-expand-lg li.nav-item.dropdown.mega-menu ul.dropdown-menu.mega-panel {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) 270px;
		gap: 20px;
		width: min(940px, calc(100vw - 40px));
		top: calc(100% + 10px);
		left: 50%;
		inset-inline-start: 50%;
		padding: 22px;
		border-radius: 22px;
		box-shadow: 0 24px 60px -12px rgba(0, 2, 4, 0.28);
		transform: translate(-50%, 12px);
		transform-origin: top center;
	}

	/* Hover bridge so the panel doesn't close crossing the gap. */
	.navbar-expand-lg li.nav-item.dropdown.mega-menu ul.dropdown-menu.mega-panel::before {
		content: "";
		position: absolute;
		left: 0;
		right: 0;
		top: -24px;
		height: 24px;
	}

	.navbar-expand-lg li.nav-item.dropdown.mega-menu:hover ul.dropdown-menu.mega-panel,
	.navbar-expand-lg li.nav-item.dropdown.mega-menu ul.dropdown-menu.mega-panel.show {
		transform: translate(-50%, 0);
	}

	.mega-panel .mega-list {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 4px 10px;
	}

	.navbar-expand-lg .navbar-nav .mega-panel a.dropdown-item.mega-link {
		padding: 12px !important;
		border-radius: 14px;
		transition: background 0.25s ease;
	}

	.navbar-expand-lg .navbar-nav .mega-panel a.dropdown-item.mega-link:hover,
	.navbar-expand-lg .navbar-nav .mega-panel a.dropdown-item.mega-link:focus-visible {
		background: var(--grey-bg-color) !important;
	}

	.mega-panel .mega-link:hover .mega-icon,
	.mega-panel .mega-link:focus-visible .mega-icon {
		background: var(--accent-color);
		color: var(--white-color);
	}

	.mega-panel .mega-link:hover .mega-title {
		color: var(--accent-color);
	}

	.mega-panel .mega-promo {
		display: flex;
		flex-direction: column;
		gap: 12px;
		padding: 26px 24px;
		border-radius: 16px;
		background-color: var(--dark-bg, var(--primary-color));
		background-image: url(assets/images/hero-pattern-bg.webp);
		background-size: cover;
		background-position: center;
		color: var(--white-color);
	}

	.mega-panel .mega-promo-eyebrow {
		font-size: 13px;
		font-weight: 600;
		letter-spacing: 0.08em;
		text-transform: uppercase;
		color: var(--secondary-color);
	}

	.mega-panel .mega-promo-title {
		font-size: 19px;
		font-weight: 600;
		line-height: 1.35;
		color: var(--white-color);
	}

	.mega-panel .mega-promo-link {
		font-size: 15px;
		font-weight: 500;
		color: var(--white-color) !important;
		text-decoration: underline;
		text-underline-offset: 4px;
	}

	.mega-panel .mega-promo-link:hover {
		color: var(--secondary-color) !important;
	}

	.mega-panel .mega-promo-btn {
		margin-top: auto;
		align-self: flex-start;
	}
}

/* Mobile / tablet: compact list inside the collapsed menu */
@media (max-width: 991px) {
	.mega-panel .mega-list {
		display: flex;
		flex-direction: column;
		gap: 4px;
	}

	.navbar-expand-lg .navbar-nav .mega-panel a.dropdown-item.mega-link {
		align-items: center;
		padding: 8px 0 !important;
	}

	.mega-panel .mega-icon {
		width: 34px;
		height: 34px;
		border-radius: 10px;
		font-size: 15px;
		background: rgba(255, 255, 255, 0.15);
		color: var(--white-color);
	}

	.mega-panel .mega-title {
		color: inherit;
		font-size: 16px;
		font-weight: 500;
	}

	.mega-panel .mega-desc,
	.mega-panel .mega-promo-eyebrow,
	.mega-panel .mega-promo-title,
	.mega-panel .mega-promo-btn {
		display: none;
	}

	.mega-panel .mega-promo {
		padding-top: 10px;
		margin-top: 6px;
		border-top: 1px solid rgba(255, 255, 255, 0.2);
	}

	.mega-panel .mega-promo-link {
		color: inherit !important;
		font-weight: 600;
	}

	.header-02 .mega-panel .mega-icon {
		background: rgba(255, 84, 32, 0.1);
		color: var(--accent-color);
	}

	.header-02 .mega-panel .mega-promo {
		border-top-color: var(--divider-color);
	}

	.header-02 .mega-panel .mega-promo-link {
		color: var(--primary-color) !important;
	}
}

/* ==========================================================
   Case studies
   ========================================================== */
.case-study-headline {
	display: inline-block;
	margin-bottom: 10px;
	padding: 4px 14px;
	border-radius: 100px;
	background: var(--accent-color);
	color: var(--white-color);
	font-size: 14px;
	font-weight: 600;
}

.case-study-filter a.is-active {
	background: var(--accent-color);
	border-color: var(--accent-color);
	color: var(--white-color);
}

.page-subheader .breadcrumb-item.active a {
	color: var(--accent-color);
}

.case-study-cta {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	background: linear-gradient(120deg, #ff5420 0%, #ff7a2f 25%, #e8390f 50%, #ff8c42 75%, #ff5420 100%);
	background-size: 300% 300%;
	animation: bd-cta-flow 14s ease-in-out infinite;
}

/* Soft light blobs drifting over the gradient */
.case-study-cta::before,
.case-study-cta .case-study-cta-glow {
	content: "";
	position: absolute;
	z-index: -1;
	border-radius: 50%;
	filter: blur(60px);
	pointer-events: none;
}

.case-study-cta::before {
	width: 420px;
	height: 420px;
	top: -180px;
	left: -120px;
	background: rgba(255, 200, 120, 0.55);
	animation: bd-cta-blob-a 16s ease-in-out infinite alternate;
}

.case-study-cta .case-study-cta-glow {
	width: 380px;
	height: 380px;
	bottom: -200px;
	right: -100px;
	background: rgba(180, 30, 0, 0.45);
	animation: bd-cta-blob-b 18s ease-in-out infinite alternate;
}

.case-study-cta h2 {
	position: relative;
}

.case-study-cta .case-study-cta-text {
	color: rgba(255, 255, 255, 0.88);
}

.case-study-cta .btn-outline-light:hover {
	color: var(--accent-color);
}

@keyframes bd-cta-flow {
	0% { background-position: 0% 50%; }
	50% { background-position: 100% 50%; }
	100% { background-position: 0% 50%; }
}

@keyframes bd-cta-blob-a {
	0% { transform: translate(0, 0) scale(1); }
	100% { transform: translate(55%, 35%) scale(1.25); }
}

@keyframes bd-cta-blob-b {
	0% { transform: translate(0, 0) scale(1); }
	100% { transform: translate(-60%, -30%) scale(1.2); }
}

@media (prefers-reduced-motion: reduce) {
	.case-study-cta,
	.case-study-cta::before,
	.case-study-cta .case-study-cta-glow {
		animation: none;
	}
}

/* Consistent card image crop on the case studies grid */
.portfolio .portfolio-card .project-thumb figure {
	aspect-ratio: 4 / 3;
	width: 100%;
	margin: 0;
}

.portfolio .portfolio-card .project-thumb img {
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	margin-bottom: 0;
}

.portfolio .portfolio-card .project-content {
	margin-top: 1rem !important;
}

.portfolio .portfolio-card {
	justify-content: flex-start !important;
}

.project-meta-item .icon-project {
	flex: 0 0 auto;
}

/* Case studies AJAX filter */
.case-study-filter a {
	cursor: pointer;
	transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.case-study-filter a:hover {
	border-color: var(--accent-color);
}

.case-study-results {
	min-height: 200px;
	transition: opacity 0.25s ease;
}

.case-study-results.is-loading {
	opacity: 0.35;
	pointer-events: none;
}

.case-study-results .row > [class*="col-"] {
	transition: opacity 0.4s ease, transform 0.4s ease;
}

.case-study-results:not(.is-ready) .row > [class*="col-"] {
	opacity: 0;
	transform: translateY(12px);
}

/* Case studies archive: tighter gap between hero and filters */
.section-row.case-study-archive {
	padding-top: 50px;
}

@media (max-width: 767px) {
	.section-row.case-study-archive {
		padding-top: 40px;
	}
}

/* Quotes in post / case study content: no border */
.post-entry blockquote,
.post-entry .wp-block-quote {
	border: 0 !important;
	padding-left: 0;
}

/* ==========================================================
   Page loader: Big Digital asterisk
   ========================================================== */
.preloader {
	background: var(--dark-bg);
}

.preloader .loading {
	display: none;
}

.preloader #loading-icon {
	width: 64px;
	height: 64px;
}

.preloader #loading-icon img {
	display: block;
	width: 100%;
	height: 100%;
	animation: bd-asterisk-spin 1.6s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes bd-asterisk-spin {
	0% { transform: rotate(0deg) scale(1); }
	50% { transform: rotate(180deg) scale(0.82); }
	100% { transform: rotate(360deg) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
	.preloader #loading-icon img {
		animation-duration: 3s;
		animation-timing-function: linear;
	}
}

/* Header menu: more breathing room between items (desktop only) */
@media (min-width: 992px) {
	.main-menu .navbar-nav .nav-link {
		margin: 0 10px;
	}
}

@media (min-width: 1200px) {
	.main-menu .navbar-nav .nav-link {
		margin: 0 16px;
	}
}

/* Inner-page hero: real agency photo with a dark overlay for legible text.
   (Blog posts override this with their own featured image via .post-hero.) */
.page-subheader:not(.post-hero) {
	background-image: linear-gradient(180deg, rgba(0, 2, 4, 0.72) 0%, rgba(0, 2, 4, 0.82) 100%), url(assets/images/page-hero-bg.webp);
	background-size: cover;
	background-position: center 55%;
	background-repeat: no-repeat;
}

/* ==========================================================
   Contact page layout
   ========================================================== */
.page-contact-us .contact-col-title {
	font-size: 32px;
	line-height: 1.2;
}

.contact-info-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.contact-card {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 18px 20px;
	border: 1px solid var(--divider-color);
	border-radius: 16px;
	background: var(--white-color);
	color: var(--heading-color);
	text-decoration: none;
	transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.contact-card:hover {
	border-color: var(--accent-color);
	box-shadow: 0 12px 30px -12px rgba(255, 84, 32, 0.35);
	transform: translateY(-2px);
	color: var(--heading-color);
}

.contact-card-wide {
	grid-column: 1 / -1;
}

.contact-card-icon {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 12px;
	background: rgba(255, 84, 32, 0.1);
	color: var(--accent-color);
	font-size: 20px;
	transition: background 0.25s ease, color 0.25s ease;
}

.contact-card:hover .contact-card-icon {
	background: var(--accent-color);
	color: var(--white-color);
}

.contact-card-text {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.contact-card-label {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--text-color);
}

.contact-card-value {
	font-size: 17px;
	font-weight: 600;
	color: var(--heading-color);
	overflow-wrap: anywhere;
}

.contact-map {
	min-height: 320px;
	display: flex;
}

.contact-map iframe {
	width: 100%;
	height: 100%;
	min-height: 320px;
	display: block;
}

@media (max-width: 575px) {
	.contact-info-grid {
		grid-template-columns: 1fr;
	}

	.page-contact-us .contact-col-title {
		font-size: 26px;
	}
}

/* Dropdown toggles (e.g. Services): keep the arrow from pushing the item off-centre */
.navbar-nav .nav-link.dropdown-toggle {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.navbar-nav .dropdown-toggle::after {
	content: "\f107";
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	font-size: 11px;
	line-height: 1;
	top: 0;
	left: 0;
	margin: 0;
	vertical-align: middle;
}

@media (max-width: 991px) {
	.navbar-nav .nav-link.dropdown-toggle {
		display: flex;
		justify-content: space-between;
	}
}

/* FAQ page */
.faq-page .accordion-body .faq-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 12px;
	font-weight: 600;
	color: var(--accent-color);
}

.faq-page .accordion-body .faq-link:hover {
	color: var(--heading-color);
}

.faq-page .accordion-header {
	margin: 0;
}

.faq-page .help-box .h-100 p {
	color: var(--text-color);
}

/* ==========================================================
   Service page: SEO, AEO & GEO
   ========================================================== */
.svc-page .svc-accent {
	color: var(--accent-color);
}

.svc-page .svc-lead {
	font-size: 19px;
	line-height: 1.6;
	margin-bottom: 24px;
}

.svc-page .svc-text-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	color: var(--heading-color);
	text-decoration: underline;
	text-underline-offset: 5px;
}

.svc-page .svc-text-link:hover {
	color: var(--accent-color);
}

.svc-page .svc-banner {
	height: 460px;
	object-fit: cover;
	object-position: center 55%;
}

/* Search has changed */
.seo-shifts li {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 18px;
	margin-bottom: 10px;
	background: var(--white-color);
	border-radius: 14px;
	font-weight: 600;
}

.seo-shifts li:last-child {
	margin-bottom: 0;
}

.seo-shifts .seo-shift-from {
	color: var(--text-color);
	text-decoration: line-through;
	text-decoration-color: rgba(0, 0, 0, 0.25);
	min-width: 130px;
}

.seo-shifts i {
	color: var(--accent-color);
}

.seo-shifts .seo-shift-to {
	color: var(--heading-color);
}

/* Illustrative AI answer card */
.seo-ai-mock {
	position: relative;
	padding: 26px;
	border-radius: 22px;
	background: var(--dark-bg);
	background-image: radial-gradient(circle at 85% 0%, rgba(255, 84, 32, 0.35), transparent 55%), radial-gradient(circle at 0% 100%, rgba(196, 241, 18, 0.12), transparent 50%);
	color: rgba(255, 255, 255, 0.85);
	box-shadow: 0 30px 60px -25px rgba(0, 2, 4, 0.55);
}

.seo-ai-mock-label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.6);
	margin-bottom: 18px;
}

.seo-ai-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--secondary-color);
	box-shadow: 0 0 0 4px rgba(196, 241, 18, 0.2);
}

.seo-ai-q {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-left: auto;
	max-width: 88%;
	width: fit-content;
	padding: 12px 16px;
	border-radius: 16px 16px 4px 16px;
	background: rgba(255, 255, 255, 0.1);
	color: var(--white-color);
	font-weight: 500;
}

.seo-ai-avatar {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.15);
	font-size: 12px;
}

.seo-ai-a {
	margin-top: 16px;
	padding: 18px 20px;
	border-radius: 16px 16px 16px 4px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.seo-ai-a p {
	color: rgba(255, 255, 255, 0.75);
	margin-bottom: 12px;
	font-size: 15px;
}

.seo-ai-a-head {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	color: var(--white-color);
	margin-bottom: 8px;
}

.seo-ai-a-head i {
	color: var(--secondary-color);
}

.seo-ai-list {
	margin: 0 0 14px;
	padding-left: 20px;
	font-size: 15px;
}

.seo-ai-list li {
	margin-bottom: 10px;
	color: rgba(255, 255, 255, 0.5);
}

.seo-ai-list li.is-you {
	color: var(--white-color);
	padding: 8px 12px;
	margin-left: -12px;
	border-radius: 10px;
	background: rgba(255, 84, 32, 0.18);
	border: 1px solid rgba(255, 84, 32, 0.45);
}

.seo-ai-list li.is-you strong {
	color: var(--white-color);
}

.seo-ai-cite {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	margin-left: 4px;
	border-radius: 50%;
	background: var(--accent-color);
	color: var(--white-color);
	font-size: 10px;
	font-weight: 700;
	vertical-align: middle;
}

.seo-ai-bar {
	display: inline-block;
	width: 75%;
	height: 10px;
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.14);
	vertical-align: middle;
}

.seo-ai-bar-short {
	width: 55%;
}

.seo-ai-sources {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.55);
}

.seo-ai-chip {
	padding: 4px 10px;
	border-radius: 100px;
	background: rgba(255, 255, 255, 0.1);
	color: rgba(255, 255, 255, 0.8);
}

/* Three ways cards */
.seo-way {
	padding: 30px;
	border-radius: 22px;
	background: var(--dark-bg);
	background-image: url(assets/images/hero-pattern-bg.webp);
	background-size: cover;
	color: rgba(255, 255, 255, 0.8);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.seo-way:hover {
	transform: translateY(-4px);
	box-shadow: 0 24px 50px -24px rgba(0, 2, 4, 0.6);
}

.seo-way-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 26px;
}

.seo-way-acronym {
	font-family: var(--secondary-font, inherit);
	font-size: 54px;
	line-height: 1;
	font-weight: 800;
	color: var(--secondary-color);
}

.seo-way-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.08);
	color: var(--white-color);
	font-size: 20px;
}

.seo-way-title {
	font-size: 24px;
	color: var(--white-color);
	margin-bottom: 10px;
}

.seo-way p {
	color: rgba(255, 255, 255, 0.75);
}

.seo-way-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 18px;
}

.seo-way-chips span {
	padding: 6px 12px;
	border-radius: 100px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	font-size: 13px;
	color: rgba(255, 255, 255, 0.85);
}

/* What's included tiles */
.svc-included {
	transition: background 0.3s ease, transform 0.3s ease;
}

.svc-included:hover {
	transform: translateY(-3px);
}

.svc-included-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 14px;
	background: var(--white-color);
	color: var(--accent-color);
	font-size: 20px;
	margin-bottom: 18px;
	transition: background 0.3s ease, color 0.3s ease;
}

.svc-included:hover .svc-included-icon {
	background: var(--accent-color);
	color: var(--white-color);
}

.svc-included-title {
	font-size: 20px;
	margin-bottom: 8px;
}

/* How we work */
.svc-side-img {
	object-fit: cover;
	min-height: 360px;
}

.svc-steps li {
	display: flex;
	gap: 20px;
	padding: 18px 0;
	border-bottom: 1px solid var(--divider-color);
}

.svc-steps li:first-child {
	padding-top: 0;
}

.svc-step-num {
	flex: 0 0 auto;
	font-size: 30px;
	font-weight: 800;
	line-height: 1.1;
	color: var(--accent-color);
	min-width: 48px;
}

.svc-step-title {
	font-size: 20px;
	margin-bottom: 6px;
}

/* Results cards */
.svc-case {
	display: flex;
	flex-direction: column;
	border-radius: 22px;
	background: var(--grey-bg-color);
	padding: 16px;
	color: var(--heading-color);
	text-decoration: none;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.svc-case:hover {
	transform: translateY(-4px);
	box-shadow: 0 24px 50px -28px rgba(0, 2, 4, 0.45);
	color: var(--heading-color);
}

.svc-case-media {
	display: block;
	aspect-ratio: 4 / 3;
	border-radius: 16px;
	overflow: hidden;
	background: var(--dark-bg);
}

.svc-case-media > img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.svc-case:hover .svc-case-media > img {
	transform: scale(1.04);
}

.svc-case-fallback {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	background: linear-gradient(120deg, #ff5420 0%, #ff7a2f 40%, #e8390f 100%);
}

.svc-case-fallback img {
	width: 64px;
	height: 64px;
	opacity: 0.9;
}

.svc-case-body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: 18px 8px 8px;
	flex: 1 1 auto;
}

.svc-case-title {
	font-family: var(--secondary-font, inherit);
	font-size: 26px;
	font-weight: 700;
	line-height: 1.15;
	text-transform: uppercase;
	margin-bottom: 14px;
}

.svc-case-link {
	margin-top: auto;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	color: var(--accent-color);
}

/* Badges strip */
.svc-badges {
	padding: 30px;
	background: var(--dark-bg);
	background-image: url(assets/images/hero-pattern-bg.webp);
	background-size: cover;
}

.svc-badges strong {
	display: block;
	font-size: 22px;
	color: var(--secondary-color);
	margin-bottom: 4px;
}

.svc-badges span {
	color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 991px) {
	.svc-page .svc-banner {
		height: 320px;
	}

	.seo-way-acronym {
		font-size: 44px;
	}
}

@media (max-width: 575px) {
	.svc-page .svc-banner {
		height: 240px;
	}

	.seo-shifts .seo-shift-from {
		min-width: 0;
	}

	.seo-ai-mock {
		padding: 20px;
	}
}

/* Solid accent words inside section headings (theme applies gradient-clip to spans) */
.svc-page .section-title h2 .svc-accent {
	background: none;
	-webkit-background-clip: initial;
	background-clip: initial;
	-webkit-text-fill-color: var(--accent-color);
	color: var(--accent-color);
	display: block;
}

/* SEO page: method, cluster diagram, keep-ranking strip, why-us */
.svc-eyebrow {
	display: inline-block;
	margin-bottom: 14px;
	padding: 6px 14px;
	border-radius: 100px;
	background: rgba(255, 84, 32, 0.1);
	color: var(--accent-color);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.svc-eyebrow-light {
	background: rgba(196, 241, 18, 0.12);
	color: var(--secondary-color);
}




















.svc-keep {
	padding: 30px;
	border-radius: 22px;
	border: 1px solid var(--divider-color);
}

.svc-keep-title {
	font-size: 24px;
	margin-bottom: 8px;
}

.svc-keep-item {
	height: 100%;
	padding: 18px;
	border-radius: 16px;
	background: var(--grey-bg-color);
}

.svc-keep-item i {
	display: block;
	margin-bottom: 10px;
	font-size: 20px;
	color: var(--accent-color);
}

.svc-keep-item strong {
	display: block;
	margin-bottom: 4px;
	color: var(--heading-color);
}

.svc-keep-item span {
	font-size: 14px;
	line-height: 1.5;
	color: var(--text-color);
}

.svc-why {
	padding: 50px;
	background-color: var(--dark-bg);
	background-image: url(assets/images/hero-pattern-bg.webp);
	background-size: cover;
	color: rgba(255, 255, 255, 0.78);
}

.svc-why-item {
	display: flex;
	gap: 14px;
	height: 100%;
	padding: 20px;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.svc-why-item i {
	flex: 0 0 auto;
	margin-top: 3px;
	font-size: 20px;
	color: var(--secondary-color);
}

.svc-why-item h3 {
	font-size: 19px;
	color: var(--white-color);
	margin-bottom: 6px;
}

.svc-why-item p {
	color: rgba(255, 255, 255, 0.72);
	font-size: 15px;
}

@media (max-width: 767px) {
	.svc-why {
		padding: 28px;
	}

	.svc-keep {
		padding: 22px;
	}
}

/* SEO method: principles + framework pyramid */
.seo-principles li {
	display: flex;
	gap: 14px;
	padding: 14px 0;
	border-top: 1px solid var(--divider-color);
}

.seo-principles i {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: rgba(255, 84, 32, 0.1);
	color: var(--accent-color);
	font-size: 16px;
}

.seo-principles strong {
	color: var(--heading-color);
}

.seo-pyramid {
	padding: 32px 28px;
}

.seo-pyramid-head {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	margin-bottom: 24px;
}

.seo-pyramid-kicker {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--accent-color);
	margin-bottom: 4px;
}

.seo-pyramid-head strong {
	font-family: var(--secondary-font, inherit);
	font-size: 26px;
	line-height: 1.15;
	text-transform: uppercase;
	color: var(--heading-color);
}

.seo-pyramid-layers {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
}

.seo-tier {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 16px 20px;
	border-radius: 16px;
	transition: transform 0.3s ease;
}

.seo-tier:hover {
	transform: scale(1.02);
}

.seo-tier-name {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
	font-size: 17px;
}

.seo-tier-items {
	margin-top: 4px;
	font-size: 13.5px;
	line-height: 1.45;
}

.seo-tier-4 {
	width: 52%;
	background: var(--accent-color);
	color: var(--white-color);
	box-shadow: 0 16px 30px -14px rgba(255, 84, 32, 0.55);
}

.seo-tier-4 .seo-tier-items {
	color: rgba(255, 255, 255, 0.88);
}

.seo-tier-3 {
	width: 68%;
	background: var(--dark-bg);
	color: var(--white-color);
}

.seo-tier-3 i {
	color: var(--secondary-color);
}

.seo-tier-3 .seo-tier-items {
	color: rgba(255, 255, 255, 0.75);
}

.seo-tier-2 {
	width: 84%;
	background: #2a2d33;
	color: var(--white-color);
}

.seo-tier-2 i {
	color: var(--secondary-color);
}

.seo-tier-2 .seo-tier-items {
	color: rgba(255, 255, 255, 0.75);
}

.seo-tier-1 {
	width: 100%;
	background: var(--white-color);
	color: var(--heading-color);
	border: 1px solid var(--divider-color);
}

.seo-tier-1 i {
	color: var(--accent-color);
}

.seo-tier-1 .seo-tier-items {
	color: var(--text-color);
}

.seo-pyramid-note {
	margin-top: 18px;
	text-align: center;
	font-size: 14px;
	color: var(--text-color);
}

.seo-pyramid-note i {
	color: var(--accent-color);
	margin-right: 6px;
}

@media (max-width: 575px) {
	.seo-pyramid {
		padding: 22px 16px;
	}

	.seo-tier-4 { width: 70%; }
	.seo-tier-3 { width: 82%; }
	.seo-tier-2 { width: 92%; }

	.seo-tier {
		padding: 14px 12px;
	}
}

/* ==========================================================
   Design restraint pass (Oct 2026) — design only, no copy changes
   ========================================================== */

/* Orange second line only on each page's opening heading; elsewhere headings stay one colour. */
.svc-page .section-title h2 .svc-accent,
.svc-why h2 .svc-accent {
	color: inherit;
	-webkit-text-fill-color: currentColor;
	display: inline;
}

.page-subheader + section .section-title h2 .svc-accent,
.svc-accent.svc-accent-keep {
	color: var(--accent-color);
	-webkit-text-fill-color: var(--accent-color);
	display: block;
}

/* No blanket fade-in on scroll: content is simply there. Heroes keep their entrance. */
section:not(.hero):not(.page-subheader):not(.subheader-section) .wow,
footer .wow,
section.wow:not(.hero):not(.page-subheader):not(.subheader-section) {
	visibility: visible !important;
	animation-name: none !important;
}

/* Inside the inner-page heroes only the H1 keeps its entrance; everything else shows immediately. */
.subheader-section .wow:not(h1),
.page-subheader .wow:not(h1) {
	visibility: visible !important;
	animation-name: none !important;
}

/* Purposeful feedback on the things people click and type into. */
.btn {
	transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
	transform: translateY(-1px);
}

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

.btn:focus-visible,
a:focus-visible,
button:focus-visible {
	outline: 2px solid var(--accent-color);
	outline-offset: 3px;
}

.form-control {
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
	border-color: var(--accent-color);
	box-shadow: 0 0 0 3px rgba(255, 84, 32, 0.15);
}

/* Client logo ticker: real logos, white on black, optically balanced */
.brands-logo .mf-ticker-content {
	align-items: center;
}

.brands-logo .brand-logo {
	display: flex;
	align-items: center;
	margin: 0 48px;
}

.brands-logo .brand-logo img {
	display: block;
	max-width: none;
	opacity: 0.85;
	transition: opacity 0.2s ease;
}

.brands-logo .brand-logo img:hover {
	opacity: 1;
}

@media (max-width: 767px) {
	.brands-logo .brand-logo {
		margin: 0 28px;
	}

	.brands-logo .brand-logo img {
		height: auto;
		max-height: 40px;
		width: auto;
	}
}

/* Case studies hidden (BIGDIGITAL_CASE_STUDIES_LIVE): cards and titles stay on the page without looking clickable */
a.svc-case:not([href]):hover {
	transform: none;
	box-shadow: none;
}

a.svc-case:not([href]):hover .svc-case-media > img,
.portfolio-item .project-thumb a:not([href]) figure.image-anime img {
	transform: none;
}

/* Footer contact details are links (tel: / mailto:) but read like the rest of the footer text */
.site-footer .contact .footer-text a {
	color: inherit;
	text-decoration: none;
	transition: color 0.3s ease;
}

.site-footer .contact .footer-text a:hover {
	color: var(--accent-color);
}

/* Hero social bar: invisible spacers keep the rotated bar's original width and position */
.rotate-social-link .rotate-social-spacer {
	font-size: 14px;
	line-height: 1;
	text-transform: uppercase;
	margin: 0 10px;
	visibility: hidden;
}

/* Desktop header menu: open dropdowns for keyboard users too (hover already opens them) */
@media (min-width: 992px) {
	.navbar-expand-lg li.nav-item.dropdown:focus-within ul.dropdown-menu {
		opacity: 1;
		visibility: visible;
		transform: scaleY(1);
		pointer-events: inherit;
	}

	.navbar-expand-lg li.nav-item.dropdown.mega-menu:focus-within ul.dropdown-menu.mega-panel {
		transform: translate(-50%, 0);
	}
}

/* 404 page */
.error-404-code {
	display: block;
	margin-bottom: 8px;
	font-family: var(--secondary-font, inherit);
	font-size: 120px;
	font-weight: 700;
	line-height: 1;
	color: var(--accent-color);
}

.error-404-lead {
	max-width: 560px;
	font-size: 18px;
}

.error-404-subtitle {
	margin-bottom: 16px;
	font-size: 22px;
}

.error-404-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin: 0;
}

.error-404-links a {
	display: inline-block;
	padding: 10px 18px;
	border: 1px solid var(--divider-color);
	border-radius: 100px;
	background: var(--white-color);
	color: var(--heading-color);
	font-weight: 500;
	transition: border-color 0.2s ease, color 0.2s ease;
}

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

.error-404-more a {
	color: var(--heading-color);
	font-weight: 600;
	text-decoration: underline;
}

.error-404-more a:hover {
	color: var(--accent-color);
}

@media (max-width: 575px) {
	.error-404-code {
		font-size: 88px;
	}
}

/* ==========================================================================
   Responsive pass: sizes that used to be inline styles (and so ignored the
   mobile rules), plus phone gutters.
   ========================================================================== */

/* Homepage hero title */
.hero h1 {
	font-size: 76px;
	line-height: 86px;
}

/* Stat numbers (homepage + About) */
.stat-value {
	font-size: 44px;
	white-space: nowrap;
}

/* About + Contact title area */
.subheader-page {
	padding: 160px 0 40px;
}

.subheader-page .title-xxl {
	font-size: 6em;
	line-height: 1.1;
}

@media (max-width: 1199px) {
	.hero h1 {
		font-size: 60px;
		line-height: 70px;
	}

	.subheader-page .title-xxl {
		font-size: 80px;
	}
}

@media (max-width: 991px) {
	.hero h1 {
		font-size: 48px;
		line-height: 56px;
	}

	.subheader-page {
		padding: 130px 0 32px;
	}

	.subheader-page .title-xxl {
		font-size: 64px;
	}
}

@media (max-width: 767px) {
	.hero h1 {
		font-size: 38px;
		line-height: 44px;
	}

	.stat-value {
		font-size: 34px;
	}

	.subheader-page {
		padding: 110px 0 24px;
	}

	.subheader-page .title-xxl {
		font-size: 46px;
		line-height: 1.05;
	}

	/* Bootstrap's g-5 gutter (3rem) is wider than the phone container padding,
	   which pushed rows ~12px past the screen edge and caused sideways scrolling. */
	.row.g-5,
	.row.gx-5 {
		--bs-gutter-x: 1.5rem;
	}

	.row.g-5,
	.row.gy-5 {
		--bs-gutter-y: 2rem;
	}
}

/* Phone and tablet type scale (template sizes were desktop-sized on small screens) */
@media (max-width: 991px) {
	.process-guesswork #faqAccordion button.accordion-button {
		font-size: 22px;
		padding: 20px 0;
	}
}

@media (max-width: 767px) {
	.section-title h2 {
		font-size: 28px;
		line-height: 1.15;
	}

	.process-guesswork #faqAccordion button.accordion-button {
		font-size: 18px;
		line-height: 1.35;
		padding: 18px 0;
	}

	.service-content-left .services-title {
		font-size: 26px;
	}

	.ticker-item strong,
	.our-brand-text .ticker-item strong {
		font-size: 24px;
	}

	.facts-item-counter h2,
	.facts-item-counter h2.stat-value {
		font-size: 36px;
	}

	.about-us-item .display-3 {
		font-size: 34px;
	}

	.project-content h3 a {
		font-size: 22px;
	}

	.capabilities .our-service h3 {
		font-size: 22px;
	}

	h3.display-5 {
		font-size: 26px;
	}

	.svc-step-num {
		font-size: 22px;
	}

	.svc-case-title {
		font-size: 22px;
	}

	.seo-way-acronym {
		font-size: 32px;
	}
}

/* Mobile menu: a dark floating panel instead of the template's solid orange block */
@media (max-width: 991px) {
	div#navbar-content.main-menu,
	.header-02 div#navbar-content.main-menu {
		left: 0;
		width: 100%;
		padding: 6px 20px 20px;
		background: #0b0d0b;
		border: 1px solid rgba(255, 255, 255, 0.1);
		border-radius: 18px;
		box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
		max-height: calc(100vh - 100px);
		overflow-y: auto;
	}

	div#navbar-content .navbar-nav > .nav-item > .nav-link {
		color: var(--white-color) !important;
		font-size: 17px;
		font-weight: 600;
		padding: 14px 4px !important;
		border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	}

	div#navbar-content .navbar-nav > .nav-item > .nav-link:hover,
	div#navbar-content .navbar-nav > .nav-item > .nav-link:focus-visible {
		color: var(--accent-color) !important;
	}

	div#navbar-content .navbar-nav > .nav-item:last-child > .nav-link {
		border-bottom: 0;
	}

	div#navbar-content .mega-panel {
		margin: 8px 0 !important;
		padding: 8px 12px !important;
		background: rgba(255, 255, 255, 0.04) !important;
		border: 1px solid rgba(255, 255, 255, 0.08) !important;
		border-radius: 14px !important;
	}

	div#navbar-content .mega-panel .mega-icon {
		background: rgba(255, 84, 32, 0.16);
		color: var(--accent-color);
	}

	div#navbar-content .mega-panel .mega-title {
		color: var(--white-color);
	}

	div#navbar-content .mega-panel .mega-promo {
		border-top-color: rgba(255, 255, 255, 0.1);
	}

	div#navbar-content .mega-panel .mega-promo-link {
		color: var(--accent-color) !important;
	}

	div#navbar-content .header-btn {
		margin-top: 4px;
		padding: 16px 0 0;
		border-top: 0;
	}

	div#navbar-content .header-btn .btn {
		width: 100%;
		justify-content: center;
	}
}

/* Contact form (Contact page + pop-up): required-field markers and the "Which services do you need?" options */
.contact-us-form .form-required {
	color: var(--accent-color);
}

.contact-services-hint {
	font-size: 13px;
	font-weight: 400;
	color: var(--text-color);
	opacity: 0.75;
	margin-left: 4px;
}

.contact-service-option {
	display: flex;
	align-items: center;
	gap: 10px;
	height: 100%;
	min-height: 50px;
	margin: 0;
	padding: 12px 14px;
	border: 1px solid #dee2e6;
	border-radius: 12px;
	background: var(--white-color);
	font-size: 15px;
	line-height: 1.3;
	color: var(--heading-color);
	cursor: pointer;
	transition: border-color 0.2s ease, background-color 0.2s ease;
}

.contact-service-option:hover {
	border-color: #c4c4c4;
}

.contact-service-option .form-check-input {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin: 0;
	border-radius: 5px;
	cursor: pointer;
}

.contact-service-option .form-check-input:checked {
	background-color: var(--accent-color);
	border-color: var(--accent-color);
}

.contact-service-option .form-check-input:focus {
	border-color: var(--accent-color);
	box-shadow: 0 0 0 0.2rem rgba(255, 84, 32, 0.2);
}

.contact-service-option:has(.form-check-input:checked) {
	border-color: var(--accent-color);
	background: rgba(255, 84, 32, 0.06);
}

/* Honeypot field for bots: hidden from people and screen readers */
.bd-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Sticky "Contact Us" button (bottom right) */
.bd-sticky-contact {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 1040;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 22px;
	border: 0;
	border-radius: 100px;
	background: var(--accent-color);
	color: var(--white-color);
	font-size: 16px;
	font-weight: 600;
	line-height: 1;
	box-shadow: 0 12px 30px rgba(255, 84, 32, 0.35);
	transition: transform 0.2s ease, background-color 0.2s ease;
}

.bd-sticky-contact:hover {
	transform: translateY(-2px);
	background: #e8390f;
}

.bd-sticky-contact:focus-visible {
	outline: 3px solid var(--secondary-color);
	outline-offset: 3px;
}

/* Contact pop-up */
.bd-contact-modal .modal-content {
	border: 0;
	border-radius: 22px;
}

.bd-contact-modal .modal-header {
	align-items: flex-start;
	gap: 16px;
	padding: 28px 32px 8px;
	border-bottom: 0;
}

.bd-contact-modal .modal-title {
	margin-bottom: 6px;
	font-family: var(--secondary-font, inherit);
	font-size: 30px;
	line-height: 1.1;
	text-transform: uppercase;
}

.bd-contact-modal .modal-body {
	padding: 16px 32px 32px;
}

.bd-contact-call a {
	color: var(--heading-color);
	font-weight: 600;
}

@media (max-width: 575px) {
	.bd-sticky-contact {
		right: 14px;
		bottom: 14px;
		padding: 12px 18px;
		font-size: 15px;
	}

	.bd-contact-modal .modal-header,
	.bd-contact-modal .modal-body {
		padding-left: 20px;
		padding-right: 20px;
	}

	.bd-contact-modal .modal-title {
		font-size: 24px;
	}
}

.modal-backdrop {
	--bs-backdrop-opacity: 0.7;
	backdrop-filter: blur(2px);
}

/* Hide the sticky Contact button while the mobile menu is open */
body:has(#navbar-content.show) .bd-sticky-contact {
	display: none;
}

/* Testimonial slides: equal-height cards, so shorter slides don't leave a gap above the dots */
.testimonials-wrap .swiper-slide {
	height: auto;
}

.testimonials-wrap .testimonial-card {
	height: 100%;
}

/* Services list arrows: the rotated 65px circle's corners poked past the phone screen edge */
@media (max-width: 767px) {
	.service-link {
		width: 52px;
		height: 52px;
		line-height: 52px;
		font-size: 18px;
		flex-shrink: 0;
		margin-left: 16px;
	}
}

/* Homepage service cards: step numbers on phones */
@media (max-width: 767px) {
	.capabilities .our-service > span.fw-semibold {
		font-size: 38px;
	}

	.capabilities .our-service h3.mt-5 {
		margin-top: 1.75rem !important;
	}
}

/* About stats: 4 across from tablet up, so the numbers and padding step down with the card width
   (at 768px "500K+" at 60px was wider than its card and pushed the page sideways) */
.our-facts-counter .facts-item-counter {
	padding: 40px 20px !important;
}

@media (max-width: 1399px) {
	.our-facts-counter .facts-item-counter h2.stat-value {
		font-size: 68px;
	}
}

@media (max-width: 1199px) {
	.our-facts-counter .facts-item-counter {
		padding: 32px 12px !important;
	}

	.our-facts-counter .facts-item-counter h2.stat-value {
		font-size: 48px;
	}
}

@media (max-width: 991px) {
	.our-facts-counter .facts-item-counter {
		padding: 26px 10px !important;
	}

	.our-facts-counter .facts-item-counter h2.stat-value {
		font-size: 36px;
	}

	.our-facts-counter .facts-item-counter strong {
		font-size: 15px;
	}
}

/* Page title breadcrumbs: keep "Home / Services / Page" on one line. On desktop the column
   sizes to the trail instead of a fixed narrow col-lg-2; on phones the text steps down a size. */
.page-subheader .breadcrumb-item {
	white-space: nowrap;
}

.page-subheader .breadcrumb-item a {
	font-size: inherit;
}

@media (min-width: 992px) {
	.page-subheader .row > .col-lg-2 {
		flex: 0 0 auto;
		width: auto;
		margin-right: 24px;
	}
}

@media (max-width: 991px) {
	.page-subheader ol.breadcrumb {
		margin-bottom: 10px !important;
	}
}

@media (max-width: 575px) {
	.page-subheader ol.breadcrumb {
		font-size: 14px;
	}
}

@media (max-width: 359px) {
	.page-subheader ol.breadcrumb {
		font-size: 13px;
		--bs-breadcrumb-item-padding-x: 0.3rem;
	}
}

/* ==========================================================================
   Homepage "Proven Results By The Numbers" banner. Desktop is a 330px strip with
   the photo behind; on tablets and phones it grows to fit the 2 x 2 stats.
   ========================================================================== */
section.top-banner.results-banner {
	position: relative;
	height: 330px;
}

.results-banner-bg {
	position: absolute;
	top: -270px;
	left: 0;
	width: 100%;
	height: 800px;
}

.results-banner-overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: rgba(0, 2, 4, 0.6);
}

.results-banner-inner {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: flex;
	align-items: center;
}

.results-banner-rule {
	border-color: rgba(255, 255, 255, 0.2);
	margin-bottom: 30px;
}

@media (max-width: 991px) {
	section.top-banner.results-banner {
		height: auto;
		padding: 56px 0;
	}

	.results-banner-bg {
		top: 0;
		height: 100%;
	}

	.results-banner-overlay {
		background: rgba(0, 2, 4, 0.78);
	}

	.results-banner-inner {
		position: relative;
		inset: auto;
		display: block;
	}

	.results-banner-inner > .row {
		margin-left: 0;
		margin-right: 0;
		width: auto !important;
	}

	.results-banner-title {
		text-align: center;
		font-size: 30px;
		line-height: 1.15;
	}

	.results-banner-rule {
		margin: 4px 0 28px;
	}

	.results-banner-stats {
		row-gap: 28px;
	}

	.results-banner .facts-item-counter h2.stat-value {
		margin-bottom: 6px;
	}

	.results-banner .facts-item-counter strong {
		display: block;
		font-size: 15px;
		line-height: 1.3;
	}
}

@media (max-width: 767px) {
	section.top-banner.results-banner {
		padding: 48px 0;
	}

	.results-banner-title {
		font-size: 26px;
	}
}

/* Homepage "We treat your business like it's ours" steps: the 64px minimum title height only
   lines titles up across the 4 desktop columns; stacked, it just leaves a gap under each title. */
@media (max-width: 991px) {
	.collaborating .steup-item {
		margin-bottom: 36px;
	}

	.collaborating .steup-item h3 {
		min-height: 0 !important;
		margin-top: 18px !important;
		margin-bottom: 10px !important;
	}

	.collaborating .steup-item p {
		margin-bottom: 0;
	}
}

@media (max-width: 767px) {
	.collaborating .row.align-items-start > div + div .steup-item {
		padding-top: 32px;
		border-top: 1px solid rgba(255, 255, 255, 0.12);
	}

	.collaborating .steup-item {
		margin-bottom: 32px;
	}

	.collaborating .row.align-items-start > div:last-child .steup-item {
		margin-bottom: 0;
	}
}

/* Homepage service cards slider: equal-height cards with "Read more" on the bottom line,
   so shorter cards don't leave a gap above the dots */
.capabilities-service .swiper-slide {
	height: auto;
}

.capabilities .our-service {
	display: flex;
	flex-direction: column;
}

.capabilities .our-service > .read-more {
	margin-top: auto;
}

/* Testimonial cards are equal height, so video testimonials let the thumbnail fill the spare
   space instead of leaving a blank block under the name */
.testimonials-wrap .testimonial-card {
	display: flex;
	flex-direction: column;
}

.testimonials-wrap .testimonial-card .video-thumb {
	flex: 1 1 auto;
	min-height: 200px;
}

.testimonials-wrap .testimonial-card .video-thumb > img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* "A process built on data" steps: same phone/tablet sizes as the FAQ accordion */
@media (max-width: 991px) {
	.process-guesswork #processAccordion button.accordion-button {
		font-size: 22px;
		padding: 20px 0;
	}
}

@media (max-width: 767px) {
	.process-guesswork #processAccordion button.accordion-button {
		font-size: 19px;
		line-height: 1.3;
		padding: 18px 0;
	}
}

/* Homepage hero asterisk: smaller on phones so the intro and button sit higher on the first screen */
@media (max-width: 767px) {
	.circle-text-img img {
		width: 88px !important;
		height: 88px !important;
	}
}
