/* LolaCore Site — footer chrome (FSE), aligned with Elementor footer #187 */

.lc-site-footer {
	--lc-paper-alt: #f4efe6;
	--lc-text: #5a4458;
	--lc-mint: #5bb87e;
	--lc-ink: #241828;
	--lc-border: rgba(36, 24, 40, 0.08);

	background: var(--lc-paper-alt) !important;
	border-top: 1px solid var(--lc-border);
	padding: 32px 0 28px;
}

.lc-site-footer .lc-footer-inner {
	box-sizing: border-box;
	width: 100%;
	max-width: 1180px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 24px;
	padding-right: 24px;
}

.lc-site-footer .lc-footer-row {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.lc-site-footer .lc-site-logo {
	margin: 0;
	line-height: 0;
	flex-shrink: 0;
}

.lc-site-footer .lc-site-logo img {
	display: block;
	width: 142px;
	max-width: 142px;
	height: auto;
}

.lc-site-footer .lc-footer-legal {
	margin-left: auto;
	text-align: right;
	font-family: "JetBrains Mono", monospace;
	color: var(--lc-text);
}

.lc-site-footer .lc-footer-legal__line {
	margin: 0 0 4px;
	font-size: 12px;
	line-height: 1.5;
}

.lc-site-footer .lc-footer-legal__line:last-child {
	margin-bottom: 0;
}

.lc-site-footer .lc-footer-legal__line--muted br {
	display: none;
}

.lc-site-footer .lc-footer-legal__line--muted {
	font-size: 11px;
	opacity: 0.85;
}

.lc-site-footer .lc-footer-legal__link {
	color: var(--lc-text);
	text-decoration: none;
	background: none;
	border: none;
	padding: 0;
	font: inherit;
	cursor: pointer;
}

.lc-site-footer .lc-footer-legal__link--mint {
	color: var(--lc-mint);
}

.lc-site-footer .lc-footer-legal__link--strong {
	font-weight: 700;
}

.lc-site-footer .lc-footer-legal__link:hover,
.lc-site-footer .lc-footer-legal__link:focus-visible {
	color: var(--lc-mint);
	outline: none;
}

.lc-site-footer .lc-footer-legal__contact-trigger {
	color: var(--lc-mint);
	font-family: "JetBrains Mono", monospace;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
}

.lc-site-footer .lc-footer-legal__contact-trigger:hover,
.lc-site-footer .lc-footer-legal__contact-trigger:focus-visible {
	color: #3f9a62;
	outline: none;
}

.lc-site-footer .lc-footer-legal__sep {
	opacity: 0.85;
}

/* Contact modal — centered in viewport (rendered via wp_footer on body) */
.lc-contact-modal {
	border: none;
	border-radius: 12px;
	box-shadow: 0 25px 50px -12px rgba(90, 68, 88, 0.5);
	padding: 30px;
	max-width: 500px;
	width: min(500px, 90vw);
	max-height: min(90vh, 720px);
	overflow: auto;
	margin: 0;
	color: var(--lc-text);
}

.lc-contact-modal::backdrop {
	background: rgba(20, 15, 20, 0.6);
	backdrop-filter: blur(4px);
}

.lc-contact-modal[open] {
	position: fixed;
	top: 50%;
	left: 50%;
	right: auto;
	bottom: auto;
	transform: translate(-50%, -50%);
	animation: lc-contact-modal-in 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes lc-contact-modal-in {
	from {
		opacity: 0;
		transform: translate(-50%, calc(-50% + 16px)) scale(0.98);
	}
	to {
		opacity: 1;
		transform: translate(-50%, -50%) scale(1);
	}
}

.lc-contact-modal__header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
	border-bottom: 1px solid #eaeaea;
	padding-bottom: 15px;
}

.lc-contact-modal__title {
	margin: 0;
	font-family: "JetBrains Mono", monospace;
	color: var(--lc-text);
	font-size: 18px;
	font-weight: 500;
	line-height: 1.3;
}

.lc-contact-modal__close {
	background: none;
	border: none;
	font-size: 28px;
	cursor: pointer;
	color: var(--lc-text);
	line-height: 1;
	padding: 0;
	outline: none;
}

.lc-contact-modal__close:hover,
.lc-contact-modal__close:focus-visible {
	color: var(--lc-mint);
}

@media (max-width: 767px) {
	.lc-site-footer {
		padding: 28px 0 24px;
	}

	.lc-site-footer .lc-footer-inner {
		padding-left: 16px;
		padding-right: 16px;
	}

	.lc-site-footer .lc-footer-row {
		flex-direction: column;
		align-items: flex-start;
	}

	.lc-site-footer .lc-footer-legal {
		margin-left: 0;
		text-align: left;
		width: 100%;
	}
}
