/* =====================================================
   Chinyoo Red — Homepage（EXTECH 风格）
   1 Split Hero → 2 Tough Tools band → 3 Industry grid
   4 Featured → 5 Tech Tips → 6 Testimonials → 7 FAQ → Inquiry
   ===================================================== */

/* ===== 1. Split Hero：左白底文案 + 右全幅图 ===== */
.home .hero {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	background: #fff;
	border-bottom: 1px solid var(--c-line);
}

.home .hero-copy {
	padding: 52px 24px 52px max(20px, calc((100vw - var(--container-w)) / 2 + 20px));
}

.home .hero-overline {
	margin: 0 0 14px;
	color: var(--c-brand-ink);
	font-size: var(--fs-xs);
	font-weight: 700;
	letter-spacing: .16em;
	line-height: 1.4;
	text-transform: uppercase;
}

.home .hero-overline span {
	padding: 0 6px;
	color: var(--c-n-400);
}

.home .hero h1 {
	max-width: 560px;
	margin: 0 0 16px;
	color: #0f172a;
	font-size: clamp(2.2rem, 3.4vw, 3.3rem);
	font-weight: 750;
	letter-spacing: -.03em;
	line-height: 1.15;
}

.home .hero-lede {
	max-width: 480px;
	margin: 0 0 10px;
	color: #334155;
	font-size: clamp(1.05rem, 1.4vw, 1.25rem);
	font-weight: 600;
	line-height: 1.55;
}

.home .hero-note {
	max-width: 460px;
	margin: 0 0 22px;
	color: var(--c-text-soft);
	font-size: var(--fs-base);
	font-weight: 500;
	line-height: 1.65;
}

.home .hero .btns {
	gap: 12px;
}

.home .hero-media {
	position: relative;
	min-height: 520px;
	background: #e2e8f0;
}

.home .hero-media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* ===== 2. Tough Tools 深色行业带 ===== */
.home .band {
	position: relative;
	overflow: hidden;
	background: #0f172a;
}

.home .band__bg {
	position: absolute;
	inset: 0;
}

.home .band__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: .5;
}

.home .band__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(10,15,28,.55) 0%, rgba(10,15,28,.35) 55%, rgba(10,15,28,.6) 100%);
}

.home .band > .container {
	position: relative;
	z-index: 1;
	padding-top: 64px;
	padding-bottom: 64px;
}

.home .band__card {
	max-width: 660px;
	padding: 30px 34px 32px;
	border: 1px solid rgba(255,255,255,.14);
	border-radius: 10px;
	background: rgba(10,15,28,.72);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	box-shadow: 0 24px 60px rgba(2,6,23,.4);
}

.home .band__card h2 {
	margin: 0 0 14px;
	color: #fff;
	font-size: clamp(1.5rem, 2.4vw, 2rem);
	font-weight: 750;
	letter-spacing: -.02em;
	line-height: 1.2;
	text-transform: uppercase;
}

.home .band__card > p {
	margin: 0 0 14px;
	color: rgba(255,255,255,.82);
	font-size: var(--fs-base);
	line-height: 1.7;
}

.home .band__card strong {
	color: #fff;
	font-weight: 700;
}

.home .band__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px 24px;
	margin: 0 0 22px;
	padding: 0;
	list-style: none;
}

.home .band__list li {
	position: relative;
	padding-left: 16px;
	color: rgba(255,255,255,.9);
	font-size: var(--fs-sm);
	font-weight: 600;
	line-height: 1.5;
}

.home .band__list li::before {
	content: "•";
	position: absolute;
	left: 2px;
	top: -2px;
	color: #ff8a92;
	font-size: 18px;
	line-height: 1;
}

/* ===== 3. Find Your Industry or Application ===== */
.home .ind-title {
	max-width: 720px;
	margin: 0 auto 30px;
	color: var(--c-text);
	font-size: clamp(1.6rem, 2.4vw, 2.1rem);
	font-weight: 700;
	letter-spacing: -.02em;
	line-height: 1.25;
	text-align: center;
}

.home .ind-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 26px 18px;
}

.home .ind-card__img {
	display: block;
	aspect-ratio: 1.45 / 1;
	overflow: hidden;
	border-radius: var(--r-md);
	background: linear-gradient(145deg, #f8fafc 0%, #eef2f6 100%);
}

.home .ind-card__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .4s ease;
}

.home .ind-card:hover .ind-card__img img {
	transform: scale(1.05);
}

.home .ind-card h3 {
	margin: 12px 0 6px;
	color: var(--c-text);
	font-size: var(--fs-base);
	font-weight: 700;
	line-height: 1.4;
}

.home .ind-card h3 a {
	color: inherit;
}

.home .ind-card h3 a:hover {
	color: var(--c-brand);
}

.home .ind-card__link {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	color: var(--c-text);
	font-size: var(--fs-xs);
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	text-decoration: none;
}

.home .ind-card__link span {
	color: var(--c-brand);
	font-size: 15px;
	line-height: 1;
	transition: transform .2s ease;
}

.home .ind-card__link:hover {
	color: var(--c-brand);
}

.home .ind-card__link:hover span {
	transform: translateX(3px);
}

/* ===== 5. Tech Tips ===== */
.home .tips-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}

.home .tip-card__img {
	display: block;
	aspect-ratio: 1.5 / 1;
	overflow: hidden;
	border-radius: var(--r-md);
	background: linear-gradient(145deg, #f8fafc 0%, #eef2f6 100%);
}

.home .tip-card__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .4s ease;
}

.home .tip-card:hover .tip-card__img img {
	transform: scale(1.05);
}

.home .tip-card__eyebrow {
	display: block;
	margin: 12px 0 5px;
	color: var(--c-brand);
	font-size: var(--fs-2xs);
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.home .tip-card h3 {
	margin: 0 0 8px;
	color: var(--c-text);
	font-size: var(--fs-base);
	font-weight: 700;
	line-height: 1.4;
}

.home .tip-card h3 a {
	color: inherit;
}

.home .tip-card h3 a:hover {
	color: var(--c-brand);
}

.home .tip-card__link {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	color: var(--c-text);
	font-size: var(--fs-xs);
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	text-decoration: none;
}

.home .tip-card__link span {
	color: var(--c-brand);
	font-size: 15px;
	line-height: 1;
	transition: transform .2s ease;
}

.home .tip-card__link:hover {
	color: var(--c-brand);
}

.home .tip-card__link:hover span {
	transform: translateX(3px);
}

/* ===== 6. Testimonials：三卡轮播，中间高亮 ===== */
.home .quotes-sec {
	background: var(--c-surface-alt);
}

.home .quotes {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	align-items: stretch;
}

.home .quote-card {
	display: flex;
	flex-direction: column;
	padding: 28px 26px 24px;
	border-radius: 10px;
	background: #d9e8e2;
	transition: background .3s ease, box-shadow .3s ease;
}

.home .quote-card__mark {
	margin: 0 0 10px;
	color: rgba(15,23,42,.55);
	font-size: 44px;
	font-weight: 800;
	line-height: .6;
}

.home .quote-card blockquote {
	flex: 1;
	margin: 0 0 18px;
	color: rgba(15,23,42,.62);
	font-size: var(--fs-base);
	font-weight: 500;
	line-height: 1.7;
}

.home .quote-card figcaption {
	color: rgba(15,23,42,.5);
	font-size: var(--fs-xs);
	font-weight: 700;
	letter-spacing: .02em;
}

.home .quote-card.is-active {
	background: var(--c-brand);
	box-shadow: 0 18px 44px rgba(218,39,53,.28);
}

.home .quote-card.is-active .quote-card__mark {
	color: rgba(255,255,255,.9);
}

.home .quote-card.is-active blockquote {
	color: #fff;
	font-size: var(--fs-lg);
	font-weight: 600;
}

.home .quote-card.is-active figcaption {
	color: rgba(255,255,255,.85);
}

.home .quotes-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	margin-top: 26px;
}

.home .quotes-btn {
	width: 38px;
	height: 38px;
	border: 1px solid var(--c-line-strong);
	border-radius: 50%;
	background: #fff;
	color: var(--c-text);
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	transition: border-color .2s ease, color .2s ease, transform .2s ease;
}

.home .quotes-btn:hover {
	border-color: var(--c-brand);
	color: var(--c-brand);
	transform: scale(1.06);
}

.home .quotes-dots {
	display: flex;
	gap: 8px;
}

.home .quotes-dots button {
	width: 9px;
	height: 9px;
	border: 0;
	border-radius: 50%;
	background: var(--c-line-strong);
	cursor: pointer;
	transition: background .2s ease, transform .2s ease;
}

.home .quotes-dots button.is-active {
	background: var(--c-brand);
	transform: scale(1.25);
}

/* ===== 7. FAQ ===== */
.home .home-faq {
	max-width: none;
	margin: 0;
}

.home .home-faq .product-faq__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px 14px;
	align-items: start;
	border: 0;
}

.home .home-faq .product-faq__item {
	border: 1px solid var(--c-line);
	border-left: 3px solid transparent;
	border-radius: var(--r-lg);
	background: #f9fafb;
	box-shadow: none;
	transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.home .home-faq .product-faq__item:hover,
.home .home-faq .product-faq__item[open] {
	border-left-color: var(--c-brand);
	background: #fff;
	box-shadow: var(--sh-md);
}

.home .home-faq .product-faq__item summary {
	padding: 13px 46px 13px 18px;
	font-size: var(--fs-base);
	line-height: 1.45;
}

.home .home-faq .product-faq__item summary::before {
	content: "";
	position: absolute;
	left: 2px;
	top: 50%;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--c-brand);
	opacity: 0;
	transform: translateY(-50%);
	transition: opacity .2s ease;
}

.home .home-faq .product-faq__item[open] summary::before {
	opacity: 1;
}

.home .home-faq .product-faq__answer {
	padding: 0 46px 15px 18px;
	color: var(--c-text-muted);
	font-size: var(--fs-base);
	line-height: 1.65;
}

/* ===== 8. Inquiry：深色技术面板 + 白色转化卡片 ===== */
.home .alt-accent {
	position: relative;
	overflow: hidden;
	background: #0f172a;
}

.home .alt-accent::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(148,163,184,.08) 1px, transparent 1px),
		linear-gradient(90deg, rgba(148,163,184,.08) 1px, transparent 1px);
	background-size: 44px 44px;
	opacity: .5;
	pointer-events: none;
}

.home .alt-accent > .container {
	position: relative;
	z-index: 1;
}

.home .alt-accent .sec-title {
	color: #fff;
}

.home .alt-accent .sec-title em {
	color: #ff8a92;
}

.home .alt-accent .sec-sub {
	color: rgba(255,255,255,.72);
}

.home .inquiry-grid {
	display: grid;
	grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
	gap: 32px;
	align-items: center;
}

.home .inquiry-proof {
	padding: 10px 0 10px 8px;
	color: #fff;
}

.home .inquiry-proof__eyebrow {
	display: inline-block;
	margin-bottom: 10px;
	color: #ff8a92;
	font-size: var(--fs-xs);
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.home .inquiry-proof h3 {
	margin: 0 0 12px;
	color: #fff;
	font-size: clamp(1.5rem, 2.2vw, 1.9rem);
	font-weight: 700;
	letter-spacing: -.02em;
	line-height: 1.25;
}

.home .inquiry-proof h3 em {
	display: block;
	margin-top: 4px;
	color: #cbd5e1;
	font-style: normal;
	font-weight: 500;
}

.home .inquiry-proof > p {
	max-width: 430px;
	margin: 0 0 18px;
	color: #cbd5e1;
	font-size: var(--fs-base);
	line-height: 1.7;
}

.home .inquiry-proof__list {
	display: grid;
	gap: 10px;
}

.home .inquiry-proof__list li {
	display: flex;
	align-items: center;
	gap: 12px;
	color: #f8fafc;
	font-size: var(--fs-base);
	font-weight: 600;
}

.home .inquiry-proof__list li span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border: 1px solid rgba(255,138,146,.5);
	border-radius: 50%;
	color: #ff8a92;
	font-size: 11px;
}

.home .inquiry-form-wrap .inquiry-form {
	max-width: none;
	margin: 0;
	border: 1px solid rgba(203,213,225,.65);
	box-shadow: 0 18px 48px rgba(2,6,23,.28);
}

/* ===== 通用：紧凑区块头（标题左 + View All 右） ===== */
.home section {
	padding: 46px 0;
}

.home .sec-title {
	font-size: var(--fs-3xl);
	margin-bottom: 22px;
	text-align: start;
}

.home .sec-sub {
	text-align: start;
}

.home .sec-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 18px;
}

.home .sec-head .sec-title {
	margin-bottom: 0;
}

.home .sec-head .sec-sub {
	margin: 6px 0 0;
}

/* 醒目的胶囊按钮：渐变红底 + 投影 + 悬停高光扫过 + 呼吸光晕 */
.home .sec-link {
	flex: 0 0 auto;
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 4px;
	padding: 10px 22px;
	color: #fff;
	font-size: var(--fs-base);
	font-weight: 700;
	white-space: nowrap;
	border-radius: var(--r-pill, 999px);
	background: linear-gradient(135deg, var(--c-brand) 0%, var(--c-brand-dark) 100%);
	box-shadow: 0 6px 18px rgba(218, 39, 53, .28);
	overflow: hidden;
	transition: transform .2s ease, box-shadow .2s ease;
}

/* 悬停时高光从左扫过 */
.home .sec-link::before {
	content: "";
	position: absolute;
	top: 0;
	left: -120%;
	width: 60%;
	height: 100%;
	background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .55), transparent);
	transform: skewX(-20deg);
	transition: left .55s ease;
}

/* 呼吸光晕，持续吸引注意 */
.home .sec-link::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	animation: ew-sec-pulse 2.6s ease-out infinite;
	pointer-events: none;
}

@keyframes ew-sec-pulse {
	0% { box-shadow: 0 0 0 0 rgba(218, 39, 53, .45); }
	70% { box-shadow: 0 0 0 10px rgba(218, 39, 53, 0); }
	100% { box-shadow: 0 0 0 0 rgba(218, 39, 53, 0); }
}

.home .sec-link:hover {
	text-decoration: none;
	transform: translateY(-2px);
	box-shadow: 0 12px 26px rgba(218, 39, 53, .4);
}

.home .sec-link:hover::before {
	left: 130%;
}

.home .sec-link .sec-link__arrow {
	transition: transform .2s ease;
}

.home .sec-link:hover .sec-link__arrow {
	transform: translateX(4px);
}

/* ===== Hero stats：紧凑数字信任条 ===== */
.home .hero-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 26px;
	margin: 26px 0 0;
	padding-top: 16px;
	border-top: 1px solid rgba(148,163,184,.35);
}

.home .hero-stats li {
	display: flex;
	align-items: baseline;
	gap: 7px;
}

.home .hero-stats b {
	color: #0f172a;
	font-size: 22px;
	font-weight: 800;
	letter-spacing: -.02em;
	line-height: 1;
}

.home .hero-stats span {
	color: #64748b;
	font-size: var(--fs-xs);
	font-weight: 600;
	letter-spacing: .02em;
}

/* ===== Featured：收紧网格与卡片 ===== */
.home .prod-grid {
	gap: 14px;
}

.home .product-card__image img {
	padding: 6px;
}

.home .product-card__content {
	gap: 4px;
	padding: 10px 12px 12px;
}

.home .product-card__title {
	font-size: var(--fs-base);
}

.home .product-card__actions {
	padding-top: 8px;
}

/* ===== Featured：PC 自动轮播（手机/平板仍是网格或原生滑动，箭头仅桌面出现） ===== */
.featured-carousel {
	position: relative;
}

.featured-carousel__nav {
	display: none;
}

@media (min-width: 993px) {
	.home .featured-carousel .prod-grid {
		display: flex;
		flex-wrap: nowrap;
		gap: 14px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scroll-behavior: smooth;
		scrollbar-width: none;
		-ms-overflow-style: none;
	}

	.home .featured-carousel .prod-grid::-webkit-scrollbar {
		display: none;
	}

	/* 一屏 4 张（3 个 14px 间距）。 */
	.home .featured-carousel .prod-grid > * {
		flex: 0 0 calc((100% - 42px) / 4);
		scroll-snap-align: start;
	}

	.home .featured-carousel__nav {
		display: block;
		position: absolute;
		inset: 0;
		z-index: 4;
		pointer-events: none;
	}

	.home .featured-carousel__btn {
		pointer-events: auto;
		position: absolute;
		top: 50%;
		margin-top: -21px;
		width: 42px;
		height: 42px;
		display: flex;
		align-items: center;
		justify-content: center;
		border: 1px solid var(--c-line);
		border-radius: 50%;
		background: rgba(255, 255, 255, .94);
		color: var(--c-text-strong);
		font-size: 24px;
		line-height: 1;
		cursor: pointer;
		box-shadow: 0 8px 22px rgba(15, 23, 42, .16);
		transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
	}

	.home .featured-carousel__btn:hover {
		background: var(--c-brand);
		border-color: var(--c-brand);
		color: #fff;
		transform: scale(1.08);
	}

	.home .featured-carousel__prev {
		left: -20px;
	}

	.home .featured-carousel__next {
		right: -20px;
	}
}

/* ===== 响应式 ===== */
@media(max-width: 1100px) {
	.home .ind-grid,
	.home .tips-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media(max-width: 992px) {
	.home .hero {
		grid-template-columns: 1fr;
	}

	.home .hero-copy {
		padding: 44px 24px 36px;
	}

	.home .hero-media {
		min-height: 300px;
		order: 2;
	}

	.home .band__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.home .inquiry-grid {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.home .inquiry-proof {
		padding-left: 0;
	}

	.home .quotes {
		grid-template-columns: 1fr;
		max-width: 640px;
		margin: 0 auto;
	}

	.home .quote-card:not(.is-active) {
		display: none;
	}
}

@media(max-width: 767px) {
	.home .hero-copy {
		padding: 36px 20px 30px;
	}

	.home .hero h1 {
		font-size: clamp(1.9rem, 7.5vw, 2.5rem);
	}

	.home .hero-note {
		font-size: 14px;
	}

	.home .hero-stats {
		gap: 18px;
	}

	.home .hero-stats b {
		font-size: 17px;
	}

	.home .hero-stats span {
		font-size: 10px;
	}

	.home .band > .container {
		padding-top: 44px;
		padding-bottom: 44px;
	}

	.home .band__card {
		padding: 22px 20px 24px;
	}

	.home .band__list {
		grid-template-columns: 1fr;
		gap: 7px;
	}

	/* 手机端使用原生滑动，不加载额外轮播依赖。 */
	.home .mobile-card-carousel {
		display: flex;
		gap: 14px;
		overflow-x: auto;
		overflow-y: hidden;
		padding: 2px 4px 12px;
		margin: 0 -4px -12px;
		scroll-snap-type: x mandatory;
		scroll-padding-inline: 4px;
		overscroll-behavior-x: contain;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}

	.home .mobile-card-carousel::-webkit-scrollbar { display: none; }

	.home .mobile-card-carousel > * {
		flex: 0 0 min(82vw, 330px);
		scroll-snap-align: start;
	}

	.home .home-faq .product-faq__list {
		grid-template-columns: 1fr;
	}

	.home .home-faq .product-faq__item summary {
		padding: 12px 38px 12px 14px;
	}

	.home .home-faq .product-faq__answer {
		padding: 0 38px 14px 14px;
	}

	.home .inquiry-form-wrap .inquiry-form {
		padding: 20px 16px;
	}
}

/* ===== 桌面宽屏：放宽内容轨道 ===== */
@media (min-width: 1280px) {
	.home .container {
		max-width: 1360px;
	}

	.home .hero-copy {
		padding-left: max(20px, calc((100vw - 1360px) / 2 + 20px));
	}
}

@media(max-width: 767px) {
	.home section {
		padding: 36px 0;
	}

	.home .sec-head {
		flex-direction: column;
		align-items: flex-start;
		gap: 6px;
		margin-bottom: 14px;
	}

	.home .sec-title {
		font-size: var(--fs-2xl);
		margin-bottom: 16px;
	}

	.home .hero-stats {
		gap: 20px;
		margin-top: 18px;
		padding-top: 14px;
	}
}

@media(prefers-reduced-motion: reduce) {
	.home .ind-card__img img,
	.home .tip-card__img img,
	.home .ind-card__link span,
	.home .tip-card__link span,
	.home .quote-card,
	.home .quotes-btn {
		transition: none;
	}

	.home .sec-link::after {
		animation: none;
	}

	.home .sec-link::before {
		transition: none;
	}
}
