﻿/* ===== Коробочные решения практики (демо) ===== */

.gen-products {
	padding: 80px 0;
	background: #f7f5f0;
}

.gen-products--alt {
	background: #f7f5f0;
}

.gen-products__head {
	max-width: 780px;
	margin: 0 0 40px;
}

.gen-products__title {
	font-size: 38px;
	line-height: 1.15;
	margin: 0 0 14px;
	color: #293740;
	font-weight: 600;
}

.gen-products__sub {
	font-size: 17px;
	line-height: 1.65;
	color: #5c6f87;
	margin: 0;
}

.gen-products__note {
	margin: 32px 0 0;
	font-size: 15px;
	color: #5c6f87;
}

.gen-products__note a {
	color: #293740;
	text-decoration: underline;
}

/* карточки */
.gen-cards {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 28px;
}

.gen-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #e6e2d8;
	padding: 34px 30px 28px;
	transition: transform .2s ease, box-shadow .2s ease;
}

.gen-card::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 4px;
	background: #cdba6d;
}

.gen-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 40px rgba(41, 55, 64, .12);
}

.gen-card__tag {
	font-size: 12px;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #8a7a45;
	margin: 0 0 14px;
}

.gen-card__title {
	font-size: 24px;
	line-height: 1.25;
	margin: 0 0 12px;
	color: #293740;
}

.gen-card__text {
	font-size: 15px;
	line-height: 1.65;
	color: #5c6f87;
	margin: 0 0 18px;
}

.gen-card__list {
	list-style: none;
	margin: 0 0 22px;
	padding: 0;
}

.gen-card__list li {
	position: relative;
	padding-left: 22px;
	font-size: 14px;
	line-height: 1.55;
	color: #323a43;
	margin-bottom: 8px;
}

.gen-card__list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .55em;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #cdba6d;
}

.gen-card__link {
	margin-top: auto;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 15px;
	color: #293740;
	text-decoration: none;
	border-bottom: 1px solid #cdba6d;
	padding-bottom: 3px;
	align-self: flex-start;
}

.gen-card__link span {
	transition: transform .2s ease;
}

.gen-card__link:hover span {
	transform: translateX(4px);
}

/* вкладки */
.gen-tabs {
	margin-top: 4px;
}

.gen-tabs__nav {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	border-bottom: 1px solid #e2ded4;
}

.gen-tabs__btn {
	appearance: none;
	background: none;
	border: 0;
	border-bottom: 3px solid transparent;
	padding: 16px 24px;
	font-size: 16px;
	color: #5c6f87;
	cursor: pointer;
	transition: color .2s ease, border-color .2s ease;
}

.gen-tabs__btn:hover {
	color: #293740;
}

.gen-tabs__btn.is-active {
	color: #293740;
	border-bottom-color: #cdba6d;
	font-weight: 600;
}

.gen-tabs__panel {
	display: none;
	padding: 36px 0 0;
}

.gen-tabs__panel.is-active {
	display: block;
}

.gen-tabs__lead {
	font-size: 17px;
	line-height: 1.7;
	color: #323a43;
	max-width: 860px;
	margin: 0 0 30px;
}

.gen-tabs__grid {
	display: grid;
	grid-template-columns: 1.15fr .85fr;
	gap: 44px;
}

.gen-tabs__col h4 {
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: #8a7a45;
	margin: 0 0 14px;
}

.gen-check {
	list-style: none;
	margin: 0;
	padding: 0;
}

.gen-check li {
	position: relative;
	padding-left: 28px;
	margin-bottom: 10px;
	font-size: 15px;
	line-height: 1.55;
	color: #323a43;
}

.gen-check li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: 0;
	color: #cdba6d;
	font-weight: 700;
}

.gen-facts {
	display: grid;
	gap: 14px;
}

.gen-fact {
	background: #fff;
	padding: 16px 18px;
	border-left: 3px solid #cdba6d;
}

.gen-fact span {
	display: block;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: #8a7a45;
	margin-bottom: 5px;
}

.gen-fact b {
	font-weight: 600;
	color: #293740;
	font-size: 15px;
	line-height: 1.5;
}

.gen-cta {
	margin-top: 34px;
}

/* ===== страница продукта ===== */
.gen-product__hero {
	background: #293740;
	color: #fff;
	padding: 150px 0 80px;
}

.gen-breadcrumbs {
	font-size: 13px;
	color: rgba(255, 255, 255, .65);
	margin-bottom: 22px;
}

.gen-breadcrumbs a {
	color: rgba(255, 255, 255, .8);
	text-decoration: none;
}

.gen-breadcrumbs a:hover {
	color: #cdba6d;
}

.gen-breadcrumbs span {
	margin: 0 8px;
	opacity: .6;
}

.gen-product__title {
	font-size: 46px;
	line-height: 1.1;
	margin: 0 0 20px;
	color: #fff;
	max-width: 900px;
}

.gen-product__lead {
	font-size: 18px;
	line-height: 1.7;
	color: rgba(255, 255, 255, .85);
	max-width: 820px;
	margin: 0 0 28px;
}

.gen-product__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 32px;
}

.gen-chip {
	display: inline-block;
	padding: 8px 16px;
	border: 1px solid rgba(205, 186, 109, .55);
	color: #e8dfc2;
	font-size: 13px;
}

.gen-product {
	background: #293740;
}

.gen-product__body {
	background: #fff;
	padding: 70px 0 40px;
}

.gen-product__body h2 {
	font-size: 28px;
	line-height: 1.25;
	color: #293740;
	margin: 44px 0 16px;
}

.gen-product__body h2:first-child {
	margin-top: 0;
}

.gen-product__body p {
	font-size: 16px;
	line-height: 1.75;
	color: #323a43;
	margin: 0 0 14px;
}

.gen-product__body ul {
	list-style: none;
	margin: 0 0 24px;
	padding: 0;
}

.gen-product__body ul li {
	position: relative;
	padding-left: 28px;
	margin-bottom: 10px;
	font-size: 16px;
	line-height: 1.6;
	color: #323a43;
}

.gen-product__body ul li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: #cdba6d;
	font-weight: 700;
}

.gen-product__more {
	background: #f7f5f0;
	padding: 20px 0 90px;
}

.gen-product__more-title {
	font-size: 24px;
	color: #293740;
	margin: 0 0 24px;
}

@media (max-width: 900px) {
	.gen-cards,
	.gen-tabs__grid {
		grid-template-columns: 1fr;
	}

	.gen-products {
		padding: 56px 0;
	}

	.gen-products__title {
		font-size: 30px;
	}

	.gen-product__hero {
		padding: 120px 0 60px;
	}

	.gen-product__title {
		font-size: 34px;
	}

	.gen-tabs__btn {
		padding: 14px 16px;
		font-size: 15px;
	}
}

@media (max-width: 600px) {
	.gen-card {
		padding: 26px 22px 24px;
	}

	.gen-product__title {
		font-size: 28px;
	}
}

.gen-product__actions .button {
	display: inline-block;
	width: auto;
	padding: 16px 44px;
}

.gen-product__hero {
	margin-bottom: 0;
}
/* ===== слайдер карточек ===== */
.gen-slider {
	position: relative;
}

.gen-slider__btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 56px;
	height: 56px;
	border-radius: 50%;
	border: 1px solid #cdba6d;
	background: #fff;
	color: #293740;
	font-size: 32px;
	line-height: 1;
	padding: 0 0 4px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 3;
	transition: background .2s ease, color .2s ease, opacity .2s ease;
}

.gen-slider__btn:hover {
	background: #cdba6d;
	color: #fff;
}

.gen-slider__btn:disabled {
	opacity: .35;
	cursor: default;
}

.gen-slider__btn--prev { left: -28px; }
.gen-slider__btn--next { right: -28px; }

.gen-cards--slider {
	display: flex;
	gap: 28px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	padding-bottom: 4px;
}

.gen-cards--slider::-webkit-scrollbar { display: none; }

.gen-cards--slider .gen-card {
	flex: 0 0 calc((100% - 28px) / 2);
	scroll-snap-align: start;
}

.gen-slider.is-static .gen-slider__btn { display: none; }

@media (max-width: 900px) {
	.gen-slider__btn { width: 44px; height: 44px; font-size: 26px; }
	.gen-slider__btn--prev { left: -6px; }
	.gen-slider__btn--next { right: -6px; }
	.gen-cards--slider .gen-card { flex: 0 0 86%; }
}

.gen-product__title { color: #cdba6d; }


.gen-product__lead {
	margin-bottom: 32px;
}

.gen-product__actions {
	margin-top: 24px;
}