/* GoldLine — Власне виробництво */

.gl-production {
	position: relative;
	padding: 88px 0 96px;
	background: var(--secondary-color);
	overflow: hidden;
}

.gl-production__eyebrow {
	display: inline-block;
	margin-bottom: 14px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--accent-color);
}

.gl-production__title {
	margin: 0 0 20px;
	font-size: clamp(28px, 3.2vw, 52px);
	line-height: 1.12;
	color: var(--primary-color);
}

.gl-production__desc {
	margin: 0 0 28px;
	max-width: 54ch;
	font-size: 16px;
	line-height: 1.65;
	color: #1a1816;
}

.gl-production__benefits {
	display: grid;
	gap: 16px;
}

.gl-production__benefit {
	padding: 20px 22px;
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.62);
	border: 1px solid rgba(97, 83, 40, 0.12);
	box-shadow: 0 10px 28px rgba(97, 83, 40, 0.06);
}

.gl-production__benefit-head {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 10px;
}

.gl-production__benefit-icon {
	width: 48px;
	height: 48px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 14px;
	flex-shrink: 0;
	background: rgba(255, 255, 255, 0.85);
	border: 1px solid rgba(97, 83, 40, 0.16);
	color: var(--accent-color);
	font-size: 20px;
}

.gl-production__benefit h4 {
	margin: 0;
	font-size: 18px;
	line-height: 1.25;
	color: var(--primary-color);
}

.gl-production__benefit p {
	margin: 0;
	font-size: 15px;
	line-height: 1.55;
	color: var(--text-color);
}

.gl-production__cta {
	margin-top: 32px;
}

.gl-production__accent {
	margin-top: 28px;
	padding: 18px 22px;
	border-radius: 16px;
	font-size: 15px;
	line-height: 1.55;
	font-weight: 600;
	color: var(--accent-color);
	background: rgba(189, 173, 123, 0.14);
	border-left: 3px solid var(--accent-secondary-color);
}

/* Gallery */
.gl-production-gallery a {
	display: block;
	position: relative;
	overflow: hidden;
	border-radius: 20px;
	text-decoration: none;
	color: inherit;
}

.gl-production-gallery a::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.55) 100%);
	opacity: 0.85;
	transition: opacity 0.25s ease;
	pointer-events: none;
}

.gl-production-gallery a:hover::after {
	opacity: 1;
}

.gl-production-gallery img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: transform 0.45s ease;
}

.gl-production-v1__mosaic a img {
	position: absolute;
	inset: 0;
}

.gl-production-gallery a:hover img {
	transform: scale(1.04);
}

.gl-production-gallery__caption {
	position: absolute;
	left: 16px;
	right: 16px;
	bottom: 14px;
	z-index: 1;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.35;
	color: #fff;
	pointer-events: none;
}

.gl-production-gallery__zoom {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 1;
	width: 36px;
	height: 36px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	color: var(--accent-color);
	font-size: 14px;
	opacity: 0;
	transform: translateY(-4px);
	transition: opacity 0.25s ease, transform 0.25s ease;
	pointer-events: none;
}

.gl-production-gallery a:hover .gl-production-gallery__zoom {
	opacity: 1;
	transform: translateY(0);
}

/* Mosaic + content layout */
.gl-production-v1__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: 48px;
	align-items: stretch;
}

.gl-production-v1__media {
	display: flex;
	flex-direction: column;
	min-height: 100%;
}

.gl-production-v1__mosaic {
	display: grid;
	grid-template-columns: 1.2fr 0.9fr 0.9fr;
	grid-template-rows: 1fr 1fr;
	gap: 14px;
	flex: 1 1 auto;
	min-height: 480px;
	height: 100%;
}

.gl-production-v1__mosaic a {
	height: 100%;
	min-height: 120px;
}

.gl-production-v1__mosaic-main {
	grid-column: 1;
	grid-row: 1 / span 2;
	min-height: 100%;
}

.gl-production-v1__mosaic a:nth-child(4) {
	grid-column: 2 / span 2;
}

.gl-production-v1__benefits {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

/* Плашка на всю ширину блоку (desktop) */
.gl-production-v1__accent {
	margin-top: 36px;
}

/* Mobile gallery strip */
.gl-production__mobile-gallery {
	display: none;
}

.gl-production__mobile-main {
	margin-bottom: 12px;
	border-radius: 20px;
	overflow: hidden;
}

.gl-production__mobile-main a,
.gl-production__mobile-main img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.gl-production__mobile-strip {
	display: flex;
	gap: 10px;
	overflow-x: auto;
	padding-bottom: 6px;
	-webkit-overflow-scrolling: touch;
	scroll-snap-type: x mandatory;
}

.gl-production__mobile-strip::-webkit-scrollbar {
	height: 4px;
}

.gl-production__mobile-strip::-webkit-scrollbar-thumb {
	background: rgba(97, 83, 40, 0.25);
	border-radius: 4px;
}

.gl-production__mobile-strip a {
	flex: 0 0 42%;
	max-width: 180px;
	scroll-snap-align: start;
	border-radius: 16px;
	overflow: hidden;
}

.gl-production__mobile-strip img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

@media only screen and (min-width: 992px) {
	/* Вирівнювання мозаїки по рівню заголовка h2 */
	.gl-production-v1__media {
		padding-top: 46px;
	}

	.gl-production-v1__mosaic {
		min-height: 560px;
	}

	.gl-production-v1__accent {
		width: 100%;
		margin-top: 28px;
	}
}

@media only screen and (min-width: 992px) {
	.gl-production {
		padding-bottom: 24px;
	}
}

@media only screen and (max-width: 1199px) {
	.gl-production-v1__benefits {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media only screen and (max-width: 991px) {
	.gl-production {
		padding: 72px 0 80px;
	}

	.gl-production-v1__grid {
		grid-template-columns: 1fr;
		gap: 36px;
	}

	.gl-production-v1__content {
		order: 1;
	}

	.gl-production-v1__media {
		order: 2;
	}

	.gl-production-v1__mosaic {
		display: none;
	}

	.gl-production__mobile-gallery {
		display: block;
	}

	.gl-production__cta .btn-default {
		display: block;
		width: 100%;
		text-align: center;
	}

	.gl-production-v1__media {
		padding-top: 0;
	}

	.gl-production-v1__accent {
		margin-top: 28px;
	}
}

@media only screen and (max-width: 767px) {
	.gl-production {
		padding: 60px 0 68px;
	}

	.gl-production__title {
		font-size: clamp(26px, 7vw, 36px);
	}

	.gl-production-v1__benefits {
		grid-template-columns: 1fr;
	}
}
