/**
 * Criolla Media: estilos del tema.
 * Medidas tomadas del prototipo aprobado a 1440 px (contenedor de 1200 px).
 * Los colores, tipos y espacios base están en theme.json; aquí solo va lo que
 * theme.json no puede expresar.
 */

:root {
	--cm-azul: var(--wp--preset--color--azul, #112D43);
	--cm-oliva: var(--wp--preset--color--oliva, #797A20);
	--cm-verde-titulo: var(--wp--preset--color--verde-titulo, #B9C373);
	--cm-verde-fondo: var(--wp--preset--color--verde-fondo, #D9DDAE);
	--cm-vino: var(--wp--preset--color--vino, #7C3C50);
	--cm-gris: var(--wp--preset--color--gris-cuerpo, #41464A);
	--cm-borde: var(--wp--preset--color--gris-borde, #E6E9E6);
	--cm-crema: var(--wp--preset--color--crema, #F1F3E8);
	--cm-regla-azul: var(--wp--preset--color--regla-azul, #4A6070);
	--cm-regla-verde: var(--wp--preset--color--regla-verde, #B9BF8B);
	--cm-borde-campo: var(--wp--preset--color--borde-campo, #BFC8CD);
	--cm-seccion: clamp(56px, 6.67vw, 96px);
	--cm-flecha: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 12.5 12.5 3.5M5.5 3.5h7v7' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

[hidden] {
	display: none !important;
}

:where(.wp-site-blocks) :focus-visible {
	outline: 2px solid var(--cm-azul);
	outline-offset: 2px;
}

.is-style-seccion-azul :focus-visible,
.cm-pie :focus-visible {
	outline-color: var(--cm-verde-titulo);
}

.wp-site-blocks > * + *,
.cm-main > * + * {
	margin-block-start: 0;
}

.cm-main .wp-block-post-content > * {
	margin-block-start: 0;
}

/* -------------------------------------------------- Elementos comunes */

.cm-seccion {
	padding-top: var(--cm-seccion);
	padding-bottom: var(--cm-seccion);
}

.cm-cabecera {
	margin-bottom: clamp(40px, 4.4vw, 64px);
}

.cm-cabecera > * + * {
	margin-top: 14px;
}

.cm-cabecera h2 {
	margin: 0;
}

.cm-subtitulo {
	color: var(--cm-oliva);
	font-size: var(--wp--preset--font-size--lg);
	line-height: 1.57;
	max-width: 1000px;
	margin-bottom: 0;
}

.is-style-seccion-azul .cm-subtitulo {
	color: #fff;
}

.cm-antetitulo {
	font-size: 17px;
	font-weight: 500;
	line-height: 1.4;
	margin: 0 0 clamp(28px, 3vw, 44px);
}

.cm-foto,
.cm-foto img {
	margin: 0;
	width: 100%;
}

.cm-foto img {
	aspect-ratio: 3 / 2;
	height: auto;
	object-fit: cover;
	object-position: center 30%;
	display: block;
}

.cm-icono {
	margin: 0;
	flex-shrink: 0;
}

.cm-icono img {
	display: block;
	height: auto;
}

.cm-dos-columnas {
	gap: clamp(32px, 6.1vw, 88px);
	justify-content: space-between;
}

.wp-block-columns > .wp-block-column {
	min-width: 0;
}

.cm-regla,
.wp-block-separator.cm-regla {
	border-top: 1px solid var(--cm-borde);
	margin: 44px 0 26px;
	opacity: 1;
}

.wp-block-separator {
	opacity: 1;
}

.cm-regla.wp-block-separator,
.cm-plan__regla.wp-block-separator,
.cm-info .wp-block-separator {
	width: 100% !important;
	max-width: none !important;
}

/* Botones */

.wp-block-button .wp-block-button__link {
	min-height: 58px;
	display: inline-flex;
	align-items: center;
	box-sizing: border-box;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.cm-flecha .wp-block-button__link {
	justify-content: space-between;
	gap: 28px;
}

.cm-flecha .wp-block-button__link::after {
	content: "";
	flex-shrink: 0;
	width: 16px;
	height: 16px;
	background-color: currentColor;
	-webkit-mask: var(--cm-flecha) center / contain no-repeat;
	mask: var(--cm-flecha) center / contain no-repeat;
}

.cm-boton-ancho .wp-block-button__link {
	min-width: 260px;
}

.wp-block-button.is-style-boton-vino .wp-block-button__link:hover {
	background-color: #693244;
	color: #fff;
}

.wp-block-button.is-style-boton-azul .wp-block-button__link:hover {
	background-color: #0B2133;
	color: #fff;
}

.wp-block-button.is-style-boton-contorno-vino .wp-block-button__link {
	border: 1.5px solid var(--cm-vino);
	padding: 16px 22px;
}

.wp-block-button.is-style-boton-contorno-vino .wp-block-button__link:hover {
	background-color: var(--cm-vino);
	color: #fff;
}

.wp-block-buttons {
	gap: 17px;
}

/* Listas con viñeta oliva */

.cm-lista-vinetas {
	list-style: none;
	padding-left: 0;
	margin: 0;
}

.cm-lista-vinetas li {
	position: relative;
	padding-left: 19px;
	font-size: 18px;
	line-height: 28px;
}

.cm-lista-vinetas li + li {
	margin-top: 14px;
}

.cm-lista-vinetas li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: 12px;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--cm-oliva);
}

.cm-lista-vinetas strong {
	font-weight: 500;
}

/* -------------------------------------------------- Encabezado */

.cm-encabezado {
	background: #fff;
	padding-top: 20px;
	padding-bottom: 20px;
	position: relative;
	z-index: 20;
}

.cm-encabezado__fila {
	gap: 24px;
}

.cm-marca {
	gap: 24px;
}

.cm-marca__logo {
	margin: 0;
	flex-shrink: 0;
}

.cm-marca__logo img {
	display: block;
	height: auto;
}

.cm-marca__lema {
	color: var(--cm-azul);
	line-height: 22px;
	margin: 0;
	padding-left: 21px;
	border-left: 1px solid var(--cm-borde);
	min-height: 41px;
	display: flex;
	align-items: center;
}

.cm-nav {
	color: var(--cm-azul);
}

.cm-nav .wp-block-navigation__container {
	gap: 42px;
	align-items: center;
}

.cm-nav .wp-block-navigation-item__content {
	color: var(--cm-azul);
	text-decoration: none;
	position: relative;
	padding: 8px 0;
}

.cm-nav .wp-block-navigation-item__content:hover {
	text-decoration: underline;
	text-underline-offset: 6px;
}

.cm-nav .current-menu-item > .wp-block-navigation-item__content::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -4px;
	height: 3px;
	background: var(--cm-oliva);
}

.cm-nav .current-menu-item > .wp-block-navigation-item__content:hover {
	text-decoration: none;
}

.cm-nav .cm-nav__contacto {
	margin-left: 12px;
}

.cm-nav .cm-nav__contacto > .wp-block-navigation-item__content {
	border: 2px solid var(--cm-azul);
	border-radius: 4px;
	padding: 12px 28px;
	min-width: 132px;
	box-sizing: border-box;
	justify-content: center;
}

.cm-nav .cm-nav__contacto > .wp-block-navigation-item__content:hover {
	background: var(--cm-azul);
	color: #fff;
	text-decoration: none;
}

.cm-nav .cm-nav__contacto.current-menu-item > .wp-block-navigation-item__content {
	border-width: 1.5px;
}

.cm-nav .cm-nav__contacto.current-menu-item > .wp-block-navigation-item__content::after {
	left: 28px;
	right: 28px;
	bottom: 8px;
}

.cm-nav .wp-block-navigation__responsive-container-open,
.cm-nav .wp-block-navigation__responsive-container-close {
	color: var(--cm-azul);
	padding: 8px;
	min-width: 44px;
	min-height: 44px;
}

.cm-nav .wp-block-navigation__responsive-container.is-menu-open {
	background: #fff;
	color: var(--cm-azul);
	padding: 24px clamp(20px, 6vw, 48px);
}

.cm-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
	gap: 28px;
	align-items: flex-start;
	font-size: 20px;
}

.cm-nav .is-menu-open .cm-nav__contacto {
	margin-left: 0;
}

/* -------------------------------------------------- Encabezados de página (azul) */

.cm-hero {
	padding-top: clamp(56px, 6.5vw, 93px);
	padding-bottom: clamp(56px, 8.3vw, 120px);
}

.cm-hero h1 {
	margin: 0;
}

.cm-hero > *,
.cm-cta h2,
.cm-cta p {
	margin-left: 0 !important;
	margin-right: auto !important;
}

.cm-hero .cm-hero__titulo-ancho {
	max-width: 900px;
}

.cm-hero--nosotros .cm-hero__titulo-ancho {
	max-width: 830px;
}

.cm-cta--nosotros h2 {
	max-width: 560px;
}

.cm-cta--servicios h2 {
	max-width: 460px;
}

.cm-hero h1 + p {
	margin-top: clamp(24px, 2.6vw, 38px);
	max-width: 1000px;
	line-height: 1.62;
}

.cm-hero--inicio {
	padding-bottom: clamp(56px, 6.4vw, 92px);
}

.cm-hero--inicio .cm-hero__columnas {
	gap: clamp(32px, 6.1vw, 88px);
	justify-content: space-between;
	align-items: flex-start !important;
}

.cm-hero--inicio .wp-block-column:first-child {
	align-self: flex-start;
}

.cm-hero--inicio .wp-block-column:last-child {
	align-self: flex-start;
	padding-top: clamp(0px, 6.6vw, 95px);
}

.cm-hero--inicio h1 {
	max-width: 470px;
	margin: 0;
}

.cm-hero--inicio .cm-hero__texto {
	margin-top: clamp(24px, 2.5vw, 36px);
	line-height: 1.65;
}

.cm-hero__botones {
	margin-top: clamp(40px, 6vw, 86px);
}

.cm-hero--nosotros {
	padding-bottom: clamp(48px, 5.6vw, 80px);
}

.cm-hero--proyectos {
	padding-bottom: clamp(64px, 11.6vw, 168px);
}

.cm-hero--corto h1 {
	max-width: 900px;
}

/* Reel */

.cm-reel {
	margin: 0;
}

.cm-reel__portada,
.cm-reel__portada img {
	margin: 0;
	width: 100%;
	display: block;
}

.cm-reel__portada img {
	aspect-ratio: 573 / 381;
	object-fit: cover;
	height: auto;
}

.cm-reel .wp-block-video,
.cm-reel .wp-block-embed {
	margin: 0;
}

.cm-reel__barra {
	margin: 0 !important;
	border: 1.5px solid var(--cm-regla-azul);
	border-top: 0;
	padding: 14px 16px;
	gap: 18px;
	align-items: center;
}

.cm-reel__icono {
	margin: 0;
}

.cm-reel__titulo {
	margin: 0;
	font-size: 18px;
	font-weight: 500;
	color: #fff;
}

/* -------------------------------------------------- Inicio */

.cm-razones__rejilla {
	column-gap: 70px;
	row-gap: 0;
}

.cm-razon {
	border-top: 1px solid var(--cm-borde);
	padding-top: 36px;
	padding-bottom: 40px;
	gap: 37px;
}

.cm-razon .cm-icono {
	margin-top: 3px;
}

.cm-razon h3 {
	margin: 0 0 16px;
}

.cm-razon p {
	margin: 0;
	line-height: 30px;
}

.cm-razones {
	padding-bottom: clamp(40px, 4vw, 56px);
}

.cm-reconocen h2 {
	margin: 0;
	line-height: 1.18;
}

.cm-reconocen h2 + p {
	margin-top: 32px;
	line-height: 1.7;
}

.cm-reconocen .cm-foto img {
	aspect-ratio: 636 / 424;
}

.cm-botones-separados {
	margin-top: clamp(32px, 4.4vw, 64px);
}

.cm-testimonios__rejilla {
	gap: 24px;
}

.cm-testimonio {
	padding: 30px 26px 30px;
	min-height: 240px;
	box-sizing: border-box;
}

.cm-testimonio::before {
	content: "\201C";
	display: block;
	font-size: 60px;
	font-weight: 700;
	font-style: italic;
	line-height: 0.75;
	height: 34px;
	color: var(--cm-oliva);
}

.cm-testimonio__titulo {
	font-size: 19px;
	font-weight: 600;
	margin: 22px 0 26px;
}

.cm-testimonio__cita {
	margin: 0;
	font-size: 17px;
	line-height: 1.6;
}

.cm-testimonio__cita:empty {
	height: 35px;
	background:
		linear-gradient(#E9ECE8, #E9ECE8) 0 0 / 100% 5px no-repeat,
		linear-gradient(#E9ECE8, #E9ECE8) 0 15px / 100% 5px no-repeat,
		linear-gradient(#E9ECE8, #E9ECE8) 0 30px / 74% 5px no-repeat;
}

.cm-testimonio__autor {
	margin: 24px 0 0;
	font-size: 16px;
	font-weight: 500;
	color: var(--cm-azul);
}

.cm-testimonio__autor:empty {
	height: 6px;
	width: 30%;
	background: #DCE2D9;
}

/* -------------------------------------------------- Llamadas finales (azul) */

.cm-cta {
	padding-bottom: clamp(64px, 9vw, 130px);
}

.cm-cta__columnas {
	gap: 40px;
	justify-content: space-between;
}

.cm-cta h2 {
	margin: 0;
	max-width: 800px;
}

.cm-cta h2 + p {
	margin-top: 22px;
	max-width: 790px;
	line-height: 1.62;
}

.cm-cta .wp-block-buttons {
	margin-top: 8px;
}

.cm-explora__botones {
	gap: 24px;
	align-items: flex-end;
}

.cm-explora__botones .wp-block-button__link {
	min-width: 276px;
}

/* -------------------------------------------------- Pie */

.cm-pie {
	padding-bottom: 52px;
}

.cm-pie__regla.wp-block-separator {
	width: 100% !important;
	max-width: none !important;
	border-top: 1px solid var(--cm-regla-azul);
	margin: 0;
	color: var(--cm-regla-azul);
}

.cm-pie__columnas {
	gap: 0;
	margin: 64px 0 76px;
}

.cm-pie__logo {
	margin: 0;
}

.cm-pie__logo img {
	background: #fff;
	padding: 12px 10px;
	box-sizing: border-box;
	border-radius: 2px;
	display: block;
	height: auto;
}

.cm-pie__lema {
	margin: 40px 0 0;
	font-size: 18px;
	line-height: 28px;
}

.cm-pie__titulo {
	color: #fff !important;
	font-size: 18px;
	font-weight: 600;
	margin: 8px 0 26px;
	line-height: 1.3;
}

.cm-pie__lista {
	list-style: none;
	padding: 0;
	margin: 0;
	font-size: 16px;
	line-height: 24px;
}

.cm-pie__lista li + li {
	margin-top: 8px;
}

.cm-pie__contacto li + li {
	margin-top: 11px;
}

.cm-pie__contacto .cm-pie__direccion {
	margin-top: 31px;
	line-height: 27px;
}

.cm-pie a {
	color: #fff;
	text-decoration: none;
}

.cm-pie a:hover {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.cm-pie__legal {
	margin: 28px 0 0;
}

/* -------------------------------------------------- Nosotros */

.cm-historia__entrada {
	font-weight: 500;
	line-height: 1.57;
	margin-top: 0;
}

.cm-historia p {
	line-height: 1.65;
}

.cm-historia .cm-foto img {
	aspect-ratio: 573 / 381;
}

.cm-historia .wp-block-column:last-child {
	padding-top: 12px;
}

.cm-cifra {
	gap: 24px;
	align-items: center;
}

.cm-cifra__numero {
	margin: 0;
	font-weight: 700;
	line-height: 1;
	min-width: 128px;
}

.cm-cifra p:last-child {
	margin: 0;
	line-height: 29px;
}

.cm-mvv__columnas {
	gap: 0;
}

.cm-mvv__columna {
	padding-right: 35px;
	padding-bottom: 32px;
}

.cm-mvv__columna + .cm-mvv__columna {
	border-left: 1px solid var(--cm-regla-verde);
	padding-left: 35px;
}

.cm-mvv__titulo {
	margin: 28px 0 22px;
	font-weight: 600 !important;
}

.cm-mvv p {
	margin: 0;
	line-height: 1.65;
}

.cm-pasos__lista {
	list-style: none;
	padding: 0;
	margin: 0;
	column-gap: 30px;
	row-gap: 48px;
}

.cm-paso {
	position: relative;
	margin: 0;
}

.cm-paso__numero {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--cm-verde-titulo);
	color: var(--cm-azul);
	font-size: 19px;
	font-weight: 600;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	position: relative;
	z-index: 1;
}

.cm-paso:not(:last-child)::before {
	content: "";
	position: absolute;
	top: 27px;
	left: 56px;
	right: -30px;
	height: 1.5px;
	background: #DDE3D2;
}

.cm-paso h3 {
	margin: 40px 0 22px;
}

.cm-paso p {
	margin: 0;
	line-height: 29px;
}

.cm-pasos {
	padding-bottom: clamp(64px, 8vw, 120px);
}

.cm-metodologia h2 {
	margin: 0 0 22px;
}

.cm-metodologia h2 + p {
	margin: 0;
	line-height: 1.65;
}

.cm-metodologia .cm-foto img {
	aspect-ratio: 573 / 381;
}

.cm-metodologia .wp-block-column:last-child {
	padding-top: 16px;
}

.cm-enfoques {
	margin-top: 44px;
	gap: 60px;
}

.cm-enfoque {
	border-top: 1px solid var(--cm-regla-verde);
	padding-top: 32px;
}

.cm-enfoque__cabecera {
	gap: 25px;
	align-items: center;
}

.cm-enfoque__cabecera h3 {
	margin: 0;
	font-size: var(--wp--preset--font-size--tarjeta);
}

.cm-enfoque p {
	margin: 18px 0 0;
	line-height: 29px;
	color: var(--cm-azul);
}

.cm-metodologia {
	padding-bottom: clamp(40px, 4vw, 56px);
}

.cm-equipo__rejilla {
	gap: 30px;
	row-gap: 40px;
}

.cm-persona__foto {
	background: var(--cm-crema);
	border-radius: 4px;
	padding: 30px 0;
	margin: 0;
}

.cm-persona__foto .wp-block-image,
.cm-persona__foto img {
	margin: 0;
}

.cm-persona__iniciales {
	width: 98px;
	height: 98px;
	border-radius: 50%;
	background: var(--cm-verde-fondo);
	color: var(--cm-azul);
	font-size: 37px;
	font-weight: 500;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
}

.cm-persona__nombre {
	font-size: 21px !important;
	font-weight: 600;
	margin: 32px 0 10px;
}

.cm-persona__rol {
	font-size: 17px;
	line-height: 26px;
	margin: 0;
}

/* -------------------------------------------------- Servicios */

.cm-servicios__rejilla {
	column-gap: 46px;
	row-gap: 32px;
}

.cm-servicio {
	min-height: 286px;
	box-sizing: border-box;
	padding: 32px 32px 34px;
	display: flex;
	flex-direction: column;
}

.cm-servicio__cabecera {
	gap: 22px;
	align-items: center;
}

.cm-servicio__titulo {
	margin: 0;
	font-weight: 600 !important;
}

.cm-servicio__resumen {
	margin: 26px 0 0;
	line-height: 31px;
}

.cm-servicio__detalles {
	margin-top: auto;
	padding-top: 36px;
}

.cm-servicio__detalles summary {
	list-style: none;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	color: var(--cm-oliva);
	font-size: 17px;
	font-weight: 600;
	min-height: 44px;
}

.cm-servicio__detalles summary::-webkit-details-marker {
	display: none;
}

.cm-servicio__detalles summary::after {
	content: "";
	width: 14px;
	height: 14px;
	margin-right: 10px;
	background:
		linear-gradient(var(--cm-oliva), var(--cm-oliva)) center / 14px 1.6px no-repeat,
		linear-gradient(var(--cm-oliva), var(--cm-oliva)) center / 1.6px 14px no-repeat;
}

.cm-servicio__detalles[open] summary::after {
	background: linear-gradient(var(--cm-oliva), var(--cm-oliva)) center / 14px 1.6px no-repeat;
}

.cm-servicio__detalles .cm-lista-vinetas {
	margin-top: 14px;
}

.cm-servicio__detalles .cm-lista-vinetas li + li {
	margin-top: 8px;
}

.cm-construyamos {
	border-radius: 6px;
	padding: 46px 32px;
	position: relative;
	min-height: 286px;
	box-sizing: border-box;
}

.cm-construyamos__titulo {
	margin: 0;
	max-width: 420px;
	line-height: 1.27;
}

.cm-construyamos__titulo a {
	color: inherit;
	text-decoration: none;
}

.cm-construyamos__titulo a::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 6px;
}

.cm-construyamos__titulo a:focus-visible {
	outline: none;
}

.cm-construyamos__titulo a:focus-visible::before {
	outline: 2px solid var(--cm-azul);
	outline-offset: 2px;
}

.cm-construyamos:hover .cm-construyamos__titulo a {
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 6px;
}

.cm-construyamos::after {
	content: "";
	position: absolute;
	right: 40px;
	bottom: 40px;
	width: 16px;
	height: 16px;
	background-color: var(--cm-vino);
	-webkit-mask: var(--cm-flecha) center / contain no-repeat;
	mask: var(--cm-flecha) center / contain no-repeat;
}

.cm-planes .cm-cabecera {
	margin-bottom: clamp(48px, 9vw, 130px);
}

.cm-planes__rejilla {
	gap: 36px;
	align-items: stretch;
}

.cm-plan {
	background: #fff;
	border-top: 6px solid var(--cm-oliva);
	border-radius: 0 0 6px 6px;
	padding: 34px 32px 40px;
	display: flex;
	flex-direction: column;
}

.cm-plan > * {
	margin-block-start: 0;
	margin-block-end: 0;
}

.cm-plan__titulo {
	margin: 0;
	line-height: 1.25;
}

.cm-plan__descripcion {
	margin-top: 24px !important;
	line-height: 31px;
	min-height: 93px;
}

.cm-plan__incluye {
	font-weight: 600;
	margin-top: 54px !important;
}

.cm-plan__lista {
	margin-top: 30px !important;
	margin-bottom: 48px !important;
}

.cm-plan__regla.wp-block-separator {
	border-top: 1px solid var(--cm-borde);
	margin-top: auto !important;
	width: 100%;
}

.cm-plan__precio {
	color: var(--cm-azul);
	font-weight: 700;
	line-height: 1.2;
	margin-top: 30px !important;
}

/* -------------------------------------------------- Proyectos */

.cm-filtros {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 70px;
	margin-bottom: clamp(40px, 4.4vw, 63px);
}

.cm-filtros__etiqueta {
	margin: 0;
	font-size: 18px;
	font-weight: 500;
	color: var(--cm-gris);
}

.cm-filtros__botones {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.cm-filtros__boton {
	font: inherit;
	font-size: 17px;
	font-weight: 500;
	color: var(--cm-azul);
	background: var(--cm-crema);
	border: 1.5px solid transparent;
	border-radius: 4px;
	padding: 0 19px;
	min-height: 53px;
	min-width: 143px;
	text-align: left;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.cm-filtros__boton:hover {
	border-color: var(--cm-azul);
}

.cm-filtros__boton[aria-pressed="true"] {
	background: var(--cm-azul);
	color: #fff;
}

.cm-proyectos__rejilla {
	gap: 44px 36px !important;
}

.cm-proyectos__rejilla > li {
	display: flex;
}

.cm-proyecto {
	overflow: hidden;
	display: flex;
	flex-direction: column;
	width: 100%;
}

.cm-proyecto__imagen {
	margin: 0;
}

.cm-proyecto__imagen img {
	display: block;
	width: 100%;
}

.cm-proyecto__cuerpo {
	padding: 36px 31px 30px;
	display: flex;
	flex-direction: column;
	flex: 1;
	margin: 0 !important;
}

.cm-proyecto__cuerpo > * {
	margin-block: 0;
}

.cm-proyecto__categoria {
	color: var(--cm-oliva);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
}

.cm-proyecto__titulo {
	margin-top: 22px !important;
	font-weight: 600;
	line-height: 1.28;
	color: var(--cm-azul);
}

.cm-proyecto__titulo a {
	color: inherit;
	text-decoration: none;
}

.cm-proyecto__descripcion {
	margin-top: 16px !important;
}

.cm-proyecto__descripcion p {
	margin: 0;
	line-height: 29px;
}

.cm-proyecto__cliente {
	margin-top: 24px !important;
	font-size: 16px;
	font-weight: 500;
	line-height: 25px;
}

.cm-proyecto__mas {
	width: 100%;
	box-sizing: border-box;
	margin-top: auto !important;
	position: relative;
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-top: 1px solid var(--cm-borde);
	padding-top: 20px;
	color: var(--cm-oliva);
	font-size: 17px;
	font-weight: 600;
	text-decoration: none;
	min-height: 44px;
}

.cm-proyecto__cuerpo .cm-proyecto__cliente + .cm-proyecto__mas,
.cm-proyecto__cuerpo .cm-proyecto__mas {
	margin-top: auto;
}

.cm-proyecto__cliente {
	margin-bottom: 40px !important;
}

.cm-proyecto__mas::after {
	content: "";
	width: 16px;
	height: 16px;
	background-color: currentColor;
	-webkit-mask: var(--cm-flecha) center / contain no-repeat;
	mask: var(--cm-flecha) center / contain no-repeat;
}

.cm-proyecto__mas:hover {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.cm-listado {
	padding-bottom: clamp(64px, 7vw, 104px);
}

/* Ficha individual */

.cm-hero--ficha h1 {
	max-width: 900px;
}

.cm-hero--ficha .cm-antetitulo {
	margin-bottom: 24px;
}

.cm-ficha__cliente {
	margin: 28px 0 0;
}

.cm-ficha__imagen img {
	width: 100%;
	border: 1.5px solid var(--cm-borde);
	border-radius: 6px;
	box-sizing: border-box;
}

.cm-ficha__contenido p {
	line-height: 1.65;
	margin-top: 0;
}

.cm-ficha__volver {
	margin-top: 40px;
	font-weight: 600;
}

.cm-ficha__volver a {
	color: var(--cm-oliva);
}

/* -------------------------------------------------- Contacto */

.cm-contacto__columnas {
	gap: clamp(32px, 4.9vw, 70px);
	justify-content: space-between;
}

.cm-form {
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.cm-form__campo,
.cm-form__grupo {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 0;
	min-width: 0;
}

.cm-form__grupo {
	border: 0;
	padding: 0;
	margin-top: 8px;
}

.cm-form label,
.cm-form legend {
	color: var(--cm-oliva);
	font-size: 18px;
	font-weight: 500;
	line-height: 1.4;
}

.cm-form legend {
	padding: 0;
	margin-bottom: 14px;
}

.cm-form__grupo:first-of-type legend {
	font-size: 20px;
}

.cm-form input[type="text"],
.cm-form input[type="email"],
.cm-form input[type="tel"],
.cm-form select,
.cm-form textarea {
	font: inherit;
	font-size: 18px;
	color: var(--cm-azul);
	background: #fff;
	border: 1.5px solid var(--cm-borde-campo);
	border-radius: 4px;
	min-height: 62px;
	padding: 0 18px;
	width: 100%;
	box-sizing: border-box;
	transition: border-color 0.15s ease;
}

.cm-form textarea {
	min-height: 180px;
	padding: 16px 18px;
	resize: vertical;
}

.cm-form select {
	-webkit-appearance: none;
	appearance: none;
	padding-right: 52px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10'%3E%3Cpath d='M1.5 1.5 8 8l6.5-6.5' fill='none' stroke='%23112D43' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 22px center;
	background-size: 15px 10px;
}

.cm-form input:hover,
.cm-form select:hover,
.cm-form textarea:hover {
	border-color: #88979F;
}

.cm-form input:focus,
.cm-form select:focus,
.cm-form textarea:focus {
	border-color: var(--cm-azul);
	outline: 2px solid var(--cm-azul);
	outline-offset: 0;
}

.cm-form [aria-invalid="true"] {
	border-color: var(--cm-vino);
}

.cm-form__fila {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 22px;
}

.cm-form__opciones {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 120px;
}

.cm-form .cm-form__opcion {
	color: var(--cm-gris);
	font-weight: 400;
	display: inline-flex;
	align-items: center;
	gap: 14px;
	min-height: 44px;
	cursor: pointer;
}

.cm-form .cm-form__opcion--check {
	align-items: flex-start;
	gap: 14px;
}

.cm-form .cm-form__opcion--check input {
	margin-top: 3px;
}

.cm-form input[type="radio"],
.cm-form input[type="checkbox"] {
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: var(--cm-azul);
	flex-shrink: 0;
}

.cm-form__opcion a {
	color: inherit;
}

.cm-form__enviar {
	margin-top: 4px;
}

.cm-form__enviar .wp-block-button__link {
	background-color: var(--cm-azul);
	color: #fff;
	border: 0;
	cursor: pointer;
	min-width: 174px;
	font-family: inherit;
	letter-spacing: 0.01em;
}

.cm-form__nota {
	margin: -4px 0 0;
	font-size: 16px;
	color: var(--cm-gris);
}

.cm-form__error {
	margin: 0;
	color: var(--cm-vino);
	font-size: 16px;
	font-weight: 500;
}

.cm-form__aviso {
	border-radius: 6px;
	padding: 20px 24px;
	margin-bottom: 36px;
	font-size: 17px;
}

.cm-form__aviso p {
	margin: 0;
}

.cm-form__aviso p + p,
.cm-form__aviso ul {
	margin-top: 8px;
}

.cm-form__aviso--ok {
	background: var(--cm-verde-fondo);
	color: var(--cm-azul);
}

.cm-form__aviso--error {
	background: #F6ECEF;
	color: var(--cm-vino);
	border: 1.5px solid var(--cm-vino);
}

.cm-form__aviso--error a {
	color: inherit;
}

.cm-form__trampa {
	position: absolute !important;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.cm-info {
	border-radius: 6px;
	padding: 44px 36px 40px;
}

.cm-info > * {
	margin-block: 0;
}

.cm-info__antetitulo {
	font-size: 17px;
	font-weight: 500;
}

.cm-info h2 {
	margin-top: 22px;
}

.cm-info h2 + p {
	margin-top: 26px;
	line-height: 1.65;
}

.cm-info__datos {
	margin-top: 56px !important;
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.cm-info__dato {
	gap: 14px;
	align-items: flex-start;
}

.cm-info__dato p {
	margin: 0;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.5;
	color: var(--cm-azul);
}

.cm-info__dato p a {
	text-decoration: none;
}

.cm-info__dato p a:hover {
	text-decoration: underline;
}

.cm-info__direccion {
	font-weight: 400 !important;
}

.cm-info .wp-block-separator {
	border-top: 1px solid var(--cm-regla-verde);
	margin: 34px 0 36px !important;
}

.cm-info h3 {
	font-size: var(--wp--preset--font-size--tarjeta);
	margin: 0;
}

.cm-redes--flecha {
	list-style: none;
	padding: 0;
	margin: 24px 0 0 !important;
	color: var(--cm-azul);
	font-size: 17px;
}

.cm-redes--flecha li {
	display: flex;
	justify-content: space-between;
	align-items: center;
	min-height: 32px;
}

.cm-redes--flecha li::after {
	content: "";
	width: 16px;
	height: 16px;
	background-color: var(--cm-azul);
	-webkit-mask: var(--cm-flecha) center / contain no-repeat;
	mask: var(--cm-flecha) center / contain no-repeat;
}

.cm-redes--flecha a {
	color: inherit;
	text-decoration: none;
}

.cm-redes--flecha a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.cm-redes--flecha li {
	position: relative;
}

.cm-redes--flecha a:hover {
	text-decoration: underline;
}

/* -------------------------------------------------- Adaptación a pantallas */

@media (max-width: 1200px) {
	.cm-nav .wp-block-navigation__container {
		gap: 28px;
	}

	body .cm-testimonios__rejilla {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	body .cm-equipo__rejilla {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	body .cm-pasos__lista {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.cm-paso:nth-child(3)::before {
		display: none;
	}

	.cm-pie__columnas {
		flex-wrap: wrap !important;
		row-gap: 48px;
	}

	.cm-pie__columnas > .wp-block-column {
		flex-basis: 45% !important;
		flex-grow: 1 !important;
	}
}

@media (max-width: 1024px) {
	.cm-plan__descripcion {
		min-height: 0;
	}

	body .cm-proyectos__rejilla {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	body .cm-planes__rejilla {
		grid-template-columns: minmax(0, 620px);
		justify-content: center;
	}

	.cm-plan__lista {
		margin-bottom: 32px !important;
	}

	.cm-filtros {
		gap: 14px 24px;
	}

	.cm-cta__columnas {
		flex-wrap: wrap !important;
	}

	.cm-cta__columnas > .wp-block-column {
		flex-basis: 100% !important;
	}

	.cm-cta .wp-block-buttons,
	.cm-explora__botones {
		justify-content: flex-start !important;
		align-items: flex-start;
	}

	.cm-mvv__columnas {
		flex-wrap: wrap !important;
	}

	.cm-hero--inicio .wp-block-column:last-child {
		padding-top: 0;
	}
}

@media (max-width: 900px) {
	body .cm-servicios__rejilla {
		grid-template-columns: minmax(0, 1fr);
	}

	.cm-construyamos {
		min-height: 220px;
	}
}

@media (max-width: 781px) {
	body .cm-razones__rejilla {
		grid-template-columns: minmax(0, 1fr);
	}

	.cm-hero h1 {
		max-width: none;
	}

	.cm-hero__botones {
		margin-top: 40px;
	}

	.cm-hero--inicio .cm-hero__columnas {
		gap: 48px;
	}

	.cm-mvv__columna,
	.cm-mvv__columna + .cm-mvv__columna {
		border-left: 0;
		padding: 32px 0 0;
	}

	.cm-mvv__columna + .cm-mvv__columna {
		border-top: 1px solid var(--cm-regla-verde);
	}

	.cm-enfoques {
		gap: 32px;
	}

	.cm-form__fila {
		grid-template-columns: minmax(0, 1fr);
		gap: 38px;
	}

	.cm-form__opciones {
		gap: 4px 32px;
	}

	.cm-pie__columnas > .wp-block-column {
		flex-basis: 100% !important;
	}

	.cm-pie__columnas {
		margin: 48px 0 56px;
	}
}

@media (max-width: 680px) {
	body .cm-testimonios__rejilla,
	body .cm-proyectos__rejilla {
		grid-template-columns: minmax(0, 1fr);
	}

	body .cm-equipo__rejilla {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px 16px;
	}

	body .cm-pasos__lista {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 36px;
	}

	.cm-paso::before {
		display: none;
	}

	.cm-paso h3 {
		margin-top: 20px;
	}

	.cm-marca {
		gap: 14px;
	}

	.cm-marca__logo img {
		width: 118px !important;
	}

	.cm-marca__lema {
		padding-left: 14px;
		font-size: 13px !important;
		line-height: 18px;
		min-height: 36px;
	}

	.cm-encabezado {
		padding-top: 16px;
		padding-bottom: 16px;
	}

	.cm-razon {
		gap: 20px;
	}

	.cm-servicio,
	.cm-plan,
	.cm-info {
		padding-left: 24px;
		padding-right: 24px;
	}

	.cm-servicio__cabecera {
		align-items: flex-start;
	}

	.cm-cifra {
		flex-wrap: wrap !important;
		gap: 8px;
	}

	.cm-filtros__boton {
		min-width: 0;
	}

	.cm-boton-ancho .wp-block-button__link,
	.cm-explora__botones .wp-block-button__link {
		min-width: 0;
		width: 100%;
	}

	.cm-cta .wp-block-buttons > .wp-block-button,
	.cm-explora__botones > .wp-block-button {
		width: 100%;
	}

	.cm-hero__botones > .wp-block-button {
		flex: 1 1 100%;
	}

	.cm-hero__botones .wp-block-button__link {
		width: 100%;
	}

	.cm-persona__nombre {
		font-size: 19px !important;
	}

	.cm-construyamos {
		padding-bottom: 80px;
	}

	.cm-info__dato p {
		font-size: 16px;
		overflow-wrap: anywhere;
	}

	.cm-persona__iniciales {
		width: 80px;
		height: 80px;
		font-size: 30px;
	}
}

@media (max-width: 420px) {
	.cm-marca__lema {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	* {
		transition: none !important;
	}
}

/* -------------------------------------------------- Editor */

.editor-styles-wrapper .cm-testimonio__cita:empty,
.editor-styles-wrapper .cm-testimonio__autor:empty {
	background: none;
	height: auto;
	width: auto;
}
