/* drslon-site-core UI bundle — auto-built, do not edit */

/* >>> services-landing.css */
.krv-services-landing {
	--accent: #5181fe;
	--accent-hover: #4169d4;
	--accent-bg: #eaf1ff;
	--text-main: #333;
	--text-soft: #666;
	--card-bg: #fff;
	--card-radius: 20px;
	--card-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
	--card-shadow-hover: 0 6px 15px rgba(0, 0, 0, 0.15);
	--service-radius: 10px;
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px 15px;
	font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	color: var(--text-main);
}

.krv-services-landing,
.krv-services-landing * {
	box-sizing: border-box;
}

.krv-services-landing-section + .krv-services-landing-section {
	margin-top: 22px;
}

.krv-landing-contact-card {
	width: 100%;
	padding: 24px;
	text-align: center;
	background: var(--card-bg);
	border-radius: var(--card-radius);
	box-shadow: var(--card-shadow);
}

.krv-landing-avatar-wrap {
	width: 126px;
	height: 126px;
	aspect-ratio: 1 / 1;
	margin: 0 auto 20px;
	border: 3px solid var(--accent);
	border-radius: 50%;
	overflow: hidden;
	background: #fff;
}

.krv-services-landing .krv-landing-avatar-wrap > .krv-landing-avatar {
	display: block;
	width: 100%;
	height: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	object-position: center;
}

.krv-services-landing .krv-landing-avatar-wrap > .krv-landing-avatar img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.krv-landing-title {
	margin: 0 0 15px;
	font-size: 1.8rem;
	line-height: 1.2;
	color: var(--text-main);
}

.krv-landing-lead,
.krv-landing-meta {
	margin: 0 0 14px;
	font-size: 1rem;
	line-height: 1.5;
	color: var(--text-soft);
}

.krv-landing-meta {
	display: flex;
	flex-direction: column;
	gap: 4px;
	align-items: center;
}

.krv-landing-meta-line {
	display: block;
}

.krv-landing-contacts {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 15px;
	margin-top: 10px;
}

.krv-landing-contacts a {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 50px;
	height: 50px;
	text-decoration: none;
	color: var(--accent);
	background: #f9f9f9;
	border: 3px solid var(--accent);
	border-radius: 50%;
	transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.krv-landing-contacts a:hover {
	border-color: var(--accent-hover);
	background: var(--accent-bg);
	box-shadow: var(--card-shadow);
}

.krv-landing-social-icon {
	display: block;
	width: 22px;
	height: 22px;
	color: currentColor;
	flex-shrink: 0;
}

.krv-landing-social-icon path,
.krv-landing-social-icon circle,
.krv-landing-social-icon rect {
	fill: currentColor;
}

.krv-landing-services {
	padding: 15px 0 0;
}

.krv-landing-services-header {
	margin-bottom: 20px;
	text-align: center;
}

.krv-landing-services-header h2 {
	margin: 0 0 10px;
	font-size: 2rem;
	color: var(--text-main);
}

.krv-landing-services-header p {
	margin: 0;
	font-size: 1rem;
	color: var(--text-soft);
}

.krv-landing-services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 20px;
	width: 100%;
}

.krv-landing-service-item {
	width: 100%;
	padding: 15px;
	text-align: center;
	background: var(--card-bg);
	border-radius: var(--service-radius);
	box-shadow: var(--card-shadow);
	transition: box-shadow 0.25s ease;
}

.krv-landing-service-item:hover {
	box-shadow: var(--card-shadow-hover);
}

.krv-landing-service-icon {
	display: inline-block;
	width: 34px;
	height: 34px;
	margin-bottom: 15px;
	color: var(--accent);
}

.krv-landing-service-icon path,
.krv-landing-service-icon circle,
.krv-landing-service-icon rect,
.krv-landing-service-icon polyline,
.krv-landing-service-icon line {
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.krv-landing-service-item h3 {
	margin: 0 0 10px;
	font-size: 1.25rem;
	color: var(--text-main);
}

.krv-landing-service-item p {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.5;
	color: var(--text-soft);
}

.krv-landing-pricing {
	width: 100%;
	padding: 20px;
	text-align: center;
	background: var(--card-bg);
	border-radius: var(--card-radius);
	box-shadow: var(--card-shadow);
}

.krv-landing-pricing-title {
	margin: 0 0 15px;
	font-size: 2rem;
	line-height: 1.2;
	color: var(--text-main);
}

.krv-landing-pricing-lead {
	margin: 0 0 18px;
	font-size: 1.1rem;
	line-height: 1.6;
	color: var(--text-soft);
}

.krv-landing-pricing-rate {
	display: inline-block;
	margin-top: 6px;
	font-size: 2rem;
	font-weight: 700;
	line-height: 1.2;
	color: var(--accent);
}

.krv-landing-pricing-list {
	list-style: none;
	margin: 0 0 22px;
	padding: 0;
	display: grid;
	gap: 12px;
}

.krv-landing-pricing-list li {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	gap: 10px;
	font-size: 1rem;
	line-height: 1.5;
	color: var(--text-soft);
	text-align: left;
}

.krv-landing-pricing-icon {
	flex: 0 0 20px;
	width: 20px;
	height: 20px;
	margin-top: 2px;
	color: var(--accent);
}

.krv-landing-pricing-icon path,
.krv-landing-pricing-icon circle,
.krv-landing-pricing-icon rect,
.krv-landing-pricing-icon polyline,
.krv-landing-pricing-icon line {
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.krv-landing-pricing-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 12px 22px;
	border-radius: 10px;
	background: var(--accent-hover);
	color: #fff;
	text-decoration: none;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1;
	transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.krv-landing-pricing-button:hover {
	background: #3154b5;
	box-shadow: var(--card-shadow-hover);
}

.krv-landing-pricing-button:active {
	transform: translateY(1px);
}

@media (max-width: 890px) {
	.krv-landing-services-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 768px) {
	.krv-services-landing {
		padding: 16px 10px;
	}

	.krv-landing-contact-card,
	.krv-landing-pricing {
		padding: 15px;
	}

	.krv-landing-avatar-wrap {
		width: 112px;
		height: 112px;
	}

	.krv-landing-title,
	.krv-landing-services-header h2,
	.krv-landing-pricing-title {
		font-size: 1.5rem;
	}

	.krv-landing-lead,
	.krv-landing-meta,
	.krv-landing-services-header p,
	.krv-landing-pricing-lead {
		font-size: 0.95rem;
	}

	.krv-landing-contacts {
		gap: 10px;
	}

	.krv-landing-contacts a {
		width: 40px;
		height: 40px;
	}

	.krv-landing-social-icon {
		width: 20px;
		height: 20px;
	}

	.krv-landing-service-icon {
		width: 30px;
		height: 30px;
	}

	.krv-landing-pricing-rate {
		font-size: 1.8rem;
	}

	.krv-landing-pricing-list li {
		font-size: 0.95rem;
	}
}

@media (max-width: 480px) {
	.krv-services-landing {
		padding: 12px 8px;
	}

	.krv-landing-contact-card,
	.krv-landing-pricing {
		padding: 10px;
	}

	.krv-landing-avatar-wrap {
		width: 104px;
		height: 104px;
	}

	.krv-landing-contacts {
		gap: 8px;
	}

	.krv-landing-contacts a {
		width: 36px;
		height: 36px;
	}

	.krv-landing-social-icon {
		width: 18px;
		height: 18px;
	}

	.krv-landing-service-icon {
		width: 28px;
		height: 28px;
	}

	.krv-landing-title,
	.krv-landing-services-header h2,
	.krv-landing-pricing-title {
		font-size: 1.5rem;
	}

	.krv-landing-pricing-rate {
		font-size: 1.6rem;
	}

	.krv-landing-pricing-list li {
		gap: 8px;
		font-size: 0.9rem;
	}

	.krv-landing-pricing-button {
		width: 100%;
		max-width: 280px;
		padding: 10px 16px;
		font-size: 0.9rem;
	}
}


/* >>> clients-grid.css */
.krv-clients-grid-wrap {
		--krv-accent: #5181fe;
		--krv-accent-hover: #4169d4;
		--krv-card-bg: #fff;
		--krv-text-main: #333;
		--krv-text-soft: #666;
		--krv-card-radius: 10px;
		--krv-card-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
		--krv-card-shadow-hover: 0 6px 15px rgba(0, 0, 0, 0.15);
		max-width: 1200px;
		margin: 0 auto;
		padding: 15px;
		font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	}

	.krv-clients-grid-wrap,
	.krv-clients-grid-wrap * {
		box-sizing: border-box;
	}

	.krv-clients-grid-header {
		text-align: center;
		margin-bottom: 20px;
	}

	.krv-clients-grid-header h2 {
		margin: 0 0 10px;
		font-size: 2rem;
		color: var(--krv-text-main);
	}

	.krv-clients-grid-header p {
		margin: 0;
		font-size: 1rem;
		color: var(--krv-text-soft);
	}

	.krv-clients-grid {
		display: grid;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 18px;
		width: 100%;
	}

	.krv-client-card {
		display: block;
		width: 100%;
		text-decoration: none;
		color: inherit;
		background: var(--krv-card-bg);
		border: 1px solid var(--krv-accent);
		border-radius: var(--krv-card-radius);
		box-shadow: var(--krv-card-shadow);
		transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
		overflow: hidden;
	}

	.krv-client-card:hover {
		transform: translateY(-2px);
		border-color: var(--krv-accent-hover);
		box-shadow: var(--krv-card-shadow-hover);
		background: #fcfdff;
	}

	.krv-client-card--static:hover {
		transform: none;
		border-color: var(--krv-accent);
		box-shadow: var(--krv-card-shadow);
		background: var(--krv-card-bg);
	}

	.krv-client-card-inner {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: flex-start;
		min-height: 168px;
		padding: 14px 12px;
		text-align: center;
	}

	.krv-client-logo-wrap {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 100%;
		height: 76px;
		margin-bottom: 12px;
		padding: 8px;
		overflow: hidden;
	}

	.krv-client-logo {
		display: block !important;
		width: auto !important;
		height: auto !important;
		max-width: 100% !important;
		max-height: 60px !important;
		margin: 0 auto !important;
		object-fit: contain;
		object-position: center;
		border: 0 !important;
		box-shadow: none !important;
	}

	.krv-client-no-logo {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 56px;
		height: 56px;
		border-radius: 50%;
		background: #eaf1ff;
		color: var(--krv-accent);
		font-size: 1.4rem;
		font-weight: 700;
	}

	.krv-client-title {
		margin: 0;
		font-size: 0.98rem;
		line-height: 1.35;
		color: var(--krv-text-main);
		word-break: break-word;
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
		min-height: 2.7em;
	}

	.krv-client-description {
		margin: 8px 0 0;
		font-size: 0.84rem;
		line-height: 1.4;
		color: var(--krv-text-soft);
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
		min-height: 2.8em;
	}

	@media (max-width: 1100px) {
		.krv-clients-grid {
			grid-template-columns: repeat(3, minmax(0, 1fr));
		}
	}

	@media (max-width: 768px) {
		.krv-clients-grid-wrap {
			padding: 12px 8px;
		}

		.krv-clients-grid-header h2 {
			font-size: 1.8rem;
		}

		.krv-clients-grid-header p {
			font-size: 0.95rem;
		}

		.krv-clients-grid {
			grid-template-columns: repeat(2, minmax(0, 1fr));
			gap: 12px;
		}

		.krv-client-card-inner {
			min-height: 146px;
			padding: 10px 8px;
		}

		.krv-client-logo-wrap {
			height: 54px;
			margin-bottom: 10px;
			padding: 4px;
		}

		.krv-client-title {
			font-size: 0.88rem;
			min-height: 2.5em;
		}

		.krv-client-description {
			display: none;
		}
	}

	@media (max-width: 380px) {
		.krv-clients-grid-wrap {
			padding: 10px 5px;
		}

		.krv-clients-grid-header h2 {
			font-size: 1.5rem;
		}

		.krv-clients-grid-header p {
			font-size: 0.9rem;
		}

		.krv-clients-grid {
			grid-template-columns: repeat(2, minmax(0, 1fr));
			gap: 10px;
		}

		.krv-client-card-inner {
			min-height: 136px;
			padding: 9px 7px;
		}

		.krv-client-logo-wrap {
			height: 52px;
		}

		.krv-client-title {
			font-size: 0.82rem;
		}
	}


/* >>> krv-ui-dark.css */
/**
 * Dark mode for drslon-site-core shortcode UIs.
 * Depends on html[data-theme="dark"] from theme krv-theme.js
 * Palette aligned with static landings / DrSlon.
 */

/* ── Services landing ── */
html[data-theme="dark"] .krv-services-landing {
  --accent: #315fe8;
  --accent-hover: #244ac2;
  --accent-bg: #1a2744;
  --text-main: #e8eefc;
  --text-soft: #a8b6d4;
  --card-bg: #121a2b;
  --card-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
  --card-shadow-hover: 0 12px 36px rgba(0, 0, 0, 0.45);
  color: var(--text-main);
}

html[data-theme="dark"] .krv-landing-contact-card,
html[data-theme="dark"] .krv-landing-service-item,
html[data-theme="dark"] .krv-landing-pricing {
  background: var(--card-bg);
  border: 1px solid #243049;
  box-shadow: var(--card-shadow);
  color: var(--text-main);
}

html[data-theme="dark"] .krv-landing-avatar-wrap {
  background: #0f172a;
  border-color: #315fe8;
}

html[data-theme="dark"] .krv-landing-title,
html[data-theme="dark"] .krv-landing-services-header h2,
html[data-theme="dark"] .krv-landing-pricing-title {
  color: #e8eefc;
}

html[data-theme="dark"] .krv-landing-lead,
html[data-theme="dark"] .krv-landing-meta,
html[data-theme="dark"] .krv-landing-services-header p,
html[data-theme="dark"] .krv-landing-pricing-lead,
html[data-theme="dark"] .krv-landing-pricing-rate {
  color: #a8b6d4;
}

html[data-theme="dark"] .krv-landing-service-icon {
  background: #1a2744;
  color: #8aacff;
}

/* Social pills: light CSS hardcodes #f9f9f9 — override fully in dark */
html[data-theme="dark"] .krv-landing-contacts a {
  color: #e8eefc !important;
  background: #1a2744 !important;
  border-color: #3d5a9a !important;
  box-shadow: none !important;
}
html[data-theme="dark"] .krv-landing-contacts a:hover {
  color: #ffffff !important;
  background: #315fe8 !important;
  border-color: #315fe8 !important;
}
html[data-theme="dark"] .krv-landing-social-icon,
html[data-theme="dark"] .krv-landing-social-icon path,
html[data-theme="dark"] .krv-landing-social-icon circle,
html[data-theme="dark"] .krv-landing-social-icon rect {
  fill: currentColor !important;
  color: inherit !important;
}
html[data-theme="dark"] .krv-landing-contacts a:hover .krv-landing-social-icon,
html[data-theme="dark"] .krv-landing-contacts a:hover .krv-landing-social-icon path {
  color: #ffffff !important;
  fill: #ffffff !important;
}

html[data-theme="dark"] .krv-landing-pricing-button,
html[data-theme="dark"] .krv-landing-pricing a.krv-landing-pricing-button {
  background: #315fe8 !important;
  color: #fff !important;
  border-color: transparent !important;
}

html[data-theme="dark"] .krv-landing-pricing-button:hover {
  background: #244ac2 !important;
}

/* ── Clients grid ── */
html[data-theme="dark"] .krv-clients-grid-wrap {
  --krv-accent: #315fe8;
  --krv-accent-hover: #244ac2;
  --krv-card-bg: #121a2b;
  --krv-text-main: #e8eefc;
  --krv-text-soft: #a8b6d4;
  --krv-card-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
  --krv-card-shadow-hover: 0 12px 36px rgba(0, 0, 0, 0.45);
  color: var(--krv-text-main);
}

html[data-theme="dark"] .krv-clients-grid-header h2 {
  color: #e8eefc;
}

html[data-theme="dark"] .krv-clients-grid-header p {
  color: #a8b6d4;
}

html[data-theme="dark"] .krv-client-card {
  background: #121a2b;
  border: 1px solid #243049;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

html[data-theme="dark"] .krv-client-card:hover {
  border-color: #3d5a9a;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

html[data-theme="dark"] .krv-client-title {
  color: #e8eefc;
}

html[data-theme="dark"] .krv-client-description {
  color: #a8b6d4;
}

html[data-theme="dark"] .krv-client-logo-wrap {
  background: #0f172a;
}

/* ── Partners ── */
html[data-theme="dark"] .krv-partners-grid,
html[data-theme="dark"] .krv-partners-wrap {
  color: #e8eefc;
}

html[data-theme="dark"] .krv-partners-grid a,
html[data-theme="dark"] .krv-partner-card {
  background: #121a2b;
  border-color: #243049;
  color: #e8eefc;
}

html[data-theme="dark"] .krv-partner-card:hover {
  border-color: #3d5a9a;
}

/* ── Services showcase (/servisy/ grid) ── */
html[data-theme="dark"] .krv-services-showcase,
html[data-theme="dark"] .krv-services-showcase__item {
  color: #e8eefc;
}

html[data-theme="dark"] .krv-services-showcase__item {
  background: #121a2b;
  border-color: #243049;
}

/* Real showcase shortcode classes (krv_services_pages_showcase) */
html[data-theme="dark"] .krv-service-pages-wrap {
  --krv-accent: #6b93ff;
  --krv-accent-hover: #9bb6ff;
  --krv-card-bg: #152238;
  --krv-card-bg-hover: #1a2d4d;
  --krv-text-main: #ffffff;
  --krv-text-soft: #e8eefc;
  --krv-image-bg: #0b1220;
  --krv-no-image-bg: #1a2744;
  --krv-card-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
  --krv-card-shadow-hover: 0 14px 32px rgba(0, 0, 0, 0.55);
  color: #ffffff;
}

html[data-theme="dark"] .krv-showcase-intro,
html[data-theme="dark"] .krv-service-pages-group-title {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  opacity: 1 !important;
  font-weight: 800 !important;
}

html[data-theme="dark"] a.krv-service-page-card,
html[data-theme="dark"] .krv-service-page-card {
  background: #152238 !important;
  background-color: #152238 !important;
  border: 1px solid #5b8cff !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45) !important;
  opacity: 1 !important;
}

html[data-theme="dark"] a.krv-service-page-card:hover,
html[data-theme="dark"] .krv-service-page-card:hover {
  background: #1a2d4d !important;
  border-color: #9bb6ff !important;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.55) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

html[data-theme="dark"] .krv-service-page-image-wrap {
  background: #0b1220 !important;
}

html[data-theme="dark"] .krv-service-page-no-image {
  background: #1a2744 !important;
  color: #8aacff !important;
}

html[data-theme="dark"] a.krv-service-page-card .krv-service-page-title,
html[data-theme="dark"] h3.krv-service-page-title,
html[data-theme="dark"] .krv-service-page-title {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  opacity: 1 !important;
  visibility: visible !important;
  filter: none !important;
  font-weight: 800 !important;
  font-size: 1.02rem !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.65) !important;
  -webkit-line-clamp: 3 !important;
}

html[data-theme="dark"] a.krv-service-page-card .krv-service-page-description,
html[data-theme="dark"] .krv-service-page-description {
  color: #e8eefc !important;
  -webkit-text-fill-color: #e8eefc !important;
  opacity: 1 !important;
}

/* ── Service page shell (tool pages) ── */
html[data-theme="dark"] .krv-service-page {
  --krv-sp-accent: #315fe8;
  --krv-sp-accent-soft: #1a2744;
  --krv-sp-text: #e8eefc;
  --krv-sp-muted: #d5def0;
  --krv-sp-line: #243049;
  --krv-sp-surface: #121a2b;
  --krv-sp-shadow: 0 12px 34px rgba(0, 0, 0, 0.35);
  color: var(--krv-sp-text);
}

/* ── Public offer (oferta) ── */
html[data-theme="dark"] .krv-oferta .krv-service-page__heading,
html[data-theme="dark"] .krv-oferta h2,
html[data-theme="dark"] .krv-oferta h3 {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border-bottom-color: #243049 !important;
}

html[data-theme="dark"] .krv-oferta__info {
  background: #1a2744 !important;
  border-left-color: #5b8cff !important;
  color: #e8eefc !important;
}

html[data-theme="dark"] .krv-oferta__info b,
html[data-theme="dark"] .krv-oferta__info strong {
  color: #ffffff !important;
}

html[data-theme="dark"] .krv-oferta p,
html[data-theme="dark"] .krv-oferta li {
  color: #d5def0 !important;
}

html[data-theme="dark"] .krv-oferta p b,
html[data-theme="dark"] .krv-oferta p strong,
html[data-theme="dark"] .krv-oferta li b,
html[data-theme="dark"] .krv-oferta li strong {
  color: #ffffff !important;
}

html[data-theme="dark"] .krv-oferta a {
  color: #8aacff !important;
}

html[data-theme="dark"] .krv-oferta__rekvizity {
  background: #152238 !important;
  border-color: #3d5a9a !important;
  color: #e8eefc !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4) !important;
}

html[data-theme="dark"] .krv-oferta__rekvizity b {
  color: #ffffff !important;
}

html[data-theme="dark"] .krv-oferta__note {
  color: #a8b6d4 !important;
}

html[data-theme="dark"] .krv-service-page__heading {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  opacity: 1 !important;
}

html[data-theme="dark"] .krv-service-page__intro p,
html[data-theme="dark"] .krv-service-page__after p {
  color: #d5def0 !important;
}

html[data-theme="dark"] .krv-service-page__quote {
  background: #1a2744 !important;
  border-left-color: #315fe8 !important;
}

html[data-theme="dark"] .krv-service-page__quote p {
  color: #e8eefc !important;
}

html[data-theme="dark"] .krv-service-page__tool,
html[data-theme="dark"] .krv-service-page__dns-types {
  background: #121a2b !important;
  border-color: #243049 !important;
  color: #e8eefc !important;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.35) !important;
}

html[data-theme="dark"] .krv-service-page__dns-types-title {
  color: #ffffff !important;
}

html[data-theme="dark"] .krv-service-page__dns-types li {
  color: #d5def0 !important;
}

html[data-theme="dark"] .krv-service-page__dns-types strong {
  color: #8aacff !important;
}

/* Tool plugins: white inline cards → dark surfaces */
html[data-theme="dark"] .dns-lookup-container,
html[data-theme="dark"] .whois-lookup-container,
html[data-theme="dark"] .punycode-converter-container,
html[data-theme="dark"] .nm-calculator-container,
html[data-theme="dark"] .crontab-generator-container,
html[data-theme="dark"] .firewall-configurator-container,
html[data-theme="dark"] .speed-test-container,
html[data-theme="dark"] .user-info-container,
html[data-theme="dark"] .wpsc-shortcode-form,
html[data-theme="dark"] .wpsc-shortcode-form > div,
html[data-theme="dark"] .wdc-form,
html[data-theme="dark"] .krv-service-page__tool > div[style*="background"],
html[data-theme="dark"] .krv-service-page [style*="background: #fff"],
html[data-theme="dark"] .krv-service-page [style*="background:#fff"],
html[data-theme="dark"] .krv-service-page [style*="background: #ffffff"],
html[data-theme="dark"] .krv-service-page [style*="background:#ffffff"],
html[data-theme="dark"] .krv-service-page [style*="background:#fff"],
html[data-theme="dark"] .wpsc-shortcode-form [style*="background"] {
  background: #121a2b !important;
  background-color: #121a2b !important;
  color: #e8eefc !important;
  border-color: #243049 !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35) !important;
}

html[data-theme="dark"] .krv-service-page [style*="background: #f5f5f5"],
html[data-theme="dark"] .krv-service-page [style*="background:#f5f5f5"],
html[data-theme="dark"] .krv-service-page [style*="background: #f9f9f9"],
html[data-theme="dark"] .krv-service-page [style*="background:#f9f9f9"] {
  background: #1a2744 !important;
  background-color: #1a2744 !important;
  color: #e8eefc !important;
}

/* Tables inside tools (crontab / subnet etc.) */
html[data-theme="dark"] .krv-service-page table,
html[data-theme="dark"] .crontab-generator-container table,
html[data-theme="dark"] .nm-calculator-container table,
html[data-theme="dark"] .whois-lookup-container table,
html[data-theme="dark"] .punycode-converter-container table,
html[data-theme="dark"] .firewall-configurator-container table,
html[data-theme="dark"] .dns-lookup-container table {
  background: #0b1220 !important;
  color: #e8eefc !important;
  box-shadow: none !important;
}

html[data-theme="dark"] .krv-service-page th,
html[data-theme="dark"] .krv-service-page td,
html[data-theme="dark"] .crontab-generator-container th,
html[data-theme="dark"] .crontab-generator-container td,
html[data-theme="dark"] .firewall-configurator-container th,
html[data-theme="dark"] .firewall-configurator-container td {
  background: transparent !important;
  color: #e8eefc !important;
  border-color: #243049 !important;
}

/* Forms / inputs / selects inside service tools */
html[data-theme="dark"] .krv-service-page input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="image"]),
html[data-theme="dark"] .krv-service-page select,
html[data-theme="dark"] .krv-service-page textarea,
html[data-theme="dark"] .dns-lookup-container input,
html[data-theme="dark"] .dns-lookup-container select,
html[data-theme="dark"] .dns-lookup-container textarea,
html[data-theme="dark"] .whois-lookup-container input,
html[data-theme="dark"] .whois-lookup-container select,
html[data-theme="dark"] .whois-lookup-container textarea,
html[data-theme="dark"] .punycode-converter-container input,
html[data-theme="dark"] .punycode-converter-container select,
html[data-theme="dark"] .punycode-converter-container textarea,
html[data-theme="dark"] .nm-calculator-container input,
html[data-theme="dark"] .nm-calculator-container select,
html[data-theme="dark"] .nm-calculator-container textarea,
html[data-theme="dark"] .crontab-generator-container input,
html[data-theme="dark"] .crontab-generator-container select,
html[data-theme="dark"] .crontab-generator-container textarea,
html[data-theme="dark"] .firewall-configurator-container input,
html[data-theme="dark"] .firewall-configurator-container select,
html[data-theme="dark"] .firewall-configurator-container textarea,
html[data-theme="dark"] .speed-test-container input,
html[data-theme="dark"] .wpsc-shortcode-form input,
html[data-theme="dark"] .wpsc-shortcode-form select,
html[data-theme="dark"] .wpsc-shortcode-form textarea,
html[data-theme="dark"] .wdc-form input,
html[data-theme="dark"] .wdc-form select,
html[data-theme="dark"] .wdc-form textarea,
html[data-theme="dark"] .wdc-form .form-control {
  background: #0b1220 !important;
  background-color: #0b1220 !important;
  color: #ffffff !important;
  border: 1px solid #3d5a9a !important;
  box-shadow: none !important;
  -webkit-text-fill-color: #ffffff !important;
  opacity: 1 !important;
}

html[data-theme="dark"] .krv-service-page input::placeholder,
html[data-theme="dark"] .krv-service-page textarea::placeholder,
html[data-theme="dark"] .dns-lookup-container input::placeholder,
html[data-theme="dark"] .crontab-generator-container input::placeholder,
html[data-theme="dark"] .firewall-configurator-container input::placeholder,
html[data-theme="dark"] .wpsc-shortcode-form input::placeholder,
html[data-theme="dark"] .wdc-form input::placeholder {
  color: #8b9bb8 !important;
  opacity: 1 !important;
  -webkit-text-fill-color: #8b9bb8 !important;
}

html[data-theme="dark"] .krv-service-page label,
html[data-theme="dark"] .krv-service-page h1,
html[data-theme="dark"] .krv-service-page h2,
html[data-theme="dark"] .krv-service-page h3,
html[data-theme="dark"] .krv-service-page h4,
html[data-theme="dark"] .krv-service-page p,
html[data-theme="dark"] .krv-service-page li,
html[data-theme="dark"] .krv-service-page legend,
html[data-theme="dark"] .dns-lookup-container,
html[data-theme="dark"] .whois-lookup-container,
html[data-theme="dark"] .punycode-converter-container,
html[data-theme="dark"] .nm-calculator-container,
html[data-theme="dark"] .crontab-generator-container,
html[data-theme="dark"] .firewall-configurator-container,
html[data-theme="dark"] .speed-test-container,
html[data-theme="dark"] .wpsc-shortcode-form,
html[data-theme="dark"] .wdc-form {
  color: #e8eefc !important;
}

/* Headings/paragraphs hard-coded dark in WP Site Checker markup */
html[data-theme="dark"] .wpsc-shortcode-form div,
html[data-theme="dark"] .wpsc-shortcode-form p,
html[data-theme="dark"] .wpsc-shortcode-form span,
html[data-theme="dark"] .wpsc-shortcode-form label,
html[data-theme="dark"] .whois-lookup-container p,
html[data-theme="dark"] .whois-lookup-container label,
html[data-theme="dark"] .whois-lookup-container h1,
html[data-theme="dark"] .whois-lookup-container h2,
html[data-theme="dark"] .whois-lookup-container h3,
html[data-theme="dark"] .punycode-converter-container p,
html[data-theme="dark"] .punycode-converter-container label,
html[data-theme="dark"] .punycode-converter-container h1,
html[data-theme="dark"] .punycode-converter-container h2,
html[data-theme="dark"] .punycode-converter-container h3,
html[data-theme="dark"] .nm-calculator-container p,
html[data-theme="dark"] .nm-calculator-container label,
html[data-theme="dark"] .nm-calculator-container h1,
html[data-theme="dark"] .nm-calculator-container h2,
html[data-theme="dark"] .nm-calculator-container h3 {
  color: #e8eefc !important;
  -webkit-text-fill-color: #e8eefc !important;
  opacity: 1 !important;
}

html[data-theme="dark"] .krv-service-page button,
html[data-theme="dark"] .krv-service-page input[type="submit"],
html[data-theme="dark"] .krv-service-page input[type="button"],
html[data-theme="dark"] .dns-lookup-container button,
html[data-theme="dark"] .whois-lookup-container button,
html[data-theme="dark"] .punycode-converter-container button,
html[data-theme="dark"] .nm-calculator-container button,
html[data-theme="dark"] .crontab-generator-container button,
html[data-theme="dark"] .firewall-configurator-container button,
html[data-theme="dark"] .speed-test-button,
html[data-theme="dark"] .wpsc-shortcode-form button,
html[data-theme="dark"] .wdc-form .btn,
html[data-theme="dark"] .wdc-form button {
  background: #315fe8 !important;
  border-color: #315fe8 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

html[data-theme="dark"] .krv-service-page button:hover,
html[data-theme="dark"] .krv-service-page input[type="submit"]:hover,
html[data-theme="dark"] .dns-lookup-container button:hover,
html[data-theme="dark"] .whois-lookup-container button:hover,
html[data-theme="dark"] .punycode-converter-container button:hover,
html[data-theme="dark"] .nm-calculator-container button:hover,
html[data-theme="dark"] .crontab-generator-container button:hover,
html[data-theme="dark"] .firewall-configurator-container button:hover,
html[data-theme="dark"] .speed-test-button:hover,
html[data-theme="dark"] .wpsc-shortcode-form button:hover,
html[data-theme="dark"] .wdc-form .btn:hover {
  background: #244ac2 !important;
  border-color: #244ac2 !important;
  color: #ffffff !important;
}

/* Speed test / firewall leftover light panels */
html[data-theme="dark"] .speed-test-result,
html[data-theme="dark"] .custom-captcha,
html[data-theme="dark"] .firewall-configurator-container .section {
  background: #1a2744 !important;
  color: #e8eefc !important;
  border-color: #243049 !important;
}

/* Domain checker alerts / results */
html[data-theme="dark"] .wdc-form .callout,
html[data-theme="dark"] .wdc-form .alert,
html[data-theme="dark"] .wdc-form .result,
html[data-theme="dark"] .wdc-form .domain-result,
html[data-theme="dark"] .result.large {
  background: #1a2744 !important;
  color: #e8eefc !important;
  border-color: #3d5a9a !important;
}

html[data-theme="dark"] .wdc-form .callout-warning,
html[data-theme="dark"] .wdc-form .alert-warning {
  background: #2a2210 !important;
  color: #fde68a !important;
  border-color: #854d0e !important;
}

html[data-theme="dark"] .wdc-form .input-group,
html[data-theme="dark"] .wdc-form .input-group-btn {
  background: transparent !important;
  border-color: #3d5a9a !important;
}

/* ── Price list widget ── */
html[data-theme="dark"] .krv-price-widget {
  --krv-bg: #0b1220;
  --krv-card: #121a2b;
  --krv-soft: #1a2744;
  --krv-soft-2: #152238;
  --krv-line: #243049;
  --krv-line-strong: #3d5a9a;
  --krv-text: #e8eefc;
  --krv-muted: #a8b6d4;
  --krv-accent: #315fe8;
  /* accent-dark used as accent TEXT on dark surfaces — keep light enough */
  --krv-accent-dark: #8aacff;
  --krv-accent-soft: #1a2744;
  --krv-shadow: 0 12px 34px rgba(0, 0, 0, 0.4);
  --krv-shadow-soft: 0 8px 22px rgba(0, 0, 0, 0.3);
  background: var(--krv-bg);
  color: var(--krv-text);
}

html[data-theme="dark"] .krv-price-widget a:not([class*="btn"]):not(.krv-btn) {
  color: #8aacff;
}

/* Primary buttons: hover needs real dark blue, not light accent text token */
html[data-theme="dark"] .krv-price-widget .krv-btn-primary {
  border-color: #315fe8 !important;
  background: #315fe8 !important;
  color: #ffffff !important;
}
html[data-theme="dark"] .krv-price-widget .krv-btn-primary:hover {
  border-color: #244ac2 !important;
  background: #244ac2 !important;
  color: #ffffff !important;
}
html[data-theme="dark"] .krv-price-widget .krv-btn-secondary {
  background: #121a2b !important;
  border-color: #3d5a9a !important;
  color: #8aacff !important;
}
html[data-theme="dark"] .krv-price-widget .krv-btn-secondary:hover {
  background: #1a2744 !important;
  border-color: #315fe8 !important;
  color: #a8c0ff !important;
}

/* Structural cards / chips that may still hardcode light fills */
html[data-theme="dark"] .krv-price-widget .krv-hero,
html[data-theme="dark"] .krv-price-widget .krv-hero-panel,
html[data-theme="dark"] .krv-price-widget .krv-route-card,
html[data-theme="dark"] .krv-price-widget .krv-package,
html[data-theme="dark"] .krv-price-widget .krv-service-card,
html[data-theme="dark"] .krv-price-widget .krv-info-card,
html[data-theme="dark"] .krv-price-widget .krv-step,
html[data-theme="dark"] .krv-price-widget .krv-faq-item,
html[data-theme="dark"] .krv-price-widget .krv-landing-card {
  background: #121a2b !important;
  border-color: #243049 !important;
  color: #e8eefc !important;
}

html[data-theme="dark"] .krv-price-widget .krv-title,
html[data-theme="dark"] .krv-price-widget .krv-section-head h2,
html[data-theme="dark"] .krv-price-widget .krv-card-title,
html[data-theme="dark"] .krv-price-widget .krv-route-title,
html[data-theme="dark"] .krv-price-widget .krv-hero-panel h2,
html[data-theme="dark"] .krv-price-widget .krv-mini-title,
html[data-theme="dark"] .krv-price-widget .krv-link-title,
html[data-theme="dark"] .krv-price-widget h2,
html[data-theme="dark"] .krv-price-widget h3 {
  color: #f4f7ff !important;
}

html[data-theme="dark"] .krv-price-widget .krv-lead,
html[data-theme="dark"] .krv-price-widget .krv-subtitle,
html[data-theme="dark"] .krv-price-widget .krv-section-head p,
html[data-theme="dark"] .krv-price-widget .krv-route-text,
html[data-theme="dark"] .krv-price-widget .krv-text,
html[data-theme="dark"] .krv-price-widget .krv-small,
html[data-theme="dark"] .krv-price-widget .krv-note,
html[data-theme="dark"] .krv-price-widget .krv-mini-text,
html[data-theme="dark"] .krv-price-widget .krv-price,
html[data-theme="dark"] .krv-price-widget .krv-tab-intro {
  color: #a8b6d4 !important;
}

html[data-theme="dark"] .krv-price-widget .krv-subtitle {
  color: #8aacff !important;
}

html[data-theme="dark"] .krv-price-widget .krv-badge,
html[data-theme="dark"] .krv-price-widget .krv-kicker {
  background: #1a2744 !important;
  color: #8aacff !important;
}

html[data-theme="dark"] .krv-price-widget .krv-service-item,
html[data-theme="dark"] .krv-price-widget .krv-mini,
html[data-theme="dark"] .krv-price-widget .krv-link-card,
html[data-theme="dark"] .krv-price-widget .krv-note,
html[data-theme="dark"] .krv-price-widget .krv-stack span,
html[data-theme="dark"] .krv-price-widget .krv-tags span,
html[data-theme="dark"] .krv-price-widget .krv-trust-item {
  background: #1a2744 !important;
  border-color: #243049 !important;
  color: #e8eefc !important;
}

html[data-theme="dark"] .krv-price-widget .krv-anchor-nav {
  background: #121a2b !important;
  border-color: #243049 !important;
}
html[data-theme="dark"] .krv-price-widget .krv-anchor-nav a,
html[data-theme="dark"] .krv-price-widget .krv-prices-tab,
html[data-theme="dark"] .krv-price-widget .krv-landings-strip a {
  background: #0f172a !important;
  border-color: #243049 !important;
  color: #8aacff !important;
}
html[data-theme="dark"] .krv-price-widget .krv-anchor-nav a:hover,
html[data-theme="dark"] .krv-price-widget .krv-anchor-nav a.is-active,
html[data-theme="dark"] .krv-price-widget .krv-prices-tab:hover,
html[data-theme="dark"] .krv-price-widget .krv-prices-tab.is-active,
html[data-theme="dark"] .krv-price-widget .krv-landings-strip a:hover {
  background: #1a2744 !important;
  border-color: #3d5a9a !important;
  color: #a8c0ff !important;
}

html[data-theme="dark"] .krv-price-widget .krv-package-accent {
  background: #1a2744 !important;
  border-color: #3d5a9a !important;
}
html[data-theme="dark"] .krv-price-widget .krv-hero-panel-accent {
  background: #1a2744 !important;
  border-color: #3d5a9a !important;
}
html[data-theme="dark"] .krv-price-widget .krv-hero-panel-note {
  background: #0f172a !important;
  color: #c2cde6 !important;
}

/* CTA block stays accent; invert secondary white buttons carefully */
html[data-theme="dark"] .krv-price-widget .krv-cta {
  background: #244ac2 !important;
  color: #ffffff !important;
}
html[data-theme="dark"] .krv-price-widget .krv-cta h2,
html[data-theme="dark"] .krv-price-widget .krv-cta p {
  color: #ffffff !important;
}
html[data-theme="dark"] .krv-price-widget .krv-cta .krv-btn {
  background: #ffffff !important;
  border-color: #ffffff !important;
  color: #1a2744 !important;
}
html[data-theme="dark"] .krv-price-widget .krv-cta .krv-btn:hover {
  background: #e8eefc !important;
  border-color: #e8eefc !important;
  color: #0b1220 !important;
}

html[data-theme="dark"] .krv-price-widget .krv-mobile-cta {
  background: #121a2b !important;
  border-color: #243049 !important;
}

/* FAQ summary */
html[data-theme="dark"] .krv-price-widget .krv-faq-item summary {
  color: #f4f7ff !important;
}
html[data-theme="dark"] .krv-price-widget .krv-faq-item p {
  color: #a8b6d4 !important;
}

/* Price amounts stay strong */
html[data-theme="dark"] .krv-price-widget .krv-price,
html[data-theme="dark"] .krv-price-widget .krv-price-small-inline {
  color: #f4f7ff !important;
}

/* ── Contacts topic banner ── */
html[data-theme="dark"] .krv-contacts-topic-banner {
  background: #121a2b;
  border-color: #243049;
  color: #e8eefc;
}

/* ── Consultations page widget (/konsultatsii/) ──
   Inline <style> in post content hardcodes light palette — force dark. */
html[data-theme="dark"] .consult-widget {
  color: #e8eefc !important;
}
html[data-theme="dark"] .consult-widget a:not(.consult-widget__button) {
  color: #8aacff !important;
}
html[data-theme="dark"] .consult-widget__intro {
  background:
    radial-gradient(circle at top left, rgba(49, 95, 232, 0.22), transparent 40%),
    linear-gradient(135deg, #121a2b 0%, #0f172a 100%) !important;
  border-color: #243049 !important;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.35) !important;
}
html[data-theme="dark"] .consult-widget__badge,
html[data-theme="dark"] .consult-widget__eyebrow {
  background: #1a2744 !important;
  color: #8aacff !important;
}
html[data-theme="dark"] .consult-widget__intro h2,
html[data-theme="dark"] .consult-widget__main h2,
html[data-theme="dark"] .consult-widget__faq h3 {
  color: #f4f7ff !important;
}
html[data-theme="dark"] .consult-widget__intro p,
html[data-theme="dark"] .consult-widget__note,
html[data-theme="dark"] .consult-widget__price small,
html[data-theme="dark"] .consult-widget__faq details p,
html[data-theme="dark"] .consult-widget__features em {
  color: #a8b6d4 !important;
}
html[data-theme="dark"] .consult-widget__price-line,
html[data-theme="dark"] .consult-widget__faq summary,
html[data-theme="dark"] .consult-widget__faq summary::marker {
  color: #8aacff !important;
}
html[data-theme="dark"] .consult-widget__card,
html[data-theme="dark"] .consult-widget__faq {
  background: #121a2b !important;
  border-color: #243049 !important;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.35) !important;
}
html[data-theme="dark"] .consult-widget__price span,
html[data-theme="dark"] .consult-widget__features span {
  color: #f4f7ff !important;
}
html[data-theme="dark"] .consult-widget__features li {
  background: #0f172a !important;
  border-color: #243049 !important;
}
html[data-theme="dark"] .consult-widget__features i {
  background: #1a2744 !important;
  color: #8aacff !important;
}
html[data-theme="dark"] .consult-widget__button {
  background: #315fe8 !important;
  color: #ffffff !important;
}
html[data-theme="dark"] .consult-widget__button:hover {
  background: #244ac2 !important;
}
html[data-theme="dark"] .consult-widget__visual {
  background: linear-gradient(180deg, #1a2744 0%, #0f172a 100%) !important;
}
html[data-theme="dark"] .consult-widget__caption {
  background: #121a2b !important;
  color: #c2cde6 !important;
}
html[data-theme="dark"] .consult-widget__faq details {
  border-bottom-color: #243049 !important;
}

/* ── Resume page widget (/resume/) ── */
html[data-theme="dark"] .krv-resume-widget {
  --bg: #0b1220 !important;
  --card: #121a2b !important;
  --line: #243049 !important;
  --text: #e8eefc !important;
  --muted: #a8b6d4 !important;
  --accent: #315fe8 !important;
  --accent-dark: #8aacff !important;
  --tag-bg: #1a2744 !important;
  --soft: #1a2744 !important;
  --shadow: 0 12px 34px rgba(0, 0, 0, 0.4) !important;
  background: #0b1220 !important;
  color: #e8eefc !important;
}
html[data-theme="dark"] .krv-resume-hero,
html[data-theme="dark"] .krv-resume-card {
  background: #121a2b !important;
  border-color: #243049 !important;
}
html[data-theme="dark"] .krv-resume-name,
html[data-theme="dark"] .krv-resume-card h2,
html[data-theme="dark"] .krv-resume-card h3 {
  color: #f4f7ff !important;
}
html[data-theme="dark"] .krv-resume-role,
html[data-theme="dark"] .krv-resume-badge,
html[data-theme="dark"] .krv-resume-period {
  color: #8aacff !important;
}
html[data-theme="dark"] .krv-resume-badge,
html[data-theme="dark"] .krv-resume-period {
  background: #1a2744 !important;
}
html[data-theme="dark"] .krv-resume-summary,
html[data-theme="dark"] .krv-resume-card p,
html[data-theme="dark"] .krv-resume-ul,
html[data-theme="dark"] .krv-resume-company {
  color: #a8b6d4 !important;
}
html[data-theme="dark"] .krv-resume-contacts a,
html[data-theme="dark"] .krv-resume-contacts span,
html[data-theme="dark"] .krv-resume-tags span,
html[data-theme="dark"] .krv-resume-stack span {
  background: #1a2744 !important;
  border-color: #243049 !important;
  color: #e8eefc !important;
}
html[data-theme="dark"] .krv-resume-note,
html[data-theme="dark"] .krv-resume-mini,
html[data-theme="dark"] .krv-resume-link {
  background: #0f172a !important;
  border-color: #243049 !important;
  color: #c2cde6 !important;
}
html[data-theme="dark"] .krv-resume-lang-bar {
  background: #243049 !important;
}
html[data-theme="dark"] .krv-resume-lang-top {
  color: #e8eefc !important;
}

/* Social icons SVG paths often use currentColor or fill */
html[data-theme="dark"] .krv-landing-social-icon path {
  fill: currentColor;
}

