/*
Секция: другие услуги по налоговым спорам.
Файл: sections-modules/tax-dispute-services/tax-dispute-services.css
*/

.tax-dispute-services,
.tax-dispute-services * {
	box-sizing: border-box;
}

.tax-dispute-services {
	--tax-dispute-services-blue: #1494d2;
	--tax-dispute-services-blue-dark: #24354d;
	--tax-dispute-services-border: rgba(36, 53, 77, 0.38);
	--tax-dispute-services-card-bg: rgba(255, 255, 255, 0.74);

	position: relative;
	width: 100%;
	padding: clamp(42px, 5vw, 76px) clamp(16px, 3vw, 34px);
	color: var(--tax-dispute-services-blue-dark);
	overflow: hidden;
	background:
		radial-gradient(circle at 82% 12%, rgba(20, 148, 210, 0.08) 0, transparent 28%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(246, 250, 253, 0.94) 100%);
}

.tax-dispute-services::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		repeating-radial-gradient(ellipse at 78% 18%, rgba(36, 53, 77, 0.055) 0 1px, transparent 1px 12px),
		linear-gradient(135deg, transparent 0 36%, rgba(36, 53, 77, 0.035) 36% 36.2%, transparent 36.2% 100%);
	opacity: 0.72;
}

.tax-dispute-services__inner {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 1400px;
	margin: 0 auto;
}

.tax-dispute-services__title {
	position: relative;
	max-width: 980px;
	margin: 0 0 clamp(28px, 3vw, 40px);
	padding-bottom: 16px;
	color: var(--tax-dispute-services-blue);
	font-family: var(--font-heading);
	font-size: clamp(32px, 3.15vw, 52px);
	font-weight: 720;
	line-height: 1.08;
	letter-spacing: -0.012em;
	text-transform: uppercase;
}

.tax-dispute-services__title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 76px;
	height: 4px;
	border-radius: 999px;
	background: var(--tax-dispute-services-blue);
}

.tax-dispute-services__title-dark {
	display: block;
	color: #08245c;
}

.tax-dispute-services__title-blue {
	display: block;
	margin-top: 8px;
	color: var(--tax-dispute-services-blue);
	white-space: nowrap;
}

.tax-dispute-services__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(18px, 2vw, 25px);
	align-items: stretch;
}

.tax-dispute-services__card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 144px;
	padding: 22px 24px 24px;
	overflow: hidden;
	border: 1px solid var(--tax-dispute-services-border);
	border-radius: 10px;
	color: var(--tax-dispute-services-blue-dark);
	text-decoration: none;
	background:
		linear-gradient(135deg, rgba(225, 245, 254, 0.74) 0%, rgba(255, 255, 255, 0.82) 100%),
		var(--tax-dispute-services-card-bg);
	box-shadow:
		0 10px 28px rgba(36, 53, 77, 0.08),
		inset 0 1px 0 rgba(255, 255, 255, 0.72);
	transition:
		transform 0.24s ease,
		box-shadow 0.24s ease,
		background 0.24s ease,
		border-color 0.24s ease,
		color 0.24s ease;
}

.tax-dispute-services__card:hover,
.tax-dispute-services__card:focus-visible {
	transform: translateY(-4px);
	color: #ffffff;
	border-color: rgba(36, 53, 77, 0.42);
	background: linear-gradient(135deg, #3498db 0%, #2c3e50 100%);
	box-shadow: 0 14px 34px rgba(36, 53, 77, 0.18);
	outline: none;
}

.tax-dispute-services__card-top {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 14px;
	min-height: 30px;
	margin-bottom: 24px;
}

.tax-dispute-services__card-label {
	color: #63758c;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	transition: color 0.24s ease;
}

.tax-dispute-services__card-arrow {
	display: block;
	flex: 0 0 28px;
	width: 28px;
	height: 28px;
	color: var(--tax-dispute-services-blue);
	transition:
		color 0.24s ease,
		transform 0.24s ease;
}

.tax-dispute-services__card-title {
	display: block;
	margin-top: auto;
	color: inherit;
	font-size: clamp(22px, 1.7vw, 28px);
	font-weight: 600;
	line-height: 1.24;
	letter-spacing: -0.018em;
}

.tax-dispute-services__card:hover .tax-dispute-services__card-label,
.tax-dispute-services__card:focus-visible .tax-dispute-services__card-label,
.tax-dispute-services__card:hover .tax-dispute-services__card-arrow,
.tax-dispute-services__card:focus-visible .tax-dispute-services__card-arrow {
	color: #ffffff;
}

.tax-dispute-services__card:hover .tax-dispute-services__card-arrow,
.tax-dispute-services__card:focus-visible .tax-dispute-services__card-arrow {
	transform: translate(3px, -3px);
}

.tax-dispute-services__more {
	margin-top: clamp(28px, 3vw, 38px);
}

.tax-dispute-services__summary {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: var(--tax-dispute-services-blue-dark);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	list-style: none;
	transition: color 0.2s ease;
}

.tax-dispute-services__summary::-webkit-details-marker {
	display: none;
}

.tax-dispute-services__summary:hover,
.tax-dispute-services__summary:focus-visible {
	color: var(--tax-dispute-services-blue);
	outline: none;
}

.tax-dispute-services__summary-icon {
	color: var(--tax-dispute-services-blue);
	transition: transform 0.2s ease;
}

.tax-dispute-services__more[open] .tax-dispute-services__summary-icon {
	transform: rotate(180deg);
}

.tax-dispute-services__more-panel {
	padding-top: clamp(22px, 2.6vw, 34px);
}

.tax-dispute-services__grid--more .tax-dispute-services__card {
	background:
		linear-gradient(135deg, rgba(225, 245, 254, 0.84) 0%, rgba(255, 255, 255, 0.9) 100%),
		var(--tax-dispute-services-card-bg);
}

.tax-dispute-services__grid--more .tax-dispute-services__card:hover,
.tax-dispute-services__grid--more .tax-dispute-services__card:focus-visible {
	background: linear-gradient(135deg, #3498db 0%, #2c3e50 100%);
}

@media (max-width: 1100px) {
	.tax-dispute-services__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 20px;
	}
}

@media (max-width: 700px) {
	.tax-dispute-services {
		padding: 36px 12px;
	}

	.tax-dispute-services__title {
		font-size: clamp(30px, 8vw, 42px);
		line-height: 1.08;
	}

	.tax-dispute-services__title-blue {
		margin-top: 6px;
	}

	.tax-dispute-services__title-blue {
		white-space: normal;
	}

	.tax-dispute-services__grid {
		grid-template-columns: 1fr;
		gap: 15px;
	}

	.tax-dispute-services__card {
		min-height: 118px;
		padding: 18px;
	}

	.tax-dispute-services__card-top {
		margin-bottom: 20px;
	}

	.tax-dispute-services__card-title {
		font-size: 24px;
	}

	.tax-dispute-services__card-label {
		font-size: 12px;
	}

	.tax-dispute-services__card-arrow {
		width: 24px;
		height: 24px;
	}
}

@media (max-width: 480px) {
	.tax-dispute-services__card-title {
		font-size: 22px;
	}

	.tax-dispute-services__summary {
		font-size: 15px;
	}
}
