/* Mazetaz — estilos del tema. Fuentes alojadas en la propia web (sin Google Fonts). */
@font-face {
	font-family: "Bricolage Grotesque";
	src: url("../fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2");
	font-weight: 200 800;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Figtree";
	src: url("../fonts/figtree-latin-wght-normal.woff2") format("woff2");
	font-weight: 300 900;
	font-style: normal;
	font-display: swap;
}

:root {
	--mz-green: #1F5C38;
	--mz-green-dark: #123D24;
	--mz-ink: #17251C;
	--mz-text: #3A4A3F;
	--mz-muted: #4A5A4F;
	--mz-sun: #F4C542;
	--mz-cream: #FBFBF6;
	--mz-sand: #F3F4EC;
	--mz-mint: #E3EFE6;
	--mz-line: #E0E3D7;
	--mz-line-2: #C9CDBF;
	--mz-on-dark: #F3F4EC;
	--mz-on-dark-2: #D6DBCE;
	--mz-display: "Bricolage Grotesque", Georgia, serif;
	--mz-body: "Figtree", "Segoe UI", system-ui, sans-serif;
	--mz-wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--mz-cream);
	color: var(--mz-ink);
	font-family: var(--mz-body);
	font-size: 1.0625rem;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--mz-green); }
a:hover { color: var(--mz-green-dark); }
:focus-visible { outline: 3px solid var(--mz-sun); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--mz-display); line-height: 1.1; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }

.screen-reader-text, .sr-only {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
	position: fixed; top: 12px; left: 12px; z-index: 100; width: auto; height: auto; clip: auto;
	background: var(--mz-ink); color: #fff; padding: 12px 18px; border-radius: 999px;
}

.mz-wrap { max-width: var(--mz-wrap); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.mz-section { padding-top: 88px; padding-bottom: 88px; }
.mz-dark { background: var(--mz-ink); color: var(--mz-on-dark); }
.mz-dark a:not(.mz-btn) { color: var(--mz-sun); }
.mz-sand { background: var(--mz-sand); }
.mz-stack { display: flex; flex-direction: column; gap: 16px; }
.mz-stack-lg { display: flex; flex-direction: column; gap: 40px; }
.mz-grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 56px; align-items: center; }
.mz-grid-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); gap: 22px; }

.mz-eyebrow { font-weight: 700; font-size: 0.9rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mz-green); }
.mz-dark .mz-eyebrow { color: var(--mz-sun); }
.mz-h1 { font-weight: 800; font-size: clamp(2.4rem, 5vw, 3.75rem); line-height: 1.03; letter-spacing: -0.02em; }
.mz-h2 { font-size: clamp(1.9rem, 3.5vw, 2.75rem); line-height: 1.08; }
.mz-lead { font-size: 1.2rem; color: var(--mz-text); max-width: 36rem; }
.mz-dark .mz-lead, .mz-dark .mz-soft { color: var(--mz-on-dark-2); }
.mz-soft { color: var(--mz-text); }
.mz-small { font-size: 0.92rem; color: var(--mz-muted); }
.mz-highlight { background: var(--mz-sun); padding: 0 8px; border-radius: 8px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* Botones */
.mz-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 0 24px; border-radius: 999px; border: 2px solid transparent;
	font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; line-height: 1.2;
}
.mz-btn--green { background: var(--mz-green); color: #fff; }
.mz-btn--green:hover { background: var(--mz-green-dark); color: #fff; }
.mz-btn--ink { background: var(--mz-ink); color: #fff; }
.mz-btn--ink:hover { background: #000; color: #fff; }
.mz-btn--sun { background: var(--mz-sun); color: var(--mz-ink); }
.mz-btn--sun:hover { background: #E8B526; color: var(--mz-ink); }
.mz-btn--outline { border-color: var(--mz-ink); color: var(--mz-ink); background: transparent; }
.mz-btn--outline:hover { background: var(--mz-ink); color: #fff; }

/* Cabecera */
.mz-header { border-bottom: 1px solid #E4E6DC; background: var(--mz-cream); }
.mz-header__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 16px; padding-bottom: 16px; }
.mz-logo { font-family: var(--mz-display); font-weight: 800; font-size: 1.75rem; color: var(--mz-ink); text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.mz-logo:hover { color: var(--mz-ink); }
.mz-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 26px; flex-wrap: wrap; }
.mz-nav a { color: var(--mz-ink); text-decoration: none; font-weight: 600; font-size: 0.95rem; padding: 10px 0; display: inline-block; }
.mz-nav a:hover, .mz-nav .current-menu-item > a, .mz-nav a[aria-current="page"] { color: var(--mz-green); text-decoration: underline; text-underline-offset: 6px; }
.mz-header .mz-btn { min-height: 44px; padding: 0 20px; }
@media (max-width: 760px) {
	.mz-header__in { gap: 10px 16px; }
	.mz-nav { order: 3; width: 100%; }
	.mz-nav ul { gap: 18px; }
	.mz-header .mz-btn { padding: 0 16px; font-size: 0.95rem; }
}

/* Formularios */
.mz-form { display: flex; flex-direction: column; gap: 10px; max-width: 34rem; width: 100%; }
.mz-form label { font-weight: 700; font-size: 0.95rem; }
.mz-form__row { display: flex; gap: 10px; flex-wrap: wrap; }
.mz-form input[type="email"] {
	flex: 1 1 220px; min-height: 52px; padding: 0 18px; border: 2px solid var(--mz-ink);
	border-radius: 999px; font: inherit; background: #fff; color: var(--mz-ink);
}
.mz-form--dark input[type="email"] { border-color: var(--mz-on-dark); }
.mz-form .mz-btn { min-height: 52px; }
.mz-admin-note { font-size: 0.85rem; background: #FFF4D6; color: #5A4300; padding: 8px 12px; border-radius: 10px; }

/* Portada */
.mz-hero { padding-top: 80px; padding-bottom: 88px; }
.mz-card-week {
	background: #fff; border: 2px solid var(--mz-ink); border-radius: 28px; padding: 32px;
	box-shadow: 10px 10px 0 var(--mz-ink); display: flex; flex-direction: column; gap: 16px;
}
.mz-card-week ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.mz-lock-steps li { color: transparent; text-shadow: 0 0 9px rgba(23, 37, 28, 0.55); user-select: none; }
.mz-lock { background: var(--mz-sand); border-radius: 18px; padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; }
.mz-lock p { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.mz-lock .mz-btn { align-self: flex-start; }
.mz-chip { align-self: flex-start; display: inline-block; font-weight: 700; font-size: 0.85rem; padding: 5px 13px; border-radius: 999px; background: var(--mz-mint); color: var(--mz-green); text-decoration: none; }
.mz-chip--sun { background: var(--mz-sun); color: var(--mz-ink); }
.mz-chip--white { background: #fff; color: var(--mz-green); }
.mz-row-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.mz-row-between--end { align-items: flex-end; gap: 24px; }

.mz-steps3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 24px; }
.mz-steps3 > div { display: flex; flex-direction: column; gap: 10px; border-top: 2px solid var(--mz-sun); padding-top: 20px; }
.mz-steps3 .mz-num { font-family: var(--mz-display); font-size: 2.5rem; font-weight: 800; color: var(--mz-sun); line-height: 1; }
.mz-steps3 h3 { font-family: var(--mz-body); font-size: 1.3rem; }

/* Tarjetas de reto */
.mz-reto-card {
	text-decoration: none; color: var(--mz-ink); background: #fff; border: 2px solid var(--mz-ink);
	border-radius: 22px; padding: 24px; display: flex; flex-direction: column; gap: 10px;
	transition: transform .15s ease, box-shadow .15s ease;
}
a.mz-reto-card:hover { color: var(--mz-ink); transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--mz-ink); }
.mz-reto-card h3 { font-size: 1.45rem; line-height: 1.15; }
.mz-reto-card .mz-meta { font-size: 0.85rem; font-weight: 700; color: var(--mz-muted); }
.mz-reto-card--semana { background: var(--mz-sun); box-shadow: 6px 6px 0 var(--mz-ink); }
.mz-reto-card--semana .mz-meta { color: var(--mz-ink); }
.mz-reto-card--proximo { background: transparent; border: 2px dashed var(--mz-line-2); color: var(--mz-muted); }
.mz-reto-card--proximo h3 { color: var(--mz-text); }

.mz-filters { display: flex; flex-direction: column; gap: 12px; background: var(--mz-sand); border-radius: 20px; padding: 20px 24px; }
.mz-filters ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; flex-wrap: wrap; }
.mz-pill {
	display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px;
	border: 1.5px solid var(--mz-line-2); background: #fff; color: var(--mz-ink); font-weight: 600; text-decoration: none;
}
.mz-pill:hover { border-color: var(--mz-ink); color: var(--mz-ink); }
.mz-pill[aria-current="page"] { background: var(--mz-ink); border-color: var(--mz-ink); color: #fff; }

.mz-checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.mz-checks li { display: flex; gap: 12px; }
.mz-checks svg { flex: none; margin-top: 3px; }

.mz-photo { background: var(--mz-ink); border-radius: 28px; min-height: 22rem; display: flex; align-items: center; justify-content: center; color: var(--mz-sun); font-weight: 700; overflow: hidden; }
.mz-photo img { width: 100%; height: 100%; object-fit: cover; min-height: 22rem; }

.mz-teasers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 24px; padding-bottom: 88px; }
.mz-teaser { border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.mz-teaser h2 { font-size: 1.75rem; line-height: 1.15; }
.mz-teaser--dashed { border: 2px dashed var(--mz-ink); }
.mz-teaser--mint { background: var(--mz-mint); }
.mz-teaser a.mz-link { font-weight: 700; align-self: flex-start; }

.mz-faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.mz-faq details { background: #fff; border-radius: 18px; padding: 20px 24px; }
.mz-faq summary { font-weight: 700; font-size: 1.1rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.mz-faq summary::-webkit-details-marker { display: none; }
.mz-faq summary::after { content: "+"; font-family: var(--mz-display); font-size: 1.5rem; line-height: 1; color: var(--mz-green); }
.mz-faq details[open] summary::after { content: "–"; }
.mz-faq details p { margin-top: 12px; color: var(--mz-text); }

.mz-cta-final { text-align: center; align-items: center; max-width: 820px; margin: 0 auto; }
.mz-cta-final .mz-form { text-align: left; }

/* Ficha de reto */
.mz-breadcrumbs { font-size: 0.9rem; color: var(--mz-muted); }
.mz-breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.mz-breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: var(--mz-line-2); }
.mz-ficha { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; padding-top: 40px; padding-bottom: 88px; }
.mz-ficha__main { flex: 2 1 560px; min-width: 0; max-width: 46rem; display: flex; flex-direction: column; gap: 32px; }
.mz-ficha__side { flex: 1 1 300px; position: sticky; top: 24px; background: var(--mz-ink); color: var(--mz-on-dark); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.mz-ficha__side h2 { font-size: 1.6rem; line-height: 1.15; }
.mz-ficha__side .mz-form { max-width: none; }
.mz-ficha__side .mz-form__row { flex-direction: column; }
.mz-ficha__side .mz-form input[type="email"] { flex: none; }
.mz-ficha__side .mz-more { border-top: 1px solid var(--mz-text); padding-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.mz-ficha h2.mz-sec { font-size: 1.9rem; }
.mz-resumen { background: #fff; border: 2px solid var(--mz-ink); border-radius: 24px; padding: 24px 28px; box-shadow: 8px 8px 0 var(--mz-ink); display: flex; flex-direction: column; gap: 18px; }
.mz-resumen > p { font-size: 1.15rem; }
.mz-facts { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px; }
.mz-facts dt { font-size: 0.85rem; font-weight: 700; color: var(--mz-muted); }
.mz-facts dd { margin: 0; font-weight: 600; }
.mz-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.mz-actions .mz-btn { min-height: 44px; padding: 0 20px; }
.mz-pasos { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; counter-reset: paso; }
.mz-pasos li { display: flex; gap: 16px; align-items: flex-start; counter-increment: paso; }
.mz-pasos li::before { content: counter(paso); flex: none; width: 40px; height: 40px; border-radius: 999px; background: var(--mz-sun); display: flex; align-items: center; justify-content: center; font-weight: 800; }
.mz-box { border-radius: 20px; padding: 24px 28px; display: flex; flex-direction: column; gap: 10px; }
.mz-box--mint { background: var(--mz-mint); }
.mz-box--sun { background: var(--mz-sun); }
.mz-box--line { border: 2px solid var(--mz-ink); flex-direction: row; gap: 14px; align-items: flex-start; padding: 20px 24px; }
.mz-box h2 { font-size: 1.6rem; }
.mz-box--line h2 { font-family: var(--mz-body); font-size: 1.15rem; margin-bottom: 4px; }
.mz-adapt { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.mz-adapt > div { background: #fff; border: 1.5px solid var(--mz-line); border-radius: 18px; padding: 20px; }
.mz-adapt h3 { font-family: var(--mz-body); font-size: 1.05rem; margin-bottom: 6px; }
.mz-ficha .mz-faq { max-width: none; margin: 0; }
.mz-ficha .mz-faq details { background: var(--mz-sand); }
.mz-pager { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--mz-line); padding-top: 24px; }
.mz-pager a { font-weight: 700; }

/* Páginas genéricas */
.mz-page { max-width: 46rem; padding-top: 56px; padding-bottom: 88px; }
.mz-page .entry-content > * + * { margin-top: 1em; }
.mz-page .entry-content h2 { font-size: 1.75rem; margin-top: 1.6em; }

/* Pie */
.mz-footer { border-top: 1px solid #E4E6DC; }
.mz-footer__in { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 40px; padding-bottom: 56px; font-size: 0.95rem; color: var(--mz-muted); }
.mz-footer nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 20px; flex-wrap: wrap; }

/* Impresión de la ficha */
@media print {
	.mz-header, .mz-footer, .mz-ficha__side, .mz-actions, .mz-pager, .mz-box--sun, .mz-breadcrumbs, .no-print { display: none !important; }
	body { background: #fff; font-size: 12pt; }
	.mz-ficha { padding: 0; display: block; }
	.mz-ficha__main { max-width: none; gap: 14pt; }
	.mz-resumen { box-shadow: none; }
	.mz-pasos li::before { border: 1px solid #000; }
	a { color: #000; text-decoration: none; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.mz-reto-card { transition: none; }
}
