.vimara-home > .wp-block-vimara-services,
.vimara-services {
	margin-block-end: 0 !important;
	margin-block-start: 0 !important;
}

.vimara-services {
	background: var(--wp--preset--color--papel);
	color: var(--wp--preset--color--texto);
	font-family: var(--wp--preset--font-family--inter);
}

.vimara-services *,
.vimara-services *::before,
.vimara-services *::after {
	box-sizing: border-box;
}

.vimara-services p,
.vimara-services h2,
.vimara-services h3,
.vimara-services ul {
	margin-block-end: 0;
	margin-block-start: 0;
}

.vimara-services__inner {
	display: flex;
	flex-direction: column;
	gap: 1.75rem;
	margin-inline: auto;
	max-width: 90rem;
	padding: var(--wp--preset--spacing--space-40) var(--wp--preset--spacing--space-24) var(--wp--preset--spacing--space-48);
	width: 100%;
}

.vimara-services__intro {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--space-16);
	max-width: 80rem;
}

.vimara-services__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-service-card__label,
.vimara-service-card__scope-label {
	color: var(--wp--preset--color--enlace);
	font-size: 0.6875rem;
	font-weight: var(--wp--custom--typography--weight--bold);
	line-height: 1.0625rem;
}

.vimara-services__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-services__description {
	color: var(--wp--preset--color--secundario);
	font-size: var(--wp--preset--font-size--body-mobile);
	font-weight: var(--wp--custom--typography--weight--regular);
	line-height: var(--wp--custom--typography--line-height--body-mobile);
	max-width: 47.5rem;
}

.vimara-services__grid {
	display: grid;
	gap: var(--wp--preset--spacing--space-16);
	grid-template-columns: repeat(auto-fit, minmax(min(21.375rem, 100%), 1fr));
}

.vimara-service-card {
	background: var(--wp--preset--color--blanco);
	border: 1px solid #d9e4eb;
	border-radius: var(--wp--custom--radius--radius-16);
	min-width: 0;
	overflow: hidden;
	padding: 0;
}

.vimara-service-card__heading {
	display: none;
}

.vimara-service-card__details summary {
	align-items: center;
	color: var(--wp--preset--color--noche);
	cursor: pointer;
	display: flex;
	font-size: 1.05rem;
	font-weight: var(--wp--custom--typography--weight--bold);
	justify-content: space-between;
	line-height: 1.5;
	list-style: none;
	min-height: 3.5rem;
	padding: 0.85rem var(--wp--preset--spacing--space-16);
}

.vimara-service-card__details summary::-webkit-details-marker {
	display: none;
}

.vimara-service-card__details summary::after {
	color: var(--wp--preset--color--enlace);
	content: "+";
	font-size: 1.25rem;
}

.vimara-service-card__details[open] summary::after {
	content: "−";
}

.vimara-service-card__details summary:focus-visible {
	outline: 3px solid var(--wp--preset--color--enlace);
	outline-offset: -3px;
}

.vimara-service-card__body {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--space-16);
	padding: 0 var(--wp--preset--spacing--space-16) var(--wp--preset--spacing--space-16);
}

.vimara-service-card__label,
.vimara-service-card__title,
.vimara-service-card__summary,
.vimara-service-card__scope-label,
.vimara-service-card__scope,
.vimara-service-card__audience {
	overflow-wrap: anywhere;
}

.vimara-service-card__title,
.vimara-services__proposal-title {
	color: var(--wp--preset--color--noche);
	font-size: var(--wp--preset--font-size--heading-3-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-3-mobile);
}

.vimara-service-card__summary,
.vimara-services__proposal-copy {
	font-size: var(--wp--preset--font-size--body-mobile);
	font-weight: var(--wp--custom--typography--weight--regular);
	line-height: var(--wp--custom--typography--line-height--body-mobile);
}

.vimara-service-card__summary {
	color: var(--wp--preset--color--texto);
	line-height: 1.65;
}

.vimara-service-card__separator {
	background: var(--wp--preset--color--papel);
	height: 0.125rem;
	width: 100%;
}

.vimara-service-card__scope {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--space-12);
	list-style: none;
	padding: 0;
}

.vimara-service-card__scope li {
	color: var(--wp--preset--color--secundario);
	font-size: 0.9375rem;
	font-weight: var(--wp--custom--typography--weight--regular);
	line-height: 1.65;
}

.vimara-service-card__audience,
.vimara-services__proposal-note {
	font-size: var(--wp--preset--font-size--body-mobile);
	font-weight: var(--wp--custom--typography--weight--regular);
	line-height: var(--wp--custom--typography--line-height--body-mobile);
}

.vimara-service-card__audience {
	border-top: 1px solid #d9e4eb;
	color: var(--wp--preset--color--secundario);
	line-height: 1.65;
	padding-block-start: var(--wp--preset--spacing--space-12);
}

.vimara-service-card__audience strong {
	color: var(--wp--preset--color--noche);
}

.vimara-service-card__cta,
.vimara-services__proposal-cta {
	align-items: center;
	border-radius: var(--wp--custom--radius--radius-12);
	display: flex;
	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);
	text-align: center;
	text-decoration: none;
}

.vimara-service-card__cta {
	background: var(--wp--preset--color--noche);
	color: var(--wp--preset--color--blanco);
	margin-block-start: auto;
	width: 100%;
}

.vimara-service-card__cta:hover {
	background: var(--wp--preset--color--turquesa-hover);
	color: var(--wp--preset--color--noche);
}

.vimara-service-card__cta:focus-visible,
.vimara-services__proposal-cta:focus-visible {
	outline: 3px solid var(--wp--preset--color--enlace);
	outline-offset: 3px;
}

.vimara-services__empty {
	background: var(--wp--preset--color--blanco);
	border-radius: var(--wp--custom--radius--radius-16);
	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);
	padding: var(--wp--preset--spacing--space-24);
}

.vimara-services__proposal {
	background: var(--wp--preset--color--noche);
	border-radius: var(--wp--custom--radius--radius-16);
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--space-16);
	overflow: hidden;
	padding: var(--wp--preset--spacing--space-24);
}

.vimara-services__proposal-title {
	color: var(--wp--preset--color--blanco);
}

.vimara-services__proposal-text {
	display: grid;
	gap: var(--wp--preset--spacing--space-8);
	min-width: 0;
}

.vimara-services__proposal-copy,
.vimara-services__proposal-note {
	color: var(--wp--preset--color--papel);
}

.vimara-services__proposal-cta {
	background: var(--wp--preset--color--turquesa);
	color: var(--wp--preset--color--noche);
	width: 100%;
}

.vimara-services__proposal-cta:hover {
	background: var(--wp--preset--color--turquesa-hover);
}

@media (min-width: 48rem) {
	.vimara-services__proposal:has(> .vimara-services__proposal-text) {
		align-items: center;
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
	}

	.vimara-service-card {
		display: grid;
		grid-template-rows: auto minmax(0, 1fr);
		padding: 1.2rem;
		transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
	}

	.vimara-service-card:hover,
	.vimara-service-card:focus-within {
		border-color: color-mix(in srgb, var(--wp--preset--color--enlace) 70%, transparent);
		box-shadow: 0 0.9rem 2rem rgba(8, 29, 48, 0.1);
		transform: translateY(-0.2rem);
	}

	.vimara-service-card__heading {
		display: block;
	}

	.vimara-service-card__details {
		display: contents;
	}

	.vimara-service-card__details > summary {
		display: none;
	}

	.vimara-service-card__body {
		display: grid;
		grid-template-rows: auto auto minmax(0, 1fr) auto;
		height: auto;
		padding: var(--wp--preset--spacing--space-8) 0 0;
	}

	.vimara-service-card__audience {
		margin-block-start: auto;
	}
}

@media (min-width: 72rem) {
	.vimara-services__inner {
		gap: var(--wp--preset--spacing--space-40);
		padding: var(--wp--preset--spacing--space-48) clamp(1.5rem, calc(35vw - 26.5rem), 5rem) 4.5rem;
	}

	.vimara-services__title {
		font-size: var(--wp--preset--font-size--heading-2-desktop);
		line-height: var(--wp--custom--typography--line-height--heading-2-desktop);
	}

	.vimara-services__description {
		font-size: var(--wp--preset--font-size--body-desktop);
		line-height: var(--wp--custom--typography--line-height--body-desktop);
	}

	.vimara-service-card {
		padding: 1.75rem;
	}

	.vimara-service-card__title,
	.vimara-services__proposal-title {
		font-size: var(--wp--preset--font-size--heading-3-desktop);
		line-height: var(--wp--custom--typography--line-height--heading-3-desktop);
	}

	.vimara-services__proposal {
		padding: var(--wp--preset--spacing--space-32);
	}

	.vimara-services__proposal-cta {
		width: 17.5rem;
	}
}

@media (min-width: 75rem) {
	.vimara-service-card__scope {
		min-height: 10.75rem;
	}

	@supports (grid-template-rows: subgrid) and selector(details::details-content) {
		.vimara-services__grid {
			row-gap: var(--wp--preset--spacing--space-12);
		}

		/* Share the header, summary, scope label, list and audience rows. */
		.vimara-service-card {
			grid-row: span 5;
			grid-template-rows: subgrid;
			padding: 1.5rem;
		}

		.vimara-service-card__body {
			display: contents;
		}

		.vimara-service-card__details[open]::details-content {
			display: contents;
		}

		.vimara-service-card__scope {
			min-height: 0;
		}

		.vimara-service-card__audience {
			margin-block-start: 0;
		}
	}
}
