/**
 * FAQ Page Styles (Často kladené otázky)
 *
 * Uses CSS variables from custom.css.
 * Reuses homepage FAQ classes for accordion; new styles for page layout.
 * BEM naming: .uartik-faq-page__*
 *
 * @package UARTIK
 * @since 1.4.0
 */

/* ─── Container ─── */

.uartik-faq-page__container {
	width: 100%;
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 40px;
	box-sizing: border-box;
}

/* ─── Breadcrumb (reused from about page) ─── */

.uartik-faq-page .uartik-about__breadcrumb {
	margin-bottom: 24px;
	font-size: 0.875rem;
}

.uartik-faq-page .uartik-about__breadcrumb a {
	color: rgba(255, 255, 255, 0.6);
	text-decoration: none;
	transition: color 0.2s;
}

.uartik-faq-page .uartik-about__breadcrumb a:hover {
	color: var(--uartik-hp-accent, #D4A76A);
}

.uartik-faq-page .uartik-about__breadcrumb-sep {
	display: inline-block;
	width: 6px;
	height: 6px;
	border-right: 1.5px solid rgba(255, 255, 255, 0.4);
	border-bottom: 1.5px solid rgba(255, 255, 255, 0.4);
	transform: rotate(-45deg);
	margin: 0 10px;
	vertical-align: middle;
}

.uartik-faq-page .uartik-about__breadcrumb-current {
	color: rgba(255, 255, 255, 0.85);
}

/* ─── Hero Section ─── */

.uartik-faq-page__hero {
	position: relative;
	min-height: 340px;
	display: flex;
	align-items: center;
	overflow: hidden;
	background: var(--uartik-hp-bg-dark, #2D2D2D);
}

.uartik-faq-page__hero-bg {
	position: absolute;
	inset: 0;
	background-color: var(--uartik-hp-bg-dark, #2D2D2D);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cg fill='none' stroke='%23c06c84' stroke-opacity='0.08' stroke-width='0.8'%3E%3Cpath d='M40 0v40H0m40 0h40M40 40v40M40 40L0 0m40 40L80 0m-40 40L0 80m40-40l40 40'/%3E%3Cpath d='M20 0l20 20 20-20M80 20L60 40l20 20M60 80L40 60 20 80M0 60l20-20L0 20'/%3E%3C/g%3E%3C/svg%3E");
	background-size: 80px 80px;
	opacity: 0.6;
}

.uartik-faq-page__hero .uartik-faq-page__container {
	position: relative;
	z-index: 1;
	padding-top: 60px;
	padding-bottom: 60px;
	text-align: center;
}

.uartik-faq-page__hero-title {
	font-size: 2.5rem;
	font-weight: 700;
	color: var(--uartik-hp-white, #fff);
	line-height: 1.2;
	margin: 0 0 16px;
}

.uartik-faq-page__hero-subtitle {
	font-size: 1.1rem;
	color: rgba(255, 255, 255, 0.7);
	margin: 0;
	max-width: 550px;
	margin-left: auto;
	margin-right: auto;
	line-height: 1.6;
}

/* ─── FAQ Section — single-column override ─── */

.uartik-faq-page__faq-section {
	padding: 80px 0;
}

.uartik-faq-page__faq-grid.uartik-homepage__faq-grid {
	grid-template-columns: 1fr;
	max-width: 800px;
	margin: 0 auto;
}

.uartik-faq-page .uartik-homepage__faq-column {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

/* ─── Contact CTA Section ─── */

.uartik-faq-page__cta {
	background: linear-gradient(135deg, var(--uartik-hp-primary, #C06C84) 0%, var(--uartik-hp-primary-dark, #9E5268) 100%);
	padding: 80px 0;
	text-align: center;
}

.uartik-faq-page__cta-title {
	font-size: 2rem;
	font-weight: 700;
	color: var(--uartik-hp-white, #fff);
	margin: 0 0 16px;
}

.uartik-faq-page__cta-text {
	font-size: 1.1rem;
	color: rgba(255, 255, 255, 0.85);
	margin: 0 0 32px;
	max-width: 520px;
	margin-left: auto;
	margin-right: auto;
	line-height: 1.6;
}

.uartik-faq-page__cta-contacts {
	display: flex;
	justify-content: center;
	gap: 32px;
	margin-bottom: 36px;
	flex-wrap: wrap;
}

.uartik-faq-page__cta-contact {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--uartik-hp-white, #fff);
	text-decoration: none;
	font-size: 1.05rem;
	font-weight: 600;
	transition: color 0.2s, transform 0.2s;
}

.uartik-faq-page__cta-contact:hover {
	color: var(--uartik-hp-accent, #D4A76A);
	transform: translateY(-1px);
}

.uartik-faq-page__cta-contact svg {
	flex-shrink: 0;
	opacity: 0.9;
}

.uartik-faq-page__cta-btn {
	display: inline-block;
	padding: 14px 40px;
	background: var(--uartik-hp-white, #fff);
	color: var(--uartik-hp-primary, #C06C84);
	font-size: 1rem;
	font-weight: 700;
	border-radius: var(--uartik-radius-full, 9999px);
	text-decoration: none;
	transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.uartik-faq-page__cta-btn:hover {
	background: var(--uartik-hp-accent, #D4A76A);
	color: var(--uartik-hp-white, #fff);
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* ─── Responsive: Tablet (≤ 1024px) ─── */

@media (max-width: 1024px) {
	.uartik-faq-page__container {
		padding: 0 24px;
	}

	.uartik-faq-page__hero-title {
		font-size: 2.25rem;
	}

	.uartik-faq-page__faq-section {
		padding: 60px 0;
	}

	.uartik-faq-page__cta {
		padding: 60px 0;
	}
}

/* ─── Responsive: Mobile (≤ 768px) ─── */

@media (max-width: 768px) {
	.uartik-faq-page__container {
		padding: 0 16px;
	}

	.uartik-faq-page__hero {
		min-height: 280px;
	}

	.uartik-faq-page__hero .uartik-faq-page__container {
		padding-top: 40px;
		padding-bottom: 40px;
	}

	.uartik-faq-page__hero-title {
		font-size: 1.75rem;
	}

	.uartik-faq-page__hero-subtitle {
		font-size: 1rem;
	}

	.uartik-faq-page__faq-section {
		padding: 48px 0;
	}

	.uartik-faq-page__cta {
		padding: 48px 0;
	}

	.uartik-faq-page__cta-title {
		font-size: 1.625rem;
	}

	.uartik-faq-page__cta-contacts {
		flex-direction: column;
		align-items: center;
		gap: 16px;
	}

	.uartik-faq-page__cta-btn {
		padding: 12px 32px;
	}
}

/* ─── Responsive: Small Mobile (≤ 480px) ─── */

@media (max-width: 480px) {
	.uartik-faq-page__hero-title {
		font-size: 1.5rem;
	}

	.uartik-faq-page__cta-contact {
		font-size: 0.95rem;
	}
}
