/*
 * Giltech Why Choose Us – Elementor widget styles.
 * Everything is scoped under .gwcu-section so it cannot leak into the theme.
 * Values reproduce the original HTML exactly. Elementor style controls override them.
 */

.gwcu-section,
.gwcu-section *,
.gwcu-section *::before,
.gwcu-section *::after {
	box-sizing: border-box;
}

.gwcu-section {
	--gwcu-ease: cubic-bezier(.2, .72, .2, 1);
	position: relative;
	width: 100%;
	padding: 72px clamp(18px, 4vw, 64px) 78px;
	overflow: hidden;
	color: #16181B;
	font-family: "DM Sans", Manrope, Arial, sans-serif;
	text-align: start;
	-webkit-font-smoothing: antialiased;
}

/* Edge-to-edge: CSS fallback, the script then sets exact pixel values. */
.gwcu-section.gwcu-fullwidth {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
}

.gwcu-section .gwcu-inner {
	max-width: 1400px;
	margin: 0 auto;
}

/* ---------- Header ---------- */
.gwcu-section .gwcu-top {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
	gap: 50px;
	align-items: end;
	margin-bottom: 28px;
}

.gwcu-section .gwcu-eyebrow {
	margin: 0 0 11px;
	color: #E30613;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: .19em;
	text-transform: uppercase;
}

.gwcu-section .gwcu-title {
	margin: 0;
	padding: 0;
	color: #16181B;
	font-family: inherit;
	font-size: clamp(37px, 4.6vw, 58px);
	font-weight: 400;
	line-height: .96;
	letter-spacing: -.05em;
	text-transform: none;
}

.gwcu-section .gwcu-sub {
	margin: 0;
	color: #777B80;
	font-size: 12px;
	line-height: 1.8;
}

/* ---------- Cards ---------- */
.gwcu-section .gwcu-cards {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
}

.gwcu-section .gwcu-card {
	position: relative;
	height: 390px;
	margin: 0;
	border-radius: 18px;
	overflow: hidden;
	background: #ddd;
}

.gwcu-section .gwcu-card::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(180deg, rgba(10, 11, 13, 0) 38%, rgba(10, 11, 13, .78) 100%);
	pointer-events: none;
}

.gwcu-section .gwcu-card .gwcu-card-img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	object-fit: cover;
	transition: transform .65s var(--gwcu-ease), filter .65s var(--gwcu-ease);
}

.gwcu-section .gwcu-card:hover .gwcu-card-img {
	transform: scale(1.075);
	filter: saturate(1.05);
}

.gwcu-section .gwcu-card-top {
	position: absolute;
	top: 15px;
	left: 15px;
	right: 15px;
	z-index: 3;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.gwcu-section .gwcu-index {
	display: grid;
	place-items: center;
	width: 31px;
	height: 31px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .88);
	color: #16181B;
	font-size: 10px;
	font-weight: 500;
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

.gwcu-section .gwcu-mark {
	display: grid;
	place-items: center;
	width: 27px;
	height: 27px;
	border-radius: 50%;
	background: rgba(227, 6, 19, .92);
	color: #fff;
	margin-left: auto;
}

.gwcu-section .gwcu-mark svg {
	display: block;
	width: 13px;
	height: 13px;
}

.gwcu-section .gwcu-mark .gwcu-icon-preset {
	fill: none;
	stroke: currentColor;
	stroke-width: 1.6;
}

.gwcu-section .gwcu-mark .gwcu-custom-icon {
	display: grid;
	place-items: center;
	line-height: 1;
}

.gwcu-section .gwcu-mark .gwcu-custom-icon i {
	font-size: 13px;
	line-height: 1;
}

.gwcu-section .gwcu-mark .gwcu-custom-icon svg {
	fill: currentColor;
}

.gwcu-section .gwcu-card-content {
	position: absolute;
	left: 18px;
	right: 18px;
	bottom: 17px;
	z-index: 3;
	color: #fff;
}

.gwcu-section .gwcu-card-line {
	width: 34px;
	height: 2px;
	margin-bottom: 10px;
	background: linear-gradient(90deg, var(--gwcu-line-a, #E30613), var(--gwcu-line-b, #315FA8));
}

.gwcu-section .gwcu-card-kicker {
	margin: 0 0 6px;
	font-size: 9px;
	letter-spacing: .15em;
	text-transform: uppercase;
	opacity: .74;
}

.gwcu-section .gwcu-card-title {
	margin: 0 0 6px;
	padding: 0;
	color: #fff;
	font-family: inherit;
	font-size: 22px;
	font-weight: 400;
	line-height: 1.05;
	letter-spacing: -.03em;
	text-transform: none;
}

.gwcu-section .gwcu-card-text {
	max-width: 260px;
	margin: 0;
	color: rgba(255, 255, 255, .78);
	font-size: 11.5px;
	line-height: 1.72;
	transform: translateY(5px);
	transition: transform .3s var(--gwcu-ease);
}

.gwcu-section .gwcu-card:hover .gwcu-card-text {
	transform: none;
}

/* ---------- Entrance animation (optional via switch) ---------- */
.gwcu-section.gwcu-animate .gwcu-card {
	opacity: 0;
	transform: translateY(25px);
	animation: gwcuShowCard .75s var(--gwcu-ease) forwards;
}

.gwcu-section.gwcu-animate .gwcu-card:nth-child(1)  { animation-delay: .05s; }
.gwcu-section.gwcu-animate .gwcu-card:nth-child(2)  { animation-delay: .13s; }
.gwcu-section.gwcu-animate .gwcu-card:nth-child(3)  { animation-delay: .21s; }
.gwcu-section.gwcu-animate .gwcu-card:nth-child(4)  { animation-delay: .29s; }
.gwcu-section.gwcu-animate .gwcu-card:nth-child(5)  { animation-delay: .37s; }
.gwcu-section.gwcu-animate .gwcu-card:nth-child(6)  { animation-delay: .45s; }
.gwcu-section.gwcu-animate .gwcu-card:nth-child(7)  { animation-delay: .53s; }
.gwcu-section.gwcu-animate .gwcu-card:nth-child(8)  { animation-delay: .61s; }
.gwcu-section.gwcu-animate .gwcu-card:nth-child(9)  { animation-delay: .69s; }
.gwcu-section.gwcu-animate .gwcu-card:nth-child(10) { animation-delay: .77s; }
.gwcu-section.gwcu-animate .gwcu-card:nth-child(11) { animation-delay: .85s; }
.gwcu-section.gwcu-animate .gwcu-card:nth-child(n+12) { animation-delay: .93s; }

@keyframes gwcuShowCard {
	to {
		opacity: 1;
		transform: none;
	}
}

/* ---------- Bottom bar ---------- */
.gwcu-section .gwcu-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-top: 19px;
	padding-top: 18px;
	border-top: 1px solid #E3E5E7;
}

.gwcu-section .gwcu-bottom-text {
	color: #777B80;
	font-size: 10px;
	line-height: 1.55;
}

.gwcu-section .gwcu-bottom-title {
	display: block;
	margin-bottom: 2px;
	color: #16181B;
	font-size: 13px;
}

.gwcu-section .gwcu-bottom-copy {
	display: block;
}

/* ---------- Button (same look + hover as the HTML) ---------- */
.gwcu-section .gwcu-cta,
.gwcu-section .gwcu-cta:visited,
.gwcu-section .gwcu-cta:focus {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 154px;
	height: 40px;
	margin: 0;
	padding: 0 15px;
	border: 0;
	border-radius: 9px;
	background: #16181B;
	box-shadow: none;
	color: #fff;
	font-size: 9.5px;
	font-weight: 400;
	letter-spacing: .09em;
	text-decoration: none;
	text-transform: uppercase;
	cursor: pointer;
	transition: transform .25s var(--gwcu-ease), background .25s var(--gwcu-ease);
}

.gwcu-section .gwcu-cta:hover {
	background: #E30613;
	color: #fff;
	text-decoration: none;
	transform: translateY(-2px);
}

.gwcu-section .gwcu-cta:focus-visible {
	outline: 2px solid #E30613;
	outline-offset: 3px;
}

/* ---------- Tablet ---------- */
@media (max-width: 1000px) {
	.gwcu-section .gwcu-top {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.gwcu-section .gwcu-sub {
		max-width: 650px;
	}

	.gwcu-section .gwcu-cards {
		grid-template-columns: 1fr 1fr;
	}

	.gwcu-section .gwcu-card {
		height: 330px;
	}

	.gwcu-section .gwcu-card-title {
		font-size: 20px;
	}

	.gwcu-section .gwcu-card-text {
		font-size: 11px;
	}
}

/* ---------- Mobile ---------- */
@media (max-width: 600px) {
	.gwcu-section {
		padding: 48px 14px 52px;
	}

	.gwcu-section .gwcu-eyebrow {
		font-size: 10px;
	}

	.gwcu-section .gwcu-title {
		font-size: 38px;
	}

	.gwcu-section .gwcu-cards {
		grid-template-columns: 1fr;
	}

	.gwcu-section .gwcu-card {
		height: 310px;
	}

	.gwcu-section .gwcu-card-kicker {
		font-size: 8px;
	}

	.gwcu-section .gwcu-card-title {
		font-size: 19px;
	}

	.gwcu-section .gwcu-card-text {
		font-size: 10.5px;
	}

	.gwcu-section .gwcu-bottom {
		display: block;
	}

	.gwcu-section .gwcu-cta {
		width: 100%;
		margin-top: 12px;
	}
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	.gwcu-section.gwcu-animate .gwcu-card {
		opacity: 1;
		transform: none;
		animation: none;
	}

	.gwcu-section *,
	.gwcu-section *::before,
	.gwcu-section *::after {
		transition: none !important;
	}
}
