:root {
	--mesa-orange: #ff5a00;
	--mesa-ink: #171918;
	--mesa-muted: #6f7471;
	--mesa-line: #e4e7e5;
}

.mesa-contact-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(320px, .75fr);
	min-height: 500px;
	margin: -40px 0 80px;
	border: 1px solid var(--mesa-line);
	border-radius: 22px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 16px 40px rgba(18, 23, 20, .08);
}

.mesa-contact-hero__map,
.mesa-contact-hero__map iframe {
	width: 100%;
	min-height: 500px;
}

.mesa-contact-hero__map iframe {
	display: block;
	border: 0;
}

.mesa-contact-hero__map {
	display: grid;
	place-items: center;
	background:
		linear-gradient(rgba(23, 25, 24, .74), rgba(23, 25, 24, .74)),
		repeating-linear-gradient(45deg, #343735 0, #343735 1px, #292c2a 1px, #292c2a 18px);
}

.mesa-contact-hero__map-placeholder {
	width: min(430px, calc(100% - 40px));
	padding: 34px;
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: 18px;
	background: rgba(18, 20, 19, .72);
	color: #fff;
	text-align: center;
	box-shadow: 0 18px 48px rgba(0, 0, 0, .22);
	backdrop-filter: blur(8px);
}

.mesa-contact-hero__map-icon {
	display: grid;
	width: 54px;
	height: 54px;
	margin: 0 auto 16px;
	place-items: center;
	border-radius: 50%;
	background: var(--mesa-orange);
	font-size: 30px;
	line-height: 1;
}

.mesa-contact-hero__map-placeholder strong {
	display: block;
	font-size: 24px;
	line-height: 1.2;
}

.mesa-contact-hero__map-placeholder p {
	margin: 12px 0 20px;
	color: rgba(255, 255, 255, .72);
	font-size: 13px;
	line-height: 1.55;
}

.mesa-contact-hero__map-button {
	min-height: 48px;
	padding: 0 22px;
	border: 0;
	border-radius: 11px;
	background: var(--mesa-orange);
	color: #fff;
	font-weight: 800;
	cursor: pointer;
}

.mesa-contact-hero__map-button:hover,
.mesa-contact-hero__map-button:focus-visible {
	background: #e94c00;
}

.mesa-contact-hero__map-button:disabled {
	cursor: wait;
	opacity: .72;
}

.mesa-contact-hero__content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(32px, 4vw, 64px);
	background: linear-gradient(145deg, #fff 0%, #fff8f4 100%);
}

.mesa-contact-hero__eyebrow,
.mesa-error__eyebrow {
	margin: 0 0 12px;
	color: var(--mesa-orange);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.mesa-contact-hero h1 {
	margin: 0 0 18px;
	color: var(--mesa-ink);
	font-size: clamp(34px, 4vw, 54px);
	line-height: 1.02;
}

.mesa-contact-hero__address {
	margin: 0 0 24px;
	color: var(--mesa-muted);
	font-size: 16px;
	line-height: 1.55;
}

.mesa-contact-hero__links {
	display: grid;
	gap: 10px;
}

.mesa-contact-hero__links a {
	display: inline-flex;
	align-items: center;
	width: fit-content;
	color: var(--mesa-ink);
	font-size: 17px;
	font-weight: 750;
	text-decoration: none;
}

.mesa-contact-hero__links a:hover,
.mesa-contact-hero__links a:focus-visible {
	color: var(--mesa-orange);
}

.mesa-contact-hero__whatsapp {
	margin-top: 14px;
	padding: 12px 18px;
	border-radius: 12px;
	background: #eff9f2;
}

.mesa-contact-form label:not(.wpcf7-list-item label) {
	display: block;
	margin-bottom: 7px;
	color: var(--mesa-ink);
	font-size: 14px;
	font-weight: 700;
}

.mesa-contact-form__required {
	color: var(--mesa-orange);
}

.mesa-contact-form .wpcf7-form-control-wrap {
	display: block;
}

.mesa-contact-form input:not([type="checkbox"]),
.mesa-contact-form textarea {
	width: 100%;
	border: 1px solid #dfe3e1;
	border-radius: 12px;
	background: #fff;
}

.mesa-contact-form input:not([type="checkbox"]):focus,
.mesa-contact-form textarea:focus {
	border-color: var(--mesa-orange);
	box-shadow: 0 0 0 3px rgba(255, 90, 0, .11);
	outline: 0;
}

.mesa-contact-form__consent {
	margin: 18px 0;
	font-size: 13px;
	line-height: 1.45;
}

.mesa-contact-form__consent .wpcf7-list-item {
	margin: 0;
}

.mesa-contact-form__consent label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	cursor: pointer;
}

.mesa-contact-form__consent input[type="checkbox"] {
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	margin-top: 2px;
	accent-color: var(--mesa-orange);
}

.mesa-contact-form__consent a {
	color: var(--mesa-orange);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.mesa-error-page {
	padding: clamp(52px, 8vw, 110px) 20px;
	background: linear-gradient(145deg, #f7f8f7 0%, #fff 65%);
}

.mesa-error {
	width: min(850px, 100%);
	margin: 0 auto;
	border: 1px solid var(--mesa-line);
	border-radius: 26px;
	background: #fff;
	box-shadow: 0 24px 70px rgba(18, 23, 20, .09);
}

.mesa-error__inner {
	position: relative;
	padding: clamp(36px, 7vw, 78px);
	overflow: hidden;
}

.mesa-error__code {
	position: absolute;
	top: -42px;
	right: -8px;
	color: rgba(255, 90, 0, .07);
	font-size: clamp(150px, 30vw, 280px);
	font-weight: 900;
	line-height: 1;
	pointer-events: none;
}

.mesa-error h1 {
	position: relative;
	max-width: 650px;
	margin: 0 0 18px;
	color: var(--mesa-ink);
	font-size: clamp(36px, 6vw, 64px);
	line-height: 1;
}

.mesa-error__text {
	position: relative;
	max-width: 650px;
	margin: 0 0 28px;
	color: var(--mesa-muted);
	font-size: 17px;
	line-height: 1.6;
}

.mesa-error__search {
	position: relative;
	display: flex;
	max-width: 650px;
	margin-bottom: 24px;
	padding: 5px;
	border: 1px solid var(--mesa-line);
	border-radius: 14px;
	background: #fff;
}

.mesa-error__search input {
	flex: 1 1 auto;
	min-width: 0;
	height: 48px;
	padding: 0 14px;
	border: 0;
	background: transparent;
	box-shadow: none;
	outline: 0;
}

.mesa-error__search button,
.mesa-error__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 22px;
	border: 1px solid var(--mesa-line);
	border-radius: 11px;
	background: #fff;
	color: var(--mesa-ink);
	font-weight: 800;
	text-decoration: none;
}

.mesa-error__search button,
.mesa-error__button--primary {
	border-color: var(--mesa-orange);
	background: var(--mesa-orange);
	color: #fff;
}

.mesa-error__actions {
	position: relative;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
}

.mesa-error__link {
	padding: 12px;
	color: var(--mesa-ink);
	font-weight: 700;
}

@media (max-width: 900px) {
	.mesa-contact-hero {
		grid-template-columns: 1fr;
		margin-bottom: 60px;
	}

	.mesa-contact-hero__map {
		order: 2;
	}

	.mesa-contact-hero__map,
	.mesa-contact-hero__map iframe {
		min-height: 380px;
	}
}

@media (max-width: 620px) {
	.mesa-contact-hero {
		margin-top: -20px;
		border-radius: 18px;
	}

	.mesa-contact-hero__content {
		padding: 28px 22px;
	}

	.mesa-contact-hero__map,
	.mesa-contact-hero__map iframe {
		min-height: 300px;
	}

	.mesa-error-page {
		padding-inline: 12px;
	}

	.mesa-error {
		border-radius: 20px;
	}

	.mesa-error__inner {
		padding: 32px 22px;
	}

	.mesa-error__search {
		display: grid;
	}

	.mesa-error__actions,
	.mesa-error__button,
	.mesa-error__link {
		width: 100%;
		text-align: center;
	}
}
