/*
Theme Name: 初喜婚礼 Chuxi Wedding
Theme URI: https://example.com/chuxi-wedding
Author: 文化传媒站群
Description: 婚礼策划工作室专用主题。象牙白×腮红粉×香槟金的浪漫质感：植物线描拱门首屏、细衬线大标题、双线精致边框、藤蔓页脚。十段式转化首页（服务/真实婚礼/承诺/流程/套系/新人说/备婚问答/预约咨询），内建 SEO 与结构化数据。零外部依赖。
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: chuxi-wedding
Tags: business, one-column, custom-logo, custom-menu, featured-images
*/

/* ==========================================================================
   0. 设计令牌
   ========================================================================== */

:root {
	--cx-ivory: #fdfaf5;
	--cx-ivory-2: #f8f0ea;
	--cx-blush: #e8b4b8;
	--cx-rose: #c98a90;
	--cx-rose-deep: #a96b72;
	--cx-champagne: #d3b98a;
	--cx-sage: #a8bfa5;
	--cx-ink: #4d4244;
	--cx-ink-dim: #8a7b7e;
	--cx-ink-faint: #b5a8ab;
	--cx-line: rgba(201, 138, 144, 0.3);
	--cx-line-faint: rgba(201, 138, 144, 0.16);
	--cx-rose-grad: linear-gradient(135deg, #d9a2a8, #c98a90 55%, #a96b72);
	--cx-serif: Georgia, "Songti SC", "Noto Serif SC", "STSong", "SimSun", serif;
	--cx-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
	--cx-shadow: 0 18px 40px rgba(169, 107, 114, 0.14);
	--cx-radius: 18px;
}

/* ==========================================================================
   1. 基础与排版（细衬线标题）
   ========================================================================== */

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 92px;
}

body {
	margin: 0;
	font-family: var(--cx-sans);
	font-size: 16px;
	line-height: 1.8;
	color: var(--cx-ink);
	background:
		radial-gradient(700px 400px at 92% -80px, rgba(232, 180, 184, 0.18), transparent 60%),
		radial-gradient(560px 360px at -60px 30%, rgba(211, 185, 138, 0.12), transparent 55%),
		var(--cx-ivory);
	-webkit-font-smoothing: antialiased;
	overflow-wrap: anywhere;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 0.6em;
	font-family: var(--cx-serif);
	font-weight: 600;
	line-height: 1.34;
	color: var(--cx-ink);
	letter-spacing: 0.02em;
}

p {
	margin: 0 0 1em;
}

a {
	color: var(--cx-rose-deep);
	text-decoration: none;
	transition: color 0.2s ease;
}

a:hover {
	color: var(--cx-rose);
}

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

svg {
	display: block;
}

ul, ol {
	margin: 0;
	padding: 0;
}

button {
	font-family: inherit;
}

::selection {
	background: var(--cx-rose);
	color: #fff8f4;
}

:focus-visible {
	outline: 2px solid var(--cx-rose);
	outline-offset: 3px;
	border-radius: 6px;
}

.cx-container {
	width: min(1180px, 100% - 48px);
	margin-inline: auto;
}

.cx-kicker,
.cx-section-kicker,
.cx-cta-kicker {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 16px;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.32em;
	color: var(--cx-rose-deep);
}

.cx-kicker::before,
.cx-kicker::after,
.cx-section-kicker::before,
.cx-section-kicker::after,
.cx-cta-kicker::before,
.cx-cta-kicker::after {
	content: "";
	width: 28px;
	height: 1px;
	flex: none;
	background: var(--cx-champagne);
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	width: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
}

.skip-link {
	position: absolute;
	left: 12px;
	top: -60px;
	z-index: 200;
	padding: 10px 18px;
	background: var(--cx-rose);
	color: #fff8f4;
	border-radius: 8px;
}

.skip-link:focus {
	top: 12px;
	clip: auto;
	clip-path: none;
	width: auto;
	height: auto;
}

/* ==========================================================================
   2. 按钮
   ========================================================================== */

.cx-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	padding: 0.85em 1.9em;
	border: 1px solid transparent;
	border-radius: 999px;
	font-size: 0.95rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	line-height: 1.2;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.cx-btn .cx-ic {
	flex: none;
}

.cx-btn-rose {
	background: var(--cx-rose-grad);
	color: #fff8f4;
	box-shadow: 0 12px 26px rgba(201, 138, 144, 0.34);
}

.cx-btn-rose:hover {
	color: #fff8f4;
	transform: translateY(-2px);
	box-shadow: 0 18px 34px rgba(201, 138, 144, 0.44);
}

.cx-btn-ghost {
	color: var(--cx-rose-deep);
	border-color: rgba(211, 185, 138, 0.65);
	background: rgba(255, 252, 248, 0.7);
}

.cx-btn-ghost:hover {
	color: var(--cx-rose-deep);
	background: rgba(211, 185, 138, 0.12);
	border-color: var(--cx-champagne);
	transform: translateY(-2px);
}

.cx-btn-lg {
	padding: 1em 2.2em;
	font-size: 1rem;
}

.cx-btn-sm {
	padding: 0.55em 1.2em;
	font-size: 0.87rem;
}

.cx-btn-block {
	width: 100%;
}

/* ==========================================================================
   3. 页头
   ========================================================================== */

.cx-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(253, 250, 245, 0.92);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--cx-line-faint);
	transition: box-shadow 0.25s ease;
}

.cx-header-scrolled {
	box-shadow: 0 12px 30px rgba(169, 107, 114, 0.1);
}

.cx-header-in {
	display: flex;
	align-items: center;
	gap: 28px;
	min-height: 74px;
}

.cx-brand {
	flex: none;
	min-width: 0;
}

.cx-logo {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: var(--cx-ink);
}

.cx-logo:hover {
	color: var(--cx-rose-deep);
}

.cx-logo-mark {
	flex: none;
	display: inline-flex;
}

.cx-logo-text {
	font-family: var(--cx-serif);
	font-size: 1.3rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	white-space: nowrap;
}

.custom-logo-link {
	display: inline-flex;
	align-items: center;
}

.custom-logo {
	max-height: 52px;
	width: auto;
}

.cx-nav {
	margin-left: auto;
}

.cx-menu {
	display: flex;
	align-items: center;
	gap: 4px;
	list-style: none;
}

.cx-menu a {
	display: inline-block;
	padding: 10px 14px;
	font-size: 0.94rem;
	letter-spacing: 0.08em;
	color: var(--cx-ink-dim);
	border-radius: 999px;
}

.cx-menu a:hover {
	color: var(--cx-rose-deep);
	background: rgba(201, 138, 144, 0.08);
}

.cx-menu .current-menu-item > a,
.cx-menu .current_page_item > a {
	color: var(--cx-rose-deep);
}

.cx-header-cta {
	flex: none;
}

.cx-nav-toggle {
	display: none;
	flex: none;
	width: 44px;
	height: 44px;
	padding: 0;
	background: transparent;
	border: 1px solid var(--cx-line);
	border-radius: 50%;
	cursor: pointer;
	align-items: center;
	justify-content: center;
}

.cx-nav-toggle-box {
	display: inline-flex;
	flex-direction: column;
	gap: 5px;
	width: 18px;
}

.cx-nav-toggle-box i {
	display: block;
	height: 2px;
	border-radius: 2px;
	background: var(--cx-rose-deep);
	transition: transform 0.25s ease, opacity 0.25s ease;
}

.cx-nav-open .cx-nav-toggle-box i:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.cx-nav-open .cx-nav-toggle-box i:nth-child(2) {
	opacity: 0;
}

.cx-nav-open .cx-nav-toggle-box i:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   4. 首屏：植物拱门
   ========================================================================== */

.cx-hero {
	position: relative;
	padding: clamp(56px, 8vw, 96px) 0 clamp(48px, 7vw, 84px);
	overflow: hidden;
}

.cx-hero-arch {
	position: relative;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: clamp(8px, 3vw, 40px);
	align-items: center;
	max-width: 1040px;
	margin-inline: auto;
	padding: clamp(36px, 5vw, 56px) clamp(16px, 3vw, 40px);
	border: 1px solid var(--cx-line);
	border-radius: 260px 260px 24px 24px;
	background: rgba(255, 252, 248, 0.65);
	box-shadow: inset 0 0 0 6px var(--cx-ivory), inset 0 0 0 7px rgba(211, 185, 138, 0.5);
}

.cx-arch-deco {
	width: clamp(56px, 8vw, 110px);
	height: auto;
	flex: none;
}

.cx-hero-copy {
	text-align: center;
	min-width: 0;
}

.cx-hero-title {
	margin: 0 0 22px;
	font-size: clamp(2.1rem, 4.6vw, 3.5rem);
	font-weight: 600;
	line-height: 1.32;
}

.cx-hero-title em {
	font-style: normal;
	color: var(--cx-rose-deep);
}

.cx-hero-sub {
	max-width: 560px;
	margin: 0 auto 32px;
	font-size: clamp(0.98rem, 1.4vw, 1.06rem);
	line-height: 2.05;
	color: var(--cx-ink-dim);
}

.cx-hero-cta {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 14px;
}

.cx-hero-chips {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px;
	margin: 28px 0 0;
	list-style: none;
}

.cx-chip {
	padding: 7px 16px;
	font-size: 0.84rem;
	letter-spacing: 0.06em;
	color: var(--cx-rose-deep);
	border: 1px solid var(--cx-line);
	border-radius: 999px;
	background: rgba(255, 252, 248, 0.8);
}

/* ==========================================================================
   5. 数字
   ========================================================================== */

.cx-stats {
	border-block: 1px solid var(--cx-line-faint);
	background: rgba(248, 240, 234, 0.6);
	padding: 42px 0;
}

.cx-stats-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 28px;
	text-align: center;
}

.cx-stat-num {
	margin: 0;
	font-family: var(--cx-serif);
	font-size: clamp(2rem, 3.3vw, 2.8rem);
	font-weight: 600;
	line-height: 1.1;
	color: var(--cx-rose-deep);
}

.cx-stat-num span {
	font-size: 0.48em;
	margin-left: 3px;
	color: var(--cx-champagne);
}

.cx-stat-label {
	margin: 8px 0 0;
	font-size: 0.9rem;
	letter-spacing: 0.1em;
	color: var(--cx-ink-dim);
}

/* ==========================================================================
   6. 区块通用
   ========================================================================== */

.cx-section {
	padding: clamp(72px, 9vw, 104px) 0;
}

.cx-section-alt {
	background: var(--cx-ivory-2);
}

.cx-section-head {
	max-width: 720px;
	margin: 0 auto clamp(42px, 6vw, 56px);
	text-align: center;
}

.cx-section-title {
	margin: 0 0 16px;
	font-size: clamp(1.65rem, 3.3vw, 2.35rem);
	font-weight: 600;
}

.cx-section-sub {
	margin: 0;
	color: var(--cx-ink-dim);
	line-height: 2;
}

/* ==========================================================================
   7. 服务卡片（双线边框）
   ========================================================================== */

.cx-services-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.cx-service-card {
	padding: 34px 28px 30px;
	background: #fffcf8;
	border: 1px solid var(--cx-line);
	border-radius: var(--cx-radius);
	box-shadow: inset 0 0 0 4px #fffcf8, inset 0 0 0 5px rgba(211, 185, 138, 0.45), 0 4px 14px rgba(169, 107, 114, 0.06);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cx-service-card:hover {
	transform: translateY(-5px);
	box-shadow: inset 0 0 0 4px #fffcf8, inset 0 0 0 5px rgba(211, 185, 138, 0.65), var(--cx-shadow);
}

.cx-service-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	margin-bottom: 18px;
	color: var(--cx-rose-deep);
	border: 1px solid var(--cx-line);
	border-radius: 50%;
	background: rgba(232, 180, 184, 0.14);
}

.cx-service-title {
	margin: 0 0 10px;
	font-size: 1.14rem;
	font-weight: 600;
	letter-spacing: 0.04em;
}

.cx-service-text {
	margin: 0;
	font-size: 0.93rem;
	line-height: 1.95;
	color: var(--cx-ink-dim);
}

/* ==========================================================================
   8. 真实婚礼
   ========================================================================== */

.cx-cases-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.cx-case-card {
	overflow: hidden;
	background: #fffcf8;
	border: 1px solid var(--cx-line);
	border-radius: var(--cx-radius);
	box-shadow: 0 4px 14px rgba(169, 107, 114, 0.06);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cx-case-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--cx-shadow);
}

.cx-case-art {
	aspect-ratio: 16 / 10;
	border-bottom: 1px solid var(--cx-line-faint);
}

.cx-case-art svg {
	width: 100%;
	height: 100%;
}

.cx-case-body {
	padding: 22px 24px 26px;
}

.cx-case-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 14px;
}

.cx-tag {
	padding: 4px 13px;
	font-size: 0.78rem;
	letter-spacing: 0.06em;
	color: var(--cx-rose-deep);
	border: 1px solid var(--cx-line);
	border-radius: 999px;
	background: rgba(232, 180, 184, 0.1);
}

.cx-case-title {
	margin: 0 0 8px;
	font-size: 1.06rem;
	font-weight: 600;
	line-height: 1.6;
}

.cx-case-meta {
	margin: 0;
	font-size: 0.87rem;
	color: var(--cx-ink-faint);
}

.cx-cases-note {
	margin: 26px 0 0;
	text-align: center;
	font-size: 0.84rem;
	color: var(--cx-ink-faint);
}

/* ==========================================================================
   9. 承诺条（香槟底）
   ========================================================================== */

.cx-promise {
	padding: 48px 0;
	background:
		linear-gradient(90deg, rgba(211, 185, 138, 0.16), rgba(232, 180, 184, 0.12)),
		#fbf4ec;
	border-block: 1px solid var(--cx-line-faint);
}

.cx-promise-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 28px;
}

.cx-promise-item {
	text-align: center;
}

.cx-promise-ic {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	margin-bottom: 12px;
	color: var(--cx-rose-deep);
	border: 1px solid rgba(211, 185, 138, 0.6);
	border-radius: 50%;
	background: #fffcf8;
}

.cx-promise-t {
	margin: 0 0 4px;
	font-family: var(--cx-serif);
	font-size: 1.02rem;
	font-weight: 600;
	color: var(--cx-ink);
}

.cx-promise-d {
	margin: 0;
	font-size: 0.85rem;
	color: var(--cx-ink-dim);
}

/* ==========================================================================
   10. 流程
   ========================================================================== */

.cx-process {
	position: relative;
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 26px;
	list-style: none;
}

.cx-process::before {
	content: "";
	position: absolute;
	top: 26px;
	left: 4%;
	right: 4%;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--cx-champagne) 15%, var(--cx-champagne) 85%, transparent);
}

.cx-process-step {
	position: relative;
}

.cx-step-num {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	margin-bottom: 16px;
	font-family: var(--cx-serif);
	font-size: 1.2rem;
	font-weight: 600;
	color: var(--cx-rose-deep);
	background: #fffcf8;
	border: 1px solid var(--cx-champagne);
	border-radius: 50%;
	box-shadow: 0 0 0 6px var(--cx-ivory);
}

.cx-step-title {
	margin: 0 0 8px;
	font-size: 1.08rem;
	font-weight: 600;
}

.cx-step-text {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.9;
	color: var(--cx-ink-dim);
}

/* ==========================================================================
   11. 套系
   ========================================================================== */

.cx-plans-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
	align-items: stretch;
}

.cx-plan-card {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 36px 30px 30px;
	background: #fffcf8;
	border: 1px solid var(--cx-line);
	border-radius: 24px;
	box-shadow: 0 4px 14px rgba(169, 107, 114, 0.06);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cx-plan-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--cx-shadow);
}

.cx-plan-featured {
	border: 1.5px solid var(--cx-rose);
	box-shadow: 0 26px 50px rgba(201, 138, 144, 0.2);
}

.cx-plan-badge {
	position: absolute;
	top: -15px;
	left: 50%;
	transform: translateX(-50%);
	margin: 0;
	padding: 6px 18px;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	white-space: nowrap;
	color: #fff8f4;
	background: var(--cx-rose-grad);
	border-radius: 999px;
	box-shadow: 0 8px 20px rgba(201, 138, 144, 0.35);
}

.cx-plan-name {
	margin: 0 0 6px;
	font-family: var(--cx-serif);
	font-size: 1.2rem;
	font-weight: 600;
	letter-spacing: 0.2em;
	color: var(--cx-rose-deep);
}

.cx-plan-price {
	margin: 0 0 6px;
	font-family: var(--cx-serif);
	font-size: 2.7rem;
	font-weight: 600;
	line-height: 1.15;
	color: var(--cx-ink);
}

.cx-plan-cny {
	font-size: 0.46em;
	margin-right: 4px;
	color: var(--cx-champagne);
}

.cx-plan-unit {
	font-size: 0.42em;
	margin-left: 4px;
	color: var(--cx-ink-faint);
}

.cx-plan-for {
	margin: 0 0 22px;
	padding-bottom: 20px;
	font-size: 0.88rem;
	color: var(--cx-ink-faint);
	border-bottom: 1px solid var(--cx-line-faint);
}

.cx-plan-list {
	flex: 1;
	margin: 0 0 26px;
	list-style: none;
	display: grid;
	gap: 12px;
}

.cx-plan-list li {
	position: relative;
	padding-left: 24px;
	font-size: 0.94rem;
	color: var(--cx-ink-dim);
}

.cx-plan-list li::before {
	content: "❀";
	position: absolute;
	left: 0;
	top: 0;
	font-size: 0.82em;
	color: var(--cx-blush);
}

/* ==========================================================================
   12. 新人说
   ========================================================================== */

.cx-voices-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.cx-voice-card {
	position: relative;
	margin: 0;
	padding: 34px 28px 28px;
	background: #fffcf8;
	border: 1px solid var(--cx-line);
	border-radius: var(--cx-radius);
	box-shadow: 0 4px 14px rgba(169, 107, 114, 0.06);
}

.cx-voice-card::before {
	content: "“";
	position: absolute;
	top: 2px;
	left: 20px;
	font-family: var(--cx-serif);
	font-size: 3.4rem;
	line-height: 1;
	color: var(--cx-blush);
}

.cx-voice-text {
	margin: 0 0 18px;
	border: 0;
	padding: 0;
	font-size: 0.95rem;
	line-height: 2.05;
	color: var(--cx-ink-dim);
}

.cx-voice-who {
	font-family: var(--cx-serif);
	font-size: 0.9rem;
	letter-spacing: 0.08em;
	color: var(--cx-rose-deep);
}

.cx-voice-who::before {
	content: "—— ";
}

/* ==========================================================================
   13. 备婚问答
   ========================================================================== */

.cx-faq-wrap {
	max-width: 860px;
}

.cx-faq {
	border-top: 1px solid var(--cx-line);
}

.cx-faq-item {
	border-bottom: 1px solid var(--cx-line-faint);
}

.cx-faq-q {
	position: relative;
	padding: 22px 48px 22px 0;
	font-size: 1.03rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	cursor: pointer;
	list-style: none;
	transition: color 0.2s ease;
}

.cx-faq-q::-webkit-details-marker {
	display: none;
}

.cx-faq-q:hover {
	color: var(--cx-rose-deep);
}

.cx-faq-q::after {
	content: "+";
	position: absolute;
	right: 6px;
	top: 50%;
	transform: translateY(-50%);
	font-family: var(--cx-serif);
	font-size: 1.5rem;
	font-weight: 400;
	color: var(--cx-champagne);
	transition: transform 0.25s ease;
}

.cx-faq-item[open] .cx-faq-q::after {
	transform: translateY(-50%) rotate(45deg);
}

.cx-faq-a {
	padding: 0 40px 24px 0;
	color: var(--cx-ink-dim);
	line-height: 2;
}

.cx-faq-a p {
	margin: 0;
}

/* ==========================================================================
   14. 预约 CTA
   ========================================================================== */

.cx-cta-band {
	position: relative;
	padding: clamp(72px, 9vw, 100px) 0;
	background:
		radial-gradient(700px 360px at 14% 0%, rgba(232, 180, 184, 0.3), transparent 62%),
		linear-gradient(160deg, #c99298, #a96b72 75%);
}

.cx-cta-in {
	display: grid;
	grid-template-columns: 1.15fr minmax(0, 0.85fr);
	gap: clamp(32px, 5vw, 64px);
	align-items: center;
}

.cx-cta-kicker {
	color: #f6dfe1;
}

.cx-cta-kicker::before,
.cx-cta-kicker::after {
	background: rgba(246, 223, 225, 0.6);
}

.cx-cta-title {
	margin: 0 0 18px;
	font-size: clamp(1.65rem, 3.1vw, 2.3rem);
	font-weight: 600;
	line-height: 1.5;
	color: #fff8f4;
}

.cx-cta-sub {
	margin: 0;
	color: rgba(255, 248, 244, 0.82);
	line-height: 2;
}

.cx-contact-card {
	padding: 36px 34px;
	text-align: center;
	background: #fffcf8;
	border-radius: 26px;
	box-shadow: inset 0 0 0 5px #fffcf8, inset 0 0 0 6px rgba(211, 185, 138, 0.55), 0 30px 60px rgba(74, 42, 46, 0.3);
}

.cx-contact-label {
	margin: 0 0 8px;
	font-size: 0.85rem;
	letter-spacing: 0.14em;
	color: var(--cx-ink-faint);
}

.cx-contact-phone {
	display: inline-block;
	margin-bottom: 20px;
	font-family: var(--cx-serif);
	font-size: clamp(1.65rem, 2.7vw, 2.1rem);
	font-weight: 600;
	letter-spacing: 0.04em;
	color: var(--cx-rose-deep);
}

.cx-contact-phone:hover {
	color: var(--cx-rose);
}

.cx-contact-addr {
	margin: 18px 0 0;
	font-size: 0.85rem;
	color: var(--cx-ink-faint);
}

/* ==========================================================================
   15. 页脚（藤蔓 + 深可可玫瑰）
   ========================================================================== */

.cx-footer-vine {
	padding: 10px 0;
	background: var(--cx-ivory);
}

.cx-footer-vine svg {
	width: 100%;
	height: 44px;
}

.cx-cta-band + .cx-footer .cx-footer-vine {
	background: transparent;
	display: none;
}

.cx-footer-body {
	background: #55403f;
	color: rgba(250, 240, 236, 0.82);
	padding-top: 60px;
}

.cx-footer-grid {
	display: grid;
	grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr));
	gap: 40px;
	padding-bottom: 50px;
}

.cx-footer-logo {
	margin: 0 0 14px;
	font-family: var(--cx-serif);
	font-size: 1.4rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	color: #f6dfe1;
}

.cx-footer-blurb {
	margin: 0 0 20px;
	max-width: 340px;
	font-size: 0.9rem;
	line-height: 2;
	color: rgba(250, 240, 236, 0.6);
}

.cx-footer-contact {
	list-style: none;
	display: grid;
	gap: 8px;
	font-size: 0.92rem;
}

.cx-footer-contact a {
	color: #e8c4b8;
}

.cx-footer-contact a:hover {
	color: #f6dfe1;
}

.cx-footer-title {
	margin: 0 0 20px;
	font-family: var(--cx-sans);
	font-size: 0.9rem;
	font-weight: 600;
	letter-spacing: 0.24em;
	color: #d9b8a4;
}

.cx-footer-links {
	list-style: none;
	display: grid;
	gap: 12px;
}

.cx-footer-links a {
	font-size: 0.92rem;
	color: rgba(250, 240, 236, 0.72);
}

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

.cx-footer-legal {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
	padding: 20px 0;
	border-top: 1px solid rgba(250, 240, 236, 0.16);
}

.cx-footer-legal p {
	margin: 0;
	font-size: 0.82rem;
	color: rgba(250, 240, 236, 0.5);
}

.cx-footer-legal a {
	color: rgba(250, 240, 236, 0.5);
}

.cx-footer-legal a:hover {
	color: #f6dfe1;
}

/* ==========================================================================
   16. 移动咨询条 & 提示
   ========================================================================== */

.cx-mobilebar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 90;
	display: none;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	background: rgba(255, 252, 248, 0.97);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	border-top: 1px solid var(--cx-line);
}

.cx-mobilebar-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 15px 10px;
	font-size: 0.98rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	border: 0;
	cursor: pointer;
}

.cx-mobilebar-tel {
	background: var(--cx-rose-grad);
	color: #fff8f4;
}

.cx-mobilebar-tel:hover {
	color: #fff8f4;
}

.cx-mobilebar-wx {
	background: transparent;
	color: var(--cx-rose-deep);
}

.cx-toast {
	position: fixed;
	left: 50%;
	bottom: 92px;
	z-index: 120;
	transform: translateX(-50%);
	max-width: min(92vw, 420px);
	padding: 12px 24px;
	font-size: 0.92rem;
	color: #fff8f4;
	background: var(--cx-rose-grad);
	border-radius: 999px;
	box-shadow: 0 16px 40px rgba(169, 107, 114, 0.35);
	opacity: 0;
	transition: opacity 0.25s ease;
}

.cx-toast-show {
	opacity: 1;
}

/* ==========================================================================
   17. 子页 / 文章
   ========================================================================== */

.cx-page-hero {
	position: relative;
	padding: clamp(56px, 8vw, 84px) 0 clamp(38px, 6vw, 56px);
	text-align: center;
	background:
		radial-gradient(700px 280px at 50% -60px, rgba(232, 180, 184, 0.18), transparent 70%),
		transparent;
	border-bottom: 1px solid var(--cx-line-faint);
}

.cx-page-title {
	margin: 0 0 14px;
	font-size: clamp(1.75rem, 3.5vw, 2.45rem);
	font-weight: 600;
}

.cx-page-sub {
	max-width: 560px;
	margin: 0 auto;
	color: var(--cx-ink-dim);
}

.cx-article-head .cx-article-meta {
	margin: 0;
	font-size: 0.88rem;
	color: var(--cx-ink-faint);
}

.cx-article-body {
	max-width: 820px;
	padding-top: clamp(40px, 6vw, 56px);
	padding-bottom: clamp(60px, 8vw, 88px);
}

.cx-prose {
	font-size: 1.03rem;
	line-height: 2.1;
	color: #6b5c5f;
}

.cx-prose p {
	margin: 1.35em 0;
}

.cx-prose h2,
.cx-prose h3,
.cx-prose h4 {
	color: var(--cx-ink);
	margin: 2em 0 0.8em;
}

.cx-prose h2 {
	font-size: 1.45rem;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--cx-line);
}

.cx-prose h3 {
	font-size: 1.2rem;
	color: var(--cx-rose-deep);
}

.cx-prose h4 {
	font-size: 1.05rem;
}

.cx-prose ul,
.cx-prose ol {
	margin: 1.3em 0;
	padding-left: 1.6em;
}

.cx-prose li {
	margin: 0.5em 0;
}

.cx-prose li::marker {
	color: var(--cx-rose);
}

.cx-prose a {
	text-decoration: underline;
	text-underline-offset: 4px;
	text-decoration-color: rgba(201, 138, 144, 0.45);
}

.cx-prose img {
	border-radius: 16px;
	margin: 1.6em auto;
}

.cx-prose blockquote {
	margin: 1.8em 0;
	padding: 18px 24px;
	background: rgba(232, 180, 184, 0.1);
	border-left: 3px solid var(--cx-blush);
	border-radius: 0 16px 16px 0;
	font-family: var(--cx-serif);
}

.cx-prose blockquote p {
	margin: 0;
}

.cx-prose hr {
	margin: 2.4em 0;
	border: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--cx-champagne), transparent);
}

.cx-prose table {
	width: 100%;
	margin: 1.8em 0;
	border-collapse: collapse;
	font-size: 0.95rem;
}

.cx-prose th,
.cx-prose td {
	padding: 10px 14px;
	border: 1px solid var(--cx-line-faint);
	text-align: left;
}

.cx-prose th {
	background: rgba(211, 185, 138, 0.12);
	color: var(--cx-ink);
}

.cx-prose code {
	padding: 2px 8px;
	background: rgba(211, 185, 138, 0.16);
	border-radius: 6px;
	font-size: 0.9em;
}

.cx-article-cta {
	margin: 56px 0;
	padding: 30px 32px;
	background:
		linear-gradient(160deg, rgba(232, 180, 184, 0.16), rgba(211, 185, 138, 0.1)),
		#fffcf8;
	border: 1px solid var(--cx-line);
	border-radius: 22px;
}

.cx-article-cta-title {
	margin: 0 0 8px;
	font-family: var(--cx-serif);
	font-size: 1.3rem;
	font-weight: 600;
	color: var(--cx-ink);
}

.cx-article-cta-sub {
	margin: 0 0 18px;
	font-size: 0.94rem;
	color: var(--cx-ink-dim);
}

.cx-article-cta-btns {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.cx-related {
	margin-top: 56px;
}

.cx-related-title {
	font-size: 1.2rem;
	letter-spacing: 0.1em;
	margin-bottom: 10px;
}

.cx-related-list {
	list-style: none;
}

.cx-related-list li {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 20px;
	padding: 14px 0;
	border-bottom: 1px solid var(--cx-line-faint);
}

.cx-related-list a {
	color: var(--cx-ink-dim);
}

.cx-related-list a:hover {
	color: var(--cx-rose-deep);
}

.cx-related-list span {
	flex: none;
	font-size: 0.82rem;
	color: var(--cx-ink-faint);
}

.cx-post-nav {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	margin-top: 48px;
	font-size: 0.92rem;
}

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

.cx-post-nav a {
	color: var(--cx-ink-dim);
}

.cx-post-nav a:hover {
	color: var(--cx-rose-deep);
}

/* ==========================================================================
   18. 文章列表卡片
   ========================================================================== */

.cx-posts-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.cx-post-card {
	overflow: hidden;
	background: #fffcf8;
	border: 1px solid var(--cx-line);
	border-radius: var(--cx-radius);
	box-shadow: 0 4px 14px rgba(169, 107, 114, 0.06);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cx-post-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--cx-shadow);
}

.cx-post-card-link {
	display: block;
	color: inherit;
}

.cx-post-thumb {
	aspect-ratio: 16 / 10;
	overflow: hidden;
	border-bottom: 1px solid var(--cx-line-faint);
}

.cx-post-thumb img,
.cx-post-thumb svg {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cx-post-card-body {
	padding: 22px 24px 26px;
}

.cx-post-date {
	margin: 0 0 8px;
	font-size: 0.8rem;
	letter-spacing: 0.1em;
	color: var(--cx-ink-faint);
}

.cx-post-card-title {
	margin: 0 0 10px;
	font-family: var(--cx-sans);
	font-size: 1.06rem;
	font-weight: 600;
	line-height: 1.65;
	color: var(--cx-ink);
}

.cx-post-card-link:hover .cx-post-card-title {
	color: var(--cx-rose-deep);
}

.cx-post-card-excerpt {
	margin: 0 0 14px;
	font-size: 0.9rem;
	line-height: 1.95;
	color: var(--cx-ink-dim);
}

.cx-post-more {
	font-size: 0.86rem;
	letter-spacing: 0.06em;
	color: var(--cx-rose-deep);
}

.cx-pagination {
	margin-top: 48px;
}

.cx-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}

.cx-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 4px 16px;
	font-size: 0.9rem;
	color: var(--cx-ink-dim);
	border: 1px solid var(--cx-line);
	border-radius: 999px;
	background: #fffcf8;
}

.cx-pagination a.page-numbers:hover {
	color: var(--cx-rose-deep);
	border-color: var(--cx-rose);
}

.cx-pagination .page-numbers.current {
	color: #fff8f4;
	background: var(--cx-rose-grad);
	border-color: transparent;
}

/* ==========================================================================
   19. 搜索 / 空态 / 404
   ========================================================================== */

.cx-searchform {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
}

.cx-search-input {
	width: min(380px, 100%);
	padding: 13px 22px;
	font-size: 0.95rem;
	font-family: inherit;
	color: var(--cx-ink);
	background: #fffcf8;
	border: 1px solid var(--cx-line);
	border-radius: 999px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cx-search-input::placeholder {
	color: var(--cx-ink-faint);
}

.cx-search-input:focus {
	outline: none;
	border-color: var(--cx-rose);
	box-shadow: 0 0 0 3px rgba(201, 138, 144, 0.15);
}

.cx-empty {
	max-width: 520px;
	margin: 0 auto;
	text-align: center;
	display: grid;
	gap: 18px;
	justify-items: center;
}

.cx-empty-title {
	margin: 0;
	font-family: var(--cx-serif);
	font-size: 1.5rem;
	font-weight: 600;
}

.cx-empty-sub {
	margin: 0;
	color: var(--cx-ink-dim);
}

.cx-error404 {
	text-align: center;
}

.cx-error-code {
	margin: 0 0 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.08em;
	font-family: var(--cx-serif);
	font-size: clamp(5rem, 14vw, 8rem);
	font-weight: 600;
	line-height: 1;
	color: var(--cx-rose-deep);
}

.cx-error-heart {
	display: inline-flex;
}

.cx-error-actions {
	display: grid;
	gap: 22px;
	justify-items: center;
	margin-top: 34px;
}

/* ==========================================================================
   20. WordPress 核心兼容
   ========================================================================== */

.alignleft {
	float: left;
	margin: 0.5em 1.5em 1em 0;
}

.alignright {
	float: right;
	margin: 0.5em 0 1em 1.5em;
}

.aligncenter {
	display: block;
	margin-inline: auto;
}

.wp-caption {
	max-width: 100%;
}

.wp-caption-text {
	font-size: 0.85rem;
	color: var(--cx-ink-faint);
	text-align: center;
	margin-top: 8px;
}

.sticky {
	display: block;
}

.bypostauthor {
	display: block;
}

/* ==========================================================================
   21. 响应式
   ========================================================================== */

@media (max-width: 1080px) {
	.cx-services-grid,
	.cx-cases-grid,
	.cx-voices-grid,
	.cx-posts-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cx-process {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 32px 26px;
	}

	.cx-process::before {
		display: none;
	}

	.cx-step-num {
		box-shadow: none;
	}

	.cx-promise-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.cx-nav {
		position: fixed;
		top: 74px;
		left: 0;
		right: 0;
		z-index: 99;
		margin: 0;
		padding: 12px 24px 28px;
		background: rgba(253, 250, 245, 0.99);
		border-bottom: 1px solid var(--cx-line);
		opacity: 0;
		visibility: hidden;
		transform: translateY(-8px);
		transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
	}

	.cx-nav-open .cx-nav {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
	}

	.cx-menu {
		flex-direction: column;
		align-items: stretch;
		gap: 2px;
	}

	.cx-menu a {
		display: block;
		padding: 14px 10px;
		font-size: 1.02rem;
		border-radius: 12px;
		border-bottom: 1px solid var(--cx-line-faint);
	}

	.cx-nav-toggle {
		display: inline-flex;
	}

	.cx-header-cta {
		margin-left: auto;
	}

	.cx-header-in {
		gap: 14px;
	}

	.cx-hero-arch {
		grid-template-columns: minmax(0, 1fr);
		border-radius: 200px 200px 22px 22px;
		padding-top: 48px;
	}

	.cx-arch-deco {
		display: none;
	}

	.cx-plans-grid {
		grid-template-columns: minmax(0, 1fr);
		max-width: 460px;
		margin-inline: auto;
	}

	.cx-plan-featured {
		order: -1;
	}

	.cx-cta-in {
		grid-template-columns: minmax(0, 1fr);
	}

	.cx-cta-copy {
		text-align: center;
	}

	.cx-cta-copy .cx-cta-kicker {
		justify-content: center;
	}

	.cx-footer-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 768px) {
	.cx-header-cta {
		display: none;
	}

	.cx-nav-toggle {
		margin-left: auto;
	}

	.cx-mobilebar {
		display: grid;
	}

	body {
		padding-bottom: 58px;
	}

	.cx-toast {
		bottom: 76px;
	}

	.cx-stats-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 30px 16px;
	}

	.cx-process {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cx-post-nav {
		grid-template-columns: minmax(0, 1fr);
	}

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

@media (max-width: 600px) {
	.cx-container {
		width: min(1180px, 100% - 40px);
	}

	.cx-services-grid,
	.cx-cases-grid,
	.cx-voices-grid,
	.cx-posts-grid,
	.cx-process,
	.cx-promise-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.cx-hero-cta .cx-btn {
		width: 100%;
	}

	.cx-hero-title {
		font-size: clamp(1.8rem, 8.6vw, 2.2rem);
	}

	.cx-hero-arch {
		border-radius: 150px 150px 20px 20px;
	}

	.cx-footer-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 34px;
	}

	.cx-footer-legal {
		flex-direction: column;
		gap: 4px;
	}

	.cx-article-cta-btns .cx-btn {
		width: 100%;
	}
}

/* ==========================================================================
   22. 动效偏好
   ========================================================================== */

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

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