/* Organela global footer */

.op-footer {
	--op-f-green: var(--op-green, rgb(61, 140, 53));
	--op-f-orange: var(--op-orange, #FA6619);
	--op-f-ink: var(--op-text, #1a2418);
	--op-f-muted: var(--op-text-muted, #5c6b58);
	--op-f-line: var(--op-border, rgba(26, 36, 24, 0.1));
	--op-f-soft: var(--op-bg-soft, #f4f7f2);

	margin-top: 0;
	/* Gap above footer (works with sticky margin-top: auto on body > .op-footer) */
	padding-top: clamp(40px, 6vw, 72px);
	background:
		linear-gradient(180deg, var(--op-footer-grad-1, #f7faf6) 0%, var(--op-footer-grad-2, #eef4eb) 48%, var(--op-footer-grad-3, #e8f0e4) 100%);
	border-top: 1px solid var(--op-f-line);
	font-family: 'Raleway', sans-serif;
	color: var(--op-f-ink);
}

.op-footer__inner {
	width: min(100%, var(--organela-content-width, 1200px));
	margin: 0 auto;
	padding: clamp(36px, 5vw, 56px) clamp(16px, 3vw, 24px) 28px;
}

.op-footer__grid {
	display: grid;
	grid-template-columns: 1.35fr repeat(3, minmax(0, 1fr));
	gap: clamp(28px, 4vw, 40px) clamp(20px, 3vw, 36px);
}

.op-footer__logo {
	display: inline-block;
	line-height: 0;
	margin-bottom: 14px;
}

.op-footer__logo img {
	height: 40px;
	width: auto;
	display: block;
}

.op-footer__tagline {
	margin: 0 0 18px;
	max-width: 32ch;
	font-size: 0.92rem;
	line-height: 1.55;
	font-weight: 500;
	color: var(--op-f-muted);
}

.op-footer__social {
	display: flex;
	align-items: center;
	gap: 8px;
}

.op-footer__social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: var(--op-bg-elevated);
	border: 1px solid var(--op-f-line);
	color: var(--op-f-ink) !important;
	text-decoration: none !important;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.op-footer__social-link:hover {
	background: var(--op-f-green);
	border-color: var(--op-f-green);
	color: #fff !important;
}

.op-footer__heading {
	margin: 0 0 14px;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--op-f-green);
}

.op-footer__links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 9px;
}

.op-footer__links a {
	color: var(--op-f-ink) !important;
	text-decoration: none !important;
	font-size: 0.92rem;
	font-weight: 500;
	line-height: 1.35;
	transition: color 0.12s ease;
}

.op-footer__links a:hover {
	color: var(--op-f-orange) !important;
}

.op-footer__contact {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 14px;
}

.op-footer__contact-label {
	display: block;
	margin-bottom: 3px;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--op-f-muted);
}

.op-footer__contact li {
	font-size: 0.92rem;
	font-weight: 500;
	line-height: 1.4;
	color: var(--op-f-ink);
}

.op-footer__contact a {
	display: block;
	color: var(--op-f-ink) !important;
	text-decoration: none !important;
}

.op-footer__contact a:hover {
	color: var(--op-f-orange) !important;
}

.op-footer__bottom {
	margin-top: clamp(28px, 4vw, 40px);
	padding-top: 18px;
	border-top: 1px solid var(--op-f-line);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 20px;
}

.op-footer__copy,
.op-footer__note {
	margin: 0;
	font-size: 0.8rem;
	font-weight: 500;
	color: var(--op-f-muted);
	line-height: 1.45;
}

.op-footer__note {
	max-width: 42ch;
	text-align: right;
}

@media (max-width: 960px) {
	.op-footer__grid {
		grid-template-columns: 1fr 1fr;
	}

	.op-footer__brand {
		grid-column: 1 / -1;
	}

	.op-footer__tagline {
		max-width: 48ch;
	}
}

@media (max-width: 560px) {
	.op-footer__grid {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.op-footer__bottom {
		flex-direction: column;
		align-items: center;
		justify-content: center;
		text-align: center;
	}

	.op-footer__copy,
	.op-footer__note {
		text-align: center;
		max-width: none;
	}
}
