/**
 * Footer styles.
 *
 * Estilos para footer PHP o footer construido con Elementor. Mantener aqui
 * patrones reutilizables como columnas, menus legales y bloques de contacto.
 */

.site-footer,
.hcc-site-footer {
	background: #ffffff;
	border-top: 1px solid rgba(26, 18, 8, 0.12);
	color: var(--dark);
}

.hcc-site-footer a {
	color: inherit;
	text-decoration: none;
}

.hcc-footer__inner {
	align-items: start;
	display: grid;
	gap: 2rem;
	padding-block: clamp(2rem, 5vw, 4rem);
}

.hcc-footer__logo-link {
	align-items: center;
	display: inline-flex;
	margin-bottom: 1rem;
}

.hcc-footer__logo,
.hcc-footer__logo-link img {
	display: block;
	height: auto;
	max-height: 72px;
	max-width: min(70vw, 320px);
	object-fit: contain;
	width: auto;
}

.hcc-footer__site-title {
	color: var(--dark);
	font-family: var(--hcc-font-menu);
	font-size: clamp(1.4rem, 3vw, 2rem);
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
}

.hcc-footer__description {
	color: var(--hcc-color-muted);
	font-size: 1rem;
	line-height: 1.7;
	margin: 0;
	max-width: 36rem;
}

.hcc-footer__navigation {
	justify-self: end;
}

.hcc-footer-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.3rem;
	justify-content: flex-end;
	list-style: none;
	margin: 0;
	padding: 0;
}

.hcc-footer-menu a {
	color: var(--dark);
	font-family: var(--hcc-font-menu);
	font-size: 0.92rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	transition: color 160ms ease;
}

.hcc-footer-menu a:hover,
.hcc-footer-menu a:focus-visible {
	color: var(--hcc-color-primary);
}

.hcc-footer__bottom {
	border-top: 1px solid rgba(26, 18, 8, 0.1);
	color: rgba(26, 18, 8, 0.68);
	font-size: 0.875rem;
	padding-block: 1rem;
}

.hcc-footer__bottom p {
	margin: 0;
}

@media (min-width: 768px) {
	.hcc-footer__inner {
		grid-template-columns: minmax(0, 1.35fr) minmax(16rem, 0.65fr);
	}
}

@media (max-width: 767px) {
	.hcc-footer__navigation {
		justify-self: start;
	}

	.hcc-footer-menu {
		display: grid;
		gap: 0.8rem;
		justify-content: start;
	}
}
