/* =================================
   Раздел «Приём на работу»
   ================================= */

/* --- Landing --- */
.hiring-landing {
	padding: 20px 0 60px;
}

.hiring-landing__header {
	margin-bottom: 36px;
}

.hiring-landing__title {
	font-size: clamp(32px, 4vw, 48px);
	font-weight: 800;
	color: #182968;
	text-transform: uppercase;
	line-height: 1.1;
}

.hiring-landing__subtitle {
	font-size: 18px;
	color: #5e6f8d;
	max-width: 680px;
	line-height: 1.55;
	margin-top: 16px;
}

/* --- Сетка: 4 колонки в ряд --- */
.hiring-landing__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

/* --- Карточка --- */
.hiring-landing__card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	text-decoration: none;
	padding: 28px 24px 24px;
	background: #fff;
	border: 1px solid rgba(24, 41, 104, 0.08);
	border-radius: 18px;
	border-top: 3px solid transparent;
	box-shadow: 0 4px 20px rgba(24, 41, 104, 0.07);
	transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
	cursor: pointer;
	overflow: hidden;
}

.hiring-landing__card::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 18px;
	opacity: 0;
	transition: opacity 0.35s;
	pointer-events: none;
}

.hiring-landing__card--civil::after {
	background: linear-gradient(135deg, rgba(59,130,246,0.04) 0%, transparent 60%);
}
.hiring-landing__card--gov::after {
	background: linear-gradient(135deg, rgba(139,92,246,0.04) 0%, transparent 60%);
}
.hiring-landing__card--secret::after {
	background: linear-gradient(135deg, rgba(239,68,68,0.04) 0%, transparent 60%);
}
.hiring-landing__card--employee::after {
	background: linear-gradient(135deg, rgba(6,182,212,0.04) 0%, transparent 60%);
}

.hiring-landing__card:hover::after {
	opacity: 1;
}

.hiring-landing__card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 40px rgba(24, 41, 104, 0.12);
	border-color: rgba(24, 41, 104, 0.12);
}

/* Цветовые акценты */
.hiring-landing__card--civil { border-top-color: #3b82f6; }
.hiring-landing__card--gov { border-top-color: #8b5cf6; }
.hiring-landing__card--secret { border-top-color: #ef4444; }
.hiring-landing__card--employee { border-top-color: #06b6d4; }

/* --- Иконка --- */
.hiring-landing__icon {
	width: 52px;
	height: 52px;
	border-radius: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 18px;
	transition: transform 0.3s ease;
}

.hiring-landing__card:hover .hiring-landing__icon {
	transform: scale(1.08) rotate(3deg);
}

.hiring-landing__icon svg {
	width: 26px;
	height: 26px;
}

/* Градиенты иконок */
.hiring-landing__card--civil .hiring-landing__icon {
	background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
}
.hiring-landing__card--gov .hiring-landing__icon {
	background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);
}
.hiring-landing__card--secret .hiring-landing__icon {
	background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
}
.hiring-landing__card--employee .hiring-landing__icon {
	background: linear-gradient(135deg, #cffafe 0%, #a5f3fc 100%);
}

/* --- Текст --- */
.hiring-landing__name {
	font-size: 17px;
	font-weight: 700;
	color: #182968;
	line-height: 1.3;
	margin-bottom: 8px;
}

.hiring-landing__desc {
	font-size: 14px;
	color: #5e6f8d;
	line-height: 1.5;
	flex: 1;
}

/* --- Стрелка --- */
.hiring-landing__arrow {
	margin-top: 16px;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: rgba(24, 41, 104, 0.05);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
}

.hiring-landing__card:hover .hiring-landing__arrow {
	background: #182968;
}

.hiring-landing__arrow svg {
	width: 16px;
	height: 16px;
	transition: stroke 0.3s ease;
}

.hiring-landing__card:hover .hiring-landing__arrow svg {
	stroke: #fff;
}

/* =================================
   Подраздел (subpage)
   ================================= */
.hiring-subpage {
	padding: 20px 0 60px;
}

.hiring-subpage__back {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 15px;
	font-weight: 600;
	color: #182968;
	text-decoration: none;
	margin-bottom: 28px;
	transition: 0.25s;
}

.hiring-subpage__back:hover {
	color: #3b82f6;
}

.hiring-subpage__back svg {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
}

.hiring-subpage__title {
	font-size: clamp(28px, 3.5vw, 40px);
	font-weight: 800;
	color: #182968;
	line-height: 1.15;
	margin-bottom: 16px;
}

.hiring-subpage__lead {
	font-size: 17px;
	color: #5e6f8d;
	line-height: 1.6;
	max-width: 800px;
	margin-bottom: 32px;
}

/* =================================
   Адаптив
   ================================= */

/* Планшет */
@media (max-width: 1139px) {
	.hiring-landing__grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 18px;
	}
}

/* Мобилка */
@media (max-width: 767px) {
	.hiring-landing__grid {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.hiring-landing__card {
		flex-direction: row;
		align-items: center;
		text-align: left;
		gap: 16px;
		padding: 20px;
		border-radius: 14px;
		border-top: none;
		border-left: 3px solid transparent;
	}

	.hiring-landing__card--civil { border-left-color: #3b82f6; }
	.hiring-landing__card--gov { border-left-color: #8b5cf6; }
	.hiring-landing__card--secret { border-left-color: #ef4444; }
	.hiring-landing__card--employee { border-left-color: #06b6d4; }

	.hiring-landing__icon {
		margin-bottom: 0;
		width: 48px;
		height: 48px;
		flex-shrink: 0;
	}

	.hiring-landing__arrow {
		display: none;
	}

	.hiring-landing__header {
		margin-bottom: 24px;
	}

	.hiring-landing__subtitle {
		font-size: 16px;
	}

	.hiring-subpage__title {
		margin-bottom: 12px;
	}
}

/* Маленький мобильный */
@media (max-width: 479px) {
	.hiring-landing__card {
		padding: 16px;
	}

	.hiring-landing__icon {
		width: 42px;
		height: 42px;
		border-radius: 12px;
	}

	.hiring-landing__name {
		font-size: 15px;
	}

	.hiring-landing__desc {
		display: none;
	}
}
