/**
 * Smart Leading Net — Our Services Section
 * Scoped styles only. Uses theme tokens — no global overrides.
 */

.our-services {
	padding-top: var(--section-spacing);
	padding-bottom: var(--section-spacing);
	background: var(--white);
	overflow-x: clip;
}

.our-services__container {
	width: 100%;
}

.our-services__header {
	max-width: 860px;
	margin: 0 auto 48px;
	text-align: center;
}

.our-services__label {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	margin: 0 0 24px;
	font-size: var(--paragraph-size);
	font-weight: var(--font-weight-semibold);
	line-height: 1.2;
	letter-spacing: 0.08em;
	color: var(--primary-color);
}

.our-services__label::before,
.our-services__label::after {
	content: "";
	flex: 0 1 80px;
	width: 100%;
	max-width: 45px;
	height: 1px;
	background: var(--primary-color);
}

.our-services__heading {
	margin: 0 0 20px;
	font-size: var(--section-title-size);
	font-weight: var(--section-title-weight);
	line-height: 1.15;
	color: var(--heading-color);
}

.our-services__heading-accent {
	color: var(--primary-color);
}

.our-services__description {
	max-width: 760px;
	margin: 0 auto;
	font-size: var(--paragraph-size);
	font-weight: var(--paragraph-weight);
	line-height: 1.6;
	color: var(--text-color);
}

/* Tabs */

.our-services__tabs {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 20px;
	margin-bottom: 48px;
}

.our-services__tab {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0px;
	width: 100%;
	min-height: 56px;
	padding: 13px 13px;
	border: 0;
	border-radius: 8px;
	background: var(--light-blue-2);
	color: var(--heading-color);
	font-family: inherit;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	cursor: pointer;
	transition:
		background-color 0.3s ease,
		color 0.3s ease;
}
.our-services__tab:hover{
	background: var(--secondary-color);
    color: var(--white);
}
.our-services__tab:hover .our-services__tab-icon{
	color: var(--white);
}
.our-services__tab-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 50px;
    height: 50px;
	color: var(--primary-color);
	transition: color 0.3s ease;
}

.our-services__tab-icon svg {
	display: block;
	width: 32px;
	height: 32px;
}


.our-services__tab-label {
	display: block;
}

.our-services__tab.is-active {
	background: var(--secondary-color);
	color: var(--white);
}

.our-services__tab.is-active .our-services__tab-icon {
	color: var(--white);
}

.our-services__tab:focus-visible {
	outline: 2px solid var(--primary-color);
	outline-offset: 2px;
}

/* Main content */

.our-services__panels {
	position: relative;
}

.our-services__panel {
	display: none;
}

.our-services__panel.is-active {
	display: block;
	animation: our-services-panel-in 0.3s ease;
}

@keyframes our-services-panel-in {
	from {
		opacity: 0;
		transform: translateY(10px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.our-services__panel.is-active {
		animation: none;
	}
}

.our-services__content {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: stretch;
	gap: 48px;
}

.our-services__featured-label {
	margin: 0 0 16px;
	font-size: 14px;
	font-weight: var(--font-weight-semibold);
	line-height: 1.2;
	letter-spacing: 0.06em;
	color: var(--primary-color);
}

.our-services__featured-heading {
	margin: 0 0 20px;
	font-size: var(--section-title-size);
	font-weight: var(--section-title-weight);
	line-height: 1.15;
	color: var(--heading-color);
}

.our-services__featured-text {
	margin: 0 0 24px;
	font-size: var(--paragraph-size);
	font-weight: var(--paragraph-weight);
	line-height: 1.6;
	color: var(--text-color);
}

.our-services__bullets {
	margin: 0 0 32px;
	padding: 0;
	list-style: none;
}

.our-services__bullet {
	position: relative;
	margin: 0 0 14px;
	padding-left: 22px;
	font-size: var(--paragraph-size);
	font-weight: var(--font-weight-regular);
	line-height: 1.5;
	color: var(--heading-color);
}

.our-services__bullet:last-child {
	margin-bottom: 0;
}

.our-services__bullet::before {
	content: "";
	position: absolute;
	top: 0.55em;
	left: 0;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--primary-color);
	transform: translateY(-50%);
}

/* Service links grid */

.our-services__services {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin-top: 32px;
	padding-top: 32px;
	border-top: 1px solid #e5eaf4;
}

.our-services__service {
	display: flex;
	align-items: center;
	gap: 14px;
	height: 62px;
	padding: 14px 18px;
	border-radius: 8px;
	text-decoration: none;
	color: var(--heading-color);
	transition: background-color 0.3s ease, color 0.3s ease;
}

.our-services__service:hover,
.our-services__service:focus-visible {
	background: var(--primary-color);
	color: var(--white);
}

.our-services__service:focus-visible {
	outline: 2px solid var(--primary-color);
	outline-offset: 4px;
}

.our-services__service-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 48px;
	height: 48px;
	border-radius: 8px;
	background: #edf3ff;
	color: var(--primary-color);
	transition:
		background-color 0.3s ease,
		color 0.3s ease;
}

.our-services__service:hover .our-services__service-icon,
.our-services__service:focus-visible .our-services__service-icon {
	background: rgba(255, 255, 255, 0.15);
	color: var(--white);
}

.our-services__service-icon svg {
	display: block;
	width: 26px;
	height: 26px;
	flex-shrink: 0;
}

.our-services__service-label {
	font-size: var(--paragraph-size);
	font-weight: 600;
	line-height: 1.2;
	color: inherit;
	white-space: nowrap;
}

/* Results grid */

.our-services__results {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-template-rows: repeat(3, minmax(140px, 1fr));
	height: 100%;
}

.our-services__result-cell {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 32px 24px;
	text-align: center;
	border-right: 1px dotted #d7e3f8;
	border-bottom: 1px dotted #d7e3f8;
}

.our-services__result-cell:nth-child(2n) {
	border-right: 0;
}

.our-services__result-cell:nth-child(n + 5) {
	border-bottom: 0;
}

.our-services__result-value {
	margin: 0 0 8px;
	font-size: 48px;
	font-weight: var(--font-weight-bold);
	line-height: 1;
	color: var(--primary-color);
}

.our-services__result-label {
	margin: 0;
	font-size: var(--paragraph-size);
	font-weight: var(--font-weight-medium);
	line-height: 1.4;
	color: var(--heading-color);
}

.our-services__result-logo {
	display: block;
	width: auto;
	max-width: 100%;
	max-height: 72px;
	height: auto;
	object-fit: contain;
}

/* --------------------------------------------------------------------------
   Responsive — mobile
   -------------------------------------------------------------------------- */

@media (max-width: 767.98px) {
	.our-services {
		padding-top: 60px;
		padding-bottom: 60px;
	}

	.our-services__header {
		margin-bottom: 32px;
	}

	.our-services__tabs {
		display: flex;
		flex-wrap: nowrap;
		overflow-x: auto;
		gap: 12px;
		margin-left: 0;
		margin-right: 0;
		padding-left: 0;
		padding-right: 0;
		margin-bottom: 32px;
		max-width: 100%;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		-ms-overflow-style: none;
	}

	.our-services__tabs::-webkit-scrollbar {
		display: none;
	}

	.our-services__tab {
		flex: 0 0 auto;
		width: auto;
		min-width: 0;
		max-width: 85vw;
		height: 56px;
		min-height: 56px;
	}

	.our-services__content {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.our-services__featured,
	.our-services__results {
		min-width: 0;
		width: 100%;
	}

	.our-services__featured-heading {
		line-height: 1.15;
		font-weight: 700;
		font-size: var(--section-title-size-mobile);
	}

	.our-services__featured-text {
		font-size: 16px;
		line-height: 1.7;
	}

	.our-services__bullet {
		font-size: 16px;
	}

	.our-services__services {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
	}

	.our-services__service {
		height: auto;
		min-height: 62px;
		min-width: 0;
		padding: 10px;
	}

	.our-services__service-label {
		white-space: normal;
	}

	.our-services__results {
		grid-template-columns: repeat(2, 1fr);
		grid-template-rows: auto;
		gap: 20px;
		height: auto;
	}

	.our-services__result-cell {
		padding: 24px 12px;
		border: 0;
	}

	.our-services__result-cell:nth-child(2n),
	.our-services__result-cell:nth-child(n + 5) {
		border: 0;
	}

	.our-services__result-value {
		font-size: 32px;
		line-height: 1;
	}

	.our-services__result-logo {
		max-width: 140px;
		max-height: none;
		height: auto;
		margin: 0 auto;
	}
}
