/* ==========================================================================
   Footer — Site Footer
   Mobile-first: base = mobile, @media (min-width: 1024px) = desktop
   ========================================================================== */

/* --- Footer Base --- */
.site-footer {
	background-color: #016FDF;
	color: #fff;
	font-family: 'TT Norms Pro', sans-serif;
}

.site-footer a {
	color: inherit;
}

.site-footer a:hover {
	color: inherit;
}

/* --- Footer Upper --- */
.site-footer__upper {
	padding: var(--space-10, 48px) 0 var(--space-8, 32px);
}

.site-footer__grid {
	display: flex;
	flex-direction: column;
	gap: var(--space-8, 32px);
}

/* --- CTA Column --- */
.site-footer__col--cta {
	display: flex;
	flex-direction: column;
	gap: var(--space-3, 12px);
}

.site-footer__title {
	font-family: 'TT Norms Pro', sans-serif;
	font-size: 24px;
	font-weight: 700;
	line-height: normal;
	letter-spacing: 0;
	color: #fff;
	margin: 0;
}

.site-footer__description {
	font-family: 'TT Norms Pro', sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 135%;
	letter-spacing: 0;
	color: rgba(255, 255, 255, 0.85);
	margin: 0;
}

.site-footer__contact-title {
	font-family: 'TT Norms Pro', sans-serif;
	font-size: 17px;
	font-weight: 700;
	line-height: 110%;
	letter-spacing: 0;
	color: #fff;
	margin: var(--space-2, 8px) 0 0;
}

.site-footer__contact-link {
	display: inline-flex;
	align-items: center;
	gap: var(--space-2, 8px);
	font-family: 'TT Norms Pro', sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 125%;
	letter-spacing: 0;
	color: rgba(255, 255, 255, 0.85);
	text-decoration: none;
	transition: opacity 0.2s ease;
}

.site-footer__contact-link--email {
	text-decoration: underline;
}

.site-footer__contact-link:hover {
	opacity: 0.8;
}

.site-footer__contact-icon {
	flex-shrink: 0;
}

/* --- Social Icons --- */
.site-footer__social {
	display: flex;
	gap: var(--space-2, 8px);
	margin-top: var(--space-2, 8px);
}

.site-footer__social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 39px;
	background: #fff;
	transition: opacity 0.2s ease;
}

.site-footer__social-link:hover {
	opacity: 0.85;
}

/* --- Link Columns --- */
.site-footer__col--links {
	display: flex;
	flex-direction: column;
	gap: var(--space-2, 8px);
}

.site-footer__col-title {
	font-family: 'TT Norms Pro', sans-serif;
	font-size: 16px;
	font-weight: 700;
	line-height: 110%;
	letter-spacing: 0;
	color: #fff;
	margin: 0 0 var(--space-1, 4px);
}

.site-footer__links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: var(--space-2, 8px);
}

.site-footer__link {
	font-family: 'TT Norms Pro', sans-serif;
	font-size: 13px;
	font-weight: 400;
	line-height: 125%;
	letter-spacing: 0;
	color: rgba(255, 255, 255, 0.75);
	text-decoration: none;
	transition: opacity 0.2s ease;
}

.site-footer__link:hover {
	opacity: 0.9;
}

.site-footer__ver-mas {
	display: inline-flex;
	align-items: center;
	gap: var(--space-1, 4px);
	font-family: 'TT Norms Pro', sans-serif;
	font-size: 14px;
	font-weight: 700;
	line-height: 125%;
	letter-spacing: 0;
	color: #fff;
	text-decoration: none;
	margin-top: var(--space-1, 4px);
	background: none;
	font-size: 14px;
	border: none;
	padding: 0;
	cursor: pointer;
	transition: opacity 0.2s ease;
}

.site-footer__ver-mas:hover {
	opacity: 0.85;
}

/* Ocultar links extra (más de 4) */
.site-footer__links li:nth-child(n+5) {
	display: none;
}

.site-footer__links.is-expanded li:nth-child(n+5) {
	display: list-item;
}

/* Ocultar "Ver más" si hay 4 o menos links */
.site-footer__ver-mas.is-hidden {
	display: none;
}

.site-footer__ver-mas svg {
	width: 10px;
	height: 10px;
	transition: transform 0.2s ease;
}

.site-footer__ver-mas.is-open svg {
	transform: rotate(180deg);
}

/* --- Footer Bottom --- */
.site-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.25);
	padding: var(--space-4, 16px) 0;
}

.site-footer__bottom-inner {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
}

.site-footer__terms {
	font-family: 'TT Norms Pro', sans-serif;
	font-size: 13px;
	font-weight: 400;
	line-height: 125%;
	letter-spacing: 0;
	color: rgba(255, 255, 255, 0.85);
	text-decoration: underline;
	transition: opacity 0.2s ease;
}

.site-footer__terms:hover {
	opacity: 0.8;
}

.site-footer__copyright {
	font-family: 'TT Norms Pro', sans-serif;
	font-size: 13px;
	font-weight: 400;
	line-height: 125%;
	letter-spacing: 0;
	color: #fff;
	margin: 0;
}

.site-footer__elaborado {
	font-family: 'TT Norms Pro', sans-serif;
	font-size: 13px;
	font-weight: 400;
	line-height: 125%;
	letter-spacing: 0;
	color: #fff;
	margin: 0;
}

.site-footer__credits {
	font-family: 'TT Norms Pro', sans-serif;
	font-size: 13px;
	font-weight: 700;
	line-height: 125%;
	letter-spacing: 0;
	color: #fff;
	text-decoration: underline;
}

.site-footer__credits:hover {
	opacity: 0.8;
}

.site-footer__separator {
	display: none;
	color: rgba(255, 255, 255, 0.5);
	font-size: 13px;
}

/* --- Libro de Reclamaciones Card --- */
.site-footer__reclamaciones-card {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding: 12px 20px;
	border: 1.5px solid rgba(255, 255, 255, 0.5);
	border-radius: 12px;
	text-decoration: none;
	color: #fff;
	margin-top: 12px;
	transition: background 0.2s ease, border-color 0.2s ease;
	width: fit-content;
}

.site-footer__reclamaciones-card:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: #fff;
}

.site-footer__reclamaciones-text {
	font-family: 'TT Norms Pro', sans-serif;
	font-size: 13px;
	font-weight: 500;
	line-height: 130%;
	text-align: center;
	color: #fff;
}

.site-footer__reclamaciones-img {
	width: 60px;
	height: auto;
	object-fit: contain;
}

/* ==========================================================================
   Tablet — min-width: 768px
   ========================================================================== */
@media (min-width: 768px) {

	.site-footer__grid {
		display: grid;
		grid-template-columns: 1.3fr 1.3fr 1fr;
		gap: 32px;
	}

	.site-footer__col--cta {
		grid-column: 1 / -1;
		max-width: 480px;
	}

	.site-footer__bottom-inner {
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		gap: 8px;
		align-items: center;
	}

	.site-footer__separator {
		display: inline;
	}

	.site-footer__elaborado {
		width: 100%;
	}

}

/* ==========================================================================
   Desktop — min-width: 1024px
   ========================================================================== */
@media (min-width: 1024px) {

	.site-footer__upper {
		padding: var(--space-12, 80px) 0 var(--space-10, 48px);
	}

	.site-footer__grid {
		display: flex;
		flex-direction: row;
		gap: var(--space-8, 32px);
	}

	.site-footer__col--cta {
		flex: 0 0 421px;
		max-width: 421px;
		grid-column: auto;
	}

	.site-footer__title {
		font-size: 24px;
	}

	.site-footer__col--links {
		flex: 1;
	}

	.site-footer__col--links:last-child {
		flex: 0.75;
	}

	/* Bottom bar */
	.site-footer__bottom-inner {
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
		align-items: center;
		gap: 8px;
	}

	.site-footer__terms {
		width: auto;
	}

	.site-footer__copyright {
		flex: none;
	}

	.site-footer__separator {
		display: inline;
	}

	.site-footer__elaborado {
		margin-left: auto;
		width: auto;
	}

	.site-footer__elaborado::before {
		display: none;
	}
}
