/* Font Awesome Import - Fallback if not loaded by theme */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

/* Mattis Footer Addon base styles */
.mattis-footer {
	position: relative;
	background: #fff;
	color: #222;
	font-size: 0.9rem;
	line-height: 1.5;
}
.mattis-footer--dark {
	background: #0f0f0f;
	color: #e9e9e9;
}
.mattis-footer a {
	color: inherit;
	text-decoration: none;
	transition: color 0.25s, opacity 0.25s;
}
.mattis-footer a:hover {
	color: #DB7E2B;
}

.mattis-footer__inner {
	max-width: 1320px;
	margin: 0 auto;
	padding: 3.5rem 2rem 2.5rem;
	display: grid;
	grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
	gap: 2.5rem 3.5rem;
	align-items: start;
}

.mattis-footer__col--contact {
	padding-right: 2rem;
}

.mattis-footer__col--brand-socials {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 2rem;
}

.mattis-footer__brand {
	margin: 0;
}

.mattis-footer__logo {
	max-width: 200px;
	margin: 0 auto 1.25rem;
}

.mattis-footer__tagline {
	font-size: 0.8rem;
	letter-spacing: 0.5px;
	opacity: 0.75;
	margin-top: 0.25rem;
}

.mattis-footer__col-title {
	font-size: 1rem;
	font-weight: 400;
	font-size: 17px;
	margin: 0 0 1rem;
	letter-spacing: 0.5px;
	color: #999;
}

.mattis-footer__list {
	font-size: 1rem;
}

.mattis-footer nav ul,
.mattis-footer__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.mattis-footer__nav-list li a {
	font-weight: 700;
	font-size: 17px;
}

.mattis-footer__contact-item {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	font-size: 0.9rem;
	line-height: 1.4;
	margin-bottom: 0.5rem;
}

.mattis-footer__contact-item:last-child {
	margin-bottom: 0;
}

.mattis-footer__contact-item strong {
	font-weight: 700;
}

.mattis-footer__contact-item i {
	font-size: 1.1rem;
	color: #DB7E2B;
	margin-top: 0.1em;
	min-width: 1.2rem;
	text-align: center;
}

.mattis-footer__contact-item div {
	flex: 1;
}

/* Franja negra de enlaces */
.mattis-footer__band {
	background: #0e0e0f;
	color: #f2f2f2;
}
.mattis-footer__band-inner {
	max-width: 1320px;
	margin: 0 auto;
	padding: 1.6rem 2rem 2rem;
}
.mattis-footer__band-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 1.1rem;
}
.mattis-footer__band-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	background: #fff;
	color: #111;
	border-radius: 1rem;
	padding: 0.9rem 1rem 0.9rem 1.2rem;
	box-shadow: 0 10px 24px -16px rgba(0, 0, 0, 0.45);
}
.mattis-footer__band-link:hover {
	color: #111;
}
.mattis-footer__band-icon {
	display: inline-flex;
	width: 28px;
	height: 28px;
	border-radius: 999px;
	background: #f1f2f5;
	color: #111;
	align-items: center;
	justify-content: center;
}

/* Barra inferior naranja */
.mattis-footer__bottom {
	background: #DB7E2B;
	color: #fff;
}
.mattis-footer__bottom-inner {
	max-width: 1320px;
	margin: 0 auto;
	padding: 0.9rem 2rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}
.mattis-footer__bottom-left {
	opacity: 0.95;
}
.mattis-footer__bottom-links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 1.25rem;
}
.mattis-footer__bottom-links a {
	color: #fff;
}
.mattis-footer__bottom-links a:hover {
	opacity: 0.85;
}

@media (max-width: 980px) {
	.mattis-footer__band-list {
		grid-template-columns: repeat(3, 1fr);
	}
}
@media (max-width: 640px) {
	.mattis-footer__band-inner {
		padding: 1.2rem 1.2rem 1.6rem;
	}
	.mattis-footer__band-list {
		grid-template-columns: 1fr 1fr;
		gap: 0.9rem;
	}
	.mattis-footer__bottom-inner {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.6rem;
	}
}

/* Socials */
.mattis-footer__socials-group {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.5rem;
}

.mattis-footer__socials {
	display: flex;
	gap: 0.75rem;
	margin: 0;
	flex-wrap: wrap;
	justify-content: center;
}

.mattis-footer__socials a {
	width: 43px;
	height: 43px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	border-radius: 50%;
	color: #DB7E2B;
	transition: color 0.25s, background-color 0.25s;
	font-size: 43px;
}

.mattis-footer__socials a:hover {
	background-color: #DB7E2B;
	color: #fff;
}

/* Secondary brand / group */
.mattis-footer__group {
	margin-top: 0;
	display: flex;
	align-items: center;
	gap: 1rem;
}

.mattis-footer__group-logo img {
	max-height: 51px;
	width: auto;
	filter: grayscale(1);
	opacity: 0.7;
}

.mattis-footer__group-sep {
	display: inline-block;
	width: 1px;
	height: 28px;
	background: currentColor;
	opacity: 0.25;
}

/* Scroll top */
.mattis-footer__scroll-top {
	position: absolute;
	right: 4rem;
	top: -2rem;
	width: 4rem;
	height: 4rem;
	border-radius: 50%;
	background: #d17929;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 0;
	cursor: pointer;
	box-shadow: 0 6px 18px -6px rgba(0, 0, 0, 0.4);
	transition: background 0.3s, transform 0.3s;
	font-size: 1.2rem;
}

.mattis-footer__scroll-top:hover {
	background: #f08e32;
	transform: translateY(-3px);
}

.mattis-footer__scroll-top:active {
	transform: translateY(0);
}

/* Responsive */
@media (max-width: 1100px) {
	.mattis-footer__inner {
		grid-template-columns: 1.5fr 1fr 1fr;
		gap: 2.5rem;
	}

	.mattis-footer__col--brand-socials {
		grid-column: 1 / -1;
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
		margin-top: 1rem;
		text-align: left;
	}

	.mattis-footer__brand {
		order: 1;
	}

	.mattis-footer__socials-group {
		order: 2;
		flex-direction: row;
		gap: 2rem;
	}

	.mattis-footer__logo {
		margin: 0;
	}

	.mattis-footer__scroll-top {
		right: 1rem;
		top: 1rem;
		width: 54px;
		height: 54px;
		font-size: 1rem;
	}
}

@media (max-width: 820px) {
	.mattis-footer__inner {
		grid-template-columns: 1fr 1fr;
		gap: 2.5rem;
		padding: 3rem 1.5rem 2.2rem;
	}

	.mattis-footer__col--contact {
		grid-column: 1 / -1;
		padding-right: 0;
	}

	.mattis-footer__scroll-top {
		width: 50px;
		height: 50px;
		font-size: 0.9rem;
	}
}

@media (max-width: 560px) {
	.mattis-footer__inner {
		grid-template-columns: 1fr;
		padding: 2.6rem 1.2rem 2rem;
		gap: 2rem;
	}

	.mattis-footer__col--brand-socials {
		flex-direction: column;
		gap: 2rem;
		text-align: center;
	}

	.mattis-footer__socials-group {
		flex-direction: column;
		gap: 1.5rem;
	}

	.mattis-footer__logo {
		margin: 0 auto 1rem;
	}

	.mattis-footer__scroll-top {
		display: none;
	}
}
