/**
 * FAQ Page Styles
 *
 * @package SVCC
 */

.faq-hero {
	padding: clamp(80px, 12vw, 120px) 0;
	text-align: center;
	color: #FFFFFF;
}

.faq-hero h1 {
	font-size: clamp(1.75rem, 3.2vw, 2.25rem);
	margin: 0 0 10px 0;
	color: #FFFFFF;
	font-family: var(--font-display);
}

.faq-hero p,
.faq-hero-desc {
	font-size: clamp(0.9rem, 1.4vw, 1.05rem);
	margin: 0;
	opacity: 0.9;
}

.faq-main {
	padding: clamp(60px, 8vw, 100px) 0;
	background: linear-gradient(135deg, #FFFFFF 0%, var(--svcc-surface, #f6f0ee) 100%);
}

/* FAQ Section Headers (Matching Homepage & About section style) */
.faq-main .section-header {
	text-align: center;
	margin-bottom: 35px;
}

.faq-main .section-subtitle {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 2px;
	color: #666666;
	text-transform: uppercase;
	margin-bottom: 10px;
	display: inline-block;
	font-family: var(--font-mono);
}

.faq-main .section-title {
	font-family: var(--font-display);
	font-size: clamp(1.4rem, 2.8vw, 1.9rem);
	color: #D6202C !important;
	text-transform: uppercase !important;
	letter-spacing: 1px;
	font-weight: 400;
	margin: 0;
	line-height: 1.3;
}

.faq-container {
	max-width: 800px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

/* Accordion details/summary styles */
.faq-item {
	background: #FFFFFF;
	border: 1px solid var(--border);
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
	transition: var(--transition-smooth);
}

.faq-item[open] {
	border-color: var(--accent);
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

.faq-question {
	padding: 24px 30px;
	font-weight: 700;
	font-size: clamp(1rem, 2vw, 1.15rem);
	color: var(--text);
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	list-style: none; /* Hide default browser arrow */
	user-select: none;
	transition: var(--transition-smooth);
}

.faq-question::-webkit-details-marker {
	display: none; /* Hide default Safari arrow */
}

/* Chevron arrow icon */
.faq-icon-toggle {
	width: 10px;
	height: 10px;
	border-right: 2px solid var(--accent);
	border-bottom: 2px solid var(--accent);
	transform: rotate(45deg);
	transition: transform 0.3s ease;
	flex-shrink: 0;
	margin-right: 8px;
	margin-top: -4px;
}

/* Rotate chevron upwards when open */
.faq-item[open] .faq-icon-toggle {
	transform: rotate(-135deg);
	margin-top: 2px;
}

.faq-answer {
	padding: 0 30px 24px 30px;
	font-size: clamp(0.9rem, 1.8vw, 1.05rem);
	line-height: 1.7;
	color: var(--text);
	opacity: 0.85;
	border-top: 1px solid var(--border);
	margin-top: 0;
	animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
	from {
		opacity: 0;
		transform: translateY(-8px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* ==========================================================================
   Responsive Overrides
   ========================================================================== */
@media (max-width: 768px) {
	.faq-question {
		padding: 20px 24px;
	}

	.faq-answer {
		padding: 0 24px 20px 24px;
	}
}

@media (max-width: 480px) {
	.faq-question {
		padding: 16px 20px;
	}

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