.lm-site-footer {
	--lm-footer-bg: #193f58;
	--lm-footer-panel: rgba(255, 255, 255, 0.09);
	--lm-footer-panel-hover: rgba(212, 165, 116, 0.22);
	--lm-footer-text: rgba(255, 255, 255, 0.78);
	--lm-footer-strong: #ffffff;
	--lm-footer-muted: rgba(255, 255, 255, 0.55);
	--lm-footer-accent: #d4a574;
	background: var(--lm-footer-bg);
	color: var(--lm-footer-text);
	width: 100vw;
	margin-right: calc(50% - 50vw);
	margin-left: calc(50% - 50vw);
	font-size: 14px;
	line-height: 1.55;
}

.wd-footer.footer-container:has(.lm-site-footer),
.wd-footer.footer-container:has(.lm-site-footer) .main-footer {
	margin-top: 0 !important;
	padding-top: 0 !important;
	background: #193f58 !important;
}

.wd-footer.footer-container:has(.lm-site-footer) .wd-copyrights {
	background: #193f58 !important;
}

.lm-site-footer.alignwide,
.lm-site-footer.alignfull {
	margin-right: calc(50% - 50vw);
	margin-left: calc(50% - 50vw);
}

.editor-styles-wrapper .wp-block-acf-lifemate-footer,
.editor-styles-wrapper .wp-block[data-type="acf/lifemate-footer"],
.block-editor-block-list__layout .wp-block-acf-lifemate-footer,
.block-editor-block-list__layout .wp-block[data-type="acf/lifemate-footer"],
.block-editor-iframe__body .wp-block-acf-lifemate-footer,
.block-editor-iframe__body .wp-block[data-type="acf/lifemate-footer"] {
	max-width: none !important;
	width: 100vw !important;
	margin-right: calc(50% - 50vw) !important;
	margin-left: calc(50% - 50vw) !important;
	overflow: visible !important;
}

.editor-styles-wrapper .lm-site-footer {
	width: 100vw;
	margin-right: calc(50% - 50vw);
	margin-left: calc(50% - 50vw);
}

.editor-styles-wrapper .wp-block[data-type="acf/lifemate-footer"] > .acf-block-preview,
.block-editor-block-list__layout .wp-block[data-type="acf/lifemate-footer"] > .acf-block-preview {
	width: 100vw !important;
	max-width: none !important;
	margin-right: calc(50% - 50vw) !important;
	margin-left: calc(50% - 50vw) !important;
	overflow: visible !important;
}

.wp-admin .lm-site-footer,
.block-editor-page .lm-site-footer,
.interface-interface-skeleton__content .lm-site-footer,
.edit-post-visual-editor .lm-site-footer,
.editor-visual-editor .lm-site-footer,
.is-root-container .lm-site-footer,
.block-editor-iframe__body .lm-site-footer {
	width: 100vw !important;
	max-width: none !important;
	margin-right: calc(50% - 50vw) !important;
	margin-left: calc(50% - 50vw) !important;
}

.wp-admin .lm-site-footer__column,
.block-editor-page .lm-site-footer__column,
.interface-interface-skeleton__content .lm-site-footer__column,
.edit-post-visual-editor .lm-site-footer__column,
.editor-visual-editor .lm-site-footer__column,
.block-editor-iframe__body .lm-site-footer__column {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
}

.wp-admin .lm-site-footer__inner,
.block-editor-page .lm-site-footer__inner,
.interface-interface-skeleton__content .lm-site-footer__inner,
.edit-post-visual-editor .lm-site-footer__inner,
.editor-visual-editor .lm-site-footer__inner,
.block-editor-iframe__body .lm-site-footer__inner {
	padding-right: clamp(28px, 4.2vw, 76px);
	padding-left: clamp(28px, 4.2vw, 76px);
}

.wp-admin .lm-site-footer__top,
.block-editor-page .lm-site-footer__top,
.interface-interface-skeleton__content .lm-site-footer__top,
.edit-post-visual-editor .lm-site-footer__top,
.editor-visual-editor .lm-site-footer__top,
.block-editor-iframe__body .lm-site-footer__top {
	grid-template-columns: minmax(220px, 1.08fr) minmax(150px, 0.86fr) minmax(230px, 1.08fr) minmax(270px, 1.18fr);
	gap: clamp(24px, 3.4vw, 60px);
}

.lm-site-footer__inner {
	width: 100%;
	margin: 0 auto;
	padding: clamp(42px, 4.8vw, 68px) clamp(28px, 5.2vw, 96px) 30px;
}

.lm-site-footer__top {
	display: grid;
	grid-template-columns: minmax(220px, 1.1fr) minmax(160px, 0.9fr) minmax(230px, 1.08fr) minmax(280px, 1.18fr);
	gap: clamp(26px, 4.2vw, 76px);
	padding-bottom: clamp(44px, 5vw, 64px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.lm-site-footer__column {
	min-width: 0;
	padding: 0;
}

.lm-site-footer__brand-name,
.lm-site-footer__heading {
	margin: 0 0 27px;
	color: var(--lm-footer-strong);
	font-size: clamp(20px, 1.45vw, 26px);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: 0;
	white-space: nowrap;
}

.lm-site-footer__logo {
	display: block;
	width: auto;
	max-width: 210px;
	max-height: 64px;
	margin-bottom: 28px;
	object-fit: contain;
}

.lm-site-footer__description {
	max-width: 390px;
	margin: 0 0 26px;
	color: var(--lm-footer-text);
	font-size: clamp(15px, 1vw, 18px);
	font-weight: 500;
	line-height: 1.58;
}

.lm-site-footer__social .wd-social-icons {
	display: flex;
	flex-wrap: wrap;
	gap: 10px !important;
	margin: 0;
	text-align: left;
	--wd-social-size: 34px;
	--wd-social-gap: 10px;
	--wd-social-icon-size: 16px;
}

.lm-site-footer__social .wd-social-icon {
	display: inline-flex;
	flex: 0 0 34px !important;
	align-items: center;
	justify-content: center;
	width: 34px !important;
	min-width: 34px !important;
	max-width: 34px !important;
	height: 34px !important;
	min-height: 34px !important;
	max-height: 34px !important;
	padding: 0 !important;
	border-radius: 8px;
	border: 0 !important;
	outline: 0 !important;
	background: var(--lm-footer-panel);
	box-shadow: none !important;
	color: var(--lm-footer-strong);
	font-size: 16px !important;
	line-height: 1 !important;
	margin: 0 6px 6px 0 !important;
	text-decoration: none !important;
	transition: background-color 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.lm-site-footer .wd-lcp-highlight,
.lm-site-footer__social .wd-social-icon.wd-lcp-highlight,
.lm-site-footer__social .wd-social-icon .wd-lcp-highlight,
.lm-site-footer__social .wd-lcp-highlight {
	outline: 0 !important;
	outline-offset: 0 !important;
	animation: none !important;
}

.lm-site-footer__social .wd-social-icon:focus,
.lm-site-footer__social .wd-social-icon:focus-visible {
	outline: 0 !important;
	box-shadow: none !important;
}

.lm-site-footer__social .wd-social-icon:hover {
	background: var(--lm-footer-accent);
	color: #ffffff;
	transform: translateY(-2px);
}

.lm-site-footer__menu {
	display: grid;
	gap: 13px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.lm-site-footer__menu li {
	margin: 0;
}

.lm-site-footer a,
.lm-site-footer__menu a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease, transform 0.2s ease;
}

.lm-site-footer__menu a {
	display: inline-block;
	color: var(--lm-footer-text);
	font-size: clamp(14px, 0.95vw, 17px);
	font-weight: 500;
	line-height: 1.35;
}

.lm-site-footer__menu a:hover {
	color: var(--lm-footer-accent);
	transform: translateX(3px);
}

.lm-site-footer__download {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-top: 20px;
	color: var(--lm-footer-accent);
	font-size: clamp(14px, 0.95vw, 17px);
	font-weight: 700;
	line-height: 1.25;
	text-decoration: none;
}

.lm-site-footer__download:hover {
	color: #ffffff;
}

.lm-site-footer__download--disabled {
	opacity: 0.75;
}

.lm-site-footer__download-icon {
	width: 22px;
	height: 22px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 3v12m0 0 5-5m-5 5-5-5M5 19h14' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 3v12m0 0 5-5m-5 5-5-5M5 19h14' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.lm-site-footer__column--contact {
	color: var(--lm-footer-text);
}

.lm-site-footer__contact-item {
	display: grid;
	grid-template-columns: 23px minmax(0, 1fr);
	gap: 13px;
	align-items: start;
	margin-bottom: 17px;
	color: var(--lm-footer-text);
	font-size: clamp(14px, 0.95vw, 17px);
	font-weight: 500;
	line-height: 1.42;
}

a.lm-site-footer__contact-item:hover {
	color: var(--lm-footer-accent);
}

.lm-site-footer__contact-icon {
	width: 22px;
	height: 22px;
	margin-top: 2px;
	background: var(--lm-footer-accent);
}

.lm-site-footer__contact-icon--pin {
	-webkit-mask: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 10c0 5-8 11-8 11S4 15 4 10a8 8 0 1 1 16 0Z' stroke='black' stroke-width='2'/%3E%3Ccircle cx='12' cy='10' r='3' stroke='black' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 10c0 5-8 11-8 11S4 15 4 10a8 8 0 1 1 16 0Z' stroke='black' stroke-width='2'/%3E%3Ccircle cx='12' cy='10' r='3' stroke='black' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat;
}

.lm-site-footer__contact-icon--mail {
	-webkit-mask: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='3' y='5' width='18' height='14' rx='2' stroke='black' stroke-width='2'/%3E%3Cpath d='m3 7 9 6 9-6' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='3' y='5' width='18' height='14' rx='2' stroke='black' stroke-width='2'/%3E%3Cpath d='m3 7 9 6 9-6' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.lm-site-footer__contact-icon--phone {
	-webkit-mask: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.8 19.8 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.12 4.2 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.36 1.9.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.34 1.85.57 2.81.7A2 2 0 0 1 22 16.92Z' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.8 19.8 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.12 4.2 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.36 1.9.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.34 1.85.57 2.81.7A2 2 0 0 1 22 16.92Z' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.lm-site-footer__whatsapp {
	display: block;
	margin-top: 2px;
	color: var(--lm-footer-muted);
	font-size: 0.88em;
}

.lm-site-footer__certs {
	padding-top: clamp(34px, 4vw, 46px);
	text-align: center;
}

.lm-site-footer__cert-title {
	margin: 0 0 28px;
	color: var(--lm-footer-muted);
	font-size: clamp(14px, 0.98vw, 17px);
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: 0;
	text-transform: uppercase;
}

.lm-site-footer__cert-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: clamp(22px, 4vw, 56px);
}

.lm-site-footer__cert {
	display: grid;
	justify-items: center;
	gap: 12px;
	width: 112px;
	color: var(--lm-footer-muted);
	text-decoration: none;
	transition: color 0.24s ease;
}

.lm-site-footer__cert-image {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 92px;
	height: 92px;
	padding: 15px;
	border: 2px solid transparent;
	border-radius: 9px;
	background: var(--lm-footer-panel);
	color: var(--lm-footer-strong);
	font-size: 20px;
	font-weight: 800;
	line-height: 1.1;
	transition: background-color 0.24s ease, filter 0.24s ease;
}

.lm-site-footer__cert-image img {
	display: block;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	filter: brightness(1.05);
}

.lm-site-footer__cert-label {
	display: block;
	width: 132px;
	max-width: calc(100vw - 48px);
	color: inherit;
	font-size: clamp(12px, 0.82vw, 14px);
	font-weight: 500;
	line-height: 1.25;
}

.lm-site-footer__cert:hover {
	color: var(--lm-footer-strong);
}

.lm-site-footer__cert:hover .lm-site-footer__cert-image {
	background: rgba(255, 255, 255, 0.15);
	filter: brightness(1.14);
}

@media (max-width: 1200px) {
	.lm-site-footer__top {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 720px) {
	.lm-site-footer__inner {
		padding: 42px 20px 30px;
	}

	.lm-site-footer__top {
		grid-template-columns: 1fr;
		gap: 30px;
		padding-bottom: 42px;
	}

	.lm-site-footer__brand-name,
	.lm-site-footer__heading {
		margin-bottom: 18px;
	}

	.lm-site-footer__description {
		max-width: none;
		margin-bottom: 24px;
	}

	.lm-site-footer__social .wd-social-icon {
		width: 34px;
		height: 34px;
	}

	.lm-site-footer__menu {
		gap: 13px;
	}

	.lm-site-footer__cert-grid {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 22px 18px;
	}

	.lm-site-footer__cert {
		width: 100%;
	}

	.lm-site-footer__cert-image {
		width: 104px;
		height: 104px;
	}
}
