/* ==========================================================
   FOOTER — ABAD ASSOCIATS
   Este archivo se carga después de style.css y custom.css.
   Por eso también neutraliza las reglas antiguas del footer del tema.
   ========================================================== */

.site-footer {
	position: relative;
	overflow: hidden;
	margin-top: 0;
	background: #111111;
	color: #f5f2ec;
}

.site-footer__inner {
	position: relative;
	z-index: 1;
	padding-top: 72px;
	padding-bottom: 26px;
}

.site-footer__watermark {
	position: absolute;
	top: 46%;
	left: 50%;
	width: 100%;
	transform: translate(-50%, -50%);
	white-space: nowrap;
	text-align: center;
	pointer-events: none;
	user-select: none;

	font-family: var(--wp--preset--font-family--body);
	font-size: clamp(6rem, 13vw, 12rem);
	font-weight: 500;
	line-height: 1;
	letter-spacing: -0.06em;

	color: rgba(255,255,255,.06);
}

.site-footer__main {
	display: grid;
	grid-template-columns: .95fr 1.3fr .95fr;
	gap: 0;
}

.site-footer__column {
	min-width: 0;
	padding: 8px 48px 36px;
}

.site-footer__column:first-child {
	padding-left: 0;
}

.site-footer__column:last-child {
	padding-right: 0;
}

.site-footer__column + .site-footer__column {
	border-left: 1px solid rgba(181,154,90,.68);
}

.site-footer__heading {
	margin: 0 0 20px;

	font-family: var(--wp--preset--font-family--body);
	font-size: 1.18rem;
	font-weight: 650;
	line-height: 1.25;

	color: #ffffff;
}

.site-footer__text,
.site-footer__contact-lines a {
	font-family: var(--wp--preset--font-family--body);
	font-size: .96rem;
	font-weight: 400;
	line-height: 1.55;

	color: #d8d3ca;
}

.site-footer__text {
	margin: 0;
}

.site-footer__contact-lines {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 3px;
	margin-top: 20px;
}

.site-footer__contact-lines a {
	text-decoration: none;
	transition: color .18s ease;
}

.site-footer__contact-lines a:hover,
.site-footer__contact-lines a:focus {
	color: #c2a45d;
}

.site-footer__lower {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	gap: 34px;

	margin-top: 16px;
	padding: 30px 0;

	border-top: 1px solid rgba(255,255,255,.11);
	border-bottom: 1px solid rgba(255,255,255,.11);
}

.site-footer__accreditations {
	display: flex;
	align-items: center;
	gap: 16px;
}

.site-footer__accreditations a {
	display: block;
	flex: 0 0 auto;
}

.site-footer__accreditation-logo {
	display: block;
	width: auto;
	max-width: 145px;
	height: 70px;
	object-fit: contain;
	background: #ffffff;
}

.site-footer__accreditation-text {
	max-width: 860px;
	margin: 0;

	font-family: var(--wp--preset--font-family--body);
	font-size: .9rem;
	line-height: 1.55;

	color: #d0cbc2;
}

.site-footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	padding-top: 22px;
}

/* Sobrescribe las reglas antiguas de style.css. */
.site-footer .footer-navigation ul {
	display: flex;
	flex-wrap: wrap;
	gap: 14px 22px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer .footer-navigation a {
	font-family: var(--wp--preset--font-family--body);
	font-size: .76rem;
	font-weight: 500;
	line-height: 1.3;
	letter-spacing: .04em;
	text-transform: uppercase;

	color: #cfc9bf;
	text-decoration: none;
}

.site-footer .footer-navigation a:hover,
.site-footer .footer-navigation a:focus {
	color: #c2a45d;
}

.site-footer__copyright {
	margin: 0;

	font-family: var(--wp--preset--font-family--body);
	font-size: .76rem;
	line-height: 1.4;

	color: #969087;
}


/* ----------------------------------------------------------
   TABLET
   ---------------------------------------------------------- */

@media (max-width: 900px) {

	.site-footer__watermark {
		top: 36%;
		font-size: 17vw;
	}

	.site-footer__main {
		grid-template-columns: 1fr;
	}

	.site-footer__column,
	.site-footer__column:first-child,
	.site-footer__column:last-child {
		padding: 28px 0;
	}

	.site-footer__column + .site-footer__column {
		border-left: 0;
		border-top: 1px solid rgba(181,154,90,.48);
	}

	.site-footer__lower {
		grid-template-columns: 1fr;
	}

	.site-footer__bottom {
		align-items: flex-start;
		flex-direction: column;
	}

}


/* ----------------------------------------------------------
   MÓVIL
   ---------------------------------------------------------- */

@media (max-width: 650px) {

	.site-footer__inner {
		padding-top: 44px;
	}

	.site-footer__watermark {
		top: 31%;
		font-size: 21vw;
	}

	.site-footer__heading {
		margin-bottom: 14px;
	}

	.site-footer__accreditations {
		flex-wrap: wrap;
	}

	.site-footer__accreditation-logo {
		max-width: 120px;
		height: 60px;
	}

}