.fanshild-home {
	color: var(--fanshild-ink);
	background: var(--fanshild-surface);
	font-family: var(--fanshild-font-body);
}

.fanshild-home h1,
.fanshild-home h2,
.fanshild-home h3,
.fanshild-home p {
	margin-top: 0;
}

.home-hero {
	position: relative;
	color: var(--fanshild-ink);
	background: linear-gradient(135deg, rgba(0, 166, 200, 0.1), var(--fanshild-white) 62%);
}

.home-hero__track {
	display: flex;
	overflow-x: auto;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.home-hero__track::-webkit-scrollbar {
	display: none;
}

.home-hero__slide {
	min-width: 100%;
	padding: clamp(68px, 8vw, 112px) 0;
	scroll-margin-top: 90px;
	scroll-snap-align: start;
}

.home-hero__grid,
.home-contact-cta__layout,
.home-faq__layout {
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
	gap: clamp(36px, 6vw, 84px);
	align-items: center;
}

.home-hero__content {
	position: relative;
	z-index: 1;
	padding-block: 36px;
}

.home-hero__content::before {
	position: absolute;
	z-index: -1;
	inset: -24px -30px;
	content: "";
	pointer-events: none;
	background-image: var(--home-hero-accent);
	background-repeat: no-repeat;
	background-position: left center;
	background-size: contain;
	opacity: 0.1;
}

.home-hero h1,
.home-hero h2 {
	max-width: 820px;
	margin-bottom: 24px;
	font-size: clamp(42px, 5.6vw, 76px);
	line-height: 1.04;
	letter-spacing: -0.035em;
}

.home-hero__description {
	max-width: 680px;
	margin-bottom: 32px;
	font-size: clamp(18px, 2vw, 22px);
	line-height: 1.65;
	color: var(--fanshild-muted);
}

.home-hero__media {
	min-height: 410px;
	overflow: hidden;
	border: 1px solid var(--fanshild-border);
	border-radius: 18px;
	background: var(--fanshild-white);
	box-shadow: 0 24px 64px rgba(8, 38, 63, 0.14);
}

.home-hero__image {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 410px;
	object-fit: cover;
}

.home-eyebrow {
	margin-bottom: 14px;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--fanshild-blue);
}

.home-hero__pagination {
	position: absolute;
	z-index: 3;
	bottom: 24px;
	left: 50%;
	display: flex;
	gap: 10px;
	transform: translateX(-50%);
}

.home-hero__pagination a {
	display: block;
	width: 34px;
	height: 8px;
	border-radius: 999px;
	background: rgba(7, 27, 45, 0.28);
}

.home-hero__pagination a:hover,
.home-hero__pagination a:focus-visible {
	background: var(--fanshild-blue);
}

.home-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.home-button {
	display: inline-flex;
	min-height: 52px;
	align-items: center;
	justify-content: center;
	padding: 13px 24px;
	border: 1px solid transparent;
	border-radius: 8px;
	font-weight: 700;
	text-decoration: none;
	transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.home-button:hover,
.home-button:focus-visible {
	transform: translateY(-2px);
}

.home-button--primary {
	color: var(--fanshild-white);
	background: var(--fanshild-blue);
	box-shadow: 0 12px 28px rgba(0, 166, 200, 0.24);
}

.home-button--secondary {
	color: var(--fanshild-white);
	border-color: rgba(255, 255, 255, 0.44);
	background: rgba(255, 255, 255, 0.07);
}

.home-section {
	padding: var(--fanshild-section-space) 0;
}

.home-products,
.home-faq {
	background: var(--fanshild-surface);
}

.home-products {
	background: #f1f2f3;
}

.home-products__header {
	max-width: 900px;
	margin-right: auto;
	margin-bottom: 64px;
	margin-left: auto;
	text-align: center;
}

.home-products__header h2 {
	margin-bottom: 12px;
	font-size: clamp(42px, 5vw, 62px);
	font-weight: 600;
	line-height: 1.05;
	letter-spacing: -0.035em;
}

.home-products__header p {
	margin-right: auto;
	margin-left: auto;
	font-size: clamp(17px, 1.7vw, 20px);
}

.home-products__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px 24px;
}

.home-product-package {
	display: flex;
	min-width: 0;
	overflow: hidden;
	flex-direction: column;
	border: 1px solid rgba(16, 42, 67, 0.07);
	border-radius: 14px;
	background: var(--fanshild-white);
	box-shadow: 0 14px 34px rgba(16, 42, 67, 0.06);
	transition: transform 180ms ease, box-shadow 180ms ease;
}

.home-product-package:hover {
	transform: translateY(-4px);
	box-shadow: 0 22px 48px rgba(16, 42, 67, 0.11);
}

.home-product-package__media {
	display: flex;
	height: 238px;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background: #f8fafb;
}

.home-product-package__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 260ms ease;
}

.home-product-package:hover .home-product-package__media img {
	transform: scale(1.025);
}

.home-product-package__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 28px 30px 30px;
}

.home-product-package h3 {
	margin: 0 0 12px;
	font-size: 25px;
	font-weight: 600;
	line-height: 1.2;
}

.home-product-package p {
	margin: 0 0 24px;
	color: var(--fanshild-muted);
	line-height: 1.6;
}

.home-product-package__footer {
	margin-top: auto;
	padding-top: 22px;
	border-top: 1px solid var(--fanshild-border);
}

.home-product-package__footer a {
	display: inline-flex;
	min-height: 46px;
	align-items: center;
	justify-content: center;
	gap: 16px;
	padding: 10px 22px;
	border-radius: 999px;
	color: var(--fanshild-white);
	background: #1268a8;
	font-family: var(--fanshild-font-heading);
	font-weight: 600;
	text-decoration: none;
}

.home-product-package__footer a:hover,
.home-product-package__footer a:focus-visible {
	color: var(--fanshild-white);
	background: var(--fanshild-navy);
}

.home-product-package__footer span {
	font-size: 21px;
	line-height: 1;
}

.home-solutions,
.home-contact-cta {
	background: var(--fanshild-white);
}

.home-section__header {
	max-width: 760px;
	margin-bottom: 44px;
}

.home-section__header h2,
.home-contact-cta h2 {
	margin-bottom: 16px;
	font-size: clamp(34px, 4vw, 52px);
	line-height: 1.12;
	letter-spacing: -0.025em;
}

.home-section__header > p:last-child,
.home-contact-cta p,
.home-card p {
	color: var(--fanshild-muted);
	line-height: 1.7;
}

.home-card-grid {
	display: grid;
	gap: 22px;
}

.home-card-grid--four {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-card-grid--three {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-card {
	padding: 30px 28px;
	border: 1px solid var(--fanshild-border);
	border-radius: var(--fanshild-radius);
	background: var(--fanshild-white);
	box-shadow: var(--fanshild-shadow);
}

.home-card h3 {
	margin-bottom: 18px;
	font-size: 22px;
}

.home-product-card ul {
	display: grid;
	gap: 10px;
	margin: 0;
	padding-left: 18px;
	color: var(--fanshild-muted);
}

.home-card__index {
	display: block;
	margin-bottom: 28px;
	font-size: 13px;
	font-weight: 800;
	color: var(--fanshild-blue);
}

.home-solution-card {
	overflow: hidden;
	padding: 0;
	transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.home-solution-card:hover {
	border-color: rgba(0, 166, 200, 0.45);
	box-shadow: 0 22px 52px rgba(8, 38, 63, 0.13);
	transform: translateY(-4px);
}

.home-solution-card__media {
	position: relative;
	height: 220px;
	margin: 0;
	overflow: hidden;
	background: linear-gradient(145deg, #dce7ed, #f4f8fa);
}

.home-solution-card__media::after {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 55%, rgba(8, 38, 63, 0.12));
	content: "";
	pointer-events: none;
}

.home-solution-card__media--missing::before {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(135deg, transparent 48%, rgba(0, 166, 200, 0.12) 49%, rgba(0, 166, 200, 0.12) 51%, transparent 52%),
		linear-gradient(45deg, transparent 48%, rgba(8, 38, 63, 0.08) 49%, rgba(8, 38, 63, 0.08) 51%, transparent 52%);
	content: "";
}

.home-solution-card__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 420ms ease;
}

.home-solution-card:hover .home-solution-card__image {
	transform: scale(1.035);
}

.home-solution-card__body {
	padding: 26px 28px 30px;
}

.home-solution-card .home-card__index {
	margin-bottom: 16px;
}

.home-solution-card h3 {
	margin-bottom: 14px;
}

.home-solution-card p {
	margin: 0;
}


.home-faq__items {
	display: grid;
	gap: 14px;
}

.home-faq__item {
	padding: 22px 24px;
	border: 1px solid var(--fanshild-border);
	border-radius: 10px;
	background: var(--fanshild-white);
}

.home-faq__item summary {
	cursor: pointer;
	font-weight: 800;
}

.home-faq__item p {
	margin: 16px 0 0;
	color: var(--fanshild-muted);
	line-height: 1.7;
}

.home-contact-cta {
	color: var(--fanshild-white);
	background: #eef2f4 !important;
}

.home-contact-cta__layout {
	position: relative;
	overflow: hidden;
	padding: clamp(48px, 6vw, 82px);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 24px;
	background-color: transparent;
	background-image: url("/wp-content/uploads/2026/08/background-3.png");
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	box-shadow: 0 28px 70px rgba(17, 29, 39, 0.18);
}

.home-contact-cta h2 {
	max-width: 620px;
	color: var(--fanshild-white);
	font-size: clamp(38px, 4.5vw, 60px);
	font-weight: 600;
	line-height: 1.06;
	letter-spacing: -0.03em;
}

.home-contact-cta .home-eyebrow {
	color: #72d9e8;
}

.home-contact-cta p {
	color: rgba(255, 255, 255, 0.72);
	font-size: 18px;
}

.home-contact-cta__form {
	padding: 30px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: var(--fanshild-radius);
	background: rgba(255, 255, 255, 0.08);
}

.home-contact-points {
	display: grid;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.home-contact-points li {
	position: relative;
	padding-left: 28px;
	font-size: 17px;
	font-weight: 500;
	line-height: 1.55;
}

.home-contact-points li::before {
	position: absolute;
	top: 0.45em;
	left: 0;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--fanshild-blue);
	content: "";
}

/* Existing Kadence Element contact block: visual override only. */
#bottomcontact {
	padding: clamp(72px, 8vw, 110px) 0;
	background: #f5f5f3 !important;
}

#bottomcontact > .kt-row-layout-overlay {
	background: transparent !important;
}

#bottomcontact > .kt-row-column-wrap {
	display: grid !important;
	grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr) !important;
	gap: clamp(28px, 3.5vw, 48px) !important;
	padding: clamp(34px, 4vw, 54px) !important;
	border: 1px solid #e4e9ed;
	border-radius: 16px;
	background: var(--fanshild-white) !important;
	box-shadow: 0 22px 55px rgba(16, 42, 67, 0.08);
}

#bottomcontact .wp-block-kadence-column:first-child > .kt-inside-inner-col {
	padding: 0 !important;
	background: transparent !important;
}

#bottomcontact .wp-block-kadence-column:last-child > .kt-inside-inner-col {
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: var(--fanshild-white) !important;
}

#bottomcontact .wp-block-kadence-column:first-child h2,
#bottomcontact .wp-block-kadence-column:first-child > .kt-inside-inner-col > p {
	display: none !important;
}

#bottomcontact .kt-svg-icon-list-items,
#bottomcontact .kt-svg-icon-list {
	margin: 0 !important;
	padding: 0 !important;
}

#bottomcontact .kt-svg-icon-list {
	display: grid !important;
	gap: 18px !important;
}

#bottomcontact .kt-svg-icon-list-item-wrap {
	position: relative;
	display: flex !important;
	min-height: 128px;
	align-items: center;
	padding: 56px 24px 22px 98px !important;
	border: 1px solid #edf1f4;
	border-radius: 12px;
	color: var(--fanshild-ink) !important;
	background: var(--fanshild-white);
	box-shadow: 0 12px 30px rgba(16, 42, 67, 0.09);
}

#bottomcontact .kt-svg-icon-list-item-wrap:nth-child(2) {
	order: 1;
	padding-top: 72px !important;
}

#bottomcontact .kt-svg-icon-list-item-wrap:nth-child(1) {
	order: 2;
}

#bottomcontact .kt-svg-icon-list-item-wrap:nth-child(3) {
	display: none !important;
}

#bottomcontact .kt-svg-icon-list-item-wrap:nth-child(4) {
	order: 3;
}

#bottomcontact .kt-svg-icon-list-item-wrap::before {
	position: absolute;
	top: 24px;
	left: 98px;
	color: var(--fanshild-heading);
	font-family: var(--fanshild-font-heading);
	font-size: 19px;
	font-weight: 700;
	line-height: 1.2;
}

#bottomcontact .kt-svg-icon-list-item-wrap:nth-child(1)::before {
	content: "Email Us";
}

#bottomcontact .kt-svg-icon-list-item-wrap:nth-child(2)::before {
	content: "Call Us";
}

#bottomcontact .kt-svg-icon-list-item-wrap:nth-child(2)::after {
	position: absolute;
	top: 50px;
	left: 98px;
	color: var(--fanshild-muted);
	font-size: 14px;
	content: "Tel: +86 152 2326 5845";
}

#bottomcontact .kt-svg-icon-list-item-wrap:nth-child(4)::before {
	content: "Address";
}

#bottomcontact .kt-svg-icon-list-item-wrap .kb-svg-icon-wrap {
	position: absolute;
	top: 50%;
	left: 18px;
	display: grid;
	width: 56px;
	height: 56px;
	transform: translateY(-50%);
	place-items: center;
	border-radius: 10px;
	color: var(--fanshild-white) !important;
	background: #1768ae;
	box-shadow: 0 9px 20px rgba(23, 104, 174, 0.24);
}

#bottomcontact .kt-svg-icon-list-item-wrap .kb-svg-icon-wrap svg {
	width: 27px;
	height: 27px;
}

#bottomcontact .kt-svg-icon-list-item-wrap a,
#bottomcontact .kt-svg-icon-list-item-wrap .kt-svg-icon-list-text {
	color: var(--fanshild-muted) !important;
	font-size: 15px;
	line-height: 1.55;
}

#bottomcontact .wp-block-kadence-column:last-child > .kt-inside-inner-col::before {
	display: block;
	margin: 0 0 10px;
	color: var(--fanshild-heading);
	font-family: var(--fanshild-font-heading) !important;
	font-size: clamp(32px, 3.2vw, 46px);
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -0.03em !important;
	content: "Leave a Message";
}

#bottomcontact #wpforms-107 {
	margin: 0 !important;
}

#bottomcontact #wpforms-107::before {
	display: block;
	margin: 0 0 20px;
	color: var(--fanshild-muted);
	font-family: var(--fanshild-font-body);
	font-size: 16px;
	line-height: 1.65;
	content: "Tell us about your upcoming water or wastewater project. Our engineering team will review your requirements and respond promptly.";
}

#bottomcontact p,
#bottomcontact a,
#bottomcontact input,
#bottomcontact textarea,
#bottomcontact button {
	font-family: var(--fanshild-font-body) !important;
}

#bottomcontact input,
#bottomcontact textarea {
	min-height: 50px;
	border: 1px solid #ccd6dd !important;
	border-radius: 6px !important;
	background: var(--fanshild-white) !important;
	box-shadow: none !important;
}

#bottomcontact .wpforms-field {
	padding: 0 0 14px !important;
}

#bottomcontact input:focus,
#bottomcontact textarea:focus {
	border-color: var(--fanshild-blue) !important;
	box-shadow: 0 0 0 3px rgba(0, 166, 200, 0.12) !important;
}

#bottomcontact .wpforms-submit {
	min-height: 50px;
	min-width: 122px;
	padding: 12px 28px !important;
	border: 0 !important;
	border-radius: 999px !important;
	color: var(--fanshild-white) !important;
	background: #1768ae !important;
	font-family: var(--fanshild-font-heading) !important;
	font-size: 16px !important;
	font-weight: 600 !important;
}

#bottomcontact .wpa-test-msg {
	display: none !important;
}


.fanshild-home h1,
.fanshild-home h2,
.fanshild-home h3,
.fanshild-home .home-button {
	font-family: var(--fanshild-font-heading);
}

@media (max-width: 1024px) {
	.home-products__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.home-card-grid--four {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.home-card-grid--three {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.fanshild-container {
		width: min(100% - 28px, 1180px);
	}

	.home-hero__grid,
	.home-contact-cta__layout,
	.home-faq__layout {
		grid-template-columns: 1fr;
		gap: 34px;
	}

	.home-hero {
		padding: 0;
	}

	.home-hero__slide {
		padding: 52px 0 68px;
	}

	.home-hero__content {
		padding-block: 8px;
	}

	.home-contact-cta__layout {
		padding: 38px 24px;
		border-radius: 18px;
	}

	#bottomcontact {
		padding: 56px 14px;
	}

	#bottomcontact > .kt-row-column-wrap {
		grid-template-columns: 1fr !important;
		gap: 30px !important;
		padding: 20px !important;
		border-radius: 18px;
	}

	#bottomcontact .kt-svg-icon-list-item-wrap {
		min-height: 116px;
		padding-right: 18px !important;
		padding-left: 86px !important;
	}

	#bottomcontact .kt-svg-icon-list-item-wrap::before,
	#bottomcontact .kt-svg-icon-list-item-wrap:nth-child(2)::after {
		left: 86px;
	}

	#bottomcontact .kt-svg-icon-list-item-wrap .kb-svg-icon-wrap {
		left: 16px;
		width: 52px;
		height: 52px;
	}

	#bottomcontact .wp-block-kadence-column:last-child > .kt-inside-inner-col::before {
		font-size: 32px;
	}

	.home-hero h1,
	.home-hero h2 {
		font-size: clamp(36px, 11vw, 50px);
	}

	.home-hero__media,
	.home-hero__image {
		min-height: 240px;
	}

	.home-card-grid--four,
	.home-card-grid--three {
		grid-template-columns: 1fr;
	}

	.home-products__header {
		margin-bottom: 40px;
		text-align: left;
	}

	.home-products__header h2 {
		font-size: clamp(38px, 12vw, 50px);
	}

	.home-products__grid {
		grid-template-columns: 1fr;
		gap: 22px;
	}

	.home-product-package__media {
		height: 220px;
	}

	.home-product-package__body {
		padding: 24px;
	}

	.home-solution-card__media {
		height: 230px;
	}

	.home-solution-card__body {
		padding: 24px;
	}

	.home-actions,
	.home-button {
		width: 100%;
	}

	.home-card {
		padding: 24px;
	}

	.home-card.home-solution-card {
		padding: 0;
	}
}
