@font-face {
	font-family: "CME Playfair Display";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/playfair-display-400.woff2") format("woff2");
}

@font-face {
	font-family: "CME Playfair Display";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("../fonts/playfair-display-500.woff2") format("woff2");
}

@font-face {
	font-family: "CME Playfair Display";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("../fonts/playfair-display-600.woff2") format("woff2");
}

@font-face {
	font-family: "CME Lato";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/lato-400.woff2") format("woff2");
}

@font-face {
	font-family: "CME Lato";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("../fonts/lato-700.woff2") format("woff2");
}

.cme-footer,
.cme-footer * {
	box-sizing: border-box;
}

.cme-footer {
	--cme-bg: #031d15;
	--cme-accent: #d48653;
	--cme-divider: #334d39;
	--cme-divider-width: 1.5px;
	--cme-divider-opacity: 0.9;
	--cme-texture-opacity: 0.32;
	--cme-grid-min-height: 562px;

	position: relative;
	isolation: isolate;
	width: 100%;
	max-width: 100%;
	margin: 0;
	overflow: hidden;
	background-color: var(--cme-bg);
	color: #fff;
	font-family: "CME Lato", Lato, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.4;
	text-rendering: optimizeLegibility;
}

.cme-footer::before {
	position: absolute;
	z-index: -1;
	inset: 0;
	content: "";
	pointer-events: none;
	opacity: var(--cme-texture-opacity);
	background:
		radial-gradient(circle at 48% 46%, rgba(8, 70, 52, 0.48) 0%, rgba(3, 42, 31, 0.13) 35%, transparent 68%),
		linear-gradient(112deg, rgba(0, 0, 0, 0.22), transparent 28%, rgba(0, 0, 0, 0.08) 64%, rgba(0, 0, 0, 0.25)),
		repeating-linear-gradient(33deg, rgba(255, 255, 255, 0.008) 0, rgba(255, 255, 255, 0.008) 1px, transparent 1px, transparent 4px);
}

.cme-footer--full-bleed {
	left: 50%;
	width: 100vw;
	max-width: 100vw;
	margin-left: -50vw;
}

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

.cme-footer__main {
	padding: 60px 70px 52px;
}

.cme-footer__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	width: 100%;
	max-width: 1868px;
	min-height: var(--cme-grid-min-height);
	margin: 0 auto;
}

.cme-footer__block {
	position: relative;
	min-width: 0;
}

.cme-block--brand {
	--cme-brand-content-align: flex-start;
	display: flex;
	align-items: var(--cme-brand-content-align);
	flex-direction: column;
	padding: 64px 50px 0 0;
}

.cme-block--contact {
	padding: 16px 64px 0;
}

.cme-block--map {
	padding: 16px 0 12px 64px;
}

.cme-block--contact::before,
.cme-block--map::before {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: var(--cme-divider-width);
	content: "";
	pointer-events: none;
	background: var(--cme-divider);
	opacity: var(--cme-divider-opacity);
}

.cme-section-title {
	padding: 0;
	margin: 0;
	color: #fff;
	font-family: "CME Playfair Display", "Playfair Display", Georgia, serif;
	font-size: 42px;
	font-weight: 500;
	line-height: 1.16;
	letter-spacing: -0.025em;
}

.cme-heading {
	display: grid;
	justify-items: start;
	width: 100%;
	text-align: start;
}

.cme-block--brand .cme-section-title {
	font-size: 39px;
}

.cme-block--brand .cme-title-accent {
	margin-top: 22px;
}

.cme-title-accent {
	display: block;
	width: 49px;
	height: 4px;
	margin-top: 16px;
	background: var(--cme-accent);
}

/* Logo de referencia: recorte no destructivo de las imágenes entregadas. */
.cme-logo {
	display: block;
	width: 523px;
	max-width: 100%;
	background: #fff;
	overflow: hidden;
}

.cme-logo--reference {
	aspect-ratio: 523 / 123;
}

.cme-reference-logo {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.cme-reference-logo picture,
.cme-reference-logo img {
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	width: 100%;
	height: 100%;
}

.cme-reference-logo img {
	max-width: none;
	height: auto;
	transform-origin: 0 0;
	pointer-events: none;
	user-select: none;
}

.cme-reference-logo__image {
	width: 383.7476099%;
	transform: translate(-3.4877927%, -15.8163265%);
}

.cme-logo--custom {
	aspect-ratio: 523 / 123;
}

.cme-logo__custom-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.cme-social {
	width: 100%;
	margin-top: 71px;
}

.cme-block--brand:not(:has(.cme-logo)) .cme-social {
	margin-top: 0;
}

.cme-social-list {
	display: flex;
	align-items: center;
	justify-content: var(--cme-brand-content-align);
	flex-wrap: nowrap;
	gap: 28px;
	margin-top: 37px;
}

.cme-social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 91px;
	height: 91px;
	flex: 0 0 auto;
	border: 1.5px solid var(--cme-accent);
	border-radius: 50%;
	background: transparent;
	color: #fff;
	font-size: 39px;
	line-height: 1;
	transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.cme-social-link i,
.cme-social-link svg {
	display: block;
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.cme-social-link:hover,
.cme-social-link:focus-visible {
	background: var(--cme-accent);
	color: #fff;
	transform: translateY(-3px);
}

.cme-social-link:focus-visible,
.cme-map-button:focus-visible,
.cme-contact-item:focus-visible,
.cme-logo:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 4px;
}

.cme-contact-list {
	display: flex;
	align-items: start;
	flex-direction: column;
	row-gap: 36px;
	padding: 0;
	margin: 37px 0 0;
	font-style: normal;
	text-align: start;
}

.cme-contact-item {
	display: flex;
	align-items: center;
	column-gap: 24px;
	min-width: 0;
	color: #fff;
}

a.cme-contact-item {
	transition: color 0.22s ease, transform 0.22s ease;
}

a.cme-contact-item:hover {
	color: #fff;
	transform: translateX(3px);
}

.cme-contact-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 76px;
	height: 76px;
	flex: 0 0 76px;
	border: 1.5px solid var(--cme-accent);
	border-radius: 50%;
	color: #fff;
	font-size: 32px;
	line-height: 1;
}

.cme-contact-icon i,
.cme-contact-icon svg {
	display: block;
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.cme-contact-copy {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	min-width: 0;
}

.cme-contact-label {
	display: block;
	margin: 0 0 2px;
	color: #fff;
	font-family: "CME Lato", Lato, Arial, sans-serif;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.25;
}

.cme-contact-value {
	display: block;
	color: #f3f3f3;
	font-family: "CME Lato", Lato, Arial, sans-serif;
	font-size: 23px;
	font-weight: 400;
	line-height: 1.38;
	overflow-wrap: anywhere;
}

.cme-map-frame {
	position: relative;
	width: 100%;
	height: 427px;
	margin-top: 32px;
	overflow: hidden;
	border-radius: 24px;
	background: #cdeada;
}

.cme-reference-map,
.cme-map-image,
.cme-map-iframe {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

.cme-reference-map {
	overflow: hidden;
}

.cme-reference-map picture,
.cme-reference-map img {
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	width: 100%;
	height: 100%;
}

.cme-reference-map img {
	max-width: none;
	height: auto;
	transform-origin: 0 0;
	pointer-events: none;
	user-select: none;
}

.cme-reference-map__image {
	width: 332.8358209%;
	transform: translate(-66.4175386%, -23.2142857%);
}

.cme-map-image {
	object-fit: cover;
}

.cme-map-button-wrap {
	position: absolute;
	z-index: 3;
	bottom: 17px;
	right: 0;
	left: 0;
	display: flex;
	justify-content: center;
	padding-inline: 17px;
	pointer-events: none;
}

.cme-map-button {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 21px;
	min-width: 318px;
	min-height: 62px;
	padding: 10px 34px;
	border: 0;
	border-radius: 15px;
	background: rgba(2, 29, 21, 0.96);
	color: #fff;
	font-family: "CME Lato", Lato, Arial, sans-serif;
	font-size: 23px;
	font-weight: 400;
	line-height: 1.1;
	white-space: nowrap;
	pointer-events: auto;
	transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.cme-map-button:hover,
.cme-map-button:focus-visible {
	background: var(--cme-accent);
	color: #fff;
	transform: translateY(-2px);
}

.cme-map-button__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	line-height: 1;
}

.cme-map-button__icon i,
.cme-map-button__icon svg {
	display: block;
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.cme-footer__copyright {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 109px;
	padding: 37px 20px 38px;
	text-align: center;
}

.cme-footer__copyright::before {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	height: var(--cme-divider-width);
	content: "";
	background: var(--cme-divider);
	opacity: var(--cme-divider-opacity);
}

.cme-footer__copyright-text {
	max-width: 1000px;
	padding: 0;
	margin: 0 auto;
	color: #c9ccca;
	font-family: "CME Lato", Lato, Arial, sans-serif;
	font-size: 23px;
	font-weight: 400;
	line-height: 1.45;
}

/* Ajustes cuando se oculta un bloque desde Elementor. */
.cme-footer--no-contact .cme-footer__grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cme-footer--no-contact .cme-block--map {
	grid-column: 2;
}

.cme-footer--no-map .cme-footer__grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cme-footer--no-brand .cme-footer__grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cme-footer--no-brand .cme-block--contact::before {
	display: none;
}

.cme-footer--only-one .cme-footer__grid {
	display: block;
}

.cme-footer--only-one .cme-footer__block::before {
	display: none;
}

@media (max-width: 1024px) {
	.cme-footer__main {
		padding: 42px 40px 40px;
	}

	.cme-footer__grid {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		max-width: 1024px;
		min-height: 0;
	}

	.cme-block--brand {
		padding: 20px 35px 34px 0;
	}

	.cme-block--contact {
		padding: 16px 0 34px 35px;
	}

	.cme-block--map {
		grid-column: 1 / -1;
		padding: 34px 0 0;
	}

	.cme-block--map::before {
		top: 0;
		right: 0;
		bottom: auto;
		width: auto;
		height: var(--cme-divider-width);
	}

	.cme-social-list {
		flex-wrap: wrap;
	}

	.cme-map-frame {
		height: 390px;
	}

	.cme-footer--no-contact .cme-footer__grid,
	.cme-footer--no-map .cme-footer__grid,
	.cme-footer--no-brand .cme-footer__grid {
		grid-template-columns: 1fr;
	}

	.cme-footer--no-contact .cme-block--map,
	.cme-footer--no-brand .cme-block--contact,
	.cme-footer--no-brand .cme-block--map {
		grid-column: 1;
	}
}

@media (max-width: 767px) {
	.cme-footer {
		font-size: 14px;
	}

	.cme-footer__main {
		padding: 27px 18px 0;
	}

	.cme-footer__grid,
	.cme-footer--no-contact .cme-footer__grid,
	.cme-footer--no-map .cme-footer__grid,
	.cme-footer--no-brand .cme-footer__grid {
		display: block;
		width: 100%;
		max-width: 432px;
		min-height: 0;
	}

	.cme-footer__block {
		width: 100%;
	}

	.cme-footer__block::before {
		display: none;
	}

	.cme-footer__block::after {
		position: absolute;
		right: 0;
		bottom: 0;
		left: 0;
		height: var(--cme-divider-width);
		content: "";
		background: var(--cme-divider);
		opacity: var(--cme-divider-opacity);
	}

	.cme-block--brand {
		--cme-brand-content-align: center;
		padding: 0 0 18px;
	}

	.cme-logo {
		width: 256px;
		margin-right: auto;
		margin-left: auto;
	}

	.cme-logo--reference {
		aspect-ratio: 511 / 121;
	}

	.cme-reference-logo__image {
		width: 169.0802348%;
		transform: translate(-20.3703704%, -2.9654036%);
	}

	.cme-social {
		margin-top: 23px;
		text-align: center;
	}

	.cme-block--brand .cme-heading {
		justify-items: center;
		text-align: center;
	}

	.cme-section-title,
	.cme-block--brand .cme-section-title {
		font-size: 21px;
		line-height: 1.16;
		letter-spacing: -0.02em;
	}

	.cme-block--brand .cme-title-accent {
		margin-top: 4px;
	}

	.cme-title-accent {
		width: 27px;
		height: 2px;
		margin-top: 6px;
	}

	.cme-social-list {
		justify-content: center;
		flex-wrap: nowrap;
		gap: clamp(15px, 6vw, 26px);
		margin-top: 14px;
	}

	.cme-social-link {
		width: 46px;
		height: 46px;
		font-size: 21px;
	}

	.cme-block--contact {
		padding: 18px 10px 19px;
	}

	.cme-contact-list {
		row-gap: 14px;
		margin-top: 15px;
	}

	.cme-contact-item {
		align-items: center;
		column-gap: 14px;
	}

	.cme-contact-icon {
		width: 46px;
		height: 46px;
		flex-basis: 46px;
		font-size: 24px;
	}

	.cme-contact-label {
		margin-bottom: 2px;
		font-size: 16px;
		line-height: 1.2;
	}

	.cme-contact-value {
		font-size: 15px;
		line-height: 1.2;
	}

	.cme-block--map {
		grid-column: auto;
		padding: 15px 18px 18px 10px;
	}

	.cme-block--map .cme-title-accent {
		margin-top: 4px;
	}

	.cme-map-frame {
		height: 244px;
		margin-top: 5px;
		border-radius: 12px;
	}

	.cme-reference-map__image {
		width: 117.5510204%;
		transform: translate(-6.4814815%, -64.9093904%);
	}

	.cme-map-button-wrap {
		bottom: 7px;
		padding-inline: 7px;
	}

	.cme-map-button {
		gap: 14px;
		min-width: 212px;
		min-height: 42px;
		padding: 8px 25px;
		border-radius: 10px;
		font-size: 15px;
	}

	.cme-map-button__icon {
		font-size: 15px;
	}

	.cme-footer__copyright {
		min-height: 58px;
		padding: 13px 20px 10px;
	}

	.cme-footer__copyright-text {
		max-width: 310px;
		font-size: 13px;
		line-height: 1.35;
	}
}

@media (max-width: 360px) {
	.cme-social-list {
		gap: 15px;
	}

	.cme-social-link {
		width: 44px;
		height: 44px;
	}

	.cme-contact-value {
		font-size: 14px;
	}

	.cme-map-button {
		min-width: 190px;
		padding-right: 18px;
		padding-left: 18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cme-footer *,
	.cme-footer *::before,
	.cme-footer *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.001ms !important;
	}
}
