/* =============================================================================
   HEADER Y FOOTER (compartidos) + HOME
   Referencias: propuestas-visuales/home-correcta.png y home-mobile-correcta.png
   ========================================================================== */

.wp-site-blocks { overflow-x: clip; }
.wp-site-blocks > main { margin-top: 0; }

/* -----------------------------------------------------------------------------
   Header — referencia: propuestas-visuales/header-footer-propuesta-v2.png
   Marca a la izquierda, menú centrado en el espacio libre, carrito solo a la
   derecha. El borde de abajo es un corte de papel, no una línea.
   -------------------------------------------------------------------------- */

.mp-header {
	position: relative;
	z-index: 20;
	isolation: isolate;
	padding-top: clamp( 0.8rem, 1.5vw, 1.35rem ) !important;
	padding-bottom: clamp( 0.8rem, 1.5vw, 1.35rem ) !important;
	background: transparent !important;
}

.mp-header::before {
	content: "";
	position: absolute;
	inset: 0 -1rem 0;
	z-index: -1;
	background: color-mix( in srgb, var( --wp--preset--color--blanco ) 45%, var( --wp--preset--color--crema ) );
	filter: url( "#mp-recorte" ) drop-shadow( 0 3px 3px rgb( 61 52 54 / 0.13 ) );
}

.mp-header > .wp-block-group.alignwide {
	display: grid !important;
	grid-template-columns: auto minmax( 0, 1fr ) auto;
	align-items: center;
	column-gap: 1.5rem;
}

.mp-header-nav-envoltorio { display: contents !important; }
.mp-header-nav-envoltorio > script { display: none; }
.mp-header .mp-nav { justify-self: center; }
.mp-header-iconos { justify-self: end; }

.mp-marca-envoltorio { flex: none; }

.mp-marca-link {
	position: relative;
	display: flex;
	align-items: center;
	font-size: clamp( 1.7rem, 1rem + 1.9vw, 2.85rem );
	color: var( --wp--preset--color--tinta );
	text-decoration: none;
}

.mp-marca {
	margin: 0;
	font-family: var( --wp--preset--font-family--mano );
	font-size: 1em;
	line-height: 1.1;
	white-space: nowrap;
	color: inherit;
	-webkit-text-stroke: 0.035em currentColor;
}

/* El isologotipo cierra la firma, en el lugar de la mariposa de la maqueta. */
.mp-marca-logo {
	display: block;
	flex: none;
	width: 1.3em;
	height: auto;
	margin-left: 0.18em;
	transform: translateY( -0.2em ) rotate( -8deg );
}

.mp-marca-recorrido {
	display: block;
	flex: none;
	width: 2.6em;
	height: auto;
	margin-left: 0.05em;
	transform: translateY( 0.2em );
	opacity: 0.85;
}

.mp-marca-link .mp-marca-rayos {
	right: -0.75em;
	top: -0.25em;
	width: 0.8em;
	height: 0.8em;
	color: var( --wp--preset--color--sol );
	transform: scaleX( -1 ) rotate( -10deg );
}

.mp-nav {
	font-family: var( --wp--preset--font-family--titulo );
	font-size: clamp( 1.15rem, 0.85rem + 0.65vw, 1.55rem );
	font-weight: 400;
}

.mp-nav .wp-block-navigation__container { gap: clamp( 1.6rem, 3.6vw, 3.4rem ); }

.mp-nav .wp-block-navigation-item__content {
	position: relative;
	color: var( --wp--preset--color--tinta );
	text-decoration: none;
}

/* Activo: un trazo de pincel coral debajo y dos rayitas delante. */
.mp-nav .wp-block-navigation-item__content::after {
	content: "";
	position: absolute;
	left: -12%;
	right: -12%;
	bottom: -0.32em;
	height: 0.42em;
	background: var( --wp--preset--color--coral );
	opacity: 0;
	transition: opacity 0.15s ease;
	-webkit-mask: url( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 14' preserveAspectRatio='none'%3E%3Cpath d='M3,9 C25,4 55,5 97,6' fill='none' stroke='%23000' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E" ) center / 100% 100% no-repeat;
	mask: url( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 14' preserveAspectRatio='none'%3E%3Cpath d='M3,9 C25,4 55,5 97,6' fill='none' stroke='%23000' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E" ) center / 100% 100% no-repeat;
}

.mp-nav .wp-block-navigation-item__content:hover::after,
.mp-nav .wp-block-navigation-item__content:focus-visible::after { opacity: 0.5; }
.mp-nav .mp-nav-activo .wp-block-navigation-item__content::after { opacity: 1; }

.mp-nav .mp-nav-activo { position: relative; }
.mp-nav .mp-nav-activo::before {
	content: "";
	position: absolute;
	left: -1.35rem;
	top: 0.15em;
	width: 1rem;
	height: 1rem;
	background: var( --wp--preset--color--coral );
	-webkit-mask: url( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cg fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M3,6 L13,9'/%3E%3Cpath d='M4,14 L13,13'/%3E%3C/g%3E%3C/svg%3E" ) center / contain no-repeat;
	mask: url( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cg fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M3,6 L13,9'/%3E%3Cpath d='M4,14 L13,13'/%3E%3C/g%3E%3C/svg%3E" ) center / contain no-repeat;
}

.mp-header-iconos .wc-block-mini-cart__button,
.mp-header-iconos .wc-block-components-button {
	background: transparent;
	border: 0;
	color: var( --wp--preset--color--tinta );
}

.mp-header-iconos svg,
.mp-header .wc-block-mini-cart__icon { width: 36px !important; height: 36px !important; }
.mp-header .wp-block-navigation__responsive-container-open svg { width: 32px; height: 32px; }

/* Móvil: menú, marca al centro, carrito. */
@media ( max-width: 600px ) {
	.mp-header > .wp-block-group.alignwide { column-gap: 0.5rem; }
	.mp-header .mp-nav { order: 1; justify-self: start; }
	.mp-marca-envoltorio { order: 2; justify-self: center; }
	.mp-header-iconos { order: 3; }
	.mp-header-iconos svg,
	.mp-header .wc-block-mini-cart__icon { width: 30px !important; height: 30px !important; }
}

/* Menú móvil: en vez del overlay de pantalla completa de WordPress, una
   tarjeta de papel que cae debajo del botón, con el resto de la página
   atenuado detrás. `.wp-block-navigation` es position: relative, así que
   top: 100% queda justo debajo de las tres rayitas. */
.mp-header .wp-block-navigation__responsive-container.is-menu-open {
	position: absolute;
	inset: calc( 100% + 1.1rem ) auto auto -0.2rem;
	width: min( 17rem, calc( 100vw - 1.8rem ) );
	height: auto;
	padding: 1.3rem 1.2rem 1.4rem;
	overflow: visible;
	background: transparent !important;
	transform-origin: 1.2rem 0;
	animation: mp-menu-cae 0.34s cubic-bezier( 0.2, 0.9, 0.3, 1.25 ) both;
}

.mp-header .wp-block-navigation__responsive-container.is-menu-open::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var( --wp--preset--color--blanco );
	border-radius: 14px;
	rotate: -1.2deg;
	filter: url( "#mp-recorte" ) drop-shadow( 0 10px 18px rgb( 61 52 54 / 0.24 ) );
}

/* Cinta de papel que "pega" la tarjeta arriba. */
.mp-header .wp-block-navigation__responsive-container.is-menu-open::after {
	content: "";
	position: absolute;
	top: -0.75rem;
	left: 42%;
	width: 4.2rem;
	height: 1.5rem;
	rotate: 4deg;
	background: color-mix( in srgb, var( --wp--preset--color--lila ) 45%, var( --wp--preset--color--crema ) );
	opacity: 0.92;
	clip-path: polygon( 0 8%, 6% 0, 12% 10%, 20% 2%, 100% 0, 96% 20%, 100% 40%, 95% 62%, 100% 82%, 97% 100%, 0 100%, 5% 78%, 0 58%, 4% 36% );
}

/* Fondo atenuado mientras el menú está abierto. */
.mp-header:has( .is-menu-open )::after {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -2;
	background: rgb( 61 52 54 / 0.28 );
	animation: mp-aparece 0.25s ease both;
}
.mp-header:has( .is-menu-open ) { z-index: 1000; }
.mp-header:has( .is-menu-open ) > .wp-block-group.alignwide { position: relative; z-index: 1; }

.mp-header .is-menu-open .wp-block-navigation__responsive-dialog { margin-top: 0 !important; }
.mp-header .is-menu-open .wp-block-navigation__responsive-container-close {
	top: -0.2rem;
	right: -0.1rem;
	padding: 0.3rem;
	border-radius: 50%;
	color: var( --wp--preset--color--tinta );
}
.mp-header .is-menu-open .wp-block-navigation__responsive-container-close svg { width: 26px; height: 26px; }

.mp-header .is-menu-open .wp-block-navigation__responsive-container-content {
	padding-top: 0.4rem !important;
	align-items: flex-start !important;
}

.mp-header .is-menu-open .wp-block-navigation__container {
	gap: 0.55rem !important;
	padding-left: 1.5rem;
}

.mp-header .is-menu-open .wp-block-navigation-item {
	animation: mp-sube 0.35s ease both;
}
.mp-header .is-menu-open .wp-block-navigation-item:nth-child( 2 ) { animation-delay: 0.06s; }
.mp-header .is-menu-open .wp-block-navigation-item:nth-child( 3 ) { animation-delay: 0.12s; }

.mp-header .mp-nav .is-menu-open .wp-block-navigation-item { width: auto !important; }
.mp-header .mp-nav .is-menu-open .wp-block-navigation-item__content {
	display: inline-block !important;
	width: auto !important;
	padding: 0.1em 0.1em !important;
	font-size: 1.8rem !important;
	line-height: 1.25;
}
.mp-header .mp-nav .is-menu-open .mp-nav-activo::before { top: 0.55em; }
.mp-header .is-menu-open .wp-block-navigation-item__content:focus-visible {
	outline: 2px dashed var( --wp--preset--color--tinta );
	outline-offset: 4px;
	border-radius: 6px;
}

@keyframes mp-menu-cae {
	from { opacity: 0; transform: translateY( -0.8rem ) rotate( -4deg ) scale( 0.92 ); }
	to   { opacity: 1; transform: none; }
}

@media ( max-width: 480px ) {
	.mp-header { padding-left: 0.9rem !important; padding-right: 0.9rem !important; }
	.mp-marca-link { font-size: 1.55rem; }
	.mp-marca-recorrido,
	.mp-marca-link .mp-marca-rayos { display: none; }
	.mp-marca-logo { width: 1.2em; margin-left: 0.12em; }
}


/* -----------------------------------------------------------------------------
   Hero: collage sobre acuarela coral
   -------------------------------------------------------------------------- */

.mp-hero {
	position: relative;
	isolation: isolate;
	overflow: clip;
	padding: clamp( 2.4rem, 3.6vw, 3.6rem ) clamp( 1rem, 4vw, 4rem ) clamp( 3rem, 4.4vw, 4.4rem );
}

/* Pigmento coral: dos o tres zonas más cargadas y el resto más aguado; el
   filtro rasga los bordes de arriba y abajo y mancha la superficie. */
.mp-hero-acuarela {
	position: absolute;
	inset: 1.1rem -3rem 1.4rem;
	z-index: -2;
	background:
		radial-gradient( 40% 60% at 22% 40%, color-mix( in srgb, var( --wp--preset--color--coral ) 80%, #f07f78 ), transparent 70% ),
		radial-gradient( 35% 55% at 78% 62%, color-mix( in srgb, var( --wp--preset--color--coral ) 75%, #f07f78 ), transparent 70% ),
		radial-gradient( 30% 50% at 52% 12%, color-mix( in srgb, var( --wp--preset--color--coral ) 60%, var( --wp--preset--color--crema ) ), transparent 70% ),
		var( --wp--preset--color--coral );
	filter: url( "#mp-acuarela" );
}

/* Salpicaduras reales (acuarelas de Mariposa), en regueros que unen las
   piezas: de la foto hacia los botones y alrededor de la ilustración. */
.mp-hero-salpicaduras {
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background-repeat: no-repeat;
	background-image:
		url( "../imagenes/salpicadura-dorada.webp" ),
		url( "../imagenes/salpicadura-dorada.webp" ),
		url( "../imagenes/salpicadura-dorada.webp" ),
		url( "../imagenes/salpicadura-dorada.webp" ),
		url( "../imagenes/salpicadura-dorada.webp" );
	background-size: auto 46%, auto 30%, auto 38%, auto 42%, auto 26%;
	background-position: 37.5% 4%, 2% 88%, 60% -4%, 65% 72%, 97.5% 30%;
}

.mp-hero .mp-deco { z-index: 1; }
.mp-hero .mp-deco.es-rayos { color: var( --wp--preset--color--tinta ); }
.mp-hd-1 { left: 3.4%; top: 21%; width: 2.8rem; height: 2.8rem; transform: rotate( -8deg ); }
.mp-hd-2 { left: 1.6%; top: 33%; width: 3.2rem; height: 3.2rem; transform: rotate( 8deg ); }
.mp-hd-3 { left: 2.7%; top: 45%; width: 1.9rem; height: 1.9rem; transform: rotate( -14deg ); }
.mp-hero .mp-hd-4 { left: 37.8%; top: 12%; color: var( --wp--preset--color--blanco ); transform: rotate( 4deg ); }
.mp-hero .mp-hd-5 { display: none; }
.mp-hero .mp-hd-6 { left: 92.6%; top: 7%; color: var( --wp--preset--color--sol ); width: 2.8rem; height: 2.8rem; transform: scaleX( -1 ); }

.mp-portada {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: minmax( 0, 1.13fr ) minmax( 0, 0.8fr ) minmax( 0, 0.97fr );
	column-gap: clamp( 1.8rem, 3.4vw, 3.4rem );
	align-items: center;
	max-width: 1300px;
	margin-inline: auto;
	/* Aire de coral a la derecha de la ilustración: lugar del ramo pendiente. */
	padding-right: clamp( 0rem, 3vw, 3.2rem );
}

/* Polaroids: marco de papel grueso, recortado, con sombra suave. */
.mp-portada .mp-polaroid {
	--mp-borde-papel: clamp( 10px, 1.05vw, 17px );
	--mp-redondeo: 5px;
	position: relative;
	margin: 0;
}

.mp-portada .mp-polaroid img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mp-hero-foto-escena { position: relative; }

.mp-hero-foto {
	--mp-giro: -2.4deg;
	aspect-ratio: 0.96;
}
.mp-hero-foto img { object-position: 50% 28%; }

.mp-hero-ilustracion {
	--mp-giro: 2.4deg;
	aspect-ratio: 0.8;
}

.mp-cinta { display: none; }

/* "El mundo de Mariposa Posa": sticker rosa escrito a mano, montado sobre el
   borde inferior de la foto y saliéndose hacia la izquierda. */
.mp-hero-titulo {
	position: absolute;
	left: -7%;
	bottom: 5%;
	z-index: 3;
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 0;
	padding: 0.5em 1.1em 1.55em;
	transform: rotate( -5deg );
	color: var( --wp--preset--color--tinta );
	font-family: var( --wp--preset--font-family--titulo );
	font-weight: 400;
	line-height: 1.05;
	isolation: isolate;
}

.mp-hero-titulo::before,
.mp-hero-titulo::after {
	content: "";
	position: absolute;
	border-radius: 10px;
}
.mp-hero-titulo::before {
	inset: -9px;
	z-index: -2;
	background: var( --wp--preset--color--blanco );
	filter: url( "#mp-recorte" ) drop-shadow( 0 5px 10px rgb( 61 52 54 / 0.22 ) );
}
.mp-hero-titulo::after {
	inset: 0;
	z-index: -1;
	background: color-mix( in srgb, var( --wp--preset--color--coral ) 62%, var( --wp--preset--color--blanco ) );
	filter: url( "#mp-acuarela-fina" );
}

.mp-hero-titulo .bajada { font-size: clamp( 0.95rem, 1.1vw, 1.2rem ); }
.mp-hero-titulo .nombre { font-size: clamp( 1.2rem, 1.5vw, 1.6rem ); white-space: nowrap; }

.mp-hero-titulo-corazon {
	left: 50%;
	bottom: 0.3em;
	width: 1.2rem;
	height: 1.2rem;
	margin-left: -0.6rem;
	opacity: 1;
}

/* Botones: dos papeles pegados a mano, de tamaño e inclinación distintos. */
.mp-portada-botones {
	position: relative;
	display: flex;
	flex-direction: column;
	container-type: inline-size;
}

.mp-sticker.es-grande {
	--mp-borde-papel: clamp( 9px, 0.85vw, 14px );
	--mp-redondeo: 12px;
	flex-direction: column;
	gap: 0.12em;
	width: 100%;
	padding: 0.4em 0.6em;
	font-family: var( --wp--preset--font-family--titulo );
	font-weight: 400;
	font-size: min( 13.5cqw, 2.9rem );
	line-height: 1;
	white-space: nowrap;
}

.mp-portada-botones > .mp-sticker:nth-child( 1 ) {
	--mp-giro: 3.5deg;
	aspect-ratio: 1.75;
	z-index: 2;
}

.mp-portada-botones > .mp-sticker:nth-child( 2 ) {
	--mp-giro: -5.5deg;
	width: 88%;
	aspect-ratio: 1.62;
	margin-top: 2.8rem;
	margin-left: 7%;
	font-size: min( 14.5cqw, 3rem );
	z-index: 1;
}

.mp-sticker-texto { display: block; }

.mp-sticker-trazo {
	display: block;
	width: 62%;
	height: auto;
	flex: none;
}
.mp-sticker-trazo.es-arriba { width: 56%; margin-bottom: 0.15em; opacity: 0.9; }

.mp-hero-conector {
	position: absolute;
	top: calc( 100% - 1.2rem );
	left: 16%;
	width: 84%;
	height: auto;
	opacity: 0.9;
	pointer-events: none;
}


/* -----------------------------------------------------------------------------
   Hero móvil: foto + título / botones / ilustración
   -------------------------------------------------------------------------- */

@media ( max-width: 760px ) {
	.mp-hero { padding: 1.7rem 0.95rem 2.8rem; }
	.mp-hero-acuarela { inset: 0.5rem -2rem 0.9rem; }

	.mp-hero-salpicaduras {
		background-size: auto 17%, auto 12%, auto 14%, auto 16%, auto 0;
		background-position: 97% 3%, 1% 22%, 99% 50%, 2% 95%, 0 0;
	}

	.mp-portada {
		grid-template-columns: minmax( 0, 1.42fr ) minmax( 0, 1fr );
		grid-template-areas:
			"foto titulo"
			"botones botones"
			"ilus ilus";
		column-gap: 0.5rem;
		align-items: center;
		padding-right: 0;
	}

	.mp-hero-foto-escena { display: contents; }

	.mp-hero-foto {
		grid-area: foto;
		--mp-borde-papel: 9px;
		--mp-giro: -2.5deg;
		aspect-ratio: 0.84;
		margin: 0.4rem 0 0 0.35rem;
	}

	.mp-cinta {
		display: block;
		position: absolute;
		top: -0.85rem;
		left: -1.3rem;
		z-index: 3;
		width: 4.8rem;
		height: 1.9rem;
		transform: rotate( -26deg );
		background: color-mix( in srgb, var( --wp--preset--color--ocre ) 30%, var( --wp--preset--color--crema ) );
		opacity: 0.93;
		clip-path: polygon( 0 8%, 6% 0, 12% 10%, 20% 2%, 100% 0, 96% 20%, 100% 40%, 95% 62%, 100% 82%, 97% 100%, 0 100%, 5% 78%, 0 58%, 4% 36% );
		box-shadow: 0 2px 4px rgb( 61 52 54 / 0.15 );
	}

	.mp-hero-titulo {
		grid-area: titulo;
		position: relative;
		left: auto;
		bottom: auto;
		padding: 0 0 2.2rem;
		transform: none;
		text-align: center;
		container-type: inline-size;
	}
	.mp-hero-titulo::before,
	.mp-hero-titulo::after { content: none; }

	.mp-hero-titulo .bajada {
		font-size: clamp( 1.05rem, 5vw, 1.4rem );
		margin-bottom: 0.2em;
	}

	/* La única cursiva del hero: el nombre, como en la maqueta. */
	.mp-hero-titulo .nombre {
		font-family: var( --wp--preset--font-family--mano );
		font-size: min( 22cqw, 2.9rem );
		line-height: 1.02;
		white-space: normal;
		-webkit-text-stroke: 0.03em currentColor;
	}

	.mp-hero-titulo-corazon { width: 1.9rem; height: 1.9rem; margin-left: -0.95rem; bottom: 0; }

	/* Los dos botones van en su propia fila, separados de la foto (antes se le
	   montaban encima y quedaban apretados), con aire alrededor del texto y el
	   trazo con corazón debajo, como en escritorio. */
	.mp-portada-botones {
		grid-area: botones;
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 1.1rem;
		margin-top: 1.5rem;
		padding-inline: 0.7rem;
		z-index: 3;
	}

	.mp-portada-botones > .mp-sticker:nth-child( n ) {
		--mp-borde-papel: 7px;
		width: 100%;
		margin: 0;
		min-width: 0;
		aspect-ratio: auto;
		padding: 0.75em 0.4em 0.55em;
		gap: 0.2em;
		font-size: min( 6.2cqw, 1.5rem );
	}
	.mp-portada-botones > .mp-sticker:nth-child( 1 ) { --mp-giro: -2.5deg; }
	.mp-portada-botones > .mp-sticker:nth-child( 2 ) { --mp-giro: 2deg; }

	.mp-sticker-trazo:not( .es-arriba ) { display: block; width: 78%; }
	.mp-sticker-trazo.es-arriba,
	.mp-hero-conector { display: none; }

	.mp-hero-ilustracion {
		grid-area: ilus;
		--mp-borde-papel: 9px;
		--mp-giro: 1.6deg;
		width: 84%;
		justify-self: center;
		aspect-ratio: 0.96;
	}
	/* Con dos clases, para ganarle al margin: 0 de .mp-portada .mp-polaroid. */
	.mp-portada .mp-hero-ilustracion { margin-top: 2.6rem; }
	.mp-hero-ilustracion img { object-position: 50% 100%; }

	.mp-hd-1 { left: auto; right: 2%; top: 5%; width: 2.2rem; height: 2.2rem; transform: scaleX( -1 ); }
	.mp-hd-2 { display: none; }
	.mp-hd-3 { display: none; }
	/* En el celular no hay margen libre a los costados: estos quedaban
	   asomando cortados detrás de la foto y de la ilustración. */
	.mp-hero .mp-hd-4,
	.mp-hero .mp-hd-6 { display: none; }
	.mp-hero .mp-hd-5 { display: block; left: auto; right: 3%; top: 26%; color: var( --wp--preset--color--tinta ); width: 1.9rem; height: 1.9rem; transform: rotate( 170deg ); }
}


/* -----------------------------------------------------------------------------
   Sobre mí
   -------------------------------------------------------------------------- */

.mp-sobre-mi {
	position: relative;
	margin-top: clamp( 0.5rem, 2vw, 1.6rem ) !important;
	max-width: 1320px !important;
}

.mp-sobre-mi-columnas {
	position: relative;
	display: grid !important;
	grid-template-columns: minmax( 0, 36rem ) minmax( 0, 1fr ) minmax( 0, 15.5rem );
	column-gap: clamp( 1.2rem, 3vw, 3rem );
	align-items: center;
	margin: 0 !important;
}

.mp-sobre-mi-grafico { display: contents; }

/* Salpicaduras que entran por la izquierda del texto, como en la maqueta. */
.mp-sobre-mi-texto { position: relative; padding-left: clamp( 0rem, 4vw, 3.5rem ); }
.mp-sobre-mi-texto::before {
	content: "";
	position: absolute;
	left: -3.5rem;
	top: 30%;
	width: 5rem;
	height: 60%;
	z-index: -1;
	background: url( "../imagenes/salpicadura-dorada.webp" ) center / contain no-repeat;
	opacity: 0.85;
}

/* Etiqueta: pincelada coral chica, escrita a mano, con un trazo debajo. */
.mp-etiqueta {
	position: relative;
	isolation: isolate;
	display: inline-block;
	margin: 0 0 0.8rem !important;
	padding: 0.18em 1.05em 0.3em;
	transform: rotate( -3deg );
	font-family: var( --wp--preset--font-family--titulo );
	font-size: clamp( 1.35rem, 1.1rem + 0.7vw, 1.75rem );
	line-height: 1.1;
	color: var( --wp--preset--color--tinta );
}
.mp-etiqueta::before {
	content: "";
	position: absolute;
	inset: 0 -0.2em;
	z-index: -1;
	background: color-mix( in srgb, var( --wp--preset--color--coral ) 72%, var( --wp--preset--color--blanco ) );
	border-radius: 3px;
	filter: url( "#mp-pincelada" );
}
.mp-etiqueta span { position: relative; }
.mp-etiqueta span::after {
	content: "";
	position: absolute;
	left: 8%;
	right: -4%;
	bottom: -0.3em;
	height: 0.3em;
	background: var( --wp--preset--color--tinta );
	-webkit-mask: url( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 10' preserveAspectRatio='none'%3E%3Cpath d='M2,7 C30,3 60,4 98,3' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E" ) center / 100% 100% no-repeat;
	mask: url( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 10' preserveAspectRatio='none'%3E%3Cpath d='M2,7 C30,3 60,4 98,3' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E" ) center / 100% 100% no-repeat;
}

.mp-sobre-mi-titulo {
	margin: 0 0 0.9rem !important;
	font-size: clamp( 1.6rem, 1rem + 2vw, 2.7rem ) !important;
	line-height: 1.1;
	white-space: nowrap;
}

.mp-sobre-mi-titulo-corazon {
	position: relative;
	display: inline-block;
	vertical-align: -0.05em;
	width: 1em;
	height: 1em;
	margin-left: 0.3em;
	color: var( --wp--preset--color--coral );
	opacity: 1;
	transform: rotate( 6deg );
}

.mp-sobre-mi-cuerpo {
	max-width: 35rem;
	margin: 0 !important;
	font-size: clamp( 0.98rem, 0.9rem + 0.25vw, 1.1rem );
	line-height: 1.5;
	color: var( --wp--preset--color--tinta );
}
.mp-sobre-mi-cuerpo + .mp-sobre-mi-cuerpo { margin-top: 1em !important; }
.mp-sobre-mi-cuerpo strong { font-weight: 700; }

/* Maripo es la pieza gráfica de la sección, con su propio clima de salpicaduras. */
.mp-sobre-mi-maripo {
	position: relative;
	isolation: isolate;
	margin: 0;
	justify-self: center;
	width: 100%;
	max-width: 27rem;
}
.mp-sobre-mi-maripo img { display: block; width: 100%; height: auto; }
.mp-sobre-mi-maripo::before {
	content: "";
	position: absolute;
	inset: -6% -14% 4%;
	z-index: -1;
	background:
		url( "../imagenes/salpicadura-dorada.webp" ) 0% 40% / auto 70% no-repeat,
		url( "../imagenes/salpicadura-dorada.webp" ) 100% 10% / auto 60% no-repeat;
	opacity: 0.85;
}

/* La cita: una mancha rosa grande, acuarelada, con la frase a mano. */
.mp-sobre-mi-cita {
	position: relative;
	isolation: isolate;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	aspect-ratio: 0.98;
	margin: 0 !important;
	padding: 1.6rem 1.9rem 2.6rem;
	transform: rotate( -8deg );
	font-family: var( --wp--preset--font-family--titulo );
	font-size: clamp( 1.3rem, 1rem + 0.8vw, 1.75rem );
	line-height: 1.22;
	text-align: center;
	color: var( --wp--preset--color--tinta );
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.25s ease;
}
/* El círculo es el botón de descarga del regalito: crece un poco al pasar. */
.mp-sobre-mi-cita:hover,
.mp-sobre-mi-cita:focus-visible {
	color: var( --wp--preset--color--tinta );
	text-decoration: none;
	transform: rotate( -8deg ) scale( 1.06 );
}
.mp-sobre-mi-cita:focus-visible {
	outline: 2px dashed var( --wp--preset--color--tinta );
	outline-offset: 6px;
	border-radius: 50%;
}
.mp-sobre-mi-cita::before,
.mp-sobre-mi-cita::after {
	content: "";
	position: absolute;
	z-index: -1;
	border-radius: 47% 53% 44% 56% / 55% 43% 57% 45%;
	filter: url( "#mp-acuarela-fina" );
}
.mp-sobre-mi-cita::before {
	inset: 0;
	background: radial-gradient( circle at 45% 45%, color-mix( in srgb, var( --wp--preset--color--coral ) 55%, var( --wp--preset--color--blanco ) ) 20%, color-mix( in srgb, var( --wp--preset--color--coral ) 85%, var( --wp--preset--color--lila ) ) 100% );
}
.mp-sobre-mi-cita::after {
	inset: 8% -6% -4% 10%;
	background: color-mix( in srgb, var( --wp--preset--color--coral ) 45%, transparent );
	border-radius: 55% 45% 58% 42% / 42% 58% 44% 56%;
	z-index: -2;
}

.mp-sobre-mi-cita-corazon {
	position: absolute;
	left: 50%;
	bottom: 0.7rem;
	width: 1.7rem;
	height: 1.7rem;
	margin-left: -0.85rem;
	opacity: 1;
}

.mp-sobre-mi-pincel {
	position: absolute;
	right: -3rem;
	bottom: -2rem;
	width: 13rem;
	height: 2.6rem;
	transform: rotate( -20deg );
	background: var( --wp--preset--color--salvia );
	border-radius: 40px;
	opacity: 0.75;
	filter: url( "#mp-pincelada" );
	pointer-events: none;
}

@media ( max-width: 1100px ) and ( min-width: 761px ) {
	.mp-sobre-mi-columnas { grid-template-columns: minmax( 0, 1.3fr ) minmax( 0, 1fr ); row-gap: 1rem; }
	.mp-sobre-mi-texto { grid-row: 1 / 3; }
	.mp-sobre-mi-cita { max-width: 14rem; justify-self: center; }
	.mp-sobre-mi-titulo { white-space: normal; }
}

/* Móvil: el texto corre al lado de Maripo, con calma; la cita cierra. */
@media ( max-width: 760px ) {
	.mp-sobre-mi { padding-inline: 1.1rem !important; margin-top: 0.4rem !important; }

	/* El texto corre a lo ancho (en una columna angosta al lado de Maripo
	   quedaba de a dos o tres palabras por línea); Maripo y la cita cierran
	   juntos, uno al lado del otro. */
	.mp-sobre-mi-columnas {
		grid-template-columns: minmax( 0, 1fr ) minmax( 0, 1fr );
		column-gap: 0.4rem;
		row-gap: 0 !important;
		align-items: center;
	}

	.mp-sobre-mi-texto { grid-column: 1 / -1; padding-left: 0; }
	.mp-sobre-mi-texto::before { display: none; }

	.mp-sobre-mi-titulo { font-size: min( 6.6vw, 1.9rem ) !important; }
	.mp-sobre-mi-titulo-corazon { display: none; }
	.mp-sobre-mi-cuerpo { font-size: 1rem; line-height: 1.55; }

	.mp-sobre-mi-maripo {
		grid-column: 1;
		grid-row: 2;
		width: 118%;
		max-width: none;
		margin: 2rem 0 0.6rem -12%;
		justify-self: start;
		align-self: center;
	}

	.mp-sobre-mi-cita {
		grid-column: 2;
		grid-row: 2;
		justify-self: center;
		width: 100%;
		max-width: 11.5rem;
		margin: 2rem 0 0.6rem !important;
		align-self: center;
		font-size: 1.12rem;
		padding: 0.9rem 1.1rem 3rem;
	}

	.mp-sobre-mi-pincel { display: none; }
}


/* -----------------------------------------------------------------------------
   Footer — referencia: propuestas-visuales/header-footer-propuesta-v2.png
   Cierre editorial: lockup grande a la izquierda, "Recorrer" sobrio en el
   centro-derecha, legales chicos abajo, sobre coral acuarelado.
   -------------------------------------------------------------------------- */

.mp-footer {
	--mp-footer-gap: clamp( 1.4rem, 3.4vw, 3.2rem );
	position: relative;
	isolation: isolate;
	overflow: clip;
	margin-top: 0 !important;
	padding: clamp( 4.6rem, 7vw, 6.4rem ) clamp( 1.2rem, 4vw, 3rem ) 1.8rem;
	color: var( --wp--preset--color--tinta );
}
.mp-footer > * { max-width: none; }
.mp-footer a { color: var( --wp--preset--color--tinta ); }

.mp-footer-acuarela {
	position: absolute;
	inset: 1.3rem -3rem -3rem;
	z-index: -2;
	background:
		radial-gradient( 35% 70% at 20% 55%, color-mix( in srgb, var( --wp--preset--color--coral ) 80%, #f07f78 ), transparent 70% ),
		radial-gradient( 30% 60% at 80% 40%, color-mix( in srgb, var( --wp--preset--color--coral ) 75%, #f07f78 ), transparent 70% ),
		var( --wp--preset--color--coral );
	filter: url( "#mp-acuarela" );
}

.mp-footer-salpicaduras {
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background:
		url( "../imagenes/salpicadura-dorada.webp" ) 1% 35% / auto 58% no-repeat,
		url( "../imagenes/salpicadura-dorada.webp" ) 96% 18% / auto 52% no-repeat,
		url( "../imagenes/salpicadura-dorada.webp" ) 79% 100% / auto 34% no-repeat;
}

.mp-footer-pincel {
	position: absolute;
	right: -2.5rem;
	bottom: 1.2rem;
	z-index: -1;
	width: clamp( 10rem, 20vw, 20rem );
	height: clamp( 2rem, 3vw, 3.2rem );
	background: var( --wp--preset--color--salvia );
	border-radius: 40px;
	opacity: 0.85;
	transform: rotate( -20deg );
	filter: url( "#mp-pincelada" );
	pointer-events: none;
}

.mp-footer-recorrido {
	position: absolute;
	right: 2%;
	bottom: 6%;
	z-index: -1;
	width: clamp( 10rem, 15vw, 15rem );
	height: auto;
	opacity: 0.85;
	pointer-events: none;
}

.mp-footer-cuerpo {
	display: grid;
	/* min-content: la marca nunca se achica por debajo de su ancho (el lockup no
	   corta línea) y así no se mete debajo de "Recorrer". */
	grid-template-columns: minmax( min-content, 1fr ) auto auto;
	align-items: center;
	column-gap: clamp( 1.8rem, 4vw, 4rem );
	max-width: 1320px;
	margin: 0 auto !important;
	padding-inline: clamp( 0rem, 5vw, 5rem );
}
.mp-footer-cuerpo > * { margin: 0 !important; }

/* El lockup: mismo que el header, más grande. */
.mp-footer-lockup {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	gap: 0 !important;
	font-size: clamp( 2.4rem, 0.9rem + 3vw, 4.4rem );
}
.mp-footer-nombre {
	margin: 0;
	font-family: var( --wp--preset--font-family--mano );
	font-size: 1em !important;
	line-height: 1.1;
	white-space: nowrap;
	-webkit-text-stroke: 0.035em currentColor;
}
.mp-footer-logo {
	display: block;
	flex: none;
	width: 1.5em;
	height: auto;
	margin-left: 0.14em !important;
	transform: translateY( -0.14em ) rotate( -8deg );
}

.mp-footer-bajada {
	margin: 0.2rem 0 0 1.6em !important;
	font-family: var( --wp--preset--font-family--titulo );
	font-size: clamp( 1.2rem, 0.9rem + 0.8vw, 1.8rem );
	line-height: 1.2;
	transform: rotate( -1.5deg );
}

.mp-footer-recorrer > * { margin: 0 !important; }
.mp-footer-recorrer-titulo {
	position: relative;
	display: inline-block;
	font-family: var( --wp--preset--font-family--titulo );
	font-size: clamp( 1.35rem, 1rem + 0.7vw, 1.8rem );
	line-height: 1.2;
}
.mp-footer-recorrer-titulo::after {
	content: "";
	position: absolute;
	left: -4%;
	right: -8%;
	bottom: -0.35em;
	height: 0.3em;
	background: var( --wp--preset--color--tinta );
	-webkit-mask: url( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 10' preserveAspectRatio='none'%3E%3Cpath d='M2,7 C30,2 62,3 98,5' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E" ) center / 100% 100% no-repeat;
	mask: url( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 10' preserveAspectRatio='none'%3E%3Cpath d='M2,7 C30,2 62,3 98,5' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E" ) center / 100% 100% no-repeat;
}
.mp-nav-footer { margin-top: 0.8rem !important; }
.mp-nav-footer .wp-block-navigation__container { gap: 0.3rem; }
.mp-nav-footer .wp-block-navigation-item__content {
	font-family: var( --wp--preset--font-family--titulo );
	font-size: clamp( 1.1rem, 0.95rem + 0.35vw, 1.35rem );
	text-decoration: none;
}
.mp-nav-footer .wp-block-navigation-item__content:hover,
.mp-nav-footer .wp-block-navigation-item__content:focus-visible { text-decoration: underline; text-underline-offset: 4px; }

/* Recorrer y Contacto arrancan a la misma altura aunque tengan distinto largo. */
.mp-footer-recorrer,
.mp-footer-contacto { align-self: start; padding-top: 1.2rem; }

/* Contacto: misma tipografía que "Recorrer", con ícono de línea a la izquierda. */
.mp-footer-contacto > * { margin: 0 !important; }
.mp-footer-contacto-lista {
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
	margin: 0.8rem 0 0 !important;
	padding: 0;
	list-style: none;
}
.mp-footer-contacto-lista a {
	display: inline-flex;
	align-items: center;
	gap: 0.45em;
	font-family: var( --wp--preset--font-family--titulo );
	font-size: clamp( 1rem, 0.9rem + 0.3vw, 1.25rem );
	text-decoration: none;
	white-space: nowrap;
}
.mp-footer-contacto-lista svg { flex: none; width: 1.15em; height: 1.15em; }
.mp-footer-contacto-lista a:hover,
.mp-footer-contacto-lista a:focus-visible { text-decoration: underline; text-underline-offset: 4px; }

/* Legales: una fila chica, centrada, con separadores a mano. */
.mp-footer-legal {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.3rem var( --mp-footer-gap );
	max-width: 1320px;
	margin: clamp( 2rem, 4vw, 3.2rem ) auto 0 !important;
	font-size: 0.92rem;
}
.mp-footer-legal > p { position: relative; margin: 0 !important; }
.mp-footer-legal > p + p::before {
	content: "";
	position: absolute;
	left: calc( var( --mp-footer-gap ) / -2 );
	top: 0.1em;
	bottom: 0.1em;
	border-left: 1.5px solid var( --wp--preset--color--tinta );
}
.mp-footer-legal a { text-decoration: none; }
.mp-footer-legal a:hover,
.mp-footer-legal a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }

@media ( max-width: 900px ) {
	.mp-footer-cuerpo { grid-template-columns: auto auto; justify-content: space-evenly; align-items: start; row-gap: 2rem; padding-inline: 0; }
	.mp-footer-marca { grid-column: 1 / -1; justify-self: center; }
	.mp-footer-recorrido { display: none; }
}

@media ( max-width: 700px ) {
	.mp-footer { padding: 4rem 1rem 5.2rem; text-align: center; }
	.mp-footer-acuarela { inset: 1rem -2rem -2rem; }
	.mp-footer-salpicaduras {
		background:
			url( "../imagenes/salpicadura-dorada.webp" ) 0% 12% / auto 26% no-repeat,
			url( "../imagenes/salpicadura-dorada.webp" ) 100% 30% / auto 24% no-repeat;
	}
	.mp-footer-pincel { right: -2.5rem; bottom: 2.2rem; width: 9rem; height: 1.8rem; }

	.mp-footer-cuerpo { grid-template-columns: minmax( 0, 1fr ); row-gap: 1.8rem; }
	.mp-footer-contacto-lista { align-items: center; }
	.mp-footer-lockup { justify-content: center; font-size: min( 9.4vw, 2.6rem ); }
	.mp-footer-bajada { margin: 0.2rem 0 0 !important; font-size: 1.2rem; }

	.mp-nav-footer,
	.mp-nav-footer .wp-block-navigation__container { align-items: center !important; justify-content: center !important; }

	.mp-footer-legal { margin-top: 2rem !important; font-size: 0.88rem; }
	.mp-footer-legal { flex-direction: column; align-items: center; gap: 0.35rem; }
	.mp-footer-legal > p + p::before { display: none; }
	.mp-footer-contacto-lista a { font-size: 1.02rem; }
}


/* =============================================================================
   BURBUJA DE WHATSAPP (plugin Joinchat)
   -----------------------------------------------------------------------------
   El color guardado en el plugin es el turquesa de Eleva (#6dcfc4). Se pisa
   acá, en el tema, para que viaje con el sitio sin tocar la configuración del
   plugin: el amarillo del círculo del isologotipo (#f6f08e) con el ícono en
   tinta — blanco sobre ese amarillo no se leería. El plugin arma sus colores
   con --ch/--cs/--cl (HSL); --text es el color del ícono.
   En Carrito y Finalizar compra no aparece (filtro joinchat_show en
   functions.php).
   ========================================================================== */

body .joinchat {
	--ch: 57;
	--cs: 85%;
	--cl: 76%;
	--bw: 0;
	--text: var( --wp--preset--color--tinta );
	--hover: hsl( 57 85% 70% );
}
body .joinchat__button:has( .joinchat__button__ico ) {
	box-shadow: 0 0 0 2px rgb( 61 52 54 / 0.12 ), 1px 6px 18px 0 rgb( 61 52 54 / 0.22 );
}
