/**
 * Footer Mentium – Design moderno.
 *
 * @package tutorstarter-child
 */

/* Placeholder pagina anteprima */
.mentium-footer-preview-main {
	min-height: 60vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 3rem 24px;
}

.mentium-footer-preview-placeholder {
	text-align: center;
	max-width: 480px;
}

.mentium-footer-preview-placeholder h1 {
	font-size: 1.5rem;
	margin-bottom: 0.75rem;
}

.mentium-footer-preview-placeholder p {
	color: #64748b;
	margin-bottom: 0.5rem;
}

.mentium-footer-preview-hint {
	font-size: 0.875rem;
	font-style: italic;
	margin-top: 1rem;
}

/* ===== Footer moderno ===== */
.mentium-footer {
	background: linear-gradient(160deg, #00AAFF 0%, #0a7bc4 35%, #1a3a8a 70%, #132977 100%);
	color: #f8fafc;
	padding: 4rem 0 2.5rem;
	margin-top: 4rem;
}

.mentium-footer__container {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 24px;
}

/* Blocco principale: 3 colonne su desktop */
.mentium-footer__main {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, 1fr);
	gap: 3rem 4rem;
	align-items: start;
	padding-bottom: 2.5rem;
	margin-bottom: 2rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 768px) {
	.mentium-footer__main {
		grid-template-columns: 1fr;
		gap: 2.5rem;
		text-align: center;
	}
}

/* Brand / Logo */
.mentium-footer__brand {
	display: flex;
	align-items: flex-start;
}

@media (max-width: 768px) {
	.mentium-footer__brand {
		justify-content: center;
	}
}

.mentium-footer__logo-link {
	display: block;
	transition: opacity 0.2s ease;
}

.mentium-footer__logo-link:hover {
	opacity: 0.9;
}

.mentium-footer__logo {
	height: 52px;
	width: auto;
	max-width: 140px;
	object-fit: contain;
}

/* Headings */
.mentium-footer__heading {
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.6);
	margin: 0 0 1rem;
}

/* Contatti con icone */
.mentium-footer__contact-list {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.mentium-footer__contact-item {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	color: #f1f5f9;
	text-decoration: none;
	font-size: 0.9375rem;
	transition: color 0.2s ease;
}

.mentium-footer__contact-item:hover {
	color: #fff;
}

.mentium-footer__contact-item em {
	font-style: normal;
	opacity: 0.85;
	font-size: 0.875em;
}

.mentium-footer__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	color: rgba(255, 255, 255, 0.7);
	transition: color 0.2s ease;
}

.mentium-footer__contact-item:hover .mentium-footer__icon {
	color: #fff;
}

/* Social */
.mentium-footer__social-block {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

@media (max-width: 768px) {
	.mentium-footer__social-block {
		align-items: center;
	}
}

.mentium-footer__social {
	display: flex;
	gap: 0.5rem;
}

.mentium-footer__social-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.06);
	color: #e2e8f0;
	transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.mentium-footer__social-link:hover {
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	transform: translateY(-2px);
}

/* Legale: link inline */
.mentium-footer__legal {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.5rem 0.75rem;
	margin-bottom: 1.5rem;
	font-size: 0.875rem;
}

.mentium-footer__legal a {
	color: #94a3b8;
	text-decoration: none;
	transition: color 0.2s ease;
}

.mentium-footer__legal a:hover {
	color: #fff;
}

.mentium-footer__sep {
	color: rgba(255, 255, 255, 0.25);
	user-select: none;
}

/* Dati società */
.mentium-footer__company {
	text-align: center;
	font-size: 0.8125rem;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.6);
	margin-bottom: 1.5rem;
	font-weight: 400;
}

.mentium-footer__company p {
	margin: 0 0 0.25rem;
}

.mentium-footer__company p:last-child {
	margin-bottom: 0;
}

/* Copyright */
.mentium-footer__copy {
	text-align: center;
	font-size: 0.8125rem;
	color: rgba(255, 255, 255, 0.5);
	font-weight: 500;
}
