/*
Theme Name: 温州不空科技子主题
Theme URI: https://bukong.vip
Description: 温州不空科技有限公司企业官网子主题
Author: 温州不空科技有限公司
Author URI: https://bukong.vip
Template: woostify
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bukong-technology
*/

:root {
	--bk-ink: #12171c;
	--bk-muted: #5f6b76;
	--bk-line: #d9e0e7;
	--bk-soft: #f5f8fa;
	--bk-panel: #ffffff;
	--bk-cyan: #12b8c8;
	--bk-teal: #1e8f7c;
	--bk-brass: #b58b42;
	--bk-shadow: 0 24px 70px rgba(18, 23, 28, 0.1);
	--bk-radius: 8px;
}

html {
	scroll-behavior: smooth;
}

.bukong-home {
	background: #ffffff;
	color: var(--bk-ink);
	font-family: inherit;
	overflow: hidden;
}

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

.bk-shell {
	margin: 0 auto;
	max-width: 1180px;
	padding: 0 24px;
	width: 100%;
}

.bk-eyebrow {
	color: var(--bk-teal);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.4;
	margin: 0 0 16px;
	text-transform: uppercase;
}

.bk-hero {
	background:
		linear-gradient(115deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.9) 42%, rgba(245, 248, 250, 0.78) 100%),
		radial-gradient(circle at 82% 12%, rgba(18, 184, 200, 0.16), transparent 32%),
		#ffffff;
	min-height: 760px;
	padding: 96px 0 72px;
	position: relative;
}

.bk-hero::after {
	background: linear-gradient(90deg, rgba(18, 23, 28, 0.08) 1px, transparent 1px), linear-gradient(rgba(18, 23, 28, 0.06) 1px, transparent 1px);
	background-size: 72px 72px;
	content: "";
	inset: 0;
	opacity: 0.18;
	pointer-events: none;
	position: absolute;
}

.bk-hero__grid {
	align-items: center;
	display: grid;
	gap: 56px;
	grid-template-columns: minmax(0, 0.9fr) minmax(480px, 1.1fr);
	position: relative;
	z-index: 1;
}

.bk-hero h1 {
	color: var(--bk-ink);
	font-size: clamp(46px, 6vw, 76px);
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.05;
	margin: 0;
	max-width: 720px;
}

.bk-hero__lead {
	color: var(--bk-muted);
	font-size: 20px;
	line-height: 1.8;
	margin: 28px 0 0;
	max-width: 640px;
}

.bk-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 36px;
}

.bk-button {
	align-items: center;
	border: 1px solid transparent;
	border-radius: var(--bk-radius);
	display: inline-flex;
	font-size: 15px;
	font-weight: 700;
	justify-content: center;
	line-height: 1;
	min-height: 48px;
	padding: 0 24px;
	text-decoration: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.bk-button:hover,
.bk-button:focus {
	text-decoration: none;
	transform: translateY(-1px);
}

.bk-button--primary {
	background: var(--bk-ink);
	box-shadow: 0 16px 38px rgba(18, 23, 28, 0.18);
	color: #ffffff;
}

.bk-button--primary:hover,
.bk-button--primary:focus {
	background: #202a32;
	color: #ffffff;
}

.bk-button--ghost {
	background: rgba(255, 255, 255, 0.72);
	border-color: rgba(18, 23, 28, 0.16);
	color: var(--bk-ink);
}

.bk-button--ghost:hover,
.bk-button--ghost:focus {
	border-color: var(--bk-teal);
	color: var(--bk-ink);
}

.bk-hero__metrics {
	border-top: 1px solid var(--bk-line);
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(3, 1fr);
	margin-top: 54px;
	max-width: 660px;
	padding-top: 24px;
}

.bk-hero__metrics strong,
.bk-hero__metrics span {
	display: block;
}

.bk-hero__metrics strong {
	color: var(--bk-ink);
	font-size: 14px;
	margin-bottom: 8px;
}

.bk-hero__metrics span {
	color: var(--bk-muted);
	font-size: 13px;
	line-height: 1.55;
}

.bk-hero__media {
	border-radius: var(--bk-radius);
	box-shadow: var(--bk-shadow);
	margin: 0;
	overflow: hidden;
	position: relative;
}

.bk-hero__media img {
	aspect-ratio: 16 / 10;
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.bk-section {
	padding: 104px 0;
}

.bk-section--services {
	background: #ffffff;
}

.bk-section__heading {
	align-items: end;
	display: grid;
	gap: 24px;
	grid-template-columns: 0.8fr 1.2fr;
	margin-bottom: 46px;
}

.bk-section__heading h2,
.bk-advantages__intro h2,
.bk-contact__copy h2 {
	color: var(--bk-ink);
	font-size: clamp(30px, 4vw, 48px);
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.18;
	margin: 0;
}

.bk-service-grid {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bk-service {
	background: var(--bk-panel);
	border: 1px solid var(--bk-line);
	border-radius: var(--bk-radius);
	min-height: 300px;
	padding: 34px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.bk-service:hover {
	border-color: rgba(18, 184, 200, 0.45);
	box-shadow: 0 20px 50px rgba(18, 23, 28, 0.08);
	transform: translateY(-3px);
}

.bk-service__index {
	color: var(--bk-brass);
	display: block;
	font-size: 13px;
	font-weight: 800;
	margin-bottom: 54px;
}

.bk-service h3,
.bk-advantage h3 {
	color: var(--bk-ink);
	font-size: 22px;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.25;
	margin: 0 0 16px;
}

.bk-service p,
.bk-advantage p,
.bk-advantages__intro p,
.bk-contact__copy p {
	color: var(--bk-muted);
	font-size: 16px;
	line-height: 1.8;
	margin: 0;
}

.bk-section--advantages {
	background:
		linear-gradient(180deg, #f7fafb 0%, #ffffff 100%),
		var(--bk-soft);
}

.bk-advantages {
	display: grid;
	gap: 60px;
	grid-template-columns: 0.88fr 1.12fr;
}

.bk-advantages__intro {
	position: sticky;
	top: 96px;
}

.bk-advantages__intro p:last-child {
	margin-top: 24px;
	max-width: 460px;
}

.bk-advantage-list {
	border-top: 1px solid var(--bk-line);
}

.bk-advantage {
	border-bottom: 1px solid var(--bk-line);
	display: grid;
	gap: 24px;
	grid-template-columns: 0.42fr 0.58fr;
	padding: 30px 0;
}

.bk-section--contact {
	background: #12171c;
	color: #ffffff;
	padding-bottom: 112px;
	position: relative;
}

.bk-section--contact::before {
	background: linear-gradient(90deg, rgba(18, 184, 200, 0.32), rgba(181, 139, 66, 0.2), transparent);
	content: "";
	height: 1px;
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
}

.bk-contact {
	align-items: start;
	display: grid;
	gap: 64px;
	grid-template-columns: 0.84fr 1.16fr;
}

.bk-contact__copy h2,
.bk-contact__copy p {
	color: #ffffff;
}

.bk-contact__copy p {
	color: rgba(255, 255, 255, 0.72);
	margin-top: 24px;
	max-width: 460px;
}

.bk-contact-form {
	background: #ffffff;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: var(--bk-radius);
	box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
	color: var(--bk-ink);
	display: grid;
	gap: 18px;
	padding: 34px;
}

.bk-form-grid {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bk-contact-form label {
	display: grid;
	gap: 8px;
	margin: 0;
}

.bk-contact-form label span {
	color: #2c353d;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.45;
}

.bk-contact-form input,
.bk-contact-form select,
.bk-contact-form textarea {
	background: #f8fafb;
	border: 1px solid var(--bk-line);
	border-radius: var(--bk-radius);
	color: var(--bk-ink);
	font-size: 15px;
	line-height: 1.5;
	min-height: 48px;
	padding: 12px 14px;
	width: 100%;
}

.bk-contact-form textarea {
	min-height: 138px;
	resize: vertical;
}

.bk-contact-form input:focus,
.bk-contact-form select:focus,
.bk-contact-form textarea:focus {
	border-color: var(--bk-teal);
	box-shadow: 0 0 0 3px rgba(30, 143, 124, 0.14);
	outline: none;
}

.bk-form-check {
	align-items: start;
	display: grid !important;
	gap: 12px !important;
	grid-template-columns: 18px 1fr;
}

.bk-form-check input {
	height: 18px;
	margin-top: 3px;
	min-height: 18px;
	padding: 0;
	width: 18px;
}

.bk-form-check span {
	color: var(--bk-muted) !important;
	font-weight: 500 !important;
}

.bk-form-submit {
	border: 0;
	cursor: pointer;
	justify-self: start;
	margin-top: 6px;
}

.bk-form-alert {
	border-radius: var(--bk-radius);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.5;
	padding: 13px 16px;
}

.bk-form-alert--success {
	background: rgba(30, 143, 124, 0.12);
	color: #116a5a;
}

.bk-form-alert--error {
	background: rgba(181, 65, 66, 0.12);
	color: #963536;
}

@media (max-width: 1024px) {
	.bk-hero {
		min-height: auto;
		padding-top: 72px;
	}

	.bk-hero__grid,
	.bk-section__heading,
	.bk-advantages,
	.bk-contact {
		grid-template-columns: 1fr;
	}

	.bk-hero__media {
		max-width: 760px;
	}

	.bk-advantages__intro {
		position: static;
	}

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

	.bk-service {
		min-height: auto;
	}
}

@media (max-width: 720px) {
	.bk-shell {
		padding: 0 18px;
	}

	.bk-hero {
		padding: 58px 0 54px;
	}

	.bk-hero h1 {
		font-size: 42px;
	}

	.bk-hero__lead {
		font-size: 17px;
	}

	.bk-hero__actions,
	.bk-button {
		width: 100%;
	}

	.bk-hero__metrics,
	.bk-form-grid,
	.bk-advantage {
		grid-template-columns: 1fr;
	}

	.bk-section {
		padding: 72px 0;
	}

	.bk-service,
	.bk-contact-form {
		padding: 24px;
	}

	.bk-service__index {
		margin-bottom: 32px;
	}
}

@media (max-width: 420px) {
	.bk-hero h1 {
		font-size: 36px;
	}

	.bk-section__heading h2,
	.bk-advantages__intro h2,
	.bk-contact__copy h2 {
		font-size: 28px;
	}
}
