/* =================================================================
   浩科营销 主题主样式
   风格：红色主调 / 简洁 / 大气 / 前沿
   ================================================================= */

/* ----------------------------------------------------------------
   1. 设计变量
   ---------------------------------------------------------------- */
:root {
	/* 品牌色 */
	--c-primary: #c8102e;
	--c-primary-600: #b00d28;
	--c-primary-dark: #9e0c24;
	--c-primary-deep: #7f0a1d;
	--c-primary-soft: #fdeef0;
	--c-gradient: linear-gradient(135deg, #e0293b 0%, #c8102e 55%, #a40d26 100%);

	/* 文字 */
	--c-ink: #16181d;
	--c-text: #4a4f59;
	--c-muted: #8a909c;
	--c-white: #ffffff;

	/* 背景与边框 */
	--c-soft: #f7f7f8;
	--c-border: #ececef;
	--c-dark: #120a0d;
	--c-dark-2: #1a0e12;
	--c-footer: #101216;

	/* 字体 */
	--font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
		"Helvetica Neue", Helvetica, Arial, sans-serif;

	/* 尺寸 */
	--container: 1200px;
	--radius: 14px;
	--radius-sm: 8px;
	--header-h: 76px;

	/* 阴影 */
	--shadow-card: 0 8px 30px rgba(22, 24, 29, 0.06);
	--shadow-hover: 0 20px 50px rgba(200, 16, 46, 0.16);

	--transition: 0.3s cubic-bezier(0.25, 0.8, 0.35, 1);
}

/* ----------------------------------------------------------------
   2. 基础重置
   ---------------------------------------------------------------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

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

body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.8;
	color: var(--c-text);
	background: var(--c-white);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0;
	color: var(--c-ink);
	font-weight: 700;
	line-height: 1.3;
}

p {
	margin: 0 0 1em;
}

a {
	color: var(--c-primary);
	text-decoration: none;
	transition: color var(--transition);
}

a:hover {
	color: var(--c-primary-dark);
}

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

ul, ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

figure {
	margin: 0;
}

button {
	font-family: inherit;
	cursor: pointer;
}

::selection {
	background: var(--c-primary);
	color: #fff;
}

/* ----------------------------------------------------------------
   3. 通用布局
   ---------------------------------------------------------------- */
.container {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 24px;
}

.section {
	padding: 110px 0;
}

.section-soft {
	background: var(--c-soft);
}

.section-head {
	max-width: 760px;
	margin: 0 auto 64px;
	text-align: center;
}

.section-head-row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	text-align: left;
	margin-bottom: 56px;
}

.section-eyebrow {
	margin: 0 0 14px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--c-primary);
}

.section-title {
	font-size: 38px;
	letter-spacing: 1px;
}

.section-subtitle {
	margin: 18px 0 0;
	font-size: 17px;
	color: var(--c-muted);
}

/* ----------------------------------------------------------------
   4. 按钮
   ---------------------------------------------------------------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 30px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	border: 1.5px solid transparent;
	border-radius: 999px;
	transition: all var(--transition);
	white-space: nowrap;
}

.btn-lg {
	padding: 15px 38px;
	font-size: 16px;
}

.btn-primary {
	background: var(--c-gradient);
	color: #fff;
	box-shadow: 0 10px 26px rgba(200, 16, 46, 0.32);
}

.btn-primary:hover {
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 14px 32px rgba(200, 16, 46, 0.42);
}

.btn-outline {
	border-color: var(--c-primary);
	color: var(--c-primary);
	background: transparent;
}

.btn-outline:hover {
	background: var(--c-primary);
	color: #fff;
}

.btn-ghost {
	border-color: rgba(255, 255, 255, 0.35);
	color: #fff;
	background: rgba(255, 255, 255, 0.06);
	backdrop-filter: blur(6px);
}

.btn-ghost:hover {
	border-color: #fff;
	background: rgba(255, 255, 255, 0.16);
	color: #fff;
}

.btn-light {
	background: #fff;
	color: var(--c-primary);
}

.btn-light:hover {
	color: var(--c-primary-dark);
	transform: translateY(-2px);
}

.btn-outline-light {
	border-color: rgba(255, 255, 255, 0.6);
	color: #fff;
	background: transparent;
}

.btn-outline-light:hover {
	background: #fff;
	color: var(--c-primary);
}

.btn-block {
	width: 100%;
}

.link-more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 15px;
	font-weight: 600;
	color: var(--c-primary);
	flex-shrink: 0;
}

.link-more:hover {
	gap: 10px;
	color: var(--c-primary-dark);
}

/* ----------------------------------------------------------------
   5. 头部导航
   ---------------------------------------------------------------- */
.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	background: #fff;
	border-bottom: 1px solid var(--c-border);
	transition: all var(--transition);
}

/* 首页头部透明（覆盖 hero） */
.home .site-header {
	background: transparent;
	border-bottom-color: transparent;
}

/* 首页滚动后头部白色 */
.home .site-header.scrolled {
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: blur(14px);
	border-bottom-color: var(--c-border);
	box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

/* 非首页头部始终白色 */
body:not(.home) .site-header {
	background: #fff;
	border-bottom: 1px solid var(--c-border);
}

.header-inner {
	display: flex;
	align-items: center;
	height: var(--header-h);
	gap: 36px;
}

/* Logo */
.site-branding {
	flex-shrink: 0;
}

.site-logo-text {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.logo-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	font-size: 20px;
	font-weight: 700;
	color: var(--c-primary);
	background: transparent;
	border: 2px solid var(--c-primary);
	border-radius: 10px;
	transition: all var(--transition);
}

/* 首页头部透明时 logo 标记白色边框 */
.home .site-header:not(.scrolled) .logo-mark {
	color: #fff;
	border-color: rgba(255, 255, 255, 0.9);
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(4px);
}

/* 首页头部滚动后 logo 标记红色边框 */
.home .site-header.scrolled .logo-mark {
	color: var(--c-primary);
	border-color: var(--c-primary);
	background: var(--c-primary-soft);
}

/* 非首页头部 logo 标记红色边框 */
body:not(.home) .logo-mark {
	color: var(--c-primary);
	border-color: var(--c-primary);
	background: var(--c-primary-soft);
}

/* 非首页头部 logo 文字深色 */
body:not(.home) .logo-text {
	color: var(--c-ink);
}

/* 非首页头部导航深色 */
body:not(.home) .main-navigation .menu-item a {
	color: var(--c-text);
}

/* 非首页头部电话深色 */
body:not(.home) .header-phone {
	color: var(--c-ink);
}

/* 非首页汉堡按钮深色 */
body:not(.home) .toggle-bar {
	background: var(--c-ink);
}

.logo-text {
	font-size: 20px;
	font-weight: 700;
	letter-spacing: 2px;
	color: var(--c-ink);
	transition: color var(--transition);
}

/* 首页头部透明时 logo 白色 */
.home .site-header:not(.scrolled) .logo-text {
	color: #fff;
}

/* 首页头部滚动后 logo 深色 */
.home .site-header.scrolled .logo-text {
	color: var(--c-ink);
}

/* 主导航 */
.main-navigation {
	flex: 1;
}

.main-navigation .menu {
	display: flex;
	justify-content: center;
	gap: 6px;
}

.main-navigation .menu-item a {
	display: block;
	padding: 10px 18px;
	font-size: 15.5px;
	font-weight: 500;
	color: var(--c-text);
	border-radius: 999px;
	transition: all var(--transition);
}

/* 首页头部透明时导航白色 */
.home .site-header:not(.scrolled) .main-navigation .menu-item a {
	color: rgba(255, 255, 255, 0.85);
}

/* 首页头部滚动后导航深色 */
.home .site-header.scrolled .main-navigation .menu-item a {
	color: var(--c-text);
}

.main-navigation .menu-item a:hover,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
	color: var(--c-primary) !important;
	background: var(--c-primary-soft);
}

/* 头部电话 */
.header-cta {
	flex-shrink: 0;
}

.header-phone {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 17px;
	font-weight: 700;
	color: var(--c-ink);
}

/* 首页头部透明时电话白色 */
.home .site-header:not(.scrolled) .header-phone {
	color: #fff;
}

/* 首页头部滚动后电话深色 */
.home .site-header.scrolled .header-phone {
	color: var(--c-ink);
}

.header-phone:hover {
	color: var(--c-primary);
}

/* 移动端按钮 */
.menu-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 44px;
	height: 44px;
	padding: 10px;
	background: transparent;
	border: none;
}

.toggle-bar {
	display: block;
	height: 2px;
	width: 100%;
	background: var(--c-ink);
	border-radius: 2px;
	transition: all var(--transition);
}

/* 首页头部透明时汉堡按钮白色 */
.home .site-header:not(.scrolled) .toggle-bar {
	background: #fff;
}

/* 首页头部滚动后汉堡按钮深色 */
.home .site-header.scrolled .toggle-bar {
	background: var(--c-ink);
}

.menu-toggle.is-open .toggle-bar:nth-child(2) {
	opacity: 0;
}

.menu-toggle.is-open .toggle-bar:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open .toggle-bar:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* 移动端菜单 */
.mobile-menu {
	display: none;
	max-height: 0;
	overflow: hidden;
	background: #fff;
	transition: max-height 0.4s ease;
}

.mobile-menu.is-open {
	max-height: 80vh;
	overflow-y: auto;
}

.mobile-menu .menu {
	padding: 12px 24px;
}

.mobile-menu .menu-item a {
	display: block;
	padding: 13px 4px;
	font-size: 16px;
	color: var(--c-text);
	border-bottom: 1px solid var(--c-border);
}

.mobile-phone {
	display: block;
	margin: 16px 24px 28px;
	padding: 14px;
	text-align: center;
	font-size: 18px;
	font-weight: 700;
	color: #fff;
	background: var(--c-gradient);
	border-radius: 999px;
}

/* ----------------------------------------------------------------
   6. 首屏 Hero
   ---------------------------------------------------------------- */
.hero-section {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 100vh;
	padding: calc(var(--header-h) + 40px) 0 120px;
	color: #fff;
	background:
		radial-gradient(ellipse 80% 60% at 50% -10%, #3a111a 0%, transparent 60%),
		radial-gradient(ellipse at 20% 110%, #2a0d15 0%, transparent 55%),
		linear-gradient(180deg, #1a080c 0%, #12060a 55%, #0d0507 100%);
	overflow: hidden;
}

/* 确保 hero 内容在背景之上 */
.hero-section .container {
	position: relative;
	z-index: 2;
}

.hero-bg {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.hero-glow {
	position: absolute;
	border-radius: 50%;
	filter: blur(100px);
	opacity: 0.55;
}

.hero-glow-1 {
	width: 520px;
	height: 520px;
	top: -180px;
	right: -120px;
	background: radial-gradient(circle, rgba(224, 41, 59, 0.55), transparent 70%);
}

.hero-glow-2 {
	width: 420px;
	height: 420px;
	bottom: -160px;
	left: -100px;
	background: radial-gradient(circle, rgba(200, 16, 46, 0.4), transparent 70%);
}

.hero-grid {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
	background-size: 64px 64px;
	mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 0%, transparent 75%);
	-webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 0%, transparent 75%);
}

.hero-inner {
	position: relative;
	z-index: 2;
	max-width: 900px;
	text-align: center;
}

.hero-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 28px;
	padding: 8px 20px;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 2px;
	color: rgba(255, 255, 255, 0.85);
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.05);
}

.hero-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #ff4658;
	box-shadow: 0 0 0 4px rgba(255, 70, 88, 0.25);
	animation: pulse 2s infinite;
}

@keyframes pulse {
	0%, 100% { box-shadow: 0 0 0 4px rgba(255, 70, 88, 0.25); }
	50% { box-shadow: 0 0 0 8px rgba(255, 70, 88, 0.08); }
}

.hero-title {
	margin: 0;
	font-size: 60px;
	font-weight: 800;
	line-height: 1.22;
	letter-spacing: 2px;
	color: #fff;
}

.hero-subtitle {
	max-width: 680px;
	margin: 28px auto 0;
	font-size: 18px;
	line-height: 1.9;
	color: rgba(255, 255, 255, 0.72);
}

.hero-actions {
	display: flex;
	justify-content: center;
	gap: 18px;
	margin-top: 48px;
	flex-wrap: wrap;
}

.hero-scroll {
	position: absolute;
	bottom: 32px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 2;
}

.hero-scroll-mouse {
	display: block;
	width: 24px;
	height: 38px;
	border: 2px solid rgba(255, 255, 255, 0.4);
	border-radius: 14px;
	padding-top: 7px;
}

.hero-scroll-mouse span {
	display: block;
	width: 3px;
	height: 8px;
	margin: 0 auto;
	background: #ff4658;
	border-radius: 3px;
	animation: scrollWheel 1.8s infinite;
}

@keyframes scrollWheel {
	0% { transform: translateY(0); opacity: 1; }
	70% { transform: translateY(10px); opacity: 0; }
	100% { transform: translateY(0); opacity: 0; }
}

/* ----------------------------------------------------------------
   7. 主营项目卡片
   ---------------------------------------------------------------- */
.services-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}

.service-card {
	position: relative;
	padding: 44px 36px 40px;
	background: #fff;
	border: 1px solid var(--c-border);
	border-radius: var(--radius);
	transition: all var(--transition);
	overflow: hidden;
}

.service-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: var(--c-gradient);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform var(--transition);
}

.service-card:hover {
	transform: translateY(-10px);
	border-color: rgba(200, 16, 46, 0.25);
	box-shadow: var(--shadow-hover);
}

.service-card:hover::before {
	transform: scaleX(1);
}

.service-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 66px;
	height: 66px;
	margin-bottom: 26px;
	color: var(--c-primary);
	background: var(--c-primary-soft);
	border-radius: 16px;
	transition: all var(--transition);
}

.service-card:hover .service-icon {
	color: #fff;
	background: var(--c-gradient);
	box-shadow: 0 10px 24px rgba(200, 16, 46, 0.35);
}

.service-eyebrow {
	margin: 0 0 8px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--c-muted);
}

.service-title {
	margin: 0 0 16px;
	font-size: 23px;
}

.service-desc {
	margin: 0 0 26px;
	font-size: 15px;
	line-height: 1.85;
	color: var(--c-text);
}

.service-more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 15px;
	font-weight: 600;
	color: var(--c-primary);
}

.service-more svg {
	transition: transform var(--transition);
}

.service-more:hover svg {
	transform: translateX(4px);
}

.service-more-static {
	color: var(--c-muted);
}

/* ----------------------------------------------------------------
   8. 关于浩科
   ---------------------------------------------------------------- */
.about-grid {
	display: grid;
	grid-template-columns: 0.95fr 1.05fr;
	gap: 64px;
	align-items: center;
}

.about-title {
	margin-bottom: 20px;
	font-size: 36px;
}

.about-lead {
	font-size: 17px;
	line-height: 1.9;
	color: var(--c-text);
}

.about-tags {
	margin: 28px 0 34px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

.about-tags li {
	position: relative;
	padding-left: 26px;
	font-size: 14.5px;
	color: var(--c-text);
}

.about-tags li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 9px;
	width: 9px;
	height: 9px;
	border-radius: 2px;
	background: var(--c-gradient);
}

.about-cards {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.about-card {
	padding: 32px 34px;
	background: #fff;
	border: 1px solid var(--c-border);
	border-radius: var(--radius);
	box-shadow: var(--shadow-card);
	transition: all var(--transition);
}

.about-card:hover {
	transform: translateX(6px);
	box-shadow: var(--shadow-hover);
}

.about-card p {
	margin: 0;
	font-size: 15px;
	line-height: 1.9;
}

.about-card-title {
	margin-bottom: 12px;
	font-size: 21px;
}

.about-card-accent {
	background: var(--c-gradient);
	border-color: transparent;
}

.about-card-accent .about-card-title,
.about-card-accent p {
	color: #fff;
}

.about-stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	margin-top: 80px;
	padding: 48px 40px;
	background: #fff;
	border: 1px solid var(--c-border);
	border-radius: var(--radius);
	box-shadow: var(--shadow-card);
}

.about-stat {
	text-align: center;
}

.about-stat strong {
	display: block;
	font-size: 48px;
	font-weight: 800;
	line-height: 1;
	color: var(--c-primary);
}

.about-stat strong small {
	font-size: 26px;
}

.about-stat span {
	display: block;
	margin-top: 12px;
	font-size: 15px;
	color: var(--c-muted);
}

/* ----------------------------------------------------------------
   9. 合作案例
   ---------------------------------------------------------------- */
.cases-section {
	position: relative;
	color: rgba(255, 255, 255, 0.75);
	background:
		radial-gradient(ellipse 60% 50% at 85% 0%, rgba(200, 16, 46, 0.22), transparent 60%),
		radial-gradient(ellipse 60% 50% at 10% 100%, rgba(200, 16, 46, 0.15), transparent 60%),
		var(--c-dark);
}

.cases-section .section-title {
	color: #fff;
}

.cases-slider {
	max-width: 900px;
	margin: 0 auto;
}

.cases-track {
	position: relative;
	min-height: 320px;
}

.case-slide {
	display: none;
	margin: 0;
	text-align: center;
	opacity: 0;
	transition: opacity 0.5s ease;
}

.case-slide.is-active {
	display: block;
	opacity: 1;
}

.case-quote-mark {
	display: block;
	font-family: Georgia, serif;
	font-size: 84px;
	line-height: 0.6;
	height: 40px;
	color: var(--c-primary);
}

.case-quote {
	margin: 24px 0 36px;
	font-size: 19px;
	line-height: 2;
	color: rgba(255, 255, 255, 0.88);
}

.case-author {
	display: inline-flex;
	align-items: center;
	gap: 14px;
}

.case-avatar {
	width: 58px;
	height: 58px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid rgba(255, 255, 255, 0.25);
}

.case-avatar-letter {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	font-weight: 700;
	color: #fff;
	background: var(--c-gradient);
}

.case-meta {
	text-align: left;
}

.case-name {
	display: block;
	font-size: 16px;
	color: #fff;
}

.case-role {
	display: block;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.55);
}

.cases-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 26px;
	margin-top: 52px;
}

.cases-btn {
	padding: 10px 24px;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.75);
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 999px;
	transition: all var(--transition);
}

.cases-btn:hover {
	color: #fff;
	border-color: var(--c-primary);
	background: var(--c-primary);
}

.cases-dots {
	display: flex;
	gap: 10px;
}

.cases-dot {
	width: 10px;
	height: 10px;
	padding: 0;
	background: rgba(255, 255, 255, 0.25);
	border: none;
	border-radius: 50%;
	transition: all var(--transition);
}

.cases-dot.is-active {
	width: 28px;
	border-radius: 999px;
	background: var(--c-primary);
}

/* ----------------------------------------------------------------
   10. 营销资讯
   ---------------------------------------------------------------- */
.news-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}

.news-card {
	display: flex;
	gap: 22px;
	padding: 30px 28px;
	background: #fff;
	border: 1px solid var(--c-border);
	border-radius: var(--radius);
	transition: all var(--transition);
}

.news-card:hover {
	transform: translateY(-8px);
	border-color: rgba(200, 16, 46, 0.2);
	box-shadow: var(--shadow-hover);
}

.news-date {
	flex-shrink: 0;
	width: 64px;
	height: 76px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	color: var(--c-primary);
	background: var(--c-primary-soft);
	border-radius: var(--radius-sm);
}

.news-date-day {
	font-size: 26px;
	font-weight: 800;
	line-height: 1.1;
}

.news-date-month {
	font-size: 12px;
}

.news-title {
	margin: 0 0 10px;
	font-size: 18px;
	line-height: 1.5;
}

.news-title a {
	color: var(--c-ink);
}

.news-title a:hover {
	color: var(--c-primary);
}

.news-excerpt {
	margin: 0 0 14px;
	font-size: 14px;
	line-height: 1.8;
	color: var(--c-muted);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.news-more {
	font-size: 14px;
	font-weight: 600;
}

.news-empty {
	text-align: center;
	color: var(--c-muted);
}

/* ----------------------------------------------------------------
   11. 底部 CTA
   ---------------------------------------------------------------- */
.cta-section {
	position: relative;
	padding: 100px 0;
	overflow: hidden;
	background: var(--c-gradient);
}

.cta-bg {
	position: absolute;
	inset: 0;
}

.cta-glow {
	position: absolute;
	top: -160px;
	left: 50%;
	width: 700px;
	height: 400px;
	transform: translateX(-50%);
	background: radial-gradient(ellipse, rgba(255, 255, 255, 0.18), transparent 70%);
}

.cta-inner {
	position: relative;
	text-align: center;
}

.cta-title {
	margin: 0;
	font-size: 40px;
	color: #fff;
	letter-spacing: 1px;
}

.cta-sub {
	margin: 20px 0 0;
	font-size: 17px;
	color: rgba(255, 255, 255, 0.82);
}

.cta-actions {
	display: flex;
	justify-content: center;
	gap: 18px;
	margin-top: 42px;
	flex-wrap: wrap;
}

/* ----------------------------------------------------------------
   12. 内页头部（page hero）
   ---------------------------------------------------------------- */
.page-hero {
	position: relative;
	padding: calc(var(--header-h) + 70px) 0 70px;
	color: #fff;
	background:
		radial-gradient(ellipse 70% 80% at 90% -20%, rgba(224, 41, 59, 0.4), transparent 60%),
		linear-gradient(135deg, #2a0b12 0%, #1a080c 60%, #12060a 100%);
}

.page-hero-eyebrow {
	margin: 0 0 12px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 2.5px;
	text-transform: uppercase;
	color: #ff6a78;
}

.page-hero-title {
	margin: 0;
	font-size: 42px;
	color: #fff;
}

.page-hero-sub {
	margin: 18px 0 0;
	max-width: 720px;
	font-size: 16px;
	color: rgba(255, 255, 255, 0.7);
}

.page-hero-meta {
	margin: 18px 0 0;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.6);
}

.page-hero-meta a {
	color: rgba(255, 255, 255, 0.75);
}

/* 面包屑 */
.breadcrumb {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	font-size: 14px;
	color: var(--c-muted);
	margin-bottom: 26px;
}

.breadcrumb a {
	color: var(--c-muted);
}

.breadcrumb a:hover {
	color: var(--c-primary);
}

.breadcrumb-light,
.breadcrumb-light a {
	color: rgba(255, 255, 255, 0.65);
}

.breadcrumb-light .breadcrumb-sep {
	color: rgba(255, 255, 255, 0.4);
}

/* ----------------------------------------------------------------
   13. 博客 / 文章
   ---------------------------------------------------------------- */
.blog-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 44px;
	align-items: start;
}

.post-card {
	padding: 36px 40px;
	background: #fff;
	border: 1px solid var(--c-border);
	border-radius: var(--radius);
	margin-bottom: 28px;
	transition: all var(--transition);
}

.post-card:hover {
	box-shadow: var(--shadow-card);
	border-color: rgba(200, 16, 46, 0.18);
}

.post-card-title {
	margin: 0 0 12px;
	font-size: 24px;
}

.post-card-title a {
	color: var(--c-ink);
}

.post-card-title a:hover {
	color: var(--c-primary);
}

.entry-meta {
	display: flex;
	gap: 18px;
	font-size: 13.5px;
	color: var(--c-muted);
}

.post-card-excerpt {
	margin: 16px 0 18px;
	font-size: 15px;
}

.single-layout {
	max-width: 820px;
}

.single-article {
	font-size: 16.5px;
	line-height: 2;
	color: var(--c-text);
}

.single-article h2 { font-size: 28px; margin: 1.8em 0 0.7em; }
.single-article h3 { font-size: 22px; margin: 1.6em 0 0.6em; }
.single-article p { margin: 0 0 1.2em; }
.single-article img {
	border-radius: var(--radius-sm);
	margin: 1.6em auto;
	max-height: 500px;
	object-fit: cover;
	display: block;
}
.single-article blockquote {
	margin: 1.6em 0;
	padding: 20px 28px;
	border-left: 4px solid var(--c-primary);
	background: var(--c-soft);
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	color: var(--c-text);
}
.single-article ul,
.single-article ol {
	margin: 0 0 1.2em;
	padding-left: 1.4em;
}
.single-article ul { list-style: disc; }
.single-article ol { list-style: decimal; }
.single-article li { margin-bottom: 0.5em; }

.entry-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 40px;
	padding-top: 28px;
	border-top: 1px solid var(--c-border);
}

.entry-tags a {
	padding: 6px 16px;
	font-size: 13.5px;
	color: var(--c-muted);
	background: var(--c-soft);
	border-radius: 999px;
}

.entry-tags a:hover {
	color: #fff;
	background: var(--c-primary);
}

.post-navigation {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin-top: 56px;
}

.post-nav-item a {
	display: block;
	padding: 20px 24px;
	font-size: 14px;
	color: var(--c-text);
	background: var(--c-soft);
	border-radius: var(--radius-sm);
	transition: all var(--transition);
}

.post-nav-item a:hover {
	color: var(--c-primary);
	background: var(--c-primary-soft);
}

.post-nav-next {
	text-align: right;
}

/* 分页 */
.pagination ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 12px;
}

.pagination a,
.pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 14px;
	font-size: 14.5px;
	color: var(--c-text);
	background: #fff;
	border: 1px solid var(--c-border);
	border-radius: var(--radius-sm);
}

.pagination a:hover {
	color: var(--c-primary);
	border-color: var(--c-primary);
}

.pagination .current {
	color: #fff;
	background: var(--c-primary);
	border-color: var(--c-primary);
}

/* 侧栏 */
.sidebar {
	position: sticky;
	top: calc(var(--header-h) + 20px);
}

.widget {
	padding: 28px;
	background: #fff;
	border: 1px solid var(--c-border);
	border-radius: var(--radius);
	margin-bottom: 24px;
}

.widget-title {
	margin: 0 0 18px;
	padding-bottom: 14px;
	font-size: 17px;
	border-bottom: 1px solid var(--c-border);
	position: relative;
}

.widget-title::after {
	content: "";
	position: absolute;
	bottom: -1px;
	left: 0;
	width: 36px;
	height: 2px;
	background: var(--c-primary);
}

.widget ul li {
	padding: 9px 0;
	font-size: 14.5px;
	border-bottom: 1px dashed var(--c-border);
}

.widget ul li:last-child {
	border-bottom: none;
}

.widget ul li a {
	color: var(--c-text);
}

.widget ul li a:hover {
	color: var(--c-primary);
}

/* 独立页面正文 */
.page-article .entry-title {
	margin: 0 0 30px;
	font-size: 36px;
	position: relative;
	padding-bottom: 20px;
}

.page-article .entry-title::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 56px;
	height: 4px;
	border-radius: 4px;
	background: var(--c-gradient);
}

.page-content {
	font-size: 16px;
	line-height: 2;
}

.page-content h2 { font-size: 26px; margin: 1.8em 0 0.6em; }
.page-content h3 { font-size: 21px; margin: 1.5em 0 0.5em; }

/* 服务页布局 */
.service-layout {
	display: grid;
	grid-template-columns: 290px minmax(0, 1fr);
	gap: 48px;
	align-items: start;
}

.service-sidebar {
	position: sticky;
	top: calc(var(--header-h) + 20px);
}

.service-side-card {
	border: 1px solid var(--c-border);
	border-radius: var(--radius);
	overflow: hidden;
	margin-bottom: 24px;
}

.service-side-title {
	padding: 20px 24px;
	font-size: 16px;
	color: #fff;
	background: var(--c-gradient);
}

.service-side-list li a {
	display: block;
	padding: 15px 24px;
	font-size: 15px;
	color: var(--c-text);
	border-bottom: 1px solid var(--c-border);
	transition: all var(--transition);
}

.service-side-list li:last-child a {
	border-bottom: none;
}

.service-side-list li a:hover,
.service-side-list li a.is-current {
	color: var(--c-primary);
	background: var(--c-primary-soft);
	padding-left: 30px;
}

.service-side-contact {
	padding: 28px 24px;
	text-align: center;
	border: 1px solid var(--c-border);
	border-radius: var(--radius);
}

.service-side-contact-label {
	margin: 0 0 8px;
	font-size: 14px;
	color: var(--c-muted);
}

.service-side-phone {
	display: block;
	margin-bottom: 18px;
	font-size: 22px;
	font-weight: 800;
	color: var(--c-primary);
}

.service-content {
	font-size: 16px;
	line-height: 2;
}

.service-content h2 { font-size: 27px; margin: 1.8em 0 0.6em; }
.service-content h3 { font-size: 21px; margin: 1.5em 0 0.5em; }
.service-content img {
	border-radius: var(--radius-sm);
	margin: 1.6em auto;
	max-height: 500px;
	object-fit: cover;
}
.service-content ul, .service-content ol { margin: 0 0 1.2em; padding-left: 1.4em; }
.service-content ul { list-style: disc; }
.service-content ol { list-style: decimal; }

/* 服务页面特色图片比例 */
.page-hero-service {
	padding-bottom: 90px;
}

/* 正文通用配图 - 控制比例 */
.content-figure {
	margin: 0 0 2em;
	overflow: hidden;
	border-radius: var(--radius);
}

.content-figure img {
	width: 100%;
	height: auto;
	max-height: 480px;
	object-fit: cover;
	border-radius: var(--radius);
	box-shadow: var(--shadow-card);
	transition: transform var(--transition);
}

.content-figure:hover img {
	transform: scale(1.02);
}

/* 首页关于板块配图 - 16:9 比例 */
.about-figure {
	margin: 4px 0 26px;
	overflow: hidden;
	border-radius: var(--radius);
}

.about-figure img {
	width: 100%;
	height: 280px;
	object-fit: cover;
	transition: transform var(--transition);
}

.about-figure:hover img {
	transform: scale(1.03);
}

/* 单篇文章配图 */
.single-article img {
	border-radius: var(--radius-sm);
	margin: 1.6em auto;
	max-height: 500px;
	object-fit: cover;
}

/* 独立页面配图 */
.page-content img {
	border-radius: var(--radius-sm);
	margin: 1.6em auto;
	max-height: 500px;
	object-fit: cover;
	display: block;
}

/* 全局图片基础样式 */
img {
	max-width: 100%;
	height: auto;
}

/* ----------------------------------------------------------------
   14. 评论
   ---------------------------------------------------------------- */
.comments-area {
	margin-top: 70px;
	padding-top: 50px;
	border-top: 1px solid var(--c-border);
}

.comments-title {
	margin-bottom: 30px;
	font-size: 22px;
}

.comment-list {
	list-style: none;
}

.comment-list .comment {
	padding: 26px 0;
	border-bottom: 1px solid var(--c-border);
}

.comment-list .children {
	list-style: none;
	margin-left: 70px;
}

.comment-body {
	font-size: 15px;
}

.comment-author {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 12px;
}

.comment-author .avatar {
	border-radius: 50%;
}

.comment-author .fn {
	font-size: 15.5px;
	color: var(--c-ink);
}

.comment-metadata {
	margin-left: 52px;
	font-size: 13px;
}

.comment-metadata a {
	color: var(--c-muted);
}

.comment-reply-link {
	font-size: 13.5px;
}

.comment-form input,
.comment-form textarea {
	width: 100%;
	padding: 12px 16px;
	font-family: inherit;
	font-size: 15px;
	border: 1px solid var(--c-border);
	border-radius: var(--radius-sm);
	transition: border-color var(--transition);
}

.comment-form input:focus,
.comment-form textarea:focus {
	outline: none;
	border-color: var(--c-primary);
}

.comment-form .form-submit .submit {
	width: auto;
	padding: 12px 36px;
	color: #fff;
	background: var(--c-gradient);
	border: none;
	border-radius: 999px;
	font-weight: 600;
}

/* ----------------------------------------------------------------
   15. 页脚
   ---------------------------------------------------------------- */
.footer-contact {
	background:
		radial-gradient(ellipse 70% 90% at 100% 0%, rgba(200, 16, 46, 0.2), transparent 55%),
		#1a0e12;
	padding: 60px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-contact-inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	align-items: start;
}

.footer-contact-title {
	margin: 0 0 8px;
	font-size: 28px;
	color: #fff;
}

.footer-contact-sub {
	margin: 0 0 28px;
	font-size: 15px;
	color: rgba(255, 255, 255, 0.5);
}

.contact-list {
	display: grid;
	grid-template-columns: 1fr;
	gap: 14px;
}

.contact-list li {
	display: flex;
	gap: 12px;
	font-size: 14.5px;
	color: rgba(255, 255, 255, 0.75);
}

.contact-list a {
	color: rgba(255, 255, 255, 0.75);
}

.contact-list a:hover {
	color: #ff6a78;
}

.contact-label {
	flex-shrink: 0;
	width: 42px;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.4);
}

/* 右侧卡片 */
.footer-contact-right {
	padding: 32px 28px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: var(--radius);
	background: rgba(255, 255, 255, 0.03);
}

.slogan {
	margin: 0 0 24px;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.5;
	color: #fff;
}

/* 微信二维码 */
.footer-wechat {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 24px;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-wechat img {
	width: 72px;
	height: 72px;
	border-radius: 8px;
	background: #fff;
	padding: 4px;
}

.footer-wechat-text {
	font-size: 13px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.5);
}

/* 页脚主体 */
.footer-main {
	padding: 56px 0 40px;
	background: var(--c-footer);
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr;
	gap: 48px;
}

.footer-logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 18px;
}

/* 页脚 logo 标记：透明背景 + 白色边框 */
.footer-logo .logo-mark {
	color: #fff;
	border-color: rgba(255, 255, 255, 0.5);
	background: transparent;
}

.footer-logo .logo-text {
	color: #fff;
	font-size: 18px;
}

.footer-desc {
	max-width: 320px;
	margin: 0;
	font-size: 13.5px;
	line-height: 1.8;
	color: rgba(255, 255, 255, 0.45);
}

.footer-col-title {
	margin: 0 0 18px;
	font-size: 15px;
	font-weight: 600;
	color: #fff;
}

.footer-links li {
	margin-bottom: 10px;
}

.footer-links a {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.5);
}

.footer-links a:hover {
	color: #ff6a78;
}

/* 页脚底部 */
.footer-bottom {
	padding: 20px 0;
	background: #0d0709;
	border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-bottom-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.footer-bottom p {
	margin: 0;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.35);
}

/* ----------------------------------------------------------------
   16. 404
   ---------------------------------------------------------------- */
.error-inner {
	text-align: center;
	padding: 60px 0;
}

.error-code {
	margin: 0;
	font-size: 180px;
	font-weight: 800;
	line-height: 1;
	background: var(--c-gradient);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.error-title {
	margin: 10px 0 16px;
	font-size: 32px;
}

.error-text {
	color: var(--c-muted);
}

.error-search {
	max-width: 460px;
	margin: 30px auto 34px;
}

.error-actions {
	display: flex;
	justify-content: center;
	gap: 16px;
	flex-wrap: wrap;
}

/* 搜索框 */
.search-form {
	display: flex;
	gap: 10px;
}

.search-form label {
	flex: 1;
}

.search-form .search-field {
	width: 100%;
	padding: 13px 20px;
	font-family: inherit;
	font-size: 15px;
	border: 1px solid var(--c-border);
	border-radius: 999px;
}

.search-form .search-field:focus {
	outline: none;
	border-color: var(--c-primary);
}

.search-form .search-submit {
	padding: 12px 28px;
	font-weight: 600;
	color: #fff;
	background: var(--c-gradient);
	border: none;
	border-radius: 999px;
}

/* ----------------------------------------------------------------
   17. 辅助类与动效
   ---------------------------------------------------------------- */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.skip-link:focus {
	top: 10px;
	left: 10px;
	background: var(--c-primary);
	color: #fff;
	padding: 10px 20px;
	border-radius: 6px;
	z-index: 10000;
	clip: auto;
	clip-path: none;
	width: auto;
	height: auto;
}

/* 滚动显现 */
[data-reveal] {
	opacity: 0;
	transform: translateY(34px);
	transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* ----------------------------------------------------------------
   18. 响应式
   ---------------------------------------------------------------- */
@media (max-width: 1080px) {
	.services-grid,
	.news-grid {
		grid-template-columns: 1fr 1fr;
	}

	.service-card:last-child {
		grid-column: 1 / -1;
		max-width: 480px;
		margin: 0 auto;
		width: 100%;
	}

	.about-grid {
		gap: 44px;
	}

	.footer-grid {
		grid-template-columns: 1.4fr 1fr;
		gap: 44px;
	}

	.footer-brand-col {
		grid-column: 1 / -1;
	}
}

@media (max-width: 960px) {
	.section {
		padding: 84px 0;
	}

	.main-navigation,
	.header-cta {
		display: none;
	}

	.menu-toggle {
		display: flex;
		margin-left: auto;
	}

	.mobile-menu {
		display: block;
	}

	.hero-title {
		font-size: 44px;
	}

	.about-grid {
		grid-template-columns: 1fr;
	}

	.about-card:hover {
		transform: none;
	}

	.blog-layout,
	.service-layout,
	.footer-contact-inner {
		grid-template-columns: 1fr;
	}

	.sidebar,
	.service-sidebar {
		position: static;
	}

	.section-head-row {
		flex-direction: column;
		align-items: flex-start;
	}

	.case-quote {
		font-size: 17px;
	}

	.footer-contact-inner {
		gap: 28px;
	}

	.footer-contact-right {
		padding: 24px 20px;
	}
}

@media (max-width: 640px) {
	.container {
		padding: 0 18px;
	}

	.services-grid,
	.news-grid {
		grid-template-columns: 1fr;
	}

	.service-card:last-child {
		max-width: none;
	}

	.hero-title {
		font-size: 34px;
		letter-spacing: 1px;
	}

	.hero-subtitle {
		font-size: 16px;
	}

	.section-title,
	.cta-title {
		font-size: 28px;
	}

	.about-title {
		font-size: 28px;
	}

	.about-tags {
		grid-template-columns: 1fr;
	}

	.about-stats {
		grid-template-columns: 1fr;
		gap: 28px;
		padding: 36px 28px;
	}

	.contact-list {
		grid-template-columns: 1fr;
	}

	.footer-grid {
		grid-template-columns: 1fr;
	}

	.footer-contact {
		padding: 40px 0;
	}

	.footer-contact-title {
		font-size: 24px;
	}

	.footer-contact-right {
		padding: 24px 20px;
	}

	.footer-wechat {
		justify-content: flex-start;
	}

	.footer-bottom-inner {
		flex-direction: column;
		gap: 8px;
		text-align: center;
	}

	.post-navigation {
		grid-template-columns: 1fr;
	}

	.post-nav-next {
		text-align: left;
	}

	.post-card {
		padding: 28px 24px;
	}

	.error-code {
		font-size: 120px;
	}

	.cases-nav {
		gap: 14px;
	}

	.cases-btn {
		padding: 9px 16px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}

	[data-reveal] {
		opacity: 1;
		transform: none;
	}
}
