/* SamSam Footer Block - front end styles */

.sf-footer {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	position: relative;
}

/* ---------- Top wave divider (convex hill) ---------- */
.sf-wave-top {
	position: relative;
	width: 100%;
	height: 90px;
	overflow: hidden;
	line-height: 0;
}

.sf-wave-top svg {
	position: absolute;
	bottom: -1px;
	left: 0;
	width: 100%;
	height: 100%;
	display: block;
}

.sf-wave-top path {
	fill: #4a9b7f;
}

/* ---------- Main band ---------- */
.sf-band {
	background: #4a9b7f;
	box-sizing: border-box;
}

.sf-inner {
	max-width: 1180px;
	margin: 0 auto;
	padding: 24px 24px 56px;
	box-sizing: border-box;
}

/* ---------- Top: logo, tagline, social ---------- */
.sf-top {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	margin-bottom: 48px;
}

.sf-logo {
	display: inline-flex;
	text-decoration: none;
	margin-bottom: 20px;
}

.sf-logo-circle {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 150px;
	height: 150px;
	border-radius: 50%;
	background: #ffffff;
	border: 4px solid #ffffff;
	overflow: hidden;
	box-sizing: border-box;
}

.sf-logo-circle img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.sf-tagline {
	margin: 0 0 20px;
	color: #ffffff;
	font-size: 20px;
	font-weight: 700;
}

.sf-social {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
}

.sf-social-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	color: #ffffff;
	text-decoration: none;
	transition: opacity 0.15s ease, transform 0.15s ease;
}

.sf-social-icon:hover,
.sf-social-icon:focus {
	opacity: 0.8;
	transform: translateY(-2px);
}

.sf-social-icon svg {
	width: 20px;
	height: 20px;
	fill: currentColor;
	display: block;
}

/* ---------- Columns ---------- */
.sf-columns {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 56px;
}

.sf-column {
	flex: 1 1 200px;
	max-width: 280px;
	color: #ffffff;
}

.sf-column-title {
	margin: 0 0 14px;
	color: #ffffff;
	font-size: 16px;
	font-weight: 700;
}

.sf-column-content {
	font-size: 15px;
	line-height: 1.7;
	color: #eef7f2;
}

.sf-column-content p {
	margin: 0 0 10px;
}

.sf-column-content p:last-child {
	margin-bottom: 0;
}

.sf-column-content a {
	color: #ffffff;
	text-decoration: underline;
}

.sf-column-content a:hover,
.sf-column-content a:focus {
	opacity: 0.8;
}

/* ---------- Bottom legal bar ---------- */
.sf-bottom-bar {
	background: #ffffff;
	border-top: 1px solid #e5e5e5;
	box-sizing: border-box;
}

.sf-bottom-inner {
	max-width: 1180px;
	margin: 0 auto;
	padding: 14px 24px;
	box-sizing: border-box;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.sf-legal-links {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}

.sf-legal-links a {
	color: #4a9b7f;
	font-size: 13px;
	text-decoration: none;
}

.sf-legal-links a:hover,
.sf-legal-links a:focus {
	text-decoration: underline;
}

.sf-copyright {
	color: #8a8a8a;
	font-size: 13px;
}

/* ---------- Responsive ---------- */
@media (max-width: 700px) {
	/* Mobile only: no wave divider above the footer. */
	.sf-wave-top {
		display: none !important;
	}

	.sf-columns {
		flex-direction: column;
		align-items: center;
		text-align: center;
		gap: 32px;
	}

	.sf-column {
		max-width: 320px;
	}

	.sf-bottom-inner {
		flex-direction: column;
		text-align: center;
	}

	.sf-legal-links {
		justify-content: center;
	}
}
