/* ============================================================
   SEPARATOR + FOOTER — footer.css
   ============================================================ */

/* ── Separator image ── */
.site-separator {
	width: min(100% - 48px, 640px);
	margin: 0 auto;
	display: block;
	line-height: 0;
}

.site-separator img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
	margin: 0 auto;
}

/* ── Footer ── */
.site-footer {
	background-color: #ebe9e4;
	padding: 80px 24px 48px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0;
	position: relative;
}

/* ── Contact card list ── */
.footer-contacts {
	list-style: none;
	width: 100%;
	max-width: 480px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 60px;
}

.footer-contact-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: color-mix(in srgb, #001666 6%, #ebe9e4 94%);
	border: 1px solid color-mix(in srgb, #001666 10%, transparent);
	border-radius: 16px;
	padding: 18px 24px;
	text-decoration: none;
	transition:
		background 220ms ease,
		transform 220ms ease,
		box-shadow 220ms ease;
}

.footer-contact-card:hover {
	background: color-mix(in srgb, #001666 11%, #ebe9e4 89%);
	transform: translateY(-2px);
	box-shadow: 0 8px 24px -10px rgba(0, 22, 102, 0.2);
}

.footer-contact-label {
	font-family: "Inter", sans-serif;
	font-size: 14px;
	font-weight: 500;
	color: #6b5b5b;
	letter-spacing: 0.02em;
}

.footer-contact-value {
	font-family: "Inter", sans-serif;
	font-size: 14px;
	font-weight: 600;
	color: #001666;
	letter-spacing: 0.02em;
}

/* ── Footer name ── */
.footer-name {
	font-family: "Poppins", sans-serif;
	font-size: clamp(1.5rem, 4vw, 2.2rem);
	font-weight: 600;
	color: #8b3535;
	letter-spacing: 0.02em;
	margin-bottom: 12px;
	text-align: center;
}

/* ── Copyright ── */
.footer-copy {
	font-family: "Inter", sans-serif;
	font-size: 13px;
	font-weight: 400;
	color: #6b5b5b;
	letter-spacing: 0.04em;
}

/* ── Dev Credit Badge ── */
.dev-credit {
	position: absolute;
	bottom: 20px;
	right: 24px;
	display: flex;
	align-items: center;
	cursor: default;
}

.dev-credit__circle {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	overflow: hidden;
	border: 2px solid rgba(0, 22, 102, 0.2);
	box-shadow: 0 2px 10px rgba(0, 22, 102, 0.15);
	flex-shrink: 0;
	position: relative;
	z-index: 2;
	background: #ebe9e4;
	transition:
		box-shadow 300ms ease,
		transform 300ms ease;
}

.dev-credit:hover .dev-credit__circle {
	box-shadow: 0 6px 26px rgba(0, 22, 102, 0.38);
	transform: scale(1.06);
}

.dev-credit__circle img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.dev-credit__capsule {
	text-decoration: none;
	display: flex;
	align-items: center;
	background: #001666;
	color: #fff;
	font-family: "Inter", sans-serif;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.04em;
	white-space: nowrap;
	height: 28px;
	border-radius: 14px 0 0 14px;
	max-width: 0;
	overflow: hidden;
	opacity: 0;
	padding: 0;
	margin-right: -10px;
	transition:
		max-width 420ms cubic-bezier(0.4, 0, 0.2, 1),
		opacity 300ms ease,
		padding 420ms ease;
}

.dev-credit:hover .dev-credit__capsule {
	max-width: 240px;
	opacity: 1;
	padding: 0 22px 0 20px;
}
/* ── Corner Design Decorations ── */
.site-footer {
	position: relative;
	overflow: hidden;
}

.site-footer > :not(.corner-design):not(.dev-credit) {
	position: relative;
	z-index: 2;
}

.corner-design--footer-bottom-left,
.corner-design--footer-bottom-right {
	position: absolute;
	width: clamp(195px, 25.5vw, 340px);
	height: clamp(195px, 25.5vw, 340px);
	background-image: url("../assets/img/flourish/corner_design.png");
	background-size: contain;
	background-repeat: no-repeat;
	background-position: top left;
	z-index: 0;
	pointer-events: none;
	bottom: 0;
}

.corner-design--footer-bottom-left {
	left: 0;
	transform: scaleY(-1);
}

.corner-design--footer-bottom-right {
	right: 0;
	transform: scaleX(-1) scaleY(-1);
}

@media (max-width: 600px) {
	.corner-design--footer-bottom-left,
	.corner-design--footer-bottom-right {
		display: none;
	}

	.site-footer {
		padding: 35px 15px;
	}

	.footer-contact-card {
		padding: 15px 18px;
	}

	.footer-contact-label,
	.footer-contact-value {
		font-size: 13px;
	}

	.dev-credit {
		position: static;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 0;
		margin-top: 20px;
		cursor: default;
	}

	.dev-credit__circle {
		display: none;
	}

	.dev-credit__capsule {
		max-width: 100%;
		opacity: 1;
		padding: 0;
		margin-right: 0;
		border-radius: 0;
		width: auto;
		height: auto;
		background: none;
		white-space: normal;
		line-height: 1.4;
		font-family: "Inter", sans-serif;
		font-size: 13px;
		font-weight: 400;
		color: #6b5b5b;
		letter-spacing: 0.04em;
		text-decoration: none;
		box-shadow: none;
		filter: none;
	}

	.dev-credit__capsule:hover {
		text-decoration: underline;
	}

	.dev-credit__name {
		color: #001666;
		font-weight: 600;
	}
}
