/* ── Tiny Maket FAQ Stylesheet ────────────────────────────────────────── */

.faq-wrap {
	padding-top: 18px;
	padding-bottom: 75px;
}

/* ── Hero Header & Search ──────────────────────────────────────────────── */
.faq-hero {
	text-align: center;
	padding: 42px 24px 38px;
	background: radial-gradient(110% 130% at 50% 0%, #2A303A 0%, #1A1E24 55%, #13161A 100%);
	border-radius: var(--r4, 32px);
	color: #ffffff;
	margin-bottom: 32px;
	position: relative;
	overflow: hidden;
	box-shadow: 0 16px 36px -12px rgba(0,0,0,.35);
}

.faq-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: repeating-linear-gradient(118deg, rgba(255,255,255,.02) 0 1px, transparent 1px 32px);
	pointer-events: none;
}

.faq-hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(236, 28, 36, 0.18);
	border: 1px solid rgba(236, 28, 36, 0.4);
	color: #FF7B80;
	padding: 6px 16px;
	border-radius: 999px;
	font-size: .82rem;
	font-weight: 800;
	margin-bottom: 16px;
	position: relative;
	z-index: 1;
}

.faq-hero-badge svg {
	width: 14px;
	height: 14px;
	fill: currentColor;
}

.faq-title {
	font-size: clamp(1.8rem, 3.8vw, 2.4rem);
	font-weight: 900;
	letter-spacing: -0.6px;
	margin: 0 auto 12px;
	color: #ffffff;
	position: relative;
	z-index: 1;
}

.faq-subtitle {
	font-size: .95rem;
	color: rgba(255, 255, 255, 0.82);
	line-height: 1.95;
	max-width: 620px;
	margin: 0 auto 28px;
	position: relative;
	z-index: 1;
}

/* ── Live Search Input ─────────────────────────────────────────────────── */
.faq-search-box {
	position: relative;
	max-width: 580px;
	margin: 0 auto;
	z-index: 2;
}

.faq-search-box .fs-icon {
	position: absolute;
	right: 18px;
	top: 50%;
	transform: translateY(-50%);
	width: 20px;
	height: 20px;
	color: #9CA3AF;
	pointer-events: none;
}

.faq-search-box input {
	width: 100%;
	padding: 15px 50px 15px 44px;
	background: #ffffff;
	border: 2px solid transparent;
	border-radius: 999px;
	font-size: .95rem;
	color: var(--ink, #111418);
	box-shadow: 0 10px 28px rgba(0,0,0,.22);
	outline: none;
	transition: border-color .22s, box-shadow .22s;
	font-family: inherit;
}

.faq-search-box input:focus {
	border-color: var(--red, #EC1C24);
	box-shadow: 0 12px 34px rgba(236, 28, 36, 0.28);
}

.faq-search-box .fs-clear {
	position: absolute;
	left: 18px;
	top: 50%;
	transform: translateY(-50%);
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--sf2, #E5E7EB);
	color: var(--ink2, #4B5563);
	border: none;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: .75rem;
	cursor: pointer;
	transition: background .2s;
}

.faq-search-box .fs-clear:hover {
	background: var(--ink, #111418);
	color: #fff;
}

/* ── Category Filter Tabs ──────────────────────────────────────────────── */
.faq-categories {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
	margin-bottom: 30px;
	padding: 0 10px;
}

.faq-cat-btn {
	background: var(--sf, #ffffff);
	border: 1px solid var(--line, #E2E8F0);
	border-radius: 999px;
	padding: 9px 18px;
	font-size: .84rem;
	font-weight: 700;
	color: var(--ink2, #4A5568);
	cursor: pointer;
	transition: all .22s ease;
	font-family: inherit;
}

.faq-cat-btn:hover {
	border-color: var(--red, #EC1C24);
	color: var(--red, #EC1C24);
}

.faq-cat-btn.active {
	background: var(--ink, #111418);
	border-color: var(--ink, #111418);
	color: #ffffff;
	box-shadow: 0 4px 14px -3px rgba(0,0,0,.25);
}

/* ── Accordion List & Cards ────────────────────────────────────────────── */
.faq-accordion-section {
	margin-bottom: 50px;
}

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

.faq-card {
	background: var(--sf, #ffffff);
	border: 1px solid var(--line, #E2E8F0);
	border-radius: var(--r3, 18px);
	overflow: hidden;
	box-shadow: 0 4px 14px -4px rgba(0,0,0,.04);
	transition: border-color .25s ease, box-shadow .25s ease;
}

.faq-card:hover {
	border-color: rgba(236, 28, 36, 0.25);
}

.faq-card.open {
	border-color: var(--red, #EC1C24);
	box-shadow: 0 8px 24px -6px rgba(236, 28, 36, 0.12);
}

.faq-question {
	width: 100%;
	padding: 20px 24px;
	background: transparent;
	border: none;
	text-align: right;
	font-family: inherit;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	outline: none;
	user-select: none;
}

.faq-q-txt {
	font-size: 1.02rem;
	font-weight: 800;
	color: var(--ink, #111418);
	line-height: 1.5;
	transition: color .2s;
}

.faq-card.open .faq-q-txt {
	color: var(--red, #EC1C24);
}

.faq-chevron {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--sf2, #F8FAFC);
	color: var(--ink2, #64748B);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	transition: transform .3s cubic-bezier(.2,.8,.4,1), background .2s, color .2s;
}

.faq-chevron svg {
	width: 14px;
	height: 14px;
}

.faq-card.open .faq-chevron {
	transform: rotate(180deg);
	background: rgba(236, 28, 36, 0.1);
	color: var(--red, #EC1C24);
}

.faq-answer {
	border-top: 1px solid var(--line, #F1F5F9);
	padding: 0 24px 22px;
	animation: faqFadeIn .28s ease;
}

.faq-answer-inner p {
	font-size: .94rem;
	color: var(--ink2, #374151);
	line-height: 2.15;
	margin: 16px 0 0;
}

.faq-answer-inner a {
	color: var(--red, #EC1C24);
	text-decoration: underline;
	text-underline-offset: 3px;
	font-weight: 800;
}

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

/* ── No Results Box ────────────────────────────────────────────────────── */
.faq-empty {
	text-align: center;
	padding: 50px 20px;
	background: var(--sf, #ffffff);
	border: 1px solid var(--line, #E2E8F0);
	border-radius: var(--r3, 20px);
	max-width: 600px;
	margin: 0 auto;
	color: var(--ink3, #6B7280);
}

.faq-empty svg {
	width: 44px;
	height: 44px;
	color: #9CA3AF;
	margin-bottom: 12px;
}

.faq-empty h3 {
	font-size: 1.15rem;
	font-weight: 900;
	color: var(--ink, #111418);
	margin: 0 0 6px;
}

.faq-empty p {
	font-size: .88rem;
	line-height: 1.8;
	margin: 0;
}

/* ── Direct Support Banner ─────────────────────────────────────────────── */
.faq-support-banner {
	background: linear-gradient(135deg, #181B20 0%, #20242B 100%);
	border-radius: var(--r4, 30px);
	padding: 32px 36px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	color: #ffffff;
	box-shadow: 0 16px 36px -10px rgba(0,0,0,.25);
	border: 1px solid rgba(255,255,255,.08);
}

.fsb-content {
	display: flex;
	align-items: center;
	gap: 20px;
	max-width: 620px;
}

.fsb-icon {
	width: 58px;
	height: 58px;
	border-radius: 18px;
	background: rgba(236, 28, 36, 0.16);
	border: 1px solid rgba(236, 28, 36, 0.35);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--red, #EC1C24);
	flex-shrink: 0;
}

.fsb-icon svg {
	width: 30px;
	height: 30px;
}

.fsb-txt h2 {
	font-size: 1.25rem;
	font-weight: 900;
	margin: 0 0 6px;
	color: #ffffff;
}

.fsb-txt p {
	font-size: .88rem;
	color: rgba(255,255,255,.8);
	line-height: 1.85;
	margin: 0;
}

.fsb-actions {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-shrink: 0;
}

.btn-phone-action {
	background: #ffffff;
	color: var(--ink, #111418) !important;
	border: none;
	padding: 12px 22px;
	border-radius: 999px;
	font-weight: 800;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	box-shadow: 0 8px 20px -4px rgba(255,255,255,.2);
	transition: transform .2s ease, background .2s;
	text-decoration: none;
}

.btn-phone-action:hover {
	transform: translateY(-2px);
	background: #F3F4F6;
}

.btn-phone-action svg {
	width: 16px;
	height: 16px;
	color: var(--red, #EC1C24);
}

.btn-wa-action {
	background: #25D366;
	color: #ffffff !important;
	border: none;
	padding: 12px 22px;
	border-radius: 999px;
	font-weight: 800;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	box-shadow: 0 8px 20px -4px rgba(37, 211, 102, 0.45);
	transition: transform .2s ease, box-shadow .2s;
	text-decoration: none;
}

.btn-wa-action:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 26px -4px rgba(37, 211, 102, 0.6);
}

.btn-wa-action svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

/* ── Responsive Media Queries ──────────────────────────────────────────── */
@media (max-width: 900px) {
	.faq-support-banner {
		flex-direction: column;
		text-align: center;
		padding: 28px 20px;
	}
	.fsb-content {
		flex-direction: column;
		text-align: center;
	}
}

@media (max-width: 600px) {
	.faq-hero {
		padding: 30px 18px;
	}
	.faq-question {
		padding: 16px 18px;
	}
	.faq-q-txt {
		font-size: .94rem;
	}
	.faq-answer {
		padding: 0 18px 18px;
	}
	.faq-search-box input {
		font-size: .88rem;
		padding: 13px 44px 13px 38px;
	}
	.fsb-actions {
		flex-direction: column;
		width: 100%;
	}
	.fsb-actions .btn {
		width: 100%;
		justify-content: center;
	}
}
