/**
 * GEMKIBO — FAQ knowledge base (Faza 3)
 */

.gk-faq { background: #FAF8F4; color: #1F3D14; }
.gk-home .gk-faq h1,
.gk-home .gk-faq h2,
.gk-home .gk-faq h3 { color: inherit; }
.gk-faq__container { max-width: 1440px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 57.6px); }
.gk-faq__container--cta { max-width: 720px; text-align: center; }

/* ─── HERO ─── */
.gk-faq__hero {
	background: linear-gradient(135deg, #1F3D14 0%, #2D5B1C 100%);
	color: #FAF8F4;
	padding: clamp(110px, 14vh, 160px) 0 clamp(60px, 8vh, 80px);
	text-align: center;
	position: relative;
	overflow: hidden;
}
.gk-faq__hero::before {
	content: '';
	position: absolute; inset: 0;
	background: radial-gradient(circle at 50% 0%, rgba(116, 229, 24, 0.15) 0%, transparent 60%);
	pointer-events: none;
}
.gk-faq__hero-inner { position: relative; }
.gk-faq__breadcrumb {
	display: flex; justify-content: center; align-items: center; gap: 6px;
	font-family: 'Inter', sans-serif; font-size: 13px;
	color: rgba(250, 248, 244, 0.70);
	margin: 0 0 20px;
}
.gk-faq__breadcrumb a { color: rgba(250, 248, 244, 0.85); text-decoration: none; }
.gk-faq__breadcrumb a:hover { color: #74E518; }
.gk-faq__breadcrumb svg { opacity: 0.5; }
/* FIX 2026-05-30: usunięty AI-pill, biały eyebrow na ciemnym hero */
.gk-faq__hero-eyebrow {
	display: inline-block; padding: 0;
	background: none; border: 0;
	color: #FFFFFF;
	font-family: 'Inter', sans-serif;
	font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
	margin: 0 0 20px;
}
.gk-faq__hero-title {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: clamp(36px, 6vw, 64px); font-weight: 700;
	line-height: 1.1; letter-spacing: -0.02em;
	color: #FAF8F4;
	margin: 0 0 40px;
}

/* ─── SEARCH ─── */
.gk-faq__search {
	position: relative;
	max-width: 640px; margin: 0 auto;
	display: flex; align-items: center;
	background: #FFFFFF;
	border-radius: 9999px;
	padding: 8px 16px 8px 22px;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.20);
}
.gk-faq__search > svg:first-child {
	color: #5A6354; flex-shrink: 0;
}
.gk-faq__search input {
	flex: 1; min-width: 0;
	background: transparent; border: 0;
	padding: 14px 16px;
	font-family: 'Inter', sans-serif;
	font-size: 16px;
	color: #1F3D14;
	outline: none;
}
.gk-faq__search input::placeholder { color: #9CA396; }
.gk-faq__search-clear {
	background: transparent; border: 0;
	color: #5A6354;
	cursor: pointer;
	padding: 8px;
	border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
}
.gk-faq__search-clear:hover { background: #F0EBE0; color: #1F3D14; }

/* ─── SECTION COMMON ─── */
.gk-faq__section-title {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: clamp(28px, 4vw, 44px); font-weight: 700;
	line-height: 1.1; letter-spacing: -0.015em;
	color: #1F3D14;
	margin: 0 0 32px;
}
.gk-faq__section-title--center { text-align: center; }

/* ─── KATEGORIE GRID ─── */
.gk-faq__cats { padding: clamp(60px, 10vh, 100px) 0 clamp(40px, 6vh, 60px); background: #FFFFFF; }
.gk-faq__cats-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 16px;
}
.gk-faq__cat {
	display: flex; flex-direction: column; align-items: center;
	padding: 28px 20px;
	background: #FAF8F4;
	border: 1px solid #ECE6DC;
	border-radius: 16px;
	text-align: center;
	text-decoration: none;
	color: #1F3D14;
	transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.gk-faq__cat:hover {
	transform: translateY(-4px);
	border-color: #5DA935;
	box-shadow: 0 12px 30px rgba(31, 61, 20, 0.06);
}
.gk-faq__cat-icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 56px; height: 56px;
	background: rgba(93, 169, 53, 0.10);
	color: #5DA935;
	border-radius: 14px;
	margin-bottom: 12px;
}
.gk-faq__cat-title {
	font-family: 'Inter', sans-serif;
	font-size: 15px; font-weight: 700;
	color: #1F3D14;
	margin: 0 0 4px;
}
.gk-faq__cat-count {
	font-family: 'Inter', sans-serif;
	font-size: 12px;
	color: #9CA396;
}

/* ─── PYTANIA per KATEGORIA ─── */
.gk-faq__answers { padding: clamp(40px, 6vh, 60px) 0 clamp(60px, 10vh, 100px); }
.gk-faq__category {
	margin-bottom: 48px;
	scroll-margin-top: 110px;
}
.gk-faq__category-title {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: clamp(24px, 3vw, 32px); font-weight: 700;
	color: #1F3D14;
	margin: 0 0 20px;
	padding-bottom: 16px;
	border-bottom: 1.5px solid #ECE6DC;
}
.gk-faq__list {
	list-style: none; padding: 0; margin: 0;
	display: flex; flex-direction: column;
	gap: 8px;
}
.gk-faq__item {
	background: #FFFFFF;
	border: 1px solid #ECE6DC;
	border-radius: 14px;
	overflow: hidden;
	transition: border-color .2s ease;
}
.gk-faq__item:has(.gk-faq__q[aria-expanded="true"]) { border-color: #5DA935; }
.gk-faq__q {
	all: unset;
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	width: 100%;
	box-sizing: border-box;
	padding: 20px 24px;
	cursor: pointer;
	font-family: 'Inter', sans-serif;
	font-size: 16px; font-weight: 600;
	color: #1F3D14;
	transition: background .15s ease;
}
.gk-faq__q:hover { background: #FAF8F4; }
.gk-faq__chevron {
	transition: transform .25s cubic-bezier(.16,1,.3,1);
	color: #5DA935;
	flex-shrink: 0;
}
.gk-faq__q[aria-expanded="true"] .gk-faq__chevron { transform: rotate(180deg); }
.gk-faq__a {
	padding: 0 24px 20px;
	font-family: 'Inter', sans-serif;
	font-size: 15.5px; line-height: 1.65;
	color: #5A6354;
}
.gk-faq__a p { margin: 0; }

.gk-faq__no-results {
	text-align: center;
	font-family: 'Inter', sans-serif;
	font-size: 16px;
	color: #5A6354;
	padding: 60px 0;
}

/* ─── CTA ─── */
.gk-faq__cta { padding: clamp(60px, 10vh, 100px) 0; background: #FFFFFF; text-align: center; }
.gk-faq__cta-title {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: clamp(28px, 4vw, 40px); font-weight: 700;
	color: #1F3D14;
	margin: 0 0 16px;
}
.gk-faq__cta-lead {
	font-family: 'Inter', sans-serif;
	font-size: 17px; color: #5A6354;
	margin: 0 0 32px;
}
.gk-faq__cta-btn {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 14px 28px;
	border-radius: 9999px;
	font-family: 'Inter', sans-serif;
	font-size: 13.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
	text-decoration: none;
}

/* Filtered state (search active) */
.gk-faq__item[hidden] { display: none; }
.gk-faq__category[hidden] { display: none; }
