/* Widget MERA: Contacto (secciones 1 + 2 de contacto.html).
 * Tokens redeclarados bajo la clase raiz; sin :root global.
 */
.mera-contact {
	width: 100%;
	display: block;
	--mc-font-display: 'montserrat', sans-serif;
	--mc-font-body: 'montserrat', sans-serif;
	--mc-color-navy: #152a42;
	--mc-color-cyan: #1fb9eb;
	--mc-color-muted: #595959;
}

/* Seccion 1: encabezado con titulo + imagen + texto */
.mera-contact__header {
	background: #ffffff;
	overflow: visible;
}
.mera-contact__header-inner {
	position: relative;
	margin: 0 auto;
	max-width: 980px;
	padding: 55px 0 0;
	text-align: left;
}
.mera-contact__header-title {
	font-family: var(--mc-font-display);
	font-size: 33px;
	font-weight: normal;
	line-height: normal;
	letter-spacing: 0.01em;
	color: var(--mc-color-navy);
	margin: 0 0 14px 0;
}
.mera-contact__divider {
	width: 235px;
	height: 5px;
	background: #1fb9eb;
	transform-origin: center 2.5px;
	margin: 0 0 22px 0;
}
.mera-contact__header-image-wrap {
	display: block;
	width: 370px;
	height: 287px;
	margin: 0 0 14px 11px;
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg preserveAspectRatio='none' data-bbox='20 20 160 160' viewBox='20 20 160 160' height='200' width='200' xmlns='http://www.w3.org/2000/svg' data-type='shape'%3E%3Cg%3E%3Cpath d='M180 20v160H20V20h160z'/%3E%3C/g%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg preserveAspectRatio='none' data-bbox='20 20 160 160' viewBox='20 20 160 160' height='200' width='200' xmlns='http://www.w3.org/2000/svg' data-type='shape'%3E%3Cg%3E%3Cpath d='M180 20v160H20V20h160z'/%3E%3C/g%3E%3C/svg%3E");
	-webkit-mask-position: 0% 0%;
	mask-position: 0% 0%;
	-webkit-mask-size: 100% 100%;
	mask-size: 100% 100%;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	overflow: hidden;
}
.mera-contact__header-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.mera-contact__header-intro {
	font-family: var(--mc-font-body);
	font-size: 16px;
	font-weight: normal;
	line-height: normal;
	color: var(--mc-color-navy);
	margin: 22px 0 0;
}
.mera-contact__tagline {
	font-family: var(--mc-font-display);
	font-weight: bold;
	color: var(--mc-color-cyan);
}

/* Seccion 2: Contacto (info + form) */
.mera-contact__main {
	background: #ffffff;
	overflow: visible;
}
.mera-contact__main-inner {
	position: relative;
	margin: 0 auto;
	max-width: 980px;
	padding: 40px 0 60px;
}
.mera-contact__contact-title {
	width: 100%;
	display: block;
	font-family: var(--mc-font-display);
	font-size: 35px;
	font-weight: bold;
	font-style: italic;
	line-height: normal;
	text-align: center;
	color: var(--mc-color-navy);
	margin: 0 0 24px 0;
}
.mera-contact__contact-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0 0 28px 0;
}
.mera-contact__contact-item {
	display: flex;
	align-items: center;
	gap: 16px;
}
.mera-contact__icon {
	width: 32px;
	height: 32px;
	flex: 0 0 32px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.mera-contact__icon svg {
	width: 100%;
	height: 100%;
	fill: var(--mc-color-navy);
}
.mera-contact__contact-text {
	font-family: var(--mc-font-body);
	font-size: 16px;
	line-height: 1.5em;
	color: var(--mc-color-navy);
	margin: 0;
}
.mera-contact__contact-text a {
	color: var(--mc-color-navy);
	text-decoration: none;
}
.mera-contact__contact-text a:hover {
	text-decoration: underline;
}

/* Social bar */
.mera-contact__social {
	margin: 0 0 28px 0;
}
.mera-contact__social-list {
	display: flex;
	gap: 7px;
	list-style: none;
	padding: 0;
	margin: 0;
}
.mera-contact__social-list li {
	display: inline-block;
}
.mera-contact__social-list a {
	display: inline-flex;
	width: 40px;
	height: 40px;
}
.mera-contact__social-list img {
	width: 40px;
	height: 40px;
	object-fit: cover;
	display: block;
}

/* Form */
.mera-contact__form {
	display: flex;
	flex-direction: column;
	gap: 12px;
	max-width: 560px;
	margin: 0 auto;
}
.mera-contact__field {
	display: flex;
	flex-direction: column;
}
.mera-contact__label {
	font-family: var(--mc-font-display);
	font-weight: bold;
	font-size: 14px;
	line-height: 1.4em;
	color: var(--mc-color-navy);
	margin: 0 0 6px 0;
	padding: 0 2px;
}
.mera-contact__input {
	font-family: 'avenir-lt-w01_35-light', avenir, sans-serif;
	font-size: 14px;
	line-height: 1.4em;
	color: var(--mc-color-navy);
	background: #ffffff;
	border: 1px solid rgba(0,0,0,0.2);
	border-radius: 0;
	padding: 8px 10px;
	height: 37px;
	box-sizing: border-box;
	width: 100%;
}
.mera-contact__input--textarea {
	height: 86px;
	resize: vertical;
}
.mera-contact__thanks {
	font-family: 'avenir-lt-w01_35-light', avenir, sans-serif;
	font-size: 14px;
	color: var(--mc-color-muted);
	margin: 0;
}
.mera-contact__submit-wrap {
	margin-top: 6px;
	text-align: center;
}
.mera-contact__submit {
	background: #1fb9eb;
	color: #ffffff;
	border: 1px solid #1fb9eb;
	border-radius: 10px;
	padding: 8px 16px;
	font-family: var(--mc-font-display);
	font-weight: bold;
	font-size: 14px;
	line-height: 1.4em;
	cursor: pointer;
	min-width: 134px;
	height: 40px;
	transition: background-color 0.4s ease 0s, color 0.4s ease 0s;
}
.mera-contact__submit:hover {
	background: #ffffff;
	color: var(--mc-color-navy);
}
.mera-contact__submit-label {
	white-space: nowrap;
}

@media (max-width: 480px) {
	.mera-contact__header-inner,
	.mera-contact__main-inner {
		padding-left: 16px;
		padding-right: 16px;
	}
	.mera-contact__header-image-wrap {
		width: 100%;
		max-width: 370px;
		height: auto;
		aspect-ratio: 370 / 287;
	}
}
/* Trap field: invisible para humanos, presente para bots.
 * No display:none, no aria-hidden, no tabindex (heuristicas que bots detectan).
 * Posicion absoluta fuera del viewport; el label aporta tamano para que
 * parezca un campo real y los bots naive lo llenen.
 */
.mera-contact__trap {
	position: absolute !important;
	left: -9999px !important;
	top: auto !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
}
