/**
 * A.M Aesthetics footer — Figma 18764:3835 (desktop), 18406:10427 (mobile).
 *
 * @package RichardMedina\ElementorTemplates
 */

.rm-am-footer {
	width: 100%;
	font-family: "Poppins", sans-serif;
	background-color: #ffffff;
	padding-top: 6px;
	color: #020202;
}

.rm-am-footer *,
.rm-am-footer *::before,
.rm-am-footer *::after {
	box-sizing: border-box;
}

/* ----- Top colour stripe ----- */

.rm-am-footer__stripe-area {
	width: 100%;
}

.rm-am-footer__stripe {
	display: block;
	width: 100%;
	height: 6px;
}

.rm-am-footer__shell {
	width: 100%;
	padding: 40px 20px;
	background-color: #ffffff;
}

.rm-am-footer__row {
	display: grid;
	grid-template-columns: 1fr;
	grid-template-rows: auto auto;
	gap: 40px;
	width: 100%;
}

.rm-am-footer__top {
	display: flex;
	flex-direction: column;
	gap: 32px;
	width: 100%;
}

.rm-am-footer__left {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
	width: 100%;
}

/* ----- Brand: mark + wordmark ----- */

.rm-am-footer__brand {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16.002px;
}

.rm-am-footer__mark {
	display: inline-flex;
	flex: 0 0 auto;
	width: 68.582px;
	height: 68.582px;
}

.rm-am-footer__mark-svg {
	display: block;
	width: 100%;
	height: 100%;
}

.rm-am-footer__wordmark {
	flex: 0 0 auto;
	width: 210.416px;
	height: 54.839px;
	background-repeat: no-repeat;
	background-position: center bottom;
	background-size: 100% auto;
}

/* Single uploaded logo override (ACF footer_logo). */
.rm-am-footer__logo {
	display: block;
	width: auto !important;
	height: auto !important;
	max-height: 68.582px;
	max-width: min(100%, 320px);
	object-fit: contain;
	object-position: center;
}

.rm-am-footer__intro {
	margin: 0;
	max-width: 34rem;
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
	text-align: center;
	color: #292929;
}

.rm-am-footer__info {
	display: flex;
	flex-direction: column;
	gap: 32px;
	width: 100%;
}

.rm-am-footer__info-group {
	display: flex;
	flex-direction: column;
	gap: 32px;
	width: 100%;
}

.rm-am-footer__section {
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: 100%;
}

.rm-am-footer__heading-block {
	display: flex;
	flex-direction: column;
	gap: 8px;
	width: 100%;
}

.rm-am-footer__heading {
	margin: 0;
	font-size: 16px !important;
	font-weight: 500 !important;
	line-height: 20px !important;
	letter-spacing: 1.28px !important;
	text-transform: uppercase !important;
	color: #126b57 !important;
}

.rm-am-footer__heading-rule {
	width: 100%;
	height: 1px;
	background-color: #858585;
}

.rm-am-footer__line-item {
	margin: 0;
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
	color: #020202;
}

.rm-am-footer__line-item strong {
	font-weight: 600;
	margin-right: 0.2rem;
}

.rm-am-footer__line-item--address span {
	display: inline;
}

.rm-am-footer__contact {
	display: flex;
	flex-direction: column;
	gap: 12px;
	width: 100%;
}

.rm-am-footer__contact-list {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.rm-am-footer__address-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

/* Contact phone lines render as SemiBold, undecorated text (Figma desktop). */
.rm-am-footer__text-link {
	color: #020202;
	text-decoration: none;
}

.rm-am-footer__text-link strong {
	font-weight: 600;
}

.rm-am-footer__text-link:hover,
.rm-am-footer__text-link:focus-visible {
	color: #126b57;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.rm-am-footer__social-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.rm-am-footer__social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	/* border: 1px solid #126b57;
	border-radius: 50%;
	color: #126b57;
	text-decoration: none; */
	transition: all 0.2s ease;
}

/* .rm-am-footer__social-link:hover,
.rm-am-footer__social-link:focus-visible {
	background-color: #126b57;
	color: #ffffff;
} */

.rm-am-footer__social-icon {
	width: 100%;
	height: 100%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.rm-am-footer__social-icon svg {
	width: 100%;
	height: 100%;
	display: block;
}

.rm-am-footer__bottom {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 12px;
	width: 100%;
	grid-row: 2;
}

.rm-am-footer__legal-stack {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 6px;
	width: 100%;
}

.rm-am-footer__rule {
	width: 100%;
	height: 1px;
	background-color: #858585;
}

.rm-am-footer__copyright {
	margin: 0;
	width: 100%;
	font-size: 13px;
	font-weight: 400;
	line-height: 19px;
	text-align: left;
	color: #020202;
}

.rm-am-footer__legal {
	margin: 0;
	width: 100%;
	font-size: 13px;
	font-weight: 400;
	font-style: italic;
	line-height: 19px;
	text-align: left;
	color: #454545;
	opacity: 0.75;
}

.rm-am-footer__legal-link {
	color: inherit;
	font-style: italic;
	text-decoration: underline;
	text-decoration-skip-ink: none;
}

.rm-am-footer__legal-link:hover,
.rm-am-footer__legal-link:focus-visible {
	color: #020202;
}

@media (min-width: 768px) and (max-width: 1023px) {
	.rm-am-footer__copyright {
		font-size: 14px;
		line-height: 22px;
	}

	.rm-am-footer__legal {
		font-size: 14px;
		line-height: 22px;
	}
}

@media (min-width: 1024px) {
	.rm-am-footer {
		padding-top: 10px;
	}

	.rm-am-footer__stripe {
		height: 12px;
	}

	.rm-am-footer__shell {
		padding: 60px 80px;
	}

	.rm-am-footer__top {
		flex-direction: row;
		align-items: flex-start;
		justify-content: space-between;
		gap: 48px;
		grid-row: 1;
	}

	.rm-am-footer__left {
		flex: 0 1 339px;
		min-width: 0;
		align-items: flex-start;
		justify-content: space-between;
		gap: 40px;
		align-self: stretch;
	}

	.rm-am-footer__brand {
		justify-content: flex-start;
		gap: 18.395px;
	}

	.rm-am-footer__mark {
		width: 78.837px;
		height: 78.837px;
	}

	.rm-am-footer__wordmark {
		width: 241.882px;
		height: 63.04px;
	}

	.rm-am-footer__logo {
		max-height: 78.837px;
		max-width: 400px;
	}

	.rm-am-footer__intro {
		text-align: left;
		max-width: 100%;
		color: #020202;
	}

	.rm-am-footer__info {
		width: auto;
		flex: 0 0 auto;
		flex-direction: row;
		gap: 48px;
	}

	.rm-am-footer__info-group--left {
		width: auto;
		gap: 48px;
	}

	.rm-am-footer__info-group--right {
		width: 320px;
	}

	.rm-am-footer__section {
		min-width: 160px;
		gap: 20px;
	}

	.rm-am-footer__heading-rule,
	.rm-am-footer__rule {
		background-color: #cccccc;
	}

	.rm-am-footer__bottom {
		align-items: flex-start;
		gap: 16px;
		margin-top: 0;
	}

	.rm-am-footer__legal-stack {
		width: 100%;
		justify-content: space-between;
		flex-direction: row;
		align-items: center;
		gap: 24px;
	}

	.rm-am-footer__copyright {
		font-size: 14px;
		line-height: 22px;
		text-align: left;
		width: auto;
	}

	.rm-am-footer__legal {
		font-size: 14px;
		line-height: 22px;
		text-align: right;
		width: auto;
		color: #606060;
		opacity: 1;
	}
}