/*!
Theme Name: onemksoft
Theme URI: https://1-mksoft.com/
Author: 1-MK Soft
Author URI: https://1-mksoft.com/
Description: Custom WordPress theme for 1-MK Soft based on the Figma landing design.
Version: 1.0.0
Tested up to: 6.8
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: onemksoft
Tags: custom-logo, custom-menu, featured-images, translation-ready
*/

@font-face {
	font-family: "Quicksand";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("../fonts/quicksand-latin.woff2") format("woff2");
}

@font-face {
	font-family: "NeuropoliticalW00-XBold";
	font-style: normal;
	font-weight: 800;
	font-display: swap;
	src: url("../fonts/NeuropoliticalW00-XBold.woff2") format("woff2");
}

:root {
	--mk-bg: #010101;
	--mk-panel: rgba(98, 99, 105, 0.2);
	--mk-panel-strong: rgba(60, 67, 76, 0.42);
	--mk-text: #ffffff;
	--mk-muted: #f1f1f1;
	--mk-accent: #a6ddea;
	--mk-accent-strong: #c9fbff;
	--mk-button: #2e798d;
	--mk-line: #484852;
	--mk-shell: 1232px;
	--mk-radius: 24px;
	--mk-font: "Quicksand", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--mk-display: "NeuropoliticalW00-XBold", "Quicksand", Impact, sans-serif;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0 auto;
	background: var(--mk-bg);
	color: var(--mk-text);
	font-family: var(--mk-font), sans-serif;
	font-size: 18px;
	line-height: 1.5;
	max-width: 1920px;
}

body.admin-bar .mk-header {
	top: 32px;
}

a {
	color: inherit;
	text-decoration: none;
}

img {
	display: block;
	max-width: 100%;
}

button,
input,
select,
textarea {
	font: inherit;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link:focus {
	z-index: 100000;
	top: 8px;
	left: 8px;
	width: auto;
	height: auto;
	padding: 10px 14px;
	clip: auto;
	background: #ffffff;
	color: #000000;
}

.mk-shell {
	width: min(var(--mk-shell), calc(100% - 48px));
	margin-inline: auto;
	position: relative;
}

.mk-header {
	position: sticky;
	z-index: 50;
	top: 0;
	background: #0e0e17;
}

.mk-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 98px;
}

.mk-logo {
	display: inline-flex;
	align-items: center;
	width: 120px;
}

.mk-logo img {
	width: 120px;
	height: auto;
}

.mk-nav__list {
	display: flex;
	align-items: center;
	gap: 24px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.mk-nav a {
	display: inline-flex;
	align-items: center;
	min-height: 30px;
	font-size: 20px;
	font-weight: 600;
	transition: color 180ms ease;
}

.mk-nav a:hover,
.mk-nav .current-menu-item > a {
	color: var(--mk-accent-strong);
}

.mk-menu-toggle {
	display: none;
	width: 44px;
	height: 44px;
	padding: 10px;
	border: 1px solid var(--mk-line);
	border-radius: 12px;
	background: transparent;
	color: var(--mk-text);
}

.mk-menu-toggle span:not(.screen-reader-text) {
	display: block;
	width: 100%;
	height: 2px;
	margin: 5px 0;
	background: currentColor;
}

.mk-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 16px 24px;
	border: 0;
	border-radius: 12px;
	background: var(--mk-button);
	color: var(--mk-text);
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	transition: background 180ms ease, transform 180ms ease;
}

.mk-button:hover {
	background: #3894aa;
	transform: translateY(-1px);
}

.mk-button .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: inherit;
	padding: 0;
	border-radius: inherit;
	background: transparent;
	color: inherit;
	font: inherit;
	line-height: inherit;
}

.mk-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 36px;
}

.mk-eyebrow {
	margin: 0 0 16px !important;
	color: var(--mk-accent) !important;
	font-family: var(--mk-display) !important;
	font-size: 16px;
	line-height: 1;
	letter-spacing: 0;
}

.mk-highlight {
	color: var(--mk-accent) !important;
	font-weight: 600;
}

.mk-section {
	position: relative;
	padding-block: 60px;
	overflow: hidden;
}

.mk-section h2,
.mk-page h1,
.mk-service-page h2 {
	margin: 0;
	font-size: clamp(38px, 3vw, 48px);
	font-weight: 600;
	line-height: 1;
}

.mk-section__lead {
	margin: 12px 0 40px;
	color: var(--mk-muted);
}

.mk-service-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin-top: 40px;
}

.mk-service-card {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	min-height: 156px;
	padding: 24px;
	border: 1px solid rgba(255, 255, 255, 0.05);
	border-radius: var(--mk-radius);
	background: var(--mk-panel);
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
	transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.mk-service-card:hover {
	border-color: rgba(166, 221, 234, 0.38);
	background: rgba(98, 99, 105, 0.32);
	transform: translateY(-2px);
}

.mk-service-card strong {
	display: block;
	margin-bottom: 12px;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.2;
}

.mk-service-card small {
	display: block;
	color: var(--mk-muted);
	font-size: 16px;
	line-height: 1.5;
}

.mk-service-card i {
	margin-left: 12px;
	font-size: 34px;
	font-style: normal;
	line-height: 1;
}

.mk-page,
.mk-service-page {
	background: var(--mk-bg);
	min-height: 60vh;
}

.mk-page__content,
.mk-service-page__content {
	padding-block: 96px;
}

.mk-page__header {
	margin-bottom: 32px;
}

.mk-service-hero {
	position: relative;
	min-height: 640px;
	overflow: hidden;
}

.mk-service-hero > img {
	position: absolute;
	inset: 0 auto auto 0;
	max-width: none;
}

.mk-service-hero .mk-shell {
	position: relative;
	z-index: 1;
	padding-block: 120px;
}

.mk-service-hero h1 {
	max-width: 1024px;
	margin: 0 0 24px;
	font-family: var(--mk-display);
	font-size: clamp(40px, 6vw, 104px);
	font-weight: 800;
	line-height: 1;
	letter-spacing: 0;
}

.mk-service-hero p {
	max-width: 816px;
	margin: 0;
	font-size: clamp(20px, 2vw, 24px);
	line-height: 1.4;
}

.mk-service-hero .mk-button {
	margin-top: 36px;
}

.mk-footer {
	background: #0e0e17;
}

.mk-footer__inner {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 48px;
	padding-block: 40px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.mk-footer__brand p {
	margin: 12px 0 0;
	font-size: 20px;
	font-weight: 600;
}

.mk-footer__nav {
	display: grid;
	grid-template-columns: repeat(2, auto);
	gap: 13px 56px;
	font-size: 20px;
	font-weight: 600;
}

.mk-footer__copyright {
	margin: 0;
	padding: 20px 24px;
	text-align: center;
	font-size: 16px;
}

@media (max-width: 1100px) {
	:root {
		--mk-shell: 860px;
	}

	.mk-service-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 760px) {
	body.admin-bar .mk-header {
		top: 46px;
	}

	.mk-shell {
		width: min(100% - 32px, var(--mk-shell));
	}

	.mk-header__inner {
		min-height: 76px;
	}

	.mk-menu-toggle {
		display: block;
	}

	.mk-nav {
		position: absolute;
		top: 76px;
		right: 16px;
		left: 16px;
		display: none;
		padding: 18px;
		border: 1px solid var(--mk-line);
		border-radius: 16px;
		background: #0e0e17;
	}

	.mk-nav.is-open {
		display: block;
	}

	.mk-nav__list {
		display: grid;
		gap: 14px;
	}

	.mk-service-hero {
		min-height: 500px;
	}

	.mk-service-hero > img {
		inset: 0 auto auto -90%;
		width: 260%;
	}

	.mk-service-hero .mk-shell {
		padding-block: 84px;
	}

	.mk-actions,
	.mk-button {
		width: 100%;
	}

	.mk-section {
		padding-block: 56px;
	}

	.mk-service-grid {
		grid-template-columns: 1fr;
	}

	.mk-footer__inner {
		display: grid;
		align-items: start;
	}
}
