/* Soft header styles. */
.soft-header {
	position: relative;
	overflow: visible;
	background:
		radial-gradient(circle at 18% 0%, rgba(45, 214, 183, 0.22), transparent 32%),
		radial-gradient(circle at 82% 18%, rgba(75, 150, 255, 0.12), transparent 34%),
		linear-gradient(180deg, #0f2435 0%, #112a3b 100%);
	border-bottom: 1px solid rgba(120, 205, 195, 0.18);
	box-shadow: 0 12px 40px rgba(2, 14, 24, 0.08);
	z-index: 30;
}

.soft-header__glow {
	position: absolute;
	border-radius: 999px;
	filter: blur(28px);
	pointer-events: none;
	opacity: 0.55;
}

.soft-header__glow--left {
	left: -70px;
	top: -40px;
	width: 220px;
	height: 220px;
	background: rgba(49, 214, 186, 0.20);
}

.soft-header__glow--right {
	right: -40px;
	top: 20px;
	width: 180px;
	height: 180px;
	background: rgba(90, 160, 255, 0.12);
}

.soft-header__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 16px 20px 14px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.soft-header__nav {
	flex: 0 0 auto;
	min-width: 0;
}

.soft-header__menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 10px;
	flex-wrap: nowrap;
}

.soft-header__menu-item {
	position: relative;
	margin: 0;
}

.soft-header__menu-item > a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 8px;
	border-radius: 999px;
	background: transparent !important;
	color: rgba(245, 251, 255, 0.92);
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	transition: color 0.2s ease, opacity 0.2s ease;
}

.soft-header__menu-item > a:hover,
.soft-header__menu-item > a:focus,
.soft-header__menu-item > a:focus-visible {
	background: transparent !important;
	box-shadow: none !important;
	transform: none !important;
	color: #63e6d1;
}

.soft-header__menu-item.has-dropdown > a::after {
	content: '▾';
	font-size: 11px;
	opacity: 0.9;
}

.soft-header__menu-item.has-dropdown {
	padding-bottom: 0;
}

.soft-header__mega {
	display: none;
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	min-width: 290px;
	z-index: 40;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(10px);
	transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.soft-header__menu-item.has-dropdown:hover .soft-header__mega,
.soft-header__menu-item.has-dropdown:focus-within .soft-header__mega {
	display: block;
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateY(0);
}

.soft-header__mega-inner {
	padding: 18px 18px 16px;
	border-radius: 18px;
	border: 1px solid rgba(191, 209, 230, 0.88);
	background: rgba(255, 255, 255, 0.98);
	box-shadow: 0 24px 60px rgba(10, 24, 38, 0.18);
	backdrop-filter: blur(14px);
}

.soft-header__mega-title {
	margin: 0 0 10px;
	color: #0f8b6f;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.soft-header__mega ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 8px;
}

.soft-header__mega li {
	margin: 0;
}

.soft-header__mega a {
	display: block;
	padding: 8px 10px;
	border-radius: 10px;
	color: #26384b;
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.35;
}

.soft-header__mega a:hover,
.soft-header__mega a:focus,
.soft-header__mega a:focus-visible {
	background: rgba(100, 112, 138, 0.08);
	color: #0f8b6f;
}


.soft-header__home-icon {
	display: inline-block;
	margin-right: 6px;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: -0.08em;
	opacity: 0.95;
}

.soft-header__search {
	flex: 1 1 520px !important;
	width: auto !important;
	max-width: 520px !important;
	margin: 0 14px;
	min-width: 0;
}

.soft-header__search-trigger {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	height: 40px;
	padding: 0 12px;
	border-radius: 10px;
	border: 1px solid rgba(186, 201, 226, 0.95);
	background: transparent;
	color: rgba(238, 246, 255, 0.72);
	cursor: pointer;
	text-align: left;
	min-width: 0;
	box-sizing: border-box;
}

.soft-header__search-trigger:hover,
.soft-header__search-trigger:focus {
	border-color: rgba(100, 240, 219, 0.55);
	color: #eef6ff;
}

.soft-header__search-icon {
	flex: 0 0 auto;
	font-size: 15px;
	line-height: 1;
	color: rgba(238, 246, 255, 0.82);
}

.soft-header__search-placeholder {
	font-size: 13px;
	line-height: 1;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.soft-header__contact {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: 0 0 auto;
	margin-left: auto;
}

.soft-header__hotline {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 10px;
	border-radius: 10px;
	border: 1px solid rgba(100, 240, 219, 0.34);
	color: #f6fffd;
	background: rgba(8, 28, 38, 0.22);
	text-decoration: none;
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
	transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.soft-header__hotline:hover,
.soft-header__hotline:focus {
	color: #64f0db;
	border-color: rgba(100, 240, 219, 0.7);
	transform: translateY(-1px);
}

.soft-header__cta {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 9px 12px;
	border-radius: 10px;
	text-decoration: none;
	background: linear-gradient(135deg, rgba(15, 139, 111, 0.96), rgba(18, 181, 153, 0.86));
	box-shadow: 0 14px 30px rgba(10, 78, 66, 0.28);
	color: #f7fffd;
}

.soft-header__cta:hover,
.soft-header__cta:focus {
	color: #ffffff;
	transform: translateY(-1px);
	box-shadow: 0 16px 34px rgba(10, 78, 66, 0.34);
}

.soft-header__cta-title {
	font-size: 13px;
	line-height: 1.1;
	font-weight: 700;
}

.soft-search-open {
	overflow: hidden;
}

.soft-search-modal {
	position: fixed;
	inset: 0;
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 9999;
	padding: 24px;
}

.soft-search-modal.is-open {
	display: flex;
}

.soft-search-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(18, 28, 40, 0.42);
	backdrop-filter: blur(18px) saturate(120%);
}

.soft-search-modal__panel {
	position: relative;
	z-index: 1;
	width: min(1120px, 100%);
	padding: 24px;
	border-radius: 30px;
	background:
		radial-gradient(circle at 8% 0%, rgba(15, 139, 111, 0.12), transparent 22%),
		radial-gradient(circle at 95% 8%, rgba(45, 214, 183, 0.10), transparent 18%),
		radial-gradient(circle at 50% 120%, rgba(90, 160, 255, 0.08), transparent 34%),
		rgba(255, 255, 255, 0.985);
	border: 1px solid rgba(188, 206, 227, 0.72);
	box-shadow: 0 30px 90px rgba(18, 31, 46, 0.16);
	color: #233042;
}

.soft-search-modal__form {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 0 0 12px;
	margin: 0 0 10px;
	border: 0;
	background: transparent;
	box-shadow: none;
}

.soft-search-modal__search-icon {
	flex: 0 0 auto;
	color: #0f8b6f;
	font-size: 16px;
	opacity: 0.9;
}

.soft-search-modal__input {
	flex: 1 1 auto;
	min-width: 0;
	border: 0 !important;
	outline: none !important;
	background: transparent !important;
	color: #1f2c3c;
	font-size: 15px;
	font-weight: 500;
	box-shadow: none !important;
	-webkit-appearance: none;
	appearance: none;
	border-radius: 0 !important;
	padding: 0 36px 0 0 !important;
	margin: 0 !important;
}

.soft-search-modal__input::-webkit-search-decoration,
.soft-search-modal__input::-webkit-search-cancel-button,
.soft-search-modal__input::-webkit-search-results-button,
.soft-search-modal__input::-webkit-search-results-decoration {
	display: none;
}

.soft-search-modal__input::placeholder {
	color: #94a3b8;
}

.soft-search-modal__clear {
	position: absolute;
	right: 0;
	top: 0;
	width: 24px;
	height: 24px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #0f8b6f;
	font-size: 22px;
	line-height: 1;
	font-weight: 400;
	cursor: pointer;
	transition: color 0.18s ease, transform 0.18s ease, opacity 0.18s ease;
	opacity: 0.9;
}

.soft-search-modal__clear:hover {
	color: #0b6f59;
	transform: scale(1.06);
	opacity: 1;
}

.soft-search-modal__clear[hidden] {
	display: none;
}

.soft-search-modal__keyboard {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
	margin-top: 12px;
}

.soft-search-modal__key {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 30px;
	height: 28px;
	padding: 0 8px;
	border-radius: 9px;
	border: 1px solid rgba(188, 206, 227, 0.84);
	background: rgba(255, 255, 255, 0.96);
	color: #5a6d85;
	font-size: 12px;
	font-weight: 700;
}

.soft-search-modal__suggestions {
	margin-top: 14px;
}

.soft-search-modal__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(300px, 360px);
	align-items: start;
	gap: 16px;
}

.soft-search-modal__section-title {
	margin: 0 0 10px;
	color: #0f8b6f;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.soft-search-modal__card {
	padding: 0;
	border-radius: 0;
	background: transparent;
	border: 0;
	box-shadow: none;
}

.soft-search-modal__links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 2px;
}

.soft-search-modal__links a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 9px 8px;
	border-radius: 12px;
	color: #25364a;
	text-decoration: none;
	font-size: 13px;
	font-weight: 600;
	transition: background 0.18s ease, color 0.18s ease;
}

.soft-search-modal__links a:hover {
	background: rgba(15, 139, 111, 0.08);
	color: #0f8b6f;
}

.soft-search-modal__result-icon {
	font-size: 15px;	color: #0f8b6f;
}

.soft-search-modal__results {
	display: none;
	margin-top: 10px;
}

.soft-search-modal__results.is-active {
	display: block;
}

.soft-search-modal__empty {
	padding: 6px 0 2px;
	font-size: 13px;
	line-height: 1.4;
	color: #5a6d85;
}

.soft-search-modal__section--spotlight {
	display: grid;
	gap: 10px;
}

.soft-search-modal__category-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.soft-search-modal__category-card {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px;
	border-radius: 18px;
	background: linear-gradient(180deg, var(--card-bg, rgba(15, 139, 111, 0.08)), rgba(255, 255, 255, 0.92));
	border: 1px solid var(--card-border, rgba(167, 199, 222, 0.34));
	text-decoration: none;
	color: #25364a;
	box-shadow: 0 12px 28px rgba(16, 38, 58, 0.05);
	min-height: 68px;
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.soft-search-modal__category-card:hover {
	transform: translateY(-1px);
	box-shadow: 0 16px 32px rgba(16, 38, 58, 0.08);
	border-color: var(--card-border, rgba(15, 139, 111, 0.18));
}

.soft-search-modal__category-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 40px;
	width: 40px;
	height: 40px;
	border-radius: 14px;
	background: var(--card-icon-bg, rgba(15, 139, 111, 0.10));
	color: var(--card-icon-fg, #0f8b6f);
	font-size: 18px;
	font-weight: 700;
}

.soft-search-modal__category-body {
	min-width: 0;
	display: grid;
	gap: 2px;
}

.soft-search-modal__category-title {
	font-size: 13px;
	font-weight: 800;
	line-height: 1.2;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.soft-search-modal__category-text {
	font-size: 12px;
	line-height: 1.35;
	color: #6d7d92;
}

.soft-search-modal__empty--spotlight {
	padding: 14px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.72);
	border: 1px solid rgba(167, 199, 222, 0.26);
}

.soft-search-modal__results .soft-search-modal__result {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 10px 8px;
	border-radius: 14px;
	text-decoration: none;
	color: #25364a;
	transition: background 0.18s ease, transform 0.18s ease;
}

.soft-search-modal__results .soft-search-modal__result:hover {
	background: rgba(15, 139, 111, 0.06);
	transform: translateY(-1px);
}

.soft-search-modal__result-thumb {
	flex: 0 0 48px;
	width: 48px;
	height: 48px;
	border-radius: 12px;
	overflow: hidden;
	background: rgba(15, 139, 111, 0.08);
	border: 1px solid rgba(15, 139, 111, 0.10);
}

.soft-search-modal__result-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.soft-search-modal__result-thumb-fallback {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	color: #0f8b6f;
	font-size: 18px;
	font-weight: 700;
}

.soft-search-modal__result-body {
	min-width: 0;
	flex: 1 1 auto;
}

.soft-search-modal__result-title {
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
}

.soft-search-modal__result-excerpt {
	margin-top: 4px;
	font-size: 12px;
	line-height: 1.35;
	color: #6d7d92;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

@media (max-width: 1100px) {
	.soft-header__search {
		flex: 1 1 380px !important;
		width: auto !important;
		max-width: 380px !important;
	}
}

@media (max-width: 960px) {
	.soft-header__mega {
		display: none !important;
	}

	.soft-header__inner {
		flex-wrap: wrap;
		padding: 14px 16px 12px;
	}

	.soft-header__menu {
		gap: 12px;
		flex-wrap: wrap;
	}

	.soft-header__search {
		order: 3;
		flex: 1 1 100%;
		max-width: none;
		width: 100%;
		margin: 0;
	}

	.soft-header__contact {
		order: 4;
		width: 100%;
		margin-left: 0;
		justify-content: flex-start;
	}

	.soft-search-modal__grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.soft-header__menu-item > a {
		padding: 8px 10px;
		font-size: 13px;
	}

	.soft-search-modal__panel {
		width: min(100vw - 12px, 1040px);
		padding: 12px;
		border-radius: 18px;
	}

	.soft-search-modal__form {
		height: auto;
		padding: 12px;
		flex-direction: column;
		align-items: stretch;
	}


	.soft-search-modal__keyboard {
		justify-content: flex-start;
		flex-wrap: wrap;
	}
}
