/* =========================================================
 * JSALIS ACF BLOCKS — Accounting Hero / Services / CTA
 * Full-bleed helper: breaks the block out of any parent
 * container (Bootstrap .container, page-builder rows, etc.)
 * so it always spans the full viewport width.
 * ========================================================= */

.jsalis-full-bleed {
	width: 100%;
	box-sizing: border-box;
}

/* ---------- HERO ---------- */

.accounting-hero {
	position: relative;
	min-height: 420px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-size: cover;
	background-position: center;
	background-color: #2d3142;
}

.accounting-hero-overlay {
	position: absolute;
	inset: 0;
	background: rgba(20, 32, 43, .55);
}

.accounting-hero-content {
	position: relative;
	z-index: 2;
	max-width: 850px;
	padding: 40px 20px;
	text-align: center;
	color: #fff;
}

.accounting-hero h1 {
	margin: 0 0 25px;
	font-size: clamp(42px, 5vw, 68px);
	line-height: 1.08;
	font-weight: 600;
	letter-spacing: -1.5px;
	color: #fff;
}

.accounting-hero p {
	margin: 0 0 35px;
	font-size: 19px;
	line-height: 1.7;
}

.accounting-hero-button {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	padding: 16px 27px;
	background: #5c6d7f;
	color: #fff;
	text-decoration: none;
	font-size: 15px;
	font-weight: 600;
	border-radius: 4px;
	transition: .2s ease;
}

.accounting-hero-button:hover {
	background: #4d5e70;
	color: #fff;
}


/* ---------- ABOUT ---------- */

.accounting-about {
	padding: 80px 20px;
	background: #fff;
}

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

.accounting-about-content h2 {
	margin: 0 0 20px;
	color: #2d3142;
	font-size: clamp(28px, 3vw, 38px);
	line-height: 1.2;
	font-weight: 600;
}

.accounting-about-text p {
	margin: 0 0 15px;
	color: #687582;
	font-size: 16px;
	line-height: 1.8;
}

.accounting-about-text p:last-child {
	margin-bottom: 0;
}

.accounting-about-media img {
	display: block;
	width: 100%;
	height: 100%;
	max-height: 420px;
	object-fit: cover;
	border-radius: 6px;
}


/* ---------- SERVICES ---------- */

.accounting-services {
	padding: 60px 20px;
	background: #fff;
}

.accounting-container {
	width: min(1200px, 100%);
	margin: 0 auto;
}

.accounting-services-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 45px;
}

.accounting-service {
	text-align: center;
}

.accounting-service-icon {
	width: 58px;
	height: 58px;
	margin: 0 auto 25px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #5c6d7f;
}

.accounting-service-icon svg {
	width: 42px;
	height: 42px;
	stroke: #5c6d7f;
	fill: none;
	stroke-width: 1.5;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.accounting-service h3 {
	margin: 0 0 20px;
	color: #5c6d7f;
	font-size: 19px;
	line-height: 1.3;
	font-weight: 600;
}

.accounting-service h3 a {
	color: inherit;
	text-decoration: none;
}

.accounting-service h3 a:hover {
	text-decoration: underline;
}

.accounting-service p {
	margin: 0;
	color: #687582;
	font-size: 14px;
	line-height: 1.8;
}


/* ---------- CTA ---------- */

.accounting-cta {
	padding: 60px 20px;
	background: #5c6d7f;
	color: #fff;
	text-align: center;
}

.accounting-cta-inner {
	max-width: 900px;
	margin: 0 auto;
}

.accounting-cta h2 {
	margin: 0 0 20px;
	font-size: clamp(32px, 4vw, 46px);
	line-height: 1.2;
	font-weight: 600;
	color: #fff;
}

.accounting-cta p {
	margin: 0 auto 35px;
	font-size: 17px;
	line-height: 1.7;
	opacity: .9;
}

.accounting-cta-buttons {
	display: flex;
	justify-content: center;
	gap: 20px;
	flex-wrap: wrap;
}

.accounting-cta-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-width: 180px;
	padding: 16px 25px;
	background: #fff;
	color: #5c6d7f;
	text-decoration: none;
	border: 1px solid #fff;
	border-radius: 4px;
	font-size: 15px;
	font-weight: 600;
	transition: .2s ease;
}

.accounting-cta-button:hover {
	opacity: .9;
	color: #5c6d7f;
}

.accounting-cta-button-outline {
	background: transparent;
	color: #fff;
}

.accounting-cta-button-outline:hover {
	color: #fff;
}


/* ---------- RESPONSIVE ---------- */

@media (max-width: 900px) {

	.accounting-about-inner {
		grid-template-columns: 1fr;
		gap: 35px;
	}

	.accounting-about-media {
		order: -1;
	}

	.accounting-services-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 60px 30px;
	}

}

@media (max-width: 600px) {

	.accounting-hero {
		min-height: 380px;
	}

	.accounting-about {
		padding: 50px 20px;
	}

	.accounting-about-media img {
		max-height: 280px;
	}

	.accounting-hero h1 {
		font-size: 40px;
	}

	.accounting-hero p {
		font-size: 16px;
	}

	.accounting-services {
		padding: 70px 20px;
	}

	.accounting-services-grid {
		grid-template-columns: 1fr;
		gap: 50px;
	}

	.accounting-cta {
		padding: 75px 20px;
	}

	.accounting-cta h2 {
		font-size: 32px;
	}

	.accounting-cta-buttons {
		flex-direction: column;
		align-items: stretch;
	}

	.accounting-cta-button {
		width: 100%;
	}

}
