/*
Theme Name: 莱岑科技 · 企业官网
Theme URI: https://zhengpinbag.com
Author: 南昌莱岑科技有限公司
Description: 南昌莱岑科技有限公司企业官网主题（单页 + 图片轮播），适用于日用百货推广业务。
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: laicen-corp
*/

/* ===================== 基础 ===================== */
:root {
	--ink: #0d0f12;
	--ink-2: #191c21;
	--text: #4a4f57;
	--muted: #8b919a;
	--line: #e7e4de;
	--bg: #ffffff;
	--bg-2: #f8f6f2;
	--accent: #b98b4a;
	--accent-2: #d9b57a;
	--font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
	--frame: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	font-family: var(--font);
	color: var(--text);
	background: var(--bg);
	font-size: 16px;
	line-height: 1.8;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s; }

.lc-frame { max-width: var(--frame); margin: 0 auto; padding: 0 24px; }

/* ===================== 顶部导航 ===================== */
.lc-header {
	position: fixed; top: 0; left: 0; right: 0; z-index: 100;
	padding: 20px 0;
	transition: padding .3s, background .3s, box-shadow .3s;
}
.lc-header.is-scrolled {
	padding: 12px 0;
	background: rgba(255,255,255,.94);
	backdrop-filter: blur(14px);
	box-shadow: 0 1px 0 rgba(0,0,0,.06);
}
.lc-nav { display: flex; align-items: center; gap: 28px; }
.lc-logo { display: flex; flex-direction: column; line-height: 1.15; color: #fff; transition: color .3s; }
.lc-logo b { font-size: 20px; letter-spacing: .08em; font-weight: 600; }
.lc-logo span {
	font-size: 10.5px; letter-spacing: .34em; text-transform: uppercase;
	opacity: .8; margin-top: 4px; font-weight: 500;
}
.lc-header.is-scrolled .lc-logo { color: var(--ink); }

.lc-menu { display: flex; gap: 34px; margin-left: auto; }
.lc-menu a {
	color: rgba(255,255,255,.86); font-size: 14.5px; letter-spacing: .08em; position: relative; padding: 6px 0;
}
.lc-menu a::after {
	content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
	background: var(--accent-2); transition: width .3s;
}
.lc-menu a:hover { color: #fff; }
.lc-menu a:hover::after { width: 100%; }
.lc-header.is-scrolled .lc-menu a { color: var(--text); }
.lc-header.is-scrolled .lc-menu a:hover { color: var(--ink); }

.lc-cta {
	display: inline-flex; align-items: center; justify-content: center;
	height: 42px; padding: 0 24px; border-radius: 999px;
	border: 1px solid rgba(255,255,255,.5); color: #fff;
	font-size: 14px; letter-spacing: .1em; white-space: nowrap;
	transition: all .3s;
}
.lc-cta:hover { background: #fff; color: var(--ink); border-color: #fff; }
.lc-header.is-scrolled .lc-cta { background: var(--ink); border-color: var(--ink); color: #fff; }
.lc-header.is-scrolled .lc-cta:hover { background: var(--accent); border-color: var(--accent); }

.lc-burger { display: none; }

/* ===================== 首屏轮播 ===================== */
.lc-hero {
	position: relative; height: 100vh; min-height: 620px; overflow: hidden;
	background: #0b0d10; color: #fff;
}
.lc-slide {
	position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease; pointer-events: none;
}
.lc-slide.is-active { opacity: 1; pointer-events: auto; z-index: 2; }
.lc-slide__bg {
	position: absolute; inset: 0; background-size: cover; background-position: center;
	transform: scale(1.04); transition: transform 9s ease-out;
}
.lc-slide.is-active .lc-slide__bg { transform: scale(1.12); }
.lc-slide__veil {
	position: absolute; inset: 0;
	background:
		radial-gradient(120% 90% at 50% 20%, rgba(10,12,15,.35) 0%, rgba(10,12,15,.72) 60%, rgba(10,12,15,.9) 100%),
		linear-gradient(180deg, rgba(10,12,15,.55) 0%, rgba(10,12,15,.15) 40%, rgba(10,12,15,.82) 100%);
}
.lc-hero__inner {
	position: relative; z-index: 3; height: 100%;
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	text-align: center; padding: 120px 24px 80px;
}
.lc-kicker {
	display: inline-flex; align-items: center; gap: 12px;
	font-size: 12.5px; letter-spacing: .34em; text-transform: uppercase;
	color: var(--accent-2); margin-bottom: 26px;
	opacity: 0; transform: translateY(18px); transition: all .9s cubic-bezier(.2,.7,.3,1);
}
.lc-kicker::before, .lc-kicker::after {
	content: ""; width: 34px; height: 1px; background: rgba(217,181,122,.6);
}
.lc-hero h1 {
	margin: 0; font-size: clamp(30px, 4.2vw, 58px); font-weight: 300; line-height: 1.28;
	letter-spacing: .06em; color: #fff; max-width: 900px;
	opacity: 0; transform: translateY(22px); transition: all .9s .1s cubic-bezier(.2,.7,.3,1);
}
.lc-hero h1 em { font-style: normal; color: var(--accent-2); }
.lc-hero__sub {
	margin: 26px 0 0; max-width: 620px; color: rgba(255,255,255,.76);
	font-size: 16px; line-height: 1.9; letter-spacing: .04em;
	opacity: 0; transform: translateY(22px); transition: all .9s .2s cubic-bezier(.2,.7,.3,1);
}
.lc-hero__btns {
	display: flex; gap: 14px; margin-top: 40px; flex-wrap: wrap; justify-content: center;
	opacity: 0; transform: translateY(22px); transition: all .9s .3s cubic-bezier(.2,.7,.3,1);
}
.lc-slide.is-active .lc-kicker,
.lc-slide.is-active h1,
.lc-slide.is-active .lc-hero__sub,
.lc-slide.is-active .lc-hero__btns { opacity: 1; transform: none; }

.lc-btn {
	display: inline-flex; align-items: center; justify-content: center;
	height: 50px; padding: 0 34px; border-radius: 999px;
	font-size: 14.5px; letter-spacing: .12em; border: 1px solid transparent;
	transition: all .3s; cursor: pointer;
}
.lc-btn--solid { background: var(--accent); color: #fff; }
.lc-btn--solid:hover { background: #a5773a; transform: translateY(-2px); }
.lc-btn--ghost { border-color: rgba(255,255,255,.45); color: #fff; }
.lc-btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }

.lc-dots { position: absolute; left: 0; right: 0; bottom: 42px; z-index: 5; display: flex; justify-content: center; gap: 12px; }
.lc-dot {
	width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
	background: rgba(255,255,255,.36); transition: all .35s;
}
.lc-dot:hover { background: rgba(255,255,255,.7); }
.lc-dot.is-active { width: 30px; border-radius: 4px; background: var(--accent-2); }

.lc-arrow {
	position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
	width: 52px; height: 52px; border-radius: 50%; padding: 0 0 4px;
	border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.06);
	color: #fff; font-size: 24px; cursor: pointer; opacity: 0;
	transition: all .3s; backdrop-filter: blur(6px);
}
.lc-hero:hover .lc-arrow, .lc-hero:focus-within .lc-arrow { opacity: 1; }
.lc-arrow:hover { background: var(--accent); border-color: var(--accent); }
.lc-arrow--prev { left: 28px; }
.lc-arrow--next { right: 28px; }

.lc-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255,255,255,.12); z-index: 6; }
.lc-progress i { display: block; height: 100%; width: 0; background: var(--accent-2); }
.lc-hero.is-running .lc-progress i { animation: lc-progress var(--lc-interval, 6000ms) linear forwards; }
@keyframes lc-progress { from { width: 0 } to { width: 100% } }

.lc-scroll {
	position: absolute; left: 50%; bottom: 74px; transform: translateX(-50%); z-index: 5;
	font-size: 11px; letter-spacing: .3em; color: rgba(255,255,255,.5);
	writing-mode: vertical-rl; text-orientation: mixed;
}

/* ===================== 通用区块 ===================== */
.lc-section { padding: 120px 0; }
.lc-section--alt { background: var(--bg-2); }

.lc-head { margin-bottom: 64px; }
.lc-head__kicker {
	display: block; font-size: 12.5px; letter-spacing: .3em; color: var(--accent);
	text-transform: uppercase; margin-bottom: 16px;
}
.lc-head h2 {
	margin: 0; font-size: clamp(26px, 2.6vw, 40px); font-weight: 300; color: var(--ink);
	letter-spacing: .06em; line-height: 1.4;
}
.lc-head p { margin: 18px 0 0; max-width: 640px; color: var(--muted); font-size: 15.5px; line-height: 1.9; }

/* 关于我们 */
.lc-about { display: grid; grid-template-columns: 1.05fr .95fr; gap: 72px; align-items: center; }
.lc-about__media { position: relative; }
.lc-about__media img { width: 100%; height: 460px; object-fit: cover; border-radius: 4px; }
.lc-about__media::after {
	content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 1px solid var(--line);
	border-radius: 4px; z-index: -1;
}
.lc-about h2 { margin: 0 0 22px; font-size: clamp(26px, 2.4vw, 38px); font-weight: 300; color: var(--ink); letter-spacing: .05em; line-height: 1.45; }
.lc-about p { margin: 0 0 16px; color: var(--text); font-size: 15.5px; line-height: 2; }
.lc-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.lc-tag {
	border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px;
	font-size: 13px; color: var(--text); letter-spacing: .06em; background: #fff;
}

.lc-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); margin-top: 80px; border: 1px solid var(--line); }
.lc-stat { background: #fff; padding: 34px 20px; text-align: center; }
.lc-stat b { display: block; font-size: 34px; font-weight: 300; color: var(--ink); letter-spacing: .04em; }
.lc-stat b small { font-size: 16px; color: var(--accent); margin-left: 2px; }
.lc-stat span { display: block; margin-top: 8px; font-size: 13px; color: var(--muted); letter-spacing: .1em; }

/* 核心业务 */
.lc-services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.lc-service {
	position: relative; padding: 40px 30px; background: #fff; border: 1px solid var(--line);
	border-radius: 4px; transition: all .35s; overflow: hidden;
}
.lc-service::before {
	content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 2px;
	background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .4s;
}
.lc-service:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -30px rgba(0,0,0,.35); border-color: transparent; }
.lc-service:hover::before { transform: scaleX(1); }
.lc-service__no { font-size: 12px; letter-spacing: .2em; color: var(--accent); }
.lc-service h3 { margin: 18px 0 12px; font-size: 19px; font-weight: 500; color: var(--ink); letter-spacing: .04em; }
.lc-service p { margin: 0; font-size: 14px; line-height: 1.9; color: var(--muted); }

/* 优势 */
.lc-why { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid rgba(255,255,255,.1); }
.lc-why__item {
	padding: 46px 40px; border-bottom: 1px solid rgba(255,255,255,.1);
	border-right: 1px solid rgba(255,255,255,.1);
}
.lc-why__item:nth-child(2n) { border-right: 0; }
.lc-why__item b { display: block; font-size: 42px; font-weight: 200; color: var(--accent-2); letter-spacing: .02em; line-height: 1; }
.lc-why__item h3 { margin: 18px 0 10px; font-size: 18px; font-weight: 400; color: #fff; letter-spacing: .06em; }
.lc-why__item p { margin: 0; font-size: 14px; line-height: 1.9; color: rgba(255,255,255,.6); }

.lc-dark { background: var(--ink); color: #fff; }
.lc-dark .lc-head h2 { color: #fff; }
.lc-dark .lc-head p { color: rgba(255,255,255,.55); }

/* 联系 */
.lc-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.lc-contact__list { margin-top: 34px; }
.lc-contact__row { display: flex; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.lc-contact__row:first-child { border-top: 1px solid var(--line); }
.lc-contact__row span { flex: 0 0 90px; font-size: 12.5px; letter-spacing: .16em; color: var(--muted); padding-top: 3px; }
.lc-contact__row b { font-weight: 400; color: var(--ink); font-size: 15.5px; }
.lc-contact__card {
	background: var(--ink); color: #fff; border-radius: 4px; padding: 52px 44px; position: relative; overflow: hidden;
}
.lc-contact__card::after {
	content: ""; position: absolute; right: -80px; bottom: -80px; width: 240px; height: 240px;
	border-radius: 50%; background: radial-gradient(circle, rgba(185,139,74,.35), transparent 70%);
}
.lc-contact__card h3 { margin: 0 0 14px; font-size: 24px; font-weight: 300; letter-spacing: .06em; }
.lc-contact__card p { margin: 0 0 30px; color: rgba(255,255,255,.6); font-size: 14.5px; line-height: 1.9; }
.lc-contact__card .lc-btn { position: relative; z-index: 2; }

/* 页脚 */
.lc-footer { background: #0a0c0e; color: rgba(255,255,255,.45); padding: 46px 0; font-size: 13px; }
.lc-footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.lc-footer b { color: #fff; font-weight: 400; letter-spacing: .08em; }
.lc-footer__links { display: flex; gap: 22px; }
.lc-footer__links a:hover { color: var(--accent-2); }

/* 滚动淡入 */
.lc-reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2,.7,.3,1), transform .8s cubic-bezier(.2,.7,.3,1); }
.lc-reveal.is-in { opacity: 1; transform: none; }

/* ===================== 响应式 ===================== */
@media (max-width: 1024px) {
	.lc-services { grid-template-columns: repeat(2, 1fr); }
	.lc-about { grid-template-columns: 1fr; gap: 48px; }
	.lc-about__media img { height: 360px; }
	.lc-contact { grid-template-columns: 1fr; gap: 48px; }
	.lc-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
	.lc-menu { display: none; }
	.lc-cta { margin-left: auto; height: 38px; padding: 0 18px; font-size: 13px; }
	.lc-hero { height: 92vh; min-height: 560px; }
	.lc-arrow { display: none; }
	.lc-section { padding: 76px 0; }
	.lc-services, .lc-why { grid-template-columns: 1fr; }
	.lc-why__item { border-right: 0; padding: 34px 26px; }
	.lc-scroll { display: none; }
	.lc-about__media::after { display: none; }
	.lc-contact__card { padding: 38px 28px; }
	.lc-footer__inner { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.lc-slide__bg, .lc-slide.is-active .lc-slide__bg { transform: none; transition: none; }
	.lc-reveal { opacity: 1; transform: none; }
	.lc-hero.is-running .lc-progress i { animation: none; }
}
