/*
Theme Name: mimaloo
Theme URI: https://mimaloo.com
Description: Child theme de Twenty Twenty-Five con los tokens de la Variante 3 (Playful Malú).
Author: Hermes
Template: twentytwentyfive
Version: 1.0.0
License: GPL-2.0-or-later
Text Domain: mimaloo
*/

/* Tipografía base */
body {
	font-family: 'Nunito', sans-serif;
}

h1, h2, h3, h4, h5, h6,
.wp-block-heading,
.wp-block-button__link {
	font-family: 'Baloo 2', cursive;
}

/* Botones píldora */
.wp-block-button__link {
	border-radius: 999px;
	font-weight: 800;
	padding: 14px 28px;
}

/* Hero */
.mimaloo-hero {
	position: relative;
	overflow: hidden;
}

.mimaloo-hero > .wp-block-group__inner-container,
.mimaloo-hero > * {
	position: relative;
	z-index: 1;
}

/* Blobs decorativos */
.mimaloo-blob {
	position: absolute;
	border-radius: 50% 40% 60% 45% / 50% 60% 40% 55%;
	opacity: .5;
	z-index: 0;
	animation: mimaloo-float 9s ease-in-out infinite;
	pointer-events: none;
}

.mimaloo-blob-1 {
	width: 340px;
	height: 340px;
	background: var(--wp--preset--color--peach);
	top: -80px;
	right: -60px;
}

.mimaloo-blob-2 {
	width: 220px;
	height: 220px;
	background: var(--wp--preset--color--sun);
	top: 340px;
	left: -90px;
	animation-delay: 1.5s;
	opacity: .35;
}

.mimaloo-blob-3 {
	width: 160px;
	height: 160px;
	background: var(--wp--preset--color--coral);
	bottom: -50px;
	right: 14%;
	opacity: .25;
	animation-delay: 3s;
}

@keyframes mimaloo-float {
	0%, 100% { transform: translateY(0) rotate(0); }
	50% { transform: translateY(-16px) rotate(3deg); }
}

/* Tarjeta de Malú */
.mimaloo-malu-card {
	background: var(--wp--preset--color--white);
	border-radius: 36px;
	box-shadow: 0 30px 70px -25px rgba(244, 121, 91, .45);
	max-width: 520px;
	margin-left: auto;
	margin-right: auto;
}

.mimaloo-malu-face {
	width: 110px;
	height: 110px;
	margin: 0 auto 14px;
	border-radius: 50% 46% 52% 48% / 48% 52% 46% 52%;
	background: var(--wp--preset--color--coral);
	display: grid;
	place-items: center;
	font-size: 3.2rem;
	animation: mimaloo-float 5s ease-in-out infinite;
}

/* Pasos */
.mimaloo-step {
	background: var(--wp--preset--color--white);
	border-radius: 26px;
	transition: .2s;
	border: 3px dashed transparent;
}

.mimaloo-step:hover {
	border-color: var(--wp--preset--color--coral);
	transform: translateY(-5px) rotate(-1deg);
}

.mimaloo-step-number {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--wp--preset--color--peach);
	color: var(--wp--preset--color--coral-dark);
	display: grid;
	place-items: center;
	font-family: 'Baloo 2', cursive;
	font-weight: 800;
	font-size: 1.2rem;
	margin: 0 auto 12px;
}

/* Badge band */
.mimaloo-badge-band {
	background: var(--wp--preset--color--antracite);
	border-radius: 30px;
}

.mimaloo-badge-band h2,
.mimaloo-badge-band h3,
.mimaloo-badge-band h4,
.mimaloo-badge-band p {
	color: #fff;
}

.mimaloo-badge-band strong {
	color: var(--wp--preset--color--sun);
}

/* Consejo Malú */
.mimaloo-tip {
	background: linear-gradient(135deg, var(--wp--preset--color--peach) 0%, #fff5ed 100%);
	border-left: 6px solid var(--wp--preset--color--coral);
	border-radius: 18px;
	padding: 22px 26px;
	position: relative;
}

.mimaloo-tip::before {
	content: "🐾";
	position: absolute;
	top: -14px;
	left: 22px;
	background: var(--wp--preset--color--coral);
	color: #fff;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	font-size: 1rem;
}

.mimaloo-tip strong {
	font-family: 'Baloo 2', cursive;
	color: var(--wp--preset--color--coral-dark);
	display: block;
	margin-bottom: .3em;
	font-size: 1.15rem;
}

/* Aviso veterinario */
.mimaloo-vet {
	background: #fff8f5;
	border: 2px dashed var(--wp--preset--color--coral);
	border-radius: 18px;
	padding: 22px 26px;
}

.mimaloo-vet strong {
	font-family: 'Baloo 2', cursive;
	color: var(--wp--preset--color--antracite);
	display: block;
	margin-bottom: .3em;
	font-size: 1.15rem;
}

.mimaloo-vet strong::before {
	content: "⚕️ ";
}

/* Logo en header y footer */
.mimaloo-logo-link {
	display: inline-block;
	line-height: 0;
}

.mimaloo-logo-header {
	height: 36px;
	width: auto;
	max-width: 100%;
	display: block;
}

.mimaloo-logo-footer {
	height: 28px;
	width: auto;
	max-width: 100%;
	display: block;
}

/* Ajustes de móvil */
@media (max-width: 760px) {
	.mimaloo-blob {
		display: none;
	}

	.mimaloo-logo-header {
		height: 32px;
	}

	.mimaloo-logo-footer {
		height: 26px;
	}
}

/* Formulario de registro mimaloo */
.mimaloo-registro-form {
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
	background: var(--wp--preset--color--white);
	padding: 34px;
	border-radius: 28px;
	box-shadow: 0 20px 50px -20px rgba(244, 121, 91, .35);
}

.mimaloo-registro-form label {
	display: block;
	font-family: 'Baloo 2', cursive;
	font-weight: 700;
	margin-bottom: 6px;
	color: var(--wp--preset--color--antracite);
}

.mimaloo-registro-form input[type="text"],
.mimaloo-registro-form input[type="email"],
.mimaloo-registro-form input[type="password"],
.mimaloo-registro-form input[type="tel"],
.mimaloo-registro-form select,
.mimaloo-registro-form textarea {
	width: 100%;
	padding: 12px 16px;
	border: 2px solid var(--wp--preset--color--peach);
	border-radius: 14px;
	background: var(--wp--preset--color--cream);
	font-family: 'Nunito', sans-serif;
	font-size: 1rem;
	color: var(--wp--preset--color--antracite);
	margin-bottom: 16px;
	box-sizing: border-box;
}

.mimaloo-registro-form input:focus,
.mimaloo-registro-form select:focus,
.mimaloo-registro-form textarea:focus {
	outline: none;
	border-color: var(--wp--preset--color--coral);
}

.mimaloo-registro-form .mimaloo-mascota {
	background: var(--wp--preset--color--cream);
	border: 2px dashed var(--wp--preset--color--peach);
	border-radius: 20px;
	padding: 22px;
	margin-bottom: 20px;
}

.mimaloo-registro-form .mimaloo-mascota h4 {
	margin-top: 0;
	color: var(--wp--preset--color--coral-dark);
}

.mimaloo-registro-form input[type="checkbox"] {
	margin-right: 8px;
}

.mimaloo-registro-form .mimaloo-errors {
	background: #fff0f0;
	border-left: 4px solid #b91c1c;
	padding: 14px 18px;
	border-radius: 10px;
}

/* Ajustes chat */
.mimaloo-chat-wrap .mimaloo-malu-card {
	width: 100%;
}

/* Caveat (22-ago): acento manuscrito para citas y notas de marca */
blockquote, .malu-cita {
	font-family: var(--wp--preset--font-family--caveat), cursive;
	font-size: 1.35em;
	line-height: 1.4;
}
