/* SamSam Impact Section - front end styles */

.sis-section {
	background: #ffffff;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	position: relative;
	overflow: hidden;
}

/* Full-bleed: break the section out of whatever max-width/boxed
   container Elementor's page, section or column settings put around
   it, so the background colour and waves always reach both edges of
   the browser window. The inner .sis-container keeps its own
   comfortable max-width regardless — only the background stretches. */
.sis-section-bleed {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	box-sizing: border-box;
}

/* ---------- Top wave divider (convex hill) ---------- */
.sis-wave-top {
	display: block;
	width: 100%;
	height: 70px;
	line-height: 0;
	overflow: hidden;
	background-color: #ffffff;
}

.sis-wave-top svg {
	display: block;
	width: 100%;
	height: 100%;
}

.sis-wave-top path {
	fill: #ffffff;
}

/* ---------- Bottom wave divider (concave bite) ---------- */
.sis-wave-bottom {
	display: block;
	width: 100%;
	height: 70px;
	line-height: 0;
	overflow: hidden;
	background-color: #ffffff;
}

.sis-wave-bottom svg {
	display: block;
	width: 100%;
	height: 100%;
}

.sis-wave-bottom path {
	fill: #ffffff;
}

@media (max-width: 600px) {
	.sis-wave-top,
	.sis-wave-bottom {
		height: 40px;
	}
}

/* ---------- Layout ---------- */
.sis-container {
	max-width: 1180px;
	margin: 0 auto;
	padding: 80px 24px;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 60px;
	align-items: center;
}

/* Default: text left, photos right. */
.sis-content {
	order: 1;
}
.sis-media {
	order: 2;
}

/* "Left" layout: photos left, text right. */
.sis-section.sis-layout-left .sis-content {
	order: 2;
}
.sis-section.sis-layout-left .sis-media {
	order: 1;
}

.sis-heading {
	margin: 0 0 20px;
	color: #4a9b7f;
	font-size: clamp(30px, 3.6vw, 44px);
	font-weight: 800;
	line-height: 1.15;
}

.sis-subheading p {
	margin: 0 0 16px;
	color: #333333;
	font-size: 15px;
	line-height: 1.75;
}

.sis-subheading p:last-child {
	margin-bottom: 0;
}

/* ---------- Feature rows (icon + title + text) ---------- */
.sis-features {
	display: flex;
	flex-direction: column;
	gap: 24px;
	margin-top: 32px;
}

.sis-feature-item {
	display: flex;
	align-items: flex-start;
	gap: 18px;
}

.sis-feature-icon {
	flex: 0 0 auto;
}

.sis-feature-icon img {
	display: block;
	width: 48px;
	height: 48px;
	object-fit: contain;
}

.sis-feature-title {
	margin: 0 0 6px;
	color: #4a9b7f;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
}

.sis-feature-description {
	margin: 0;
	color: #333333;
	font-size: 14px;
	line-height: 1.7;
}

/* ---------- Call to action button ---------- */
.sis-cta-wrap {
	margin-top: 30px;
}

.sis-btn {
	display: inline-block;
	background: #4a9b7f;
	color: #ffffff;
	text-decoration: none;
	font-weight: 700;
	font-size: 12px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	padding: 15px 34px;
	border-radius: 24px;
	transition: background-color 0.15s ease, transform 0.15s ease;
}

.sis-btn:hover,
.sis-btn:focus {
	background: #3f8870;
	color: #ffffff;
	transform: translateY(-1px);
}

/* ---------- Photo collage ---------- */
.sis-media {
	position: relative;
	padding-bottom: 40px;
	padding-left: 40px;
}

.sis-section.sis-layout-left .sis-media {
	padding-left: 0;
	padding-right: 40px;
}

.sis-media-main {
	position: relative;
}

.sis-media-main img {
	display: block;
	width: 100%;
	height: 440px;
	object-fit: cover;
	object-position: center center;
	border-radius: 24px;
	box-shadow: 0 20px 45px rgba(0, 0, 0, 0.16);
}

.sis-media-secondary {
	position: absolute;
	left: -40px;
	bottom: -40px;
	width: 220px;
	height: 220px;
	background: #ffffff;
	border: 6px solid #ffffff;
	border-radius: 20px;
	box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2);
	overflow: hidden;
	z-index: 2;
}

.sis-section.sis-layout-left .sis-media-secondary {
	left: auto;
	right: -40px;
}

.sis-media-secondary img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
	border-radius: 14px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
	.sis-container {
		grid-template-columns: 1fr;
		gap: 70px;
	}

	.sis-content,
	.sis-media,
	.sis-section.sis-layout-left .sis-content,
	.sis-section.sis-layout-left .sis-media {
		order: initial;
	}

	.sis-media {
		padding-left: 30px;
		padding-bottom: 30px;
	}

	.sis-section.sis-layout-left .sis-media {
		padding-left: 30px;
		padding-right: 0;
	}

	.sis-media-secondary {
		width: 160px;
		height: 160px;
		left: -20px;
		bottom: -30px;
	}

	.sis-section.sis-layout-left .sis-media-secondary {
		left: -20px;
		right: auto;
	}
}

@media (max-width: 600px) {
	.sis-container {
		padding: 50px 20px;
	}

	.sis-media-main img {
		height: 320px;
	}

	.sis-media-secondary {
		width: 130px;
		height: 130px;
	}
}
