/* ===================================================================
   FAQ Page — 常见问题专用样式
   所有选择器以 .page-faq / .faq-* 作用域隔离。
   =================================================================== */

/* ---- Variables ---- */
:root {
  --faq-red:       var(--brand-red);
  --faq-red-bg:    var(--brand-red-bg);
  --faq-dark:      var(--brand-ink);
  --faq-text:      var(--brand-text);
  --faq-text-mid:  var(--brand-muted);
  --faq-line:      var(--brand-line);
  --faq-bg:        var(--brand-soft);
  --faq-white:     var(--brand-paper);
  --faq-radius:    10px;
  --faq-container: 1120px;
}

/* ---- Container ---- */
.faq-container {
	max-width: var(--faq-container);
	margin: 0 auto;
	padding: 0 20px;
}

/* ---- Header ---- */
.faq-header {
	background: var(--faq-white);
	border-bottom: 1px solid var(--faq-line);
	padding: 14px 0;
}
.faq-header-inner {
	display: flex;
	align-items: center;
	gap: 24px;
}
.faq-header .custom-logo-link {
	display: flex;
	flex: 0 0 auto;
}
.faq-header .custom-logo {
	max-height: 42px;
	width: auto;
}
.faq-logo img {
	max-height: 42px;
	width: auto;
	display: block;
}
.faq-nav {
	flex: 1;
}
.faq-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
	margin: 0;
	padding: 0;
	list-style: none;
	justify-content: flex-end;
}
.faq-menu a {
	color: var(--faq-dark);
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
	padding: 4px 0;
	transition: color 0.18s ease;
}
.faq-menu a:hover,
.faq-menu .current-menu-item a {
	color: var(--faq-red);
}

/* ---- Hero ---- */
.faq-hero {
	padding: 60px 0 50px;
	background: var(--faq-bg);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	position: relative;
}
.faq-hero > .faq-container {
	max-width: var(--faq-container);
	margin: 0 auto;
	padding: 0 20px;
	text-align: left;
}
.faq-breadcrumb {
	margin-bottom: 16px;
	font-size: 13px;
	color: var(--faq-text-mid);
}
.faq-breadcrumb a {
	color: var(--faq-red);
	text-decoration: none;
}
.faq-breadcrumb a:hover {
	text-decoration: underline;
}
.faq-eyebrow {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--faq-red);
	margin-bottom: 14px;
}
.faq-hero h1 {
	font-size: 32px;
	font-weight: 700;
	color: var(--faq-dark);
	margin: 0 0 16px;
	line-height: 1.25;
}
.faq-lead {
	font-size: 16px;
	line-height: 1.6;
	color: var(--faq-text-mid);
	margin: 0 0 28px;
}
.faq-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: flex-start;
	margin-bottom: 28px;
}
.faq-btn {
	display: inline-block;
	padding: 11px 28px;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.18s ease;
	background: var(--faq-red);
	color: var(--faq-white);
	border: 1px solid var(--faq-red);
}
.faq-btn:hover {
	background: #1A8CEE;
	border-color: #1A8CEE;
	color: var(--faq-white);
	transform: translateY(-1px);
}
.faq-btn-secondary {
	background: transparent;
	color: var(--faq-dark);
	border-color: var(--faq-line);
}
.faq-btn-secondary:hover {
	border-color: var(--faq-red);
	color: var(--faq-red);
	background: transparent;
}
.faq-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: flex-start;
}
.faq-chip {
	display: inline-block;
	padding: 6px 16px;
	border-radius: 999px;
	font-size: 13px;
	color: var(--faq-text-mid);
	background: var(--faq-white);
	border: 1px solid var(--faq-line);
}

/* ---- FAQ Sections ---- */
.faq-section {
	padding: 50px 0;
	background: var(--faq-white);
}
.faq-section-alt {
	background: var(--faq-bg);
}

.faq-section-head {
	margin-bottom: 28px;
	text-align: left;
}
.faq-kicker {
	font-size: 12px;
	font-weight: 700;
	color: var(--faq-red);
	letter-spacing: 1.5px;
}
.faq-section-head h2 {
	font-size: 22px;
	font-weight: 700;
	color: var(--faq-dark);
	margin: 4px 0 0;
}

/* ---- FAQ Grid / Item ---- */
.faq-grid {
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.faq-item {
	border: 1px solid var(--faq-line);
	border-radius: var(--faq-radius);
	background: var(--faq-white);
	overflow: hidden;
	transition: box-shadow 0.18s ease;
}
.faq-item:hover {
	box-shadow: 0 2px 10px rgba(16, 23, 34, 0.06);
}
.faq-item[open] {
	box-shadow: 0 4px 16px rgba(16, 23, 34, 0.08);
}
.faq-item summary {
	display: flex;
	align-items: center;
	padding: 16px 20px;
	cursor: pointer;
	list-style: none;
	position: relative;
}
.faq-item summary::-webkit-details-marker {
	display: none;
}
.faq-item summary::after {
	content: '';
	flex: 0 0 auto;
	width: 8px;
	height: 8px;
	margin-left: auto;
	border-right: 2px solid var(--faq-text-mid);
	border-bottom: 2px solid var(--faq-text-mid);
	transform: rotate(45deg) translateY(-3px);
	transition: transform 0.2s ease;
}
.faq-item[open] summary::after {
	transform: rotate(225deg) translateY(1px);
}
.faq-item summary h3 {
	font-size: 15px;
	font-weight: 600;
	color: var(--faq-dark);
	margin: 0;
	padding-right: 28px;
	line-height: 1.4;
}
.faq-answer {
	padding: 0 20px 18px;
	font-size: 14px;
	line-height: 1.7;
	color: var(--faq-text);
}
.faq-answer p {
	margin: 0 0 10px;
}
.faq-answer p:last-child {
	margin-bottom: 0;
}
.faq-answer ul,
.faq-answer ol {
	margin: 6px 0;
	padding-left: 20px;
}
.faq-answer li {
	margin-bottom: 4px;
}
.faq-answer a {
	color: var(--faq-red);
	text-decoration: underline;
}
.faq-answer a:hover {
	color: #1A8CEE;
}

/* ---- CTA ---- */
.faq-cta {
	padding: 56px 0;
	background: var(--faq-dark);
	color: var(--faq-white);
}
.faq-cta-inner {
	display: flex;
	align-items: center;
	gap: 32px;
	text-align: left;
}
.faq-cta-inner > div {
	flex: 1;
}
.faq-cta-kicker {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.6);
	margin-bottom: 8px;
}
.faq-cta h2 {
	font-size: 22px;
	font-weight: 700;
	margin: 0 0 10px;
	line-height: 1.3;
}
.faq-cta p {
	font-size: 14px;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.8);
	margin: 0;
}
.faq-cta .faq-btn {
	flex: 0 0 auto;
	white-space: nowrap;
	background: var(--faq-white);
	color: var(--faq-dark);
	border-color: var(--faq-white);
}
.faq-cta .faq-btn:hover {
	background: transparent;
	color: var(--faq-white);
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
	.faq-hero {
		padding: 40px 0 32px;
	}
	.faq-hero h1 {
		font-size: 24px;
	}
	.faq-section {
		padding: 32px 0;
	}
	.faq-section-head h2 {
		font-size: 18px;
	}
	.faq-item summary {
		padding: 12px 16px;
	}
	.faq-item summary h3 {
		font-size: 14px;
	}
	.faq-answer {
		padding: 0 16px 14px;
	}
	.faq-cta {
		padding: 40px 0;
	}
	.faq-cta-inner {
		flex-direction: column;
		text-align: center;
	}
	.faq-cta h2 {
		font-size: 18px;
	}
	.faq-header-inner {
		flex-wrap: wrap;
		gap: 12px;
	}
	.faq-menu {
		justify-content: flex-start;
	}
}
