/**
 * Homepage middle modules — factory, showroom, FAQ, news, CTA (ya index parity).
 */

.ybh-home-section {
	position: relative;
	z-index: 2;
	padding: 2rem 0;
	background: #fff;
	scroll-margin-top: 4.5rem;
}

@media (min-width: 768px) {
	.ybh-home-section {
		padding: 2.75rem 0;
	}
}

@media (min-width: 1024px) {
	.ybh-home-section {
		padding: 3.25rem 0;
	}
}

.ybh-home-section--muted {
	background: #f8f8f8;
}

.ybh-home-section--gradient {
	background: linear-gradient(to bottom, #fff 0%, #f8f8f8 100%);
}

.ybh-home-section--cta {
	border-block: 1px solid rgba(201, 168, 104, 0.25);
	text-align: center;
}

.ybh-home-section-cta {
	margin: 2rem 0 0;
	text-align: center;
}

.ybh-home-split {
	display: grid;
	gap: 1.75rem;
	align-items: start;
}

@media (min-width: 768px) {
	.ybh-home-split {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: 2.5rem;
		align-items: center;
	}
}

.ybh-home-split__media {
	border-radius: 1rem;
	overflow: hidden;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.ybh-home-split__media .ybh-video-wrap {
	margin-bottom: 0;
	border-radius: 0;
	box-shadow: none;
}

.ybh-home-split__media .ybh-video {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	background: #111;
}

@media (min-width: 640px) {
	.ybh-home-split__media .ybh-video {
		aspect-ratio: 16 / 9;
	}
}

.ybh-home-split__title {
	margin: 0 0 1.25rem;
	font-size: 1.35rem;
	font-weight: 700;
	color: #111827;
}

.ybh-home-icon-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 1rem;
}

.ybh-home-icon-list__item {
	display: flex;
	gap: 0.75rem;
	align-items: flex-start;
}

.ybh-home-icon-list__icon {
	margin-top: 0.2rem;
	color: #c9a868;
	flex-shrink: 0;
}

.ybh-home-icon-list__title {
	margin: 0 0 0.25rem;
	font-weight: 700;
	color: #111827;
}

.ybh-home-icon-list__body {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.6;
	color: #4b5563;
}

.ybh-btn--pill {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.65rem 1.25rem;
	border-radius: 9999px;
	border: 1px solid rgba(201, 168, 104, 0.4);
	background: rgba(201, 168, 104, 0.12);
	color: #9a7432;
	font-weight: 600;
	text-decoration: none;
}

.ybh-btn--pill:hover {
	background: rgba(201, 168, 104, 0.22);
}

.ybh-home-steps {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem;
	margin: 0 0 2rem;
	padding: 0;
	list-style: none;
}

.ybh-home-steps__item {
	padding: 0.45rem 0.85rem;
	border-radius: 9999px;
	background: rgba(201, 168, 104, 0.12);
	border: 1px solid rgba(201, 168, 104, 0.28);
	font-size: 0.8125rem;
	font-weight: 600;
	color: #9a7432;
}

.ybh-home-card-grid {
	margin-top: 0.5rem;
}

.ybh-home-card {
	height: 100%;
	padding: 1.5rem;
	border-radius: 1rem;
	background: #fff;
	border: 1px solid #f3f4f6;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.ybh-home-card--lift {
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ybh-home-card--lift:hover {
	transform: translateY(-2px);
	box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
}

.ybh-home-card__title {
	margin: 0 0 0.5rem;
	font-size: 1.125rem;
	font-weight: 700;
	color: #111827;
}

.ybh-home-card__body {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.65;
	color: #4b5563;
}

.ybh-home-equip-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	border-radius: 0.75rem;
	overflow: hidden;
	border: 1px solid #f3f4f6;
	background: #f8f8f8;
	text-decoration: none;
	color: inherit;
	transition: box-shadow 0.2s ease;
}

.ybh-home-equip-card:hover {
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.ybh-home-equip-card__media img {
	display: block;
	width: 100%;
	height: 12rem;
	object-fit: cover;
}

.ybh-home-equip-card__body {
	padding: 1.25rem;
	flex: 1;
}

.ybh-home-showcase-track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: min(85vw, 320px);
	gap: 1rem;
	overflow-x: auto;
	padding-bottom: 0.5rem;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
}

@media (min-width: 1024px) {
	.ybh-home-showcase-track {
		grid-auto-columns: minmax(0, 1fr);
		grid-auto-flow: unset;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		overflow: visible;
	}
}

.ybh-home-showcase-card {
	scroll-snap-align: start;
	border-radius: 1rem;
	overflow: hidden;
	background: #fff;
	border: 1px solid #eee;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.ybh-home-showcase-card__media img {
	display: block;
	width: 100%;
	height: 10rem;
	object-fit: cover;
}

.ybh-home-showcase-card__body {
	padding: 1rem 1.15rem 1.25rem;
}

.ybh-home-team {
	display: grid;
	gap: 1.75rem;
	align-items: center;
}

@media (min-width: 768px) {
	.ybh-home-team {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}
}

.ybh-home-team__media img {
	width: 100%;
	height: auto;
	border-radius: 1rem;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

.ybh-home-team__stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.75rem;
	margin-top: 1.25rem;
}

.ybh-home-team__stats strong {
	display: block;
	font-size: 1.25rem;
	color: #c9a868;
}

.ybh-home-team__stats span {
	font-size: 0.75rem;
	color: #6b7280;
}

.ybh-home-process-card__media {
	margin-bottom: 1rem;
	border-radius: 0.75rem;
	overflow: hidden;
}

.ybh-home-process-card__media img {
	display: block;
	width: 100%;
	height: 10rem;
	object-fit: cover;
}

.ybh-home-quote {
	margin: 0;
	padding: 1.5rem;
	border-radius: 1rem;
	background: #f8f8f8;
	border: 1px solid #eee;
	height: 100%;
}

.ybh-home-quote__text {
	margin: 0 0 1rem;
	font-size: 0.98rem;
	line-height: 1.65;
	color: #374151;
	font-style: italic;
}

.ybh-home-quote__cite {
	font-size: 0.8125rem;
	font-style: normal;
	color: #6b7280;
}

.ybh-home-cert-strip {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 1rem;
}

@media (min-width: 768px) {
	.ybh-home-cert-strip {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.ybh-home-cert-strip__item {
	display: flex;
	gap: 0.75rem;
	align-items: flex-start;
	padding: 1rem 1.15rem;
	border-radius: 0.75rem;
	background: #fff;
	border: 1px solid #eee;
}

.ybh-home-cert-strip__item i {
	margin-top: 0.15rem;
	color: #c9a868;
	font-size: 1.25rem;
}

.ybh-home-cert-strip__name {
	margin: 0 0 0.25rem;
	font-weight: 700;
	font-size: 0.9375rem;
	color: #111827;
}

.ybh-home-cert-strip__note {
	margin: 0;
	font-size: 0.8125rem;
	color: #6b7280;
}

.ybh-home-faq-wrap {
	max-width: 48rem;
	margin-inline: auto;
}

.ybh-home-cta__title {
	margin: 0 0 0.75rem;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	font-weight: 700;
	color: #111827;
}

.ybh-home-cta__sub {
	margin: 0 auto 1.5rem;
	max-width: 42rem;
	font-size: 1.05rem;
	line-height: 1.65;
	color: #4b5563;
}

.ybh-home-glance-embed {
	margin-top: 2.5rem;
}

.ybh-prototype-page--home .home-advantages {
	z-index: 2;
}

.ybh-prototype-page--home .home-hero {
	z-index: 1;
}

/* ── Homepage news / Articles (ya HomePage news module) ─────────────── */

.ybh-home-news__intro {
	margin-bottom: 2rem;
}

.ybh-home-news__title {
	margin: 0 0 0.75rem;
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 700;
	color: #111827;
}

.ybh-home-news__sub {
	margin: 0;
	max-width: 42rem;
	line-height: 1.65;
	color: #4b5563;
}

.ybh-home-news__grid {
	display: grid;
	gap: 1.5rem;
	grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 640px) {
	.ybh-home-news__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1.75rem;
	}
}

@media (min-width: 1024px) {
	.ybh-home-news__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 2rem;
	}
}

.ybh-home-news-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 1.5rem;
	border-radius: 0.75rem;
	background: #fff;
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.08);
	transition: box-shadow 0.2s ease;
}

.ybh-home-news-card:hover {
	box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.08);
}

.ybh-home-news-card__date {
	display: block;
	margin: 0 0 0.5rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: #c9a868;
}

.ybh-home-news-card__title {
	margin: 0 0 0.75rem;
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.35;
}

.ybh-home-news-card__title a {
	color: #111827;
	text-decoration: none;
	transition: color 0.2s ease;
}

.ybh-home-news-card__title a:hover {
	color: #c9a868;
}

.ybh-home-news-card__excerpt {
	margin: 0 0 1rem;
	flex: 1;
	font-size: 0.9375rem;
	line-height: 1.65;
	color: #4b5563;
}

.ybh-home-news-card__more {
	display: inline-flex;
	align-items: center;
	font-size: 0.875rem;
	font-weight: 600;
	color: #c9a868;
	text-decoration: none;
}

.ybh-home-news-card__more:hover {
	text-decoration: underline;
}

.ybh-home-news__cta {
	margin: 2.5rem 0 0;
	text-align: center;
}

.ybh-home-news__cta-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.75rem 1.5rem;
	border: 1px solid #c9a868;
	border-radius: 2px;
	font-weight: 600;
	color: #c9a868;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease;
}

.ybh-home-news__cta-btn:hover {
	background: #c9a868;
	color: #fff;
}
