/* Homepage H1 override — keep original size */
.page-template-template-home .hero h1 {
	font-size: 72px;
}

/* Home page Featured Projects: 16:9 aspect ratio */
.page-template-template-home .proj-cell {
	aspect-ratio: 16 / 9;
}

.btn-outline {
	box-shadow: inset 0 0 0 2px var(--magenta);
	background: transparent;
	color: var(--magenta);
	transition: background-color .25s ease, color .2s ease, transform .18s cubic-bezier(.2, .8, .3, 1);
}

.cico {
	width: 20px;
	height: 20px;
	flex: none;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round
}

.stat.dark .num {
	color: var(--ink)
}

.stat.dark .lbl {
	color: var(--ink)
}

.about-top {
	display: grid;
	grid-template-columns: 300px 1fr;
	gap: 40px;
	align-items: start
}

.about-copy {
	display: flex;
	flex-direction: column;
	gap: 24px;
	max-width: 860px
}

.about-copy p {
	margin: 0;
	font-size: 16px;
	line-height: 1.5;
	letter-spacing: -0.01em;
	color: var(--ink)
}

.about-copy p.b1 {
	font-weight: 400
}

.about-copy p.b2 {
	font-weight: 400
}

.about-imgs {
	display: grid;
	grid-template-columns: 1fr 365px;
	gap: 31px;
	margin: 48px 0
}

.about-imgs .img {
	height: 331px;
	border-radius: 12px;
	overflow: hidden;
	background: #eee;
	position: relative;
}

.about-imgs .img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1);
	transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-imgs .img:hover img {
	transform: scale(1.03);
}

.about-stats {
	display: flex;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap
}

.prod-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px
}

.pcard {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.pcard .imgbox {
	height: 252px;
	border-radius: 12px;
	box-shadow: inset 0 0 0 1px var(--pinkline);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	padding: 16px 30px;
	position: relative;
}

.pcard .imgbox img {
	max-height: 200px;
	width: auto;
	object-fit: contain;
	transition: transform 0.35s ease;
}

.pcard:hover .imgbox img {
	transform: scale(1.04);
}

.pcard .prow {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 12px
}

.pcard h3 {
	margin: 0 0 8px;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -.02em;
	color: var(--maroon);
	transition: color 0.18s ease;
}

.pcard p {
	margin: 0;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.45;
	color: var(--ink);
	max-width: 188px
}

.pcard-specs p {
	font-size: 13px;
}

.pcard .circ {
	transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.pcard:hover .circ {
	background: var(--magenta);
	color: #fff;
	box-shadow: inset 0 0 0 1px var(--magenta);
}

.pcard:hover h3 {
	color: var(--magenta);
}

.circ {
	width: 38px;
	height: 38px;
	flex: none;
	border-radius: 50%;
	box-shadow: inset 0 0 0 1px var(--pink);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--magenta);
	transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.circ .ar {
	width: 18px;
	height: 18px;
	stroke-width: 2.8;
	transition: transform 0.18s ease;
}

.dark1 {
	background: var(--kpg-hero-bg) center top/cover no-repeat;
	overflow: hidden;
	position: relative;
}

.quote-wrap {
	display: grid;
	grid-template-columns: 458px 1fr;
	gap: 48px;
	align-items: center
}

.quote-copy {
	display: flex;
	flex-direction: column;
	gap: 14px
}

.form-card {
	background: #fff;
	border-radius: 24px;
	padding: 40px;
	display: flex;
	flex-direction: column;
	gap: 24px
}

.frow {
	display: flex;
	gap: 24px;
	width: 100%;
}

.frow .field {
	flex: 1;
}

.field {
	position: relative;
	border-radius: 12px;
	box-shadow: inset 0 0 0 2px var(--pinkline);
	height: 56px
}

.field .flabel {
	position: absolute;
	top: -7px;
	left: 27px;
	background: #fff;
	padding: 0 4px;
	font-size: 12px;
	color: var(--maroon)
}

.field input,
.field .fselect,
.field .fake {
	width: 100%;
	height: 100%;
	border: none;
	background: none;
	outline: none;
	padding: 0 27px;
	font-family: inherit;
	font-size: 15px;
	font-weight: 500;
	color: var(--maroon);
	-webkit-appearance: none;
	appearance: none;
}

.field input::placeholder {
	color: #6c6c6c
}

.field .fake {
	display: flex;
	align-items: center;
	color: #6c6c6c
}

.field .fchev {
	position: absolute;
	right: 18px;
	top: 50%;
	transform: translateY(-50%);
	width: 16px;
	height: 16px;
	fill: none;
	stroke: var(--pink);
	stroke-width: 2.2;
	stroke-linecap: round;
	stroke-linejoin: round
}

.frow {
	display: flex;
	gap: 24px
}

.frow .field {
	flex: 1
}

.feat-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px
}

.fcard {
	border-radius: 12px;
	background: #fff;
	box-shadow: inset 0 0 0 1px var(--pinkline);
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 28px;
	position: relative;
	overflow: hidden;
	transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
	z-index: 1;
}

.fcard::before {
	content: '';
	position: absolute;
	inset: 0;
	opacity: 0;
	mix-blend-mode: soft-light;
	background: url('../img/roof-texture.jpg') center/cover no-repeat;
	z-index: 0;
	transition: opacity 0.2s ease;
	pointer-events: none;
}

.ficon {
	width: 56px;
	height: 53px;
	border-radius: 12px;
	box-shadow: inset 0 0 0 1px var(--pinkline);
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
	position: relative;
	z-index: 1;
	background: #fff;
	transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease, box-shadow 0.2s ease;
}

.ficon svg {
	width: 28px;
	height: 28px;
	stroke: var(--magenta);
	stroke-width: 1.8;
	fill: none;
	stroke-linecap: round;
	stroke-linejoin: round;
	transition: stroke 0.2s ease;
}

.fcard .ftxt {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.fcard h3 {
	margin: 0;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -.015em;
	color: var(--maroon);
	transition: color 0.2s ease;
}

.fcard p {
	margin: 0;
	font-size: 15.5px;
	font-weight: 500;
	line-height: 1.5;
	color: var(--maroon);
	transition: color 0.2s ease;
}

.tabs {
	display: inline-flex;
	gap: 10px;
	background: var(--pinkline);
	border-radius: 13px;
	padding: 4px;
	margin: 0 auto 45px
}

.tab {
	border-radius: 10px;
	padding: 10px 18px;
	font-size: 14.5px;
	font-weight: 700;
	letter-spacing: .02em;
	cursor: pointer;
	color: var(--maroon);
	transition: color 0.25s ease, background-color 0.25s ease;
}

.tab.on {
	background: var(--maroon);
	color: #fff
}

.proj-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin-bottom: 45px
}

.proj-cell {
	aspect-ratio: 16/9;
	border-radius: 12px;
	background: var(--grey)
}

.testi-row {
	display: flex;
	gap: 30px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	padding-bottom: 12px;
	margin-bottom: 30px;
	scrollbar-width: none;
	-ms-overflow-style: none;
	cursor: grab;
	user-select: none;
}

.testi-row.dragging {
	cursor: grabbing;
}

.testi-row::-webkit-scrollbar {
	display: none;
}

.tcard {
	width: 460px;
	flex: none;
	background: var(--cream);
	border-radius: 24px;
	padding: 40px;
	display: flex;
	flex-direction: column;
	gap: 20px;
	scroll-snap-align: start;
}

.tcard .who {
	display: flex;
	align-items: center;
	gap: 14px;
}

.tcard .who .meta {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.tcard .who .nm {
	font-weight: 700;
	font-size: 18px;
	line-height: 1.2;
	color: #0a0a0a;
	letter-spacing: -0.015em;
}

.tcard .who .desc {
	font-size: 14px;
	font-weight: 500;
	color: #555;
	line-height: 1.2;
}

.tcard .quote {
	font-size: 16px;
	line-height: 1.5;
	font-weight: 500;
	color: #010101;
	margin: 0;
	letter-spacing: -0.01em;
}

.dark3 {
	background: #191717;
	position: relative;
	overflow: hidden;
	margin-top: -32px;
	z-index: 2;
}

.dark3::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 80px;
	background: linear-gradient(to bottom, rgba(25, 23, 23, 1) 0%, rgba(25, 23, 23, 0) 100%);
	z-index: 1;
	pointer-events: none;
}

.dark3 .tex {
	position: absolute;
	inset: 0 -75px auto;
	height: 100%;
	opacity: .36;
	mix-blend-mode: soft-light;
	background: url('../img/roof-texture.jpg') center/cover no-repeat;
	z-index: 0
}

.faq-list {
	max-width: 1220px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 15px
}

.faq-item {
	border-radius: 20px;
	background: rgba(37, 35, 35, .6);
	box-shadow: inset 0 0 0 1px #1b1a1a;
	backdrop-filter: blur(19px);
	padding: 20px 24px;
	cursor: pointer;
	transition: background .2s
}

.faq-item.open {
	background: #353435;
	box-shadow: none
}

.faq-q {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	width: 100%;
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
	text-align: left
}

.faq-q .qt {
	font-size: 19.5px;
	font-weight: 600;
	letter-spacing: -.01em;
	color: #fafafa
}

.faq-ic {
	width: 24px;
	height: 24px;
	flex: none;
	border-radius: 50%;
	box-shadow: inset 0 0 0 1px var(--pink);
	color: var(--pink);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	line-height: 1;
	font-weight: 400
}

.faq-item.open .faq-ic {
	box-shadow: inset 0 0 0 1px #fff;
	color: #fff
}

.faq-a {
	margin: 24px 0 0;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.6;
	letter-spacing: .01em;
	color: rgba(255, 255, 255, 0.9);
}

.dark1,
.dark3 {
	--sx: 50%;
	--sy: 50%
}

.dark1::after,
.dark3::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	opacity: 0;
	background: radial-gradient(520px circle at var(--sx) var(--sy), rgba(255, 255, 255, .08), transparent 60%);
	transition: opacity .22s ease
}

.dark1:hover::after,
.dark3:hover::after {
	opacity: 1
}

@media (prefers-reduced-motion: reduce) {

	.dark1::after,
	.dark3::after {
		display: none
	}
}

.chip {
	user-select: none
}

.tab {
	user-select: none
}

.thankyou {
	background: #fff;
	border-radius: 24px;
	padding: 48px 40px;
	text-align: center;
	display: flex;
	flex-direction: column;
	gap: 12px;
	align-items: center
}

.thankyou h3 {
	margin: 0;
	font-size: 28px;
	font-weight: 600;
	color: var(--maroon)
}

.thankyou p {
	margin: 0;
	color: var(--ink);
	max-width: 460px
}

.thankyou .tick {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: var(--magenta);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 32px
}

.form-err {
	color: #d33;
	margin: 0;
	font-size: 14px;
	font-weight: 600
}

@media(hover:hover) {
	.btn-outline:hover {
		background-color: var(--magenta);
		color: #fff;
	}

	.fcard {
		transition: background 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.25s cubic-bezier(0.16, 1, 0.3, 1);
	}

	.fcard:hover {
		background: var(--maroon);
		box-shadow: 0 15px 30px rgba(106, 19, 61, 0.18);
	}

	.fcard:hover::before {
		opacity: 0.18;
	}

	.fcard:hover .ficon {
		background: #fff;
		box-shadow: none;
	}

	.fcard:hover h3,
	.fcard:hover p {
		color: #fff;
	}

	.tcard {
		transition: box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
	}

	.tab {
		transition: color 0.2s cubic-bezier(0.16, 1, 0.3, 1);
	}

	.tab:not(.on):hover {
		color: var(--magenta);
	}

	.chip {
		transition: box-shadow .2s cubic-bezier(0.16, 1, 0.3, 1);
	}

	.chip:hover {
		box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
	}

	.proj-cell {
		position: relative;
		transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
	}

	.proj-cell:hover {
		transform: scale(1.03);
		z-index: 1;
	}

	.faq-item {
		transition: background .25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .25s cubic-bezier(0.16, 1, 0.3, 1);
	}

	.faq-item:hover {}

	.faq-ic {
		transition: color .25s ease, box-shadow .25s ease;
	}

	.faq-item:hover .faq-ic {}
}

@media(max-width:1000px) {
	.prod-grid {
		grid-template-columns: repeat(2, 1fr);
		row-gap: 48px
	}

	.feat-grid {
		grid-template-columns: repeat(2, 1fr)
	}

	.calc {
		grid-template-columns: 1fr
	}
}

@media(max-width:960px) {

	.page-template-template-home .hero h1 {
		font-size: 48px;
	}

	.about-top {
		grid-template-columns: 1fr;
		gap: 20px
	}

	.about-imgs {
		grid-template-columns: 1fr;
		gap: 20px
	}

	.tcard {
		width: 360px;
	}

	.proj-grid {
		grid-template-columns: repeat(2, 1fr)
	}
}

@media(max-width:640px) {

	.tcard .quote {
		font-size: 14px;
	}

	.about-copy p {
		font-size: 16px;
	}

	.page-template-template-home .hero h1 {
		font-size: 44px;
	}

	.prod-grid {
		grid-template-columns: 1fr;
		gap: 15px
	}

	.pcard h3 {
		font-size: 20px
	}

	.feat-grid {
		grid-template-columns: 1fr
	}

	.frow {
		flex-direction: column;
		gap: 20px
	}

	.proj-grid {
		grid-template-columns: 1fr
	}

	.testi-row {
		gap: 10px;
		padding-left: 20px;
		padding-right: 20px;
	}

	.tcard {
		width: 100%;
		min-width: 100%;
		padding: 28px;
		scroll-snap-align: start;
	}

	.about-stats {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 20px;
	}

	.about-stats .stat {
		padding: 16px;
		background: #f9f4f7;
		border-radius: 12px;
	}

	.calc {
		grid-template-columns: 1fr;
		border-radius: 12px;
	}

	.calc-left {
		padding: 20px;
		gap: 20px;
	}

	.calc-right {
		padding: 20px;
		width: 100%;
		box-sizing: border-box;
		overflow: hidden;
	}

	.calc-right .btn {
		width: 100%;
		justify-content: center;
	}

	.near {
		width: 100%;
		box-sizing: border-box;
	}

	.calc-note {
		font-size: 13px;
	}

	.step-lbl {
		font-size: 13px;
	}

	.chips {
		flex-wrap: wrap;
		gap: 8px;
	}

	.chip {
		font-size: 13px;
		padding: 8px 14px;
	}

	.form-card {
		padding: 20px;
		gap: 20px;
		border-radius: 18px;
	}

	.field {
		position: relative;
		height: 64px;
		border-radius: 12px;
		box-sizing: border-box;
		overflow: visible;
	}

	.field .flabel {
		position: absolute;
		top: -9px;
		left: 14px;
		font-size: 12px;
		font-weight: 600;
		background: #fff;
		padding: 0 4px;
		color: var(--maroon);
		z-index: 1;
	}

	.field input {
		display: block;
		width: 100%;
		height: 100%;
		padding: 14px 14px !important;
		box-sizing: border-box;
		border: none;
		background: transparent;
		outline: none;
		font-family: inherit;
		font-size: 14px;
		color: var(--maroon);
	}

	.field .fake {
		display: flex;
		align-items: flex-end;
		padding: 0 14px 12px !important;
		height: 100%;
		box-sizing: border-box;
		font-size: 14px;
		color: #6c6c6c;
	}

	.field .fselect {
		display: block;
		width: 100%;
		height: 100%;
		padding: 14px 14px !important;
		box-sizing: border-box;
		border: none;
		background: transparent;
		outline: none;
		font-family: inherit;
		font-size: 14px;
		color: var(--maroon);
		-webkit-appearance: none;
		appearance: none;
	}

	.field .fchev {
		top: 50%;
		transform: translateY(-50%);
		right: 12px;
	}

	.quote-wrap {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.frow {
		display: flex;
		flex-direction: column;
		gap: 16px;
	}

	.calc {
		max-width: 100%;
		display: block;
	}

	.tabs {
		flex-wrap: wrap;
		justify-content: center;
	}

	.tab {
		white-space: nowrap;
		font-size: 13px;
		padding: 9px 14px;
	}
}

.faq-item .faq-a {
	display: none
}

.faq-item.open .faq-a {
	display: block
}

.proj-cell.hide {
	display: none
}

/* =============================================
   ABOUT SECTION
   ============================================= */
.about-section {
	padding-bottom: 0;
}

/* =============================================
   PARTNER LOGO SLIDER
   ============================================= */
.partner-logos-section {
	position: relative;
	padding: 0 110px 110px;
	overflow: hidden;
}

.partner-logos-section.no-header {
	padding-top: 0;
}

.partner-logos-section .section-header {
	text-align: center;
	margin-bottom: 40px;
}

.partner-logo-slider {
	overflow: hidden;
	mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.partner-logo-track {
	display: flex;
	gap: 48px;
	align-items: center;
	will-change: transform;
}

.partner-logo-item {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.partner-logo-item img {
	height: 60px;
	width: auto;
	object-fit: contain;
	display: block;
	opacity: 0.6;
	transition: opacity 0.25s ease;
}

.partner-logo-item:hover img {
	opacity: 1;
}

@media (max-width: 1200px) {
	.partner-logos-section {
		padding: 0 56px 80px;
	}

	.partner-logo-track {
		gap: 36px;
	}

	.partner-logo-item img {
		height: 50px;
	}
}

@media (max-width: 640px) {
	.partner-logos-section {
		padding: 0 20px 56px;
	}

	.partner-logos-section .section-header {
		margin-bottom: 28px;
	}

	.partner-logo-track {
		gap: 24px;
	}

	.partner-logo-item img {
		height: 40px;
	}
}