/* Compare Section */
.compare-section {
	padding: 64px 0 0;
}
.compare-section .head-row {
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
	gap: 20px 40px;
	margin-bottom: 48px;
}
.compare-section .head-row .content-col {
	flex: 1 1 500px;
	max-width: 700px;
}
.compare-section .head-row .content-col h2 {
	font-size: 42px;
	margin-bottom: 15px;
}
.compare-section .head-row .content-col p:last-child {
	margin-bottom: 0;
}
.compare-section .head-row .toggle-col {
	flex: 0 0 auto;
}
/* View toggle */
.compare-section .view-toggle {
	display: inline-flex;
	gap: 4px;
	padding: 4px;
	background-color: #fff;
	border: 1px solid var(--color-4);
	border-color: color-mix(in srgb, var(--color-1) 20%, transparent);
	border-radius: 8px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.compare-section .view-toggle .toggle-link {
	display: block;
	padding: 8px 24px;
	border-radius: 8px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	white-space: nowrap;
	color: var(--color-1);
	background-color: transparent;
}
.compare-section .view-toggle .toggle-link:hover,
.compare-section .view-toggle .toggle-link:focus {
	color: var(--color-1);
	background-color: var(--color-5);
	background-color: color-mix(in srgb, var(--color-1) 10%, transparent);
}
.compare-section .view-toggle .toggle-link.active,
.compare-section .view-toggle .toggle-link.active:hover,
.compare-section .view-toggle .toggle-link.active:focus {
	color: #fff;
	background-color: var(--color-1);
}
/* Views */
.compare-section .view {
	display: none;
}
.compare-section .view.active {
	display: block;
}
/* List view - matches the service section layout */
.compare-section .item {
	padding: 45px 0;
}
.compare-section .item:nth-child(odd) {
	background-color: var(--color-5);
}
.compare-section .item-row {
	flex-wrap: wrap;
	gap: 20px 70px;
	align-items: center;
}
.compare-section .item-row .image-col {
	flex: 1 1 calc(40% - 35px);
}
.compare-section .item-row .content-col {
	flex: 1 1 calc(60% - 35px);
}
.compare-section .item .image {
	width: 75px;
}
.compare-section .item .heading {
	font-size: 26px;
	font-weight: 700;
	margin-top: 15px;
}
.compare-section .item-row .content-col ul {
	margin-bottom: 20px;
}
.compare-section .item-row .content-col li {
	margin-bottom: 20px;
}
.compare-section .item-row .content-col li:last-child,
.compare-section .item-row .content-col ul:last-child,
.compare-section .item-row .content-col p:last-child {
	margin-bottom: 0;
}
/* Compare view */
.compare-section .table-wrap {
	max-width: 1024px;
	margin: 0 auto 64px;
	background-color: #fff;
	border-top: 8px solid var(--color-4);
	border-color: color-mix(in srgb, var(--color-4) 50%, transparent);
	border-radius: 7px;
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
	overflow-x: auto;
}
.compare-section .compare-table {
	width: 100%;
	margin: 0;
	border-collapse: collapse;
	font-size: 16px;
}
.compare-section .compare-table th,
.compare-section .compare-table td {
	padding: 16px 12px;
	text-align: center;
	vertical-align: middle;
	border-right: 1px solid var(--color-4);
	border-color: color-mix(in srgb, var(--color-4) 50%, transparent);
}
.compare-section .compare-table tr>*:last-child {
	border-right: none;
}
.compare-section .compare-table thead th {
	font-weight: 700;
	color: var(--color-5);
	background-color: var(--color-1);
	border-bottom: 1px solid var(--color-4);
	border-bottom-color: color-mix(in srgb, var(--color-4) 50%, transparent);
}
.compare-section .compare-table tbody tr {
	border-bottom: 1px solid var(--color-4);
	border-bottom-color: color-mix(in srgb, var(--color-4) 50%, transparent);
}
.compare-section .compare-table tbody tr:last-child {
	border-bottom: none;
}
.compare-section .compare-table tbody tr:nth-child(odd) {
	background-color: var(--color-5);
	background-color: color-mix(in srgb, var(--color-4) 25%, #fff);
}
.compare-section .compare-table .row-heading {
	font-weight: 700;
	color: var(--color-1);
}
@media screen and (max-width: 991px) {
	.compare-section .compare-table {
		min-width: 600px;
	}
}
@media screen and (max-width: 767px) {
	.compare-section {
		padding: 45px 0;
	}
	.compare-section .head-row {
		flex-direction: column;
		align-items: flex-start;
		margin-bottom: 30px;
	}
	.compare-section .head-row .content-col {
		flex-basis: auto;
	}
	.compare-section .head-row .content-col h2 {
		font-size: 32px;
	}
	.compare-section .item {
		padding: 30px 0;
	}
	.compare-section .item-row>.col {
		flex-basis: 100%;
	}
	.compare-section .compare-table {
		min-width: 0px;
	}
	.compare-section .compare-table th,
	.compare-section .compare-table td {
		padding: 10px 6px;
		font-size: 14px;
	}
}