.vimara-home > .vimara-contact-region,
.vimara-contact-region,
.vimara-contact-region > .vimara-contact,
.vimara-contact {
	margin-block-end: 0 !important;
	margin-block-start: 0 !important;
}

.vimara-contact {
	background: var(--wp--preset--color--papel);
	color: var(--wp--preset--color--texto);
	font-family: var(--wp--preset--font-family--inter);
	scroll-margin-top: var(--vimara-anchor-offset, 6.5625rem);
}

.vimara-contact:focus {
	outline: none;
}

.vimara-contact *,
.vimara-contact *::before,
.vimara-contact *::after {
	box-sizing: border-box;
}

.vimara-contact p,
.vimara-contact h2,
.vimara-contact h3,
.vimara-contact h4,
.vimara-contact ol {
	margin-block-end: 0;
	margin-block-start: 0;
}

.vimara-contact__inner {
	display: grid;
	gap: var(--wp--preset--spacing--space-32);
	margin-inline: auto;
	max-width: 90rem;
	padding: var(--wp--preset--spacing--space-32) var(--wp--preset--spacing--space-24) var(--wp--preset--spacing--space-48);
	width: 100%;
}

.vimara-contact__intro,
.vimara-contact__heading {
	display: flex;
	flex-direction: column;
}

.vimara-contact__intro {
	gap: var(--wp--preset--spacing--space-32);
	min-width: 0;
}

.vimara-contact__heading {
	gap: var(--wp--preset--spacing--space-16);
}

.vimara-contact__eyebrow {
	color: var(--wp--preset--color--enlace);
	font-size: var(--wp--preset--font-size--ui-12);
	font-weight: var(--wp--custom--typography--weight--bold);
	line-height: var(--wp--custom--typography--line-height--ui);
}

.vimara-contact__title {
	color: var(--wp--preset--color--texto);
	font-size: var(--wp--preset--font-size--heading-2-mobile);
	font-weight: var(--wp--custom--typography--weight--bold);
	letter-spacing: var(--wp--custom--typography--tracking--default);
	line-height: var(--wp--custom--typography--line-height--heading-2-mobile);
}

.vimara-contact__copy {
	color: var(--wp--preset--color--secundario);
	font-size: var(--wp--preset--font-size--body-mobile);
	line-height: var(--wp--custom--typography--line-height--body-mobile);
	max-width: 34rem;
}

.vimara-contact-form__title {
	color: var(--wp--preset--color--texto);
	font-size: var(--wp--preset--font-size--heading-3-mobile);
	font-weight: var(--wp--custom--typography--weight--bold);
	line-height: var(--wp--custom--typography--line-height--heading-3-mobile);
}

.vimara-contact__next-step {
	border-top: 1px solid #d9e4eb;
	color: var(--wp--preset--color--texto);
	font-size: var(--wp--preset--font-size--ui-16);
	font-weight: var(--wp--custom--typography--weight--bold);
	line-height: 1.6;
	padding-block-start: var(--wp--preset--spacing--space-16);
}

.wp-block-vimara-contact-form,
.vimara-contact-form-shell {
	margin: 0;
	min-width: 0;
}

.vimara-contact__inner > .vimara-contact-form-shell {
	margin-block-start: 0 !important;
}

.vimara-contact-form {
	background: var(--wp--preset--color--blanco);
	border-radius: var(--wp--custom--radius--radius-16);
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--space-24);
	min-width: 0;
	padding: var(--wp--preset--spacing--space-24);
}

.vimara-contact-form__header {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--space-8);
}

.vimara-contact-form__required-note,
.vimara-contact-form__privacy,
.vimara-contact-form__note {
	color: var(--wp--preset--color--secundario);
	font-size: var(--wp--preset--font-size--ui-14);
	line-height: var(--wp--custom--typography--line-height--body-mobile);
}

.vimara-contact-form__privacy a {
	color: var(--wp--preset--color--enlace);
	font-weight: var(--wp--custom--typography--weight--bold);
}

.vimara-contact-form__privacy a:focus-visible {
	border-radius: 0.125rem;
	outline: 2px solid var(--wp--preset--color--enlace);
	outline-offset: 2px;
}

.vimara-contact-form__fields {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--space-24);
}

.vimara-contact-field {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--space-8);
	min-width: 0;
}

.vimara-contact-field label {
	color: var(--wp--preset--color--texto);
	font-size: var(--wp--preset--font-size--ui-14);
	font-weight: var(--wp--custom--typography--weight--bold);
	line-height: var(--wp--custom--typography--line-height--ui);
}

.vimara-contact-field input,
.vimara-contact-field select,
.vimara-contact-field textarea {
	appearance: none;
	background: var(--wp--preset--color--blanco);
	border: 1px solid var(--wp--preset--color--secundario);
	border-radius: var(--wp--custom--radius--radius-8);
	color: var(--wp--preset--color--texto);
	font: inherit;
	font-size: var(--wp--preset--font-size--ui-16);
	line-height: 1.5;
	min-height: var(--wp--custom--minimum-size--button-height);
	padding: 0.875rem var(--wp--preset--spacing--space-16);
	width: 100%;
}

.vimara-contact-field select {
	background-image: linear-gradient(45deg, transparent 50%, var(--wp--preset--color--texto) 50%), linear-gradient(135deg, var(--wp--preset--color--texto) 50%, transparent 50%);
	background-position: calc(100% - 1.25rem) 50%, calc(100% - 0.9375rem) 50%;
	background-repeat: no-repeat;
	background-size: 0.375rem 0.375rem, 0.375rem 0.375rem;
	padding-inline-end: 3rem;
}

.vimara-contact-field textarea {
	min-height: 9rem;
	resize: vertical;
}

.vimara-contact-field input::placeholder,
.vimara-contact-field textarea::placeholder,
.vimara-contact-field select:invalid {
	color: var(--wp--preset--color--secundario);
	opacity: 1;
}

.vimara-contact-field input:focus-visible,
.vimara-contact-field select:focus-visible,
.vimara-contact-field textarea:focus-visible {
	border-color: var(--wp--preset--color--enlace);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--wp--preset--color--turquesa) 35%, transparent);
	outline: 2px solid transparent;
}

.vimara-contact-field--error input,
.vimara-contact-field--error select,
.vimara-contact-field--error textarea {
	border-color: var(--wp--preset--color--error);
}

.vimara-contact-field__error {
	color: var(--wp--preset--color--error);
	font-size: var(--wp--preset--font-size--ui-13);
	line-height: var(--wp--custom--typography--line-height--ui);
}

.vimara-contact-form__honeypot {
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

.vimara-contact-form__status {
	border-radius: var(--wp--custom--radius--radius-8);
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--space-8);
	overflow-wrap: anywhere;
	padding: var(--wp--preset--spacing--space-16);
}

.vimara-contact-form__status[hidden] {
	display: none;
}

.vimara-contact-form__status:focus {
	outline: 2px solid var(--wp--preset--color--enlace);
	outline-offset: 2px;
}

.vimara-contact-form__status--sending {
	background: var(--wp--preset--color--papel);
	font-size: var(--wp--preset--font-size--ui-16);
	font-weight: var(--wp--custom--typography--weight--bold);
	line-height: 1.5;
}

.vimara-contact-form__status--error,
.vimara-contact-form__status--timeout {
	background: var(--wp--preset--color--fondo-error);
	color: var(--wp--preset--color--error);
}

.vimara-contact-form__status--success {
	background: color-mix(in srgb, var(--wp--preset--color--turquesa) 16%, var(--wp--preset--color--blanco));
	color: var(--wp--preset--color--texto);
}

.vimara-contact-form__status-title {
	font-size: var(--wp--preset--font-size--ui-16);
	font-weight: var(--wp--custom--typography--weight--bold);
	line-height: 1.5;
}

.vimara-contact-form__status-copy {
	font-size: var(--wp--preset--font-size--ui-14);
	line-height: var(--wp--custom--typography--line-height--body-mobile);
}

.vimara-contact-form__restart {
	align-items: center;
	align-self: center;
	background: var(--wp--preset--color--blanco);
	border: 2px solid currentColor;
	border-radius: var(--wp--custom--radius--radius-8);
	color: var(--wp--preset--color--noche);
	cursor: pointer;
	display: inline-flex;
	font-family: inherit;
	font-size: var(--wp--preset--font-size--button);
	font-weight: var(--wp--custom--typography--weight--bold);
	justify-content: center;
	line-height: var(--wp--custom--typography--line-height--button);
	min-height: var(--wp--custom--minimum-size--button-height);
	padding: var(--wp--preset--spacing--space-12) var(--wp--preset--spacing--space-24);
}

.vimara-contact-form__restart:hover {
	background: var(--wp--preset--color--papel);
}

.vimara-contact-form__restart:focus-visible {
	outline: 3px solid var(--wp--preset--color--enlace);
	outline-offset: 3px;
}

.vimara-contact-form__submit {
	align-items: center;
	align-self: stretch;
	background: var(--wp--preset--color--turquesa);
	border: 0;
	border-radius: var(--wp--custom--radius--radius-8);
	color: var(--wp--preset--color--noche);
	cursor: pointer;
	display: inline-flex;
	font-family: inherit;
	font-size: var(--wp--preset--font-size--button);
	font-weight: var(--wp--custom--typography--weight--bold);
	justify-content: center;
	line-height: var(--wp--custom--typography--line-height--button);
	min-height: var(--wp--custom--minimum-size--button-height);
	padding: var(--wp--preset--spacing--space-16) var(--wp--preset--spacing--space-24);
}

.vimara-contact-form__submit:hover {
	background: var(--wp--preset--color--turquesa-hover);
}

.vimara-contact-form__submit:focus-visible {
	outline: 3px solid var(--wp--preset--color--enlace);
	outline-offset: 3px;
}

.vimara-contact-form--sending .vimara-contact-form__submit {
	cursor: wait;
	opacity: 0.72;
}

.vimara-contact-form--success > :not(.vimara-contact-form__status) {
	display: none;
}

@media (width < 768px) {
	.vimara-contact-form--success {
		background: transparent;
		padding: 0;
	}

	.vimara-contact-form__status--success {
		border-radius: var(--wp--custom--radius--radius-16);
		padding: var(--wp--preset--spacing--space-24);
	}

	.vimara-contact-form__restart {
		align-self: stretch;
		margin-block-start: var(--wp--preset--spacing--space-8);
	}
}

.vimara-contact__channels {
	display: none;
	font-style: normal;
	gap: var(--wp--preset--spacing--space-12);
}

.vimara-contact__channels a {
	align-items: center;
	border-radius: var(--wp--custom--radius--radius-8);
	color: var(--wp--preset--color--noche);
	display: flex;
	font-size: var(--wp--preset--font-size--ui-14);
	font-weight: var(--wp--custom--typography--weight--bold);
	gap: var(--wp--preset--spacing--space-12);
	min-height: var(--wp--custom--minimum-size--interactive-area);
	overflow-wrap: anywhere;
	padding: var(--wp--preset--spacing--space-12);
	text-decoration: none;
}

.vimara-contact__channel-icon {
	background: rgba(43, 212, 199, 0.15);
	border-radius: 0.65rem;
	color: var(--wp--preset--color--enlace);
	display: grid;
	flex: 0 0 auto;
	height: 2.5rem;
	place-items: center;
	width: 2.5rem;
}

.vimara-contact__channel-icon svg {
	fill: none;
	height: 1.25rem;
	stroke: currentcolor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
	width: 1.25rem;
}

.vimara-contact__channels a > span:last-child {
	min-width: 0;
	overflow-wrap: anywhere;
}

.vimara-contact__channels a:hover {
	background: var(--wp--preset--color--blanco);
}

.vimara-contact__channels a:focus-visible {
	outline: 3px solid var(--wp--preset--color--enlace);
	outline-offset: 2px;
}

.vimara-contact__channels small {
	color: var(--wp--preset--color--secundario);
	display: block;
	font-weight: var(--wp--custom--typography--weight--regular);
}

@media (min-width: 48rem) {
	.vimara-contact__channels {
		display: grid;
		justify-items: start;
	}

	.vimara-contact__inner {
		align-items: start;
		grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
		padding-block: var(--wp--preset--spacing--space-32) var(--wp--preset--spacing--space-64);
	}

	/* Keep the previous theme part usable if a saved version still has sibling channels. */
	.vimara-contact__inner:has(> .vimara-contact__channels) {
		grid-template-rows: auto 1fr;
		row-gap: var(--wp--preset--spacing--space-16);
	}

	.vimara-contact__inner:has(> .vimara-contact__channels) > .vimara-contact-form-shell {
		grid-area: 1 / 2 / span 2;
	}

	.vimara-contact__inner > .vimara-contact__channels {
		grid-area: 2 / 1;
	}

	.vimara-contact-form {
		padding: var(--wp--preset--spacing--space-32);
	}

	.vimara-contact__title {
		font-size: var(--wp--preset--font-size--heading-2-desktop);
		line-height: var(--wp--custom--typography--line-height--heading-2-desktop);
	}

	.vimara-contact__copy {
		font-size: var(--wp--preset--font-size--body-desktop);
		line-height: var(--wp--custom--typography--line-height--body-desktop);
	}

	.vimara-contact-form__title {
		font-size: var(--wp--preset--font-size--heading-3-desktop);
		line-height: var(--wp--custom--typography--line-height--heading-3-desktop);
	}

	.vimara-contact-form__restart {
		align-self: flex-start;
	}
}

@media (min-width: 72rem) {
	.vimara-contact__inner {
		align-items: start;
		gap: clamp(2rem, 4.45vw, 4rem);
		grid-template-columns: minmax(0, 34rem) minmax(0, 42rem);
		justify-content: center;
		padding: var(--wp--preset--spacing--space-48) clamp(1.5rem, 5.56vw, 5rem) var(--wp--preset--spacing--space-80);
	}

	.vimara-contact__intro {
		gap: var(--wp--preset--spacing--space-24);
	}

}

@media (forced-colors: active) {
	.vimara-contact-field input,
	.vimara-contact-field select,
	.vimara-contact-field textarea,
	.vimara-contact-form__submit,
	.vimara-contact-form__restart {
		border: 1px solid ButtonText;
	}
}
