/**
 * GEMKIBO — Składniki hub (Faza 3)
 */

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

/* ─── HERO ─── */
.gk-ingr__hero {
	background: #FFFFFF;
	padding: clamp(110px, 14vh, 160px) 0 clamp(60px, 8vh, 80px);
	border-bottom: 1px solid #ECE6DC;
}
.gk-ingr__breadcrumb {
	display: flex; align-items: center; gap: 6px;
	font-family: 'Inter', sans-serif; font-size: 13px;
	color: #5A6354;
	margin: 0 0 20px;
}
.gk-ingr__breadcrumb a { color: #1F3D14; text-decoration: none; }
.gk-ingr__breadcrumb a:hover { color: #5DA935; }
.gk-ingr__breadcrumb svg { opacity: 0.4; }
/* FIX 2026-05-30: usunięty AI-pill, czysty zielony eyebrow na jasnym hero */
.gk-ingr__hero-eyebrow {
	display: inline-block; padding: 0;
	background: none; border: 0;
	color: #4F9028;
	font-family: 'Inter', sans-serif;
	font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
	margin: 0 0 20px;
}
.gk-ingr__hero-title {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: clamp(36px, 5.5vw, 64px); font-weight: 700;
	line-height: 1.1; letter-spacing: -0.02em;
	color: #1F3D14;
	margin: 0 0 20px;
	max-width: 900px;
}
.gk-ingr__hero-lead {
	font-family: 'Inter', sans-serif;
	font-size: clamp(16px, 1.6vw, 18px); line-height: 1.6;
	color: #5A6354;
	max-width: 640px; margin: 0;
}

/* ─── SECTION COMMON ─── */
.gk-ingr__section-eyebrow {
	font-family: 'Inter', sans-serif;
	font-size: 11px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase;
	color: #5DA935;
	margin: 0 0 12px;
}
.gk-ingr__section-eyebrow--light { color: #FFFFFF; } /* FIX 2026-05-30: biały na ciemnej sekcji (było neon) */

/* ─── GRID ─── */
.gk-ingr__list { padding: clamp(60px, 10vh, 100px) 0; }
.gk-ingr__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 24px;
}
.gk-ingr__card {
	all: unset;
	cursor: pointer;
	display: block;
	position: relative;
	padding: 36px 28px;
	background: #FFFFFF;
	border: 1px solid #ECE6DC;
	border-radius: 20px;
	text-align: left;
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
	overflow: hidden;
}
.gk-ingr__card-bg {
	position: absolute;
	top: -40px; right: -40px;
	width: 160px; height: 160px;
	background: var(--gk-ingr-color, #5DA935);
	opacity: 0.06;
	border-radius: 50%;
	transition: opacity .3s ease, transform .3s ease;
	pointer-events: none;
}
.gk-ingr__card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 40px rgba(31, 61, 20, 0.08);
	border-color: var(--gk-ingr-color, #5DA935);
}
.gk-ingr__card:hover .gk-ingr__card-bg {
	opacity: 0.12;
	transform: scale(1.2);
}
.gk-ingr__card-eyebrow {
	display: inline-block;
	font-family: 'Inter', sans-serif;
	font-size: 10.5px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase;
	color: var(--gk-ingr-color, #5DA935);
	margin-bottom: 12px;
}
.gk-ingr__card-name {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 28px; font-weight: 700;
	color: #1F3D14;
	margin: 0 0 4px;
	line-height: 1.1;
}
.gk-ingr__card-latin {
	font-family: 'Playfair Display', Georgia, serif;
	font-style: italic;
	font-size: 13.5px;
	color: #9CA396;
	margin: 0 0 16px;
}
.gk-ingr__card-short {
	font-family: 'Inter', sans-serif;
	font-size: 14.5px; line-height: 1.6;
	color: #5A6354;
	margin: 0 0 20px;
}
.gk-ingr__card-cta {
	display: inline-flex; align-items: center;
	font-family: 'Inter', sans-serif;
	font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
	color: #1F3D14;
}

/* ─── PERSONALIZE ─── */
.gk-ingr__personalize {
	padding: clamp(60px, 10vh, 100px) 0;
	background: #1F3D14;
	color: #FAF8F4;
	text-align: center;
}
.gk-ingr__cta-title {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: clamp(28px, 4vw, 44px); font-weight: 700;
	color: #FAF8F4;
	margin: 0 0 16px;
}
.gk-ingr__cta-lead {
	font-family: 'Inter', sans-serif;
	font-size: 17px; color: rgba(250, 248, 244, 0.80);
	margin: 0 0 32px;
}
.gk-ingr__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;
}

/* ─── MODAL ─── */
.gk-ingr-modal {
	position: fixed; inset: 0;
	z-index: 9999;
	display: flex; align-items: center; justify-content: center;
	opacity: 0; visibility: hidden;
	transition: opacity .25s ease, visibility 0s linear .25s;
}
.gk-ingr-modal.is-open {
	opacity: 1; visibility: visible;
	transition: opacity .25s ease;
}
.gk-ingr-modal__backdrop {
	position: absolute; inset: 0;
	background: rgba(31, 61, 20, 0.65);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}
.gk-ingr-modal__panel {
	position: relative;
	max-width: 640px;
	width: calc(100% - 32px);
	max-height: 90vh;
	overflow-y: auto;
	background: #FFFFFF;
	border-radius: 24px;
	padding: 40px;
	box-shadow: 0 32px 80px rgba(0, 0, 0, 0.25);
	transform: scale(0.95);
	transition: transform .3s cubic-bezier(.16,1,.3,1);
}
.gk-ingr-modal.is-open .gk-ingr-modal__panel { transform: scale(1); }
.gk-ingr-modal__close {
	position: absolute; top: 16px; right: 16px;
	width: 40px; height: 40px;
	background: transparent;
	border: 1.5px solid #ECE6DC;
	border-radius: 50%;
	color: #1F3D14;
	cursor: pointer;
	display: flex; align-items: center; justify-content: center;
	transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.gk-ingr-modal__close:hover {
	background: #1F3D14; color: #FFFFFF; border-color: #1F3D14;
}
.gk-ingr-modal__eyebrow {
	display: inline-block;
	font-family: 'Inter', sans-serif;
	font-size: 11px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase;
	margin-bottom: 12px;
}
.gk-ingr-modal__name {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: clamp(28px, 4vw, 40px); font-weight: 700;
	color: #1F3D14;
	margin: 0 0 4px;
	line-height: 1.1;
}
.gk-ingr-modal__latin {
	font-family: 'Playfair Display', Georgia, serif;
	font-style: italic;
	font-size: 15px;
	color: #9CA396;
	margin: 0 0 24px;
}
.gk-ingr-modal__long {
	font-family: 'Inter', sans-serif;
	font-size: 15.5px; line-height: 1.7;
	color: #3a3a3a;
	margin: 0 0 24px;
}
.gk-ingr-modal__sources {
	font-family: 'Inter', sans-serif;
	font-size: 12.5px; line-height: 1.5;
	color: #5A6354;
	padding: 16px 20px;
	background: #FAF8F4;
	border-left: 3px solid #5DA935;
	border-radius: 0 8px 8px 0;
}
.gk-ingr-modal__sources strong { color: #1F3D14; }

@media (max-width: 768px) {
	.gk-ingr-modal__panel { padding: 28px 24px; border-radius: 16px; }
}
