/* ===== FAQ PAGE STYLES ===== */

/* --- Page Banner --- */
.page-banner {
	position: relative;
	background: linear-gradient(135deg, var(--color-primary-bg) 0%, #5c1a18 100%);
	padding: 120px 0 60px;
	color: #fff;
	overflow: hidden;
}

.page-banner::before {
	content: "";
	position: absolute;
	top: -50%;
	right: -10%;
	width: 500px;
	height: 500px;
	background: radial-gradient(
		circle,
		rgba(244, 197, 66, 0.12) 0%,
		transparent 70%
	);
	border-radius: 50%;
	pointer-events: none;
}

.page-banner::after {
	content: "";
	position: absolute;
	bottom: -30%;
	left: -5%;
	width: 350px;
	height: 350px;
	background: radial-gradient(
		circle,
		rgba(255, 255, 255, 0.06) 0%,
		transparent 70%
	);
	border-radius: 50%;
	pointer-events: none;
}

.banner-content {
	position: relative;
	z-index: 2;
}

.banner-content h1 {
	font-size: clamp(32px, 5vw, 52px);
	font-weight: 800;
	margin: 12px 0 16px;
	line-height: 1.15;
}

.banner-tagline {
	font-size: clamp(16px, 2.2vw, 22px);
	font-weight: 300;
	opacity: 0.9;
	max-width: 650px;
	line-height: 1.5;
}

/* --- Breadcrumb --- */
.breadcrumb-list {
	gap: 8px;
	flex-wrap: wrap;
	font-size: 14px;
}

.breadcrumb-list li {
	display: flex;
	align-items: center;
	gap: 8px;
}

.breadcrumb-list li + li::before {
	content: "/";
	opacity: 0.5;
}

.breadcrumb-list li a {
	color: rgba(255, 255, 255, 0.75);
	transition: color 0.2s;
}

.breadcrumb-list li a:hover {
	color: var(--color-cta-bg);
}

.breadcrumb-list li.active span {
	color: #fff;
	font-weight: 500;
}

/* ===== FAQ Category Tabs ===== */
.faq-tabs-section {
	padding: 48px 0 0;
}

.faq-tabs {
	display: flex;
	justify-content: center;
	gap: 8px;
	flex-wrap: wrap;
}

.faq-tab {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 28px;
	border: 2px solid #e0e0e0;
	border-radius: 50px;
	background: #fff;
	color: #555;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	font-family: inherit;
	user-select: none;
}

.faq-tab svg {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	transition: fill 0.3s ease;
}

.faq-tab:hover {
	border-color: var(--color-primary-bg);
	color: var(--color-primary-bg);
	background: rgba(139, 46, 43, 0.04);
}

.faq-tab.active {
	background: var(--color-primary-bg);
	color: #fff;
	border-color: var(--color-primary-bg);
	box-shadow: 0 4px 18px rgba(139, 46, 43, 0.18);
}

.faq-tab.active svg {
	fill: #fff;
}

/* Tab count badge */
.faq-tab-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 24px;
	height: 24px;
	padding: 0 7px;
	border-radius: 12px;
	background: rgba(0, 0, 0, 0.08);
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	transition: background 0.3s, color 0.3s;
}

.faq-tab.active .faq-tab-count {
	background: rgba(255, 255, 255, 0.25);
	color: #fff;
}

/* ===== FAQ Accordion ===== */
.faq-content-section {
	padding: 48px 0 64px;
}

.faq-category-panel {
	display: none;
}

.faq-category-panel.active {
	display: block;
}

.faq-list {
	max-width: 880px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

/* Individual FAQ Item */
.faq-item {
	background: #fff;
	border-radius: 14px;
	border: 1px solid #eaeaea;
	overflow: hidden;
	transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.faq-item:hover {
	border-color: #d4d4d4;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.faq-item.open {
	border-color: var(--color-primary-bg);
	box-shadow: 0 4px 24px rgba(139, 46, 43, 0.10);
}

.faq-question {
	display: flex;
	align-items: center;
	gap: 16px;
	width: 100%;
	padding: 20px 24px;
	border: none;
	background: none;
	cursor: pointer;
	text-align: left;
	font-family: inherit;
	font-size: 16px;
	font-weight: 600;
	color: #222;
	line-height: 1.5;
	transition: color 0.2s;
}

.faq-question:hover {
	color: var(--color-primary-bg);
}

.faq-item.open .faq-question {
	color: var(--color-primary-bg);
}

.faq-q-number {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	border-radius: 10px;
	background: linear-gradient(135deg, rgba(139, 46, 43, 0.08) 0%, rgba(139, 46, 43, 0.04) 100%);
	color: var(--color-primary-bg);
	font-size: 14px;
	font-weight: 800;
	flex-shrink: 0;
	transition: background 0.3s, color 0.3s;
}

.faq-item.open .faq-q-number {
	background: linear-gradient(135deg, var(--color-primary-bg) 0%, #a63a34 100%);
	color: #fff;
}

.faq-q-text {
	flex: 1;
}

.faq-toggle-icon {
	flex-shrink: 0;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #f5f5f5;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.35s ease, background 0.3s;
}

.faq-toggle-icon svg {
	width: 18px;
	height: 18px;
	color: #888;
	transition: color 0.3s, transform 0.35s ease;
}

.faq-item.open .faq-toggle-icon {
	background: rgba(139, 46, 43, 0.10);
}

.faq-item.open .faq-toggle-icon svg {
	transform: rotate(180deg);
	color: var(--color-primary-bg);
}

/* Answer panel */
.faq-answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
	            padding 0.3s ease;
}

.faq-answer-inner {
	padding: 0 24px 24px 76px;
	font-size: 15px;
	color: #555;
	line-height: 1.75;
}

.faq-answer-inner p {
	margin-bottom: 10px;
}

.faq-answer-inner p:last-child {
	margin-bottom: 0;
}

.faq-answer-inner ul {
	padding-left: 20px;
	margin: 8px 0;
}

.faq-answer-inner ul li {
	list-style: disc;
	margin-bottom: 4px;
	color: #555;
}

.faq-answer-inner a {
	color: var(--color-primary-bg);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.faq-answer-inner a:hover {
	color: #a63a34;
}

/* ===== Quick Help / Still Have Questions ===== */
.faq-help-section {
	padding: 64px 0;
	background: #f8f8f8;
}

.faq-help-header {
	text-align: center;
	margin-bottom: 40px;
}

.faq-help-header h2 {
	font-size: clamp(24px, 3.5vw, 36px);
	font-weight: 800;
	margin-bottom: 10px;
}

.faq-help-header p {
	font-size: 17px;
	color: #666;
	max-width: 520px;
	margin: 0 auto;
	line-height: 1.6;
}

.faq-help-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	max-width: 960px;
	margin: 0 auto;
}

.faq-help-card {
	background: #fff;
	border-radius: 16px;
	padding: 36px 28px;
	text-align: center;
	border: 1px solid #eee;
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.faq-help-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
	border-color: var(--color-primary-bg);
}

.faq-help-icon {
	width: 60px;
	height: 60px;
	border-radius: 16px;
	background: linear-gradient(135deg, rgba(139, 46, 43, 0.10) 0%, rgba(139, 46, 43, 0.04) 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 20px;
	transition: background 0.3s;
}

.faq-help-card:hover .faq-help-icon {
	background: linear-gradient(135deg, var(--color-primary-bg) 0%, #a63a34 100%);
}

.faq-help-icon svg {
	color: var(--color-primary-bg);
	transition: color 0.3s;
}

.faq-help-card:hover .faq-help-icon svg {
	color: #fff;
}

.faq-help-card h3 {
	font-size: 18px;
	font-weight: 700;
	color: #222;
	margin-bottom: 8px;
}

.faq-help-card p {
	font-size: 14px;
	color: #777;
	line-height: 1.6;
	margin-bottom: 16px;
}

.faq-help-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--color-primary-bg);
	font-weight: 600;
	font-size: 14px;
	transition: gap 0.2s, color 0.2s;
}

.faq-help-link:hover {
	gap: 10px;
	color: #a63a34;
}

.faq-help-link svg {
	width: 16px;
	height: 16px;
	transition: transform 0.2s;
}

/* ===== CTA Section ===== */
.overview-cta {
	background: linear-gradient(135deg, var(--color-primary-bg) 0%, #5c1a18 100%);
	padding: 60px 0;
}

.overview-cta .cta-content {
	gap: 30px;
}

.overview-cta .cta-text h2 {
	font-size: clamp(24px, 3.5vw, 36px);
	font-weight: 800;
	color: #fff;
	margin-bottom: 10px;
}

.overview-cta .cta-text p {
	font-size: 17px;
	color: rgba(255, 255, 255, 0.85);
	max-width: 550px;
	line-height: 1.6;
}

.overview-cta .cta-actions {
	gap: 16px;
	flex-shrink: 0;
}

.overview-cta .cta-btn.apply {
	display: inline-block;
	padding: 14px 36px;
	background: linear-gradient(90deg, #f7c948 0%, #e3a617 100%);
	color: #222;
	font-weight: 700;
	border: none;
	box-shadow: 0 2px 12px rgba(247, 201, 72, 0.15);
	border-radius: 8px;
	font-size: 16px;
	letter-spacing: 0.5px;
	transition: background 0.2s, box-shadow 0.2s, color 0.2s;
	text-transform: uppercase;
}

.overview-cta .cta-btn.apply:hover {
	background: linear-gradient(90deg, #e3a617 0%, #f7c948 100%);
	color: #000;
	box-shadow: 0 4px 18px rgba(247, 201, 72, 0.22);
}

.overview-cta .cta-btn-outline {
	display: inline-block;
	padding: 14px 36px;
	background: transparent;
	color: #fff;
	border: 2px solid rgba(255, 255, 255, 0.5);
	border-radius: 50px;
	font-weight: 600;
	font-size: 16px;
	text-decoration: none;
	transition: all 0.3s ease;
}

.overview-cta .cta-btn-outline:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: #fff;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
	.faq-help-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	.page-banner {
		padding: 100px 0 48px;
	}

	.faq-tabs {
		gap: 6px;
	}

	.faq-tab {
		padding: 10px 18px;
		font-size: 13px;
	}

	.faq-tab svg {
		width: 16px;
		height: 16px;
	}

	.faq-tab-count {
		min-width: 20px;
		height: 20px;
		font-size: 11px;
	}

	.faq-content-section {
		padding: 32px 0 48px;
	}

	.faq-question {
		padding: 16px 18px;
		font-size: 15px;
		gap: 12px;
	}

	.faq-q-number {
		min-width: 30px;
		height: 30px;
		font-size: 12px;
		border-radius: 8px;
	}

	.faq-answer-inner {
		padding: 0 18px 18px 60px;
		font-size: 14px;
	}

	.faq-help-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.faq-help-card {
		padding: 28px 20px;
	}

	.overview-cta .cta-content {
		flex-direction: column;
		text-align: center;
	}

	.overview-cta .cta-text p {
		margin: 0 auto;
	}

	.overview-cta .cta-actions {
		justify-content: center;
	}
}

@media (max-width: 480px) {
	.faq-tabs {
		flex-direction: column;
		align-items: stretch;
	}

	.faq-tab {
		justify-content: center;
	}

	.faq-question {
		padding: 14px 14px;
		gap: 10px;
	}

	.faq-answer-inner {
		padding: 0 14px 16px 14px;
	}
}
