/* GOVR — FAQs page (standalone)
 * Page-specific stylesheet. Shares nav/footer/typography with home-redesign.css. */

/* ===== Hero ===== */
.faq-hero {
	background: linear-gradient(180deg, #F7F2EC 0%, #FAFAF8 100%);
	padding: 72px 24px 56px;
	text-align: center;
	border-bottom: 1px solid var(--border);
}
.faq-hero-inner { max-width: 760px; margin: 0 auto; }
.faq-hero-icon {
	width: 80px; height: 80px;
	margin: 0 auto 22px;
	border-radius: 18px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
	color: #fff;
	box-shadow: 0 8px 24px rgba(184, 150, 12, 0.22);
}
.faq-hero-icon svg { width: 38px; height: 38px; }
.faq-hero h1 {
	font-size: clamp(28px, 4vw, 42px);
	font-weight: 700;
	letter-spacing: -0.01em;
	color: var(--text);
	margin-bottom: 12px;
	line-height: 1.2;
}
.faq-hero p {
	font-size: clamp(14px, 1.4vw, 16px);
	color: var(--text-secondary);
	line-height: 1.65;
	max-width: 640px;
	margin: 0 auto;
}

/* ===== Main wrap ===== */
.faq-main { max-width: 1080px; margin: 0 auto; padding: 56px 24px 80px; }

/* ===== Search ===== */
.faq-search-wrap { margin-bottom: 28px; display: flex; justify-content: center; }
.faq-search {
	position: relative;
	width: 100%;
	max-width: 520px;
}
.faq-search-icon {
	position: absolute;
	top: 50%;
	left: 16px;
	transform: translateY(-50%);
	width: 18px; height: 18px;
	color: var(--text-muted);
	pointer-events: none;
}
[dir="rtl"] .faq-search-icon { left: auto; right: 16px; }
.faq-search input {
	width: 100%;
	padding: 14px 18px 14px 46px;
	border: 1.5px solid var(--border);
	border-radius: 12px;
	font: inherit;
	font-size: 15px;
	color: var(--text);
	background: #fff;
	transition: border-color 0.2s, box-shadow 0.2s;
}
[dir="rtl"] .faq-search input { padding: 14px 46px 14px 18px; }
.faq-search input::placeholder { color: var(--text-muted); }
.faq-search input:focus {
	outline: none;
	border-color: var(--gold);
	box-shadow: 0 0 0 4px rgba(184, 150, 12, 0.12);
}

/* ===== Category pills ===== */
.faq-cats {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin-bottom: 40px;
}
.faq-cat-btn {
	padding: 10px 22px;
	border: 1.5px solid var(--border);
	border-radius: 24px;
	background: #fff;
	color: var(--text-secondary);
	font: inherit;
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	cursor: pointer;
	transition: border-color 0.2s, color 0.2s, background 0.2s, box-shadow 0.2s;
}
.faq-cat-btn:hover {
	border-color: var(--gold);
	color: var(--gold-dark);
}
.faq-cat-btn:focus-visible {
	outline: none;
	box-shadow: 0 0 0 3px rgba(184, 150, 12, 0.22);
}
.faq-cat-btn.is-active {
	background: var(--gold);
	border-color: var(--gold);
	color: #fff;
	box-shadow: 0 6px 16px rgba(184, 150, 12, 0.22);
}

/* ===== FAQ list ===== */
.faq-list { display: grid; grid-template-columns: 1fr; gap: 14px; }

.faq-item {
	background: #fff;
	border: 1.5px solid var(--border);
	border-radius: 14px;
	overflow: hidden;
	transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.faq-item:hover { border-color: rgba(184, 150, 12, 0.45); box-shadow: var(--shadow-md); }
.faq-item.is-open { border-color: var(--gold); box-shadow: 0 6px 20px rgba(184, 150, 12, 0.12); }

.faq-question {
	width: 100%;
	display: flex;
	align-items: flex-start;
	gap: 18px;
	padding: 20px 22px;
	background: #fff;
	border: 0;
	text-align: start;
	cursor: pointer;
	font: inherit;
	font-size: 15px;
	font-weight: 600;
	color: var(--text);
	transition: background 0.2s, color 0.2s;
}
.faq-question:hover { color: var(--gold-dark); }
.faq-question:focus-visible {
	outline: none;
	background: var(--gold-bg);
}
.faq-item.is-open .faq-question {
	background: linear-gradient(135deg, rgba(184, 150, 12, 0.07) 0%, rgba(184, 150, 12, 0.02) 100%);
	border-bottom: 1px solid var(--gold-border);
}

.faq-question-text { flex: 1; line-height: 1.5; }

.faq-toggle {
	flex-shrink: 0;
	width: 30px; height: 30px;
	border-radius: 50%;
	background: var(--gold);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.3s ease, background 0.2s;
}
.faq-toggle svg { width: 14px; height: 14px; }
.faq-item.is-open .faq-toggle {
	transform: rotate(45deg);
	background: var(--gold-dark);
}

.faq-answer { background: var(--bg-off); }
.faq-answer[hidden] { display: none; }

.faq-answer-content {
	padding: 22px;
	font-size: 14.5px;
	line-height: 1.7;
	color: var(--text-secondary);
}
.faq-answer-content p { margin-bottom: 12px; }
.faq-answer-content p:last-child { margin-bottom: 0; }
.faq-answer-content strong { color: var(--text); font-weight: 600; }
.faq-answer-content ul { margin: 10px 0 12px; padding-inline-start: 22px; }
.faq-answer-content li { margin-bottom: 6px; }

/* ===== Empty state ===== */
.faq-empty {
	text-align: center;
	padding: 48px 20px;
	border: 1.5px dashed var(--border);
	border-radius: 14px;
	color: var(--text-muted);
	font-size: 14px;
	margin-top: 8px;
}
.faq-empty[hidden] { display: none; }

/* ===== Contact CTA ===== */
.faq-cta {
	margin: 64px auto 0;
	padding: 56px 32px;
	background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
	border-radius: 18px;
	text-align: center;
	color: #fff;
	box-shadow: 0 12px 32px rgba(184, 150, 12, 0.22);
}
.faq-cta h2 {
	font-size: clamp(22px, 3vw, 30px);
	font-weight: 700;
	letter-spacing: -0.01em;
	margin-bottom: 12px;
}
.faq-cta p {
	font-size: 15px;
	line-height: 1.65;
	max-width: 560px;
	margin: 0 auto 26px;
	opacity: 0.95;
}
.faq-cta-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 36px;
	background: #fff;
	color: var(--gold-dark);
	font-weight: 700;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	text-decoration: none;
	border-radius: 10px;
	transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.faq-cta-btn:hover {
	background: #fff;
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
	transform: translateY(-2px);
}
.faq-cta-btn svg { width: 16px; height: 16px; }
[dir="rtl"] .faq-cta-btn svg { transform: scaleX(-1); }

/* ===== Responsive ===== */
@media (max-width: 720px) {
	.faq-hero { padding: 56px 18px 44px; }
	.faq-main { padding: 40px 18px 60px; }
	.faq-question { padding: 16px 16px; font-size: 14px; gap: 12px; }
	.faq-answer-content { padding: 16px; font-size: 13.5px; }
	.faq-cta { padding: 44px 22px; }
	.faq-cat-btn { padding: 8px 16px; font-size: 11.5px; }
}
@media (max-width: 480px) {
	.faq-hero-icon { width: 64px; height: 64px; }
	.faq-hero-icon svg { width: 30px; height: 30px; }
	.faq-toggle { width: 26px; height: 26px; }
	.faq-toggle svg { width: 12px; height: 12px; }
}

/* ===== Render perf ===== */
.faq-main, .faq-cta { content-visibility: auto; contain-intrinsic-size: 1px 800px; }

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
	.faq-item, .faq-question, .faq-toggle, .faq-cat-btn, .faq-cta-btn {
		transition: none !important;
	}
}
