/* Marys Foundation: base del tema. Tokens, tipografía, cabecera, pie y componentes comunes.
   Diseño pensado para personas de 50 años o más: texto grande, contraste alto, formas planas. */
:root {
	/* Seis colores. Todos los degradados mezclan solo estos. */
	--mf-peri: #7aa8cb;
	--mf-blue: #005d9b;
	--mf-navy: #1f3a70;
	--mf-gold: #d4af37;
	--mf-white: #ffffff;
	--mf-mist: #edf5fa;
	--mf-mix: #3d82b3; --mf-tint: #cfe2f0; --mf-blue-rgb: 0, 93, 155;
	/* nombres usados por el tema y por los plugins */
	--mf-brand: var(--mf-peri); --mf-brand-50: var(--mf-mist); --mf-brand-100: var(--mf-mist); --mf-brand-200: var(--mf-mist); --mf-brand-300: var(--mf-peri);
	--mf-deep: var(--mf-navy); --mf-deep-2: var(--mf-navy); --mf-ink: var(--mf-navy); --mf-text: var(--mf-navy);
	--mf-action: var(--mf-navy); --mf-action-hover: var(--mf-navy);
	--mf-line: rgba(31, 58, 112, .16); --mf-danger: #a12c2c; --mf-success: #2e7d5b;
	--mf-font-body: "DM Sans", system-ui, sans-serif;
	--mf-font-heading: Lora, Georgia, "Times New Roman", serif;
	--mf-font-button: Poppins, "DM Sans", Helvetica, Arial, sans-serif;
	--mf-radius: 6px;
	--mf-wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--mf-text); font-family: var(--mf-font-body); font-size: 1.125rem; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img, video, svg { max-width: 100%; height: auto; }
h1, h2, h3, h4 { margin: 0 0 .5em; color: var(--mf-ink); font-family: var(--mf-font-heading); font-weight: 500; line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1em; }
a { color: var(--mf-action-hover); text-underline-offset: 3px; }
a:hover { color: var(--mf-deep); }
:focus-visible { outline: 3px solid var(--mf-ink); outline-offset: 3px; }
::selection { background: var(--mf-brand-300); color: var(--mf-ink); }
.screen-reader-text { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; top: -60px; left: 12px; z-index: 100; padding: 12px 18px; background: var(--mf-ink); color: #fff; font-weight: 700; }
.skip-link:focus { top: 12px; color: #fff; }

.mf-wrap { width: 100%; max-width: var(--mf-wrap); margin: 0 auto; padding: 0 24px; }
.mf-wrap--narrow { max-width: 860px; }
.mf-center { text-align: center; }

/* ---------- Botones ---------- */
.mf-btn, .mf-btn:visited { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 30px; border: 1.5px solid var(--mf-navy); border-radius: 999px; background: var(--mf-navy); color: #fff; font: 500 .86rem var(--mf-font-button); letter-spacing: .09em; line-height: 1.2; text-align: center; text-decoration: none; text-transform: uppercase; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.mf-btn:hover { border-color: var(--mf-gold); background: var(--mf-gold); color: var(--mf-navy); }
.mf-btn--light, .mf-btn--light:visited { border-color: #fff; background: #fff; color: var(--mf-navy); }
.mf-btn--outline, .mf-btn--outline:visited { background: transparent; color: var(--mf-navy); }
.mf-btn--outline:hover { color: var(--mf-navy); }

/* ---------- Estructura de páginas ---------- */
.mf-page { padding: 56px 0 96px; }
.mf-page__head { max-width: 860px; margin-bottom: 36px; }
.mf-page__title { margin-bottom: .4em; }
.mf-lead { font-size: 1.3rem; line-height: 1.6; color: var(--mf-ink); }
.mf-meta { color: var(--mf-text); font-size: 1rem; }
.mf-prose { font-size: 1.15rem; line-height: 1.8; }
.mf-prose > * + * { margin-top: 1.1em; }
.mf-prose h2 { margin-top: 1.8em; }
.mf-prose h3 { margin-top: 1.5em; }
.mf-prose ul, .mf-prose ol { padding-left: 1.4em; }
.mf-prose li + li { margin-top: .5em; }
.mf-prose blockquote, .wp-block-quote { margin: 1.8em 0; padding: 4px 0 4px 24px; border-left: 4px solid var(--mf-gold); color: var(--mf-ink); font-family: var(--mf-font-heading); font-size: 1.5rem; line-height: 1.4; }
.mf-prose blockquote p { margin: 0; }
.mf-prose img, .mf-prose figure { max-width: 100%; height: auto; }
.mf-prose .alignwide { max-width: var(--mf-wrap); }
.mf-prose .mf-lead { font-size: 1.35rem; }
.mf-notice { padding: 14px 18px; border-left: 4px solid var(--mf-action); background: var(--mf-brand-50); color: var(--mf-ink); font-weight: 600; }
.mf-notice--ok { border-color: var(--mf-success); background: #f0f8f4; }
.mf-notice--error { border-color: var(--mf-danger); background: #fdf1f1; color: #6f1d1d; }
.mf-entry { padding: 24px 0; border-bottom: 1px solid var(--mf-line); }
.mf-entry__title a { color: var(--mf-ink); text-decoration: none; }
.mf-entry__title a:hover { text-decoration: underline; }
.mf-section-inner { margin-top: 72px; }

/* ---------- Formularios ---------- */
.mf-form p { margin: 0 0 20px; }
.mf-form label, .mf-contact label { display: block; margin-bottom: 8px; color: var(--mf-ink); font-weight: 700; }
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=number], input[type=search], input[type=url], select, textarea { width: 100%; min-height: 58px; padding: 12px 16px; border: 2px solid rgba(31, 58, 112, .5); border-radius: var(--mf-radius); background: #fff; color: var(--mf-ink); font-family: var(--mf-font-body); font-size: 1.125rem; }
textarea { min-height: 150px; }
input:focus, select:focus, textarea:focus { border-color: var(--mf-action); box-shadow: 0 0 0 3px rgba(var(--mf-blue-rgb), .28); outline: none; }
.mf-form__trap { position: absolute; left: -9999px; }

/* ---------- Encabezado de página: degradado y borde de nubes ---------- */
.mf-pagehero { position: relative; background: linear-gradient(180deg, var(--mf-mix) 0, var(--mf-tint) 34%, #fff 100%); }
.mf-pagehero { padding: 104px 0 64px; overflow: hidden; text-align: center; }
.mf-pagehero::before { position: absolute; top: -1px; right: 0; left: 0; z-index: 0; height: 78px; background:
	radial-gradient(circle at 50% 0, var(--mf-brand) 0 32px, transparent 33px) 0 0 / 78px 66px repeat-x,
	radial-gradient(circle at 50% 0, var(--mf-brand) 0 46px, transparent 47px) 40px 0 / 156px 78px repeat-x;
	content: ''; pointer-events: none; }
.mf-pagehero__inner { position: relative; z-index: 1; }
.mf-pagehero__title { max-width: 900px; margin: 0 auto 16px; color: var(--mf-ink); }
.mf-pagehero__text { max-width: 760px; margin: 0 auto; color: var(--mf-ink); font-size: 1.3rem; line-height: 1.6; }
.mf-kicker { margin: 0 0 6px; color: var(--mf-navy); font-size: .95rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

/* ---------- Contacto ---------- */
.mf-contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.mf-contact h2 { margin-bottom: 10px; }
.mf-contact__form { padding: 36px; border-radius: var(--mf-radius); background: var(--mf-brand-100); }
.mf-contact__form input, .mf-contact__form textarea { border-color: #fff; background: #fff; }
.mf-contact__form input:focus, .mf-contact__form textarea:focus { border-color: var(--mf-action); }
.mf-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.mf-form__actions { margin-bottom: 0 !important; text-align: right; }
.mf-contact-cards { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr) minmax(0, 1fr); gap: 20px; margin: 72px 0 0; padding: 0; list-style: none; }
.mf-contact-card { display: flex; align-items: center; gap: 20px; padding: 28px; border-radius: var(--mf-radius); background: var(--mf-brand-100); transition: transform .25s; }
.mf-contact-card:hover { transform: translateY(-3px); }
.mf-contact-card__icon { display: grid; flex: none; width: 64px; height: 64px; place-items: center; border-radius: 50%; background: var(--mf-action); color: #fff; }
.mf-contact-card h3 { margin: 0 0 4px; font-size: 1.3rem; }
.mf-contact-card p { margin: 0; overflow-wrap: anywhere; }
.mf-contact-card a { color: var(--mf-action-hover); font-weight: 700; }
.mf-contact-card a[href^="mailto"] { font-size: clamp(.88rem, 1.4vw, 1rem); white-space: nowrap; overflow-wrap: normal; }
@media (max-width: 1100px) { .mf-contact-cards { grid-template-columns: 1fr; margin-top: 48px; } }
@media (max-width: 900px) { .mf-contact { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .mf-contact-card a[href^="mailto"] { white-space: normal; overflow-wrap: anywhere; } }
@media (max-width: 560px) { .mf-form__row { grid-template-columns: 1fr; } .mf-contact__form { padding: 24px 20px; } .mf-pagehero { padding: 88px 0 48px; } }

/* ---------- Preguntas frecuentes ---------- */
.mf-faq { margin-top: 24px; }
.mf-faq__item { margin-bottom: 12px; border-radius: var(--mf-radius); background: var(--mf-brand-100); }
.mf-faq__item summary { position: relative; padding: 20px 68px 20px 22px; color: var(--mf-ink); font-family: var(--mf-font-heading); font-size: 1.2rem; line-height: 1.35; list-style: none; cursor: pointer; }
.mf-faq__item summary::-webkit-details-marker { display: none; }
.mf-faq__item summary::after { position: absolute; top: 50%; right: 18px; display: grid; width: 32px; height: 32px; margin-top: -16px; place-items: center; border-radius: 4px; background: var(--mf-action); color: #fff; content: '+'; font-family: var(--mf-font-body); font-size: 1.6rem; line-height: 1; }
.mf-faq__item[open] summary::after { content: '\2212'; }
.mf-faq__item p { margin: 0; padding: 0 22px 22px; max-width: 70ch; }

/* ---------- Reflexiones (imágenes) ---------- */
.mf-reflexiones { column-gap: 22px; columns: 3 260px; margin: 0; padding: 0; list-style: none; }
.mf-reflexion { display: inline-block; width: 100%; margin: 0 0 22px; break-inside: avoid; }
.mf-reflexion__link { display: block; overflow: hidden; border: 1px solid var(--mf-line); border-radius: var(--mf-radius); line-height: 0; transition: border-color .2s; }
.mf-reflexion__link:hover { border-color: var(--mf-action); }
.mf-reflexion__media img { display: block; width: 100%; height: auto; }
.mf-reflexion-single__image { margin: 0 0 28px; }
.mf-reflexion-single__image img { display: block; width: 100%; height: auto; border: 1px solid var(--mf-line); border-radius: var(--mf-radius); }
.mf-back { margin-bottom: 20px; font-weight: 700; }
.mf-share { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 32px 0; }
.mf-share__label { color: var(--mf-ink); font-weight: 700; }
.mf-pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--mf-line); font-weight: 700; }
.mf-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 32px; }
.mf-chip { display: inline-flex; align-items: center; min-height: 46px; padding: 8px 20px; border: 2px solid var(--mf-line); border-radius: 999px; color: var(--mf-ink); font-weight: 700; text-decoration: none; }
.mf-chip:hover { border-color: var(--mf-action); }
.mf-chip.is-active { border-color: var(--mf-deep); background: var(--mf-deep); color: #fff; }
.pagination, .navigation.pagination { margin-top: 40px; }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.page-numbers { display: inline-flex; min-width: 48px; min-height: 48px; align-items: center; justify-content: center; padding: 6px 14px; border: 2px solid var(--mf-line); border-radius: var(--mf-radius); color: var(--mf-ink); font-weight: 700; text-decoration: none; }
.page-numbers.current, a.page-numbers:hover { border-color: var(--mf-action); background: var(--mf-action); color: #fff; }

/* ---------- Archivo de peregrinaciones (plugin de reservas) ---------- */
.mf-archive { max-width: var(--mf-wrap); margin: 0 auto; padding: 56px 24px 96px; }
.mf-archive__header { max-width: 860px; margin-bottom: 36px; }
.mf-archive__header p { color: var(--mf-ink); font-size: 1.3rem; line-height: 1.6; }

/* ---------- Pie: redes e imagen ---------- */
.mf-social { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; padding: 0; list-style: none; }
.mf-social__link { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 50%; background: #fff; color: var(--mf-deep) !important; transition: background .2s, transform .2s; }
.mf-social__link:hover { background: var(--mf-brand); transform: translateY(-2px); }
.mf-footer__tau { display: block; max-width: 110px; height: auto; margin-top: 24px; opacity: .95; }

/* ---------- Efectos suaves al aparecer ---------- */
.js .mf-reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.js .mf-reveal.is-visible { opacity: 1; transform: none; }
main .bp-event-card { transition: transform .25s, border-color .2s; }
main .bp-event-card:hover { transform: translateY(-4px); }
.mf-reflexion__link { transition: border-color .2s, transform .25s; }
.mf-reflexion__link:hover { transform: translateY(-3px); }
.mf-help-line { font-size: 1.15rem; }
@media (prefers-reduced-motion: reduce) { .js .mf-reveal { opacity: 1; transform: none; } }

/* Galería de videos */
.mf-videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.mf-video__link { display: block; color: var(--mf-ink); text-decoration: none; }
.mf-video__media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 10px; background: linear-gradient(160deg, var(--mf-blue), var(--mf-peri)); }
.mf-video__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mf-video__play { position: absolute; top: 50%; left: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: rgba(255, 255, 255, .92); box-shadow: 0 4px 14px rgba(31, 58, 112, .3); transition: transform .15s, background .15s; }
.mf-video__play::after { content: ""; position: absolute; top: 50%; left: 50%; margin: -11px 0 0 -7px; border-style: solid; border-width: 11px 0 11px 19px; border-color: transparent transparent transparent var(--mf-navy); }
.mf-video__link:hover .mf-video__play, .mf-video__link:focus-visible .mf-video__play { background: var(--mf-gold); transform: scale(1.08); }
.mf-video__title { display: block; margin-top: 12px; font-family: var(--mf-font-heading); font-size: 1.2rem; line-height: 1.3; }
.mf-video-single h1 { margin-bottom: 18px; }
.mf-video-item { margin: 0; }
.mf-video-item figcaption { margin: 0 0 8px; color: var(--mf-blue); font-weight: 600; }
.mf-video__count { position: absolute; right: 10px; bottom: 10px; padding: 4px 12px; border-radius: 999px; background: var(--mf-navy); color: #fff; font-size: .85rem; font-weight: 600; }
.mf-video-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; margin-bottom: 24px; }
.mf-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mf-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mf-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .mf-cols-3, .mf-cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .mf-cols-2, .mf-cols-3, .mf-cols-4 { grid-template-columns: minmax(0, 1fr); } }
.mf-video-wrap { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 10px; background: #000; }
.mf-video-player { display: block; width: 100%; height: 100%; object-fit: contain; background: #000; }
.mf-video-playbtn { position: absolute; top: 50%; left: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); box-shadow: 0 4px 14px rgba(31, 58, 112, .35); cursor: pointer; transition: transform .15s, background .15s; }
.mf-video-playbtn::after { content: ""; position: absolute; top: 50%; left: 50%; margin: -12px 0 0 -7px; border-style: solid; border-width: 12px 0 12px 20px; border-color: transparent transparent transparent var(--mf-navy); }
.mf-video-playbtn:hover, .mf-video-playbtn:focus-visible { background: var(--mf-gold); transform: scale(1.08); }
.mf-video-wrap.is-playing .mf-video-playbtn { display: none; }

/* Selector de idioma (GTranslate) dentro del menú principal */
.h-nav .menu-item-gtranslate { position: relative; }
.h-nav .menu-item-gtranslate .sub-menu { display: none; position: absolute; top: 100%; right: 0; z-index: 80; min-width: 140px; margin: 0; padding: 8px; list-style: none; border-radius: 8px; background: var(--mf-navy); box-shadow: 0 8px 22px rgba(31, 58, 112, .3); }
.h-nav .menu-item-gtranslate:hover .sub-menu, .h-nav .menu-item-gtranslate:focus-within .sub-menu { display: block; }
.h-nav .menu-item-gtranslate .sub-menu a { padding: 8px 14px; font-size: .95rem; letter-spacing: .04em; border-bottom: 0; }
.h-nav .menu-item-gtranslate .sub-menu a.gt-current-lang { color: var(--mf-gold); }
@media (max-width: 1100px) {
	.h-nav .menu-item-gtranslate > a { display: none; }
	.h-nav .menu-item-gtranslate::before { content: "Idioma · Language"; display: block; padding: 16px 4px 6px; color: rgba(255, 255, 255, .8); font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; }
	.h-nav .menu-item-gtranslate .sub-menu { display: flex; flex-wrap: wrap; gap: 8px; position: static; min-width: 0; padding: 4px 0 8px; background: none; box-shadow: none; }
	.h-nav .menu-item-gtranslate .sub-menu li { margin: 0; }
	.h-nav .menu-item-gtranslate .sub-menu a { display: block; padding: 9px 16px; border: 1px solid rgba(255, 255, 255, .55); border-radius: 999px; color: #fff; font-size: .95rem; text-decoration: none; }
	.h-nav .menu-item-gtranslate .sub-menu a.gt-current-lang { border-color: #fff; background: #fff; color: var(--mf-navy); font-weight: 700; }
}

/* Botón «Volver arriba» */
.mf-totop { position: fixed; right: 20px; bottom: 24px; z-index: 55; display: grid; width: 52px; height: 52px; place-items: center; padding: 0; border: 2px solid #fff; border-radius: 50%; background: var(--mf-navy); color: #fff; box-shadow: 0 6px 18px rgba(31, 58, 112, .35); cursor: pointer; transition: background .15s, color .15s, transform .15s; }
.mf-totop[hidden] { display: none; }
.mf-totop:hover, .mf-totop:focus-visible { background: var(--mf-gold); color: var(--mf-navy); transform: translateY(-3px); }
@media (max-width: 560px) { .mf-totop { right: 14px; bottom: 16px; width: 48px; height: 48px; } }

/* Fotos de peregrinaciones: se ven completas, sobre una copia difuminada de la misma foto (nunca se recorta una cara) */
.h-frame, .h-ph { isolation: isolate; background: var(--mf-navy); }
.h-bg { position: absolute; inset: -14%; z-index: 0; background-position: center; background-size: cover; filter: blur(26px) saturate(1.25) brightness(.95); transform: scale(1.1); }
body .h-frame > img, body .h-ph > img { z-index: 1; object-fit: contain; filter: drop-shadow(0 8px 22px rgba(15, 30, 70, .4)); }
body .h-frame > .h-nophoto, body .h-ph > .h-nophoto { z-index: 1; }
.h-chip { z-index: 2; }
/* Arco con profundidad: segundo arco dorado detrás y sombra suave */
.h-slide .h-art { position: relative; display: block; margin: 0 18px 18px 0; }
.h-slide .h-art::before { content: ""; position: absolute; inset: 0; z-index: 0; border: 2px solid var(--mf-gold); border-radius: 999px 999px 10px 10px; transform: translate(16px, 16px); opacity: .9; }
.h-slide .h-frame { position: relative; z-index: 1; box-shadow: 0 22px 44px rgba(31, 58, 112, .3); }
.h-slide .h-stamp { z-index: 2; right: auto; left: 18px; bottom: -30px; width: 84px; height: 84px; font-size: .78rem; }
.h-slide .h-stamp b { font-size: 1.75rem; }
.h-cap { padding-top: 46px; }
.h-line { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 10px 0 0; color: var(--mf-navy); font-size: 1.1rem; line-height: 1.4; }
.h-line span + span::before { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 12px 2px 0; background: var(--mf-gold); transform: rotate(45deg); }
.h-line b { font-size: 1.15em; }

/* Sin nubes y con menos espacio vacío entre títulos y secciones (escritorio y móvil) */
.mf-pagehero::before, .h-hero::before { display: none; }
.mf-pagehero { padding: 44px 0 36px; }
.mf-pagehero__title { margin-bottom: 8px; }
.mf-pagehero__text { font-size: 1.2rem; }
.mf-page { padding: 36px 0 64px; }
.mf-archive { padding-top: 36px; padding-bottom: 64px; }
.mf-contact-cards { margin-top: 48px; }
.h-hero__grid { gap: 48px; padding-top: 56px; padding-bottom: 56px; }
.h-way { padding: 72px 0 80px; }
.h-way .h-head { margin-bottom: 44px; }
.h-mis { padding: 72px 0 96px; }
.h-ft .h-wrap:not(.h-bot) { padding-block: 56px 32px; }
@media (max-width: 900px) {
	.h-hero__grid { gap: 36px; padding-top: 36px; padding-bottom: 44px; }
	.h-way { padding: 48px 0 52px; }
	.h-way .h-head { margin-bottom: 30px; }
	.h-mis { padding: 52px 0 64px; }
	.mf-contact-cards { margin-top: 32px; }
}
@media (max-width: 560px) {
	.mf-pagehero { padding: 30px 0 26px; }
	.mf-page { padding: 26px 0 48px; }
	.h-ft .h-wrap:not(.h-bot) { padding-block: 44px 28px; }
}

/* Portada: el texto empieza arriba (sin hueco sobre el título) y casi no hay espacio entre el hero y la sección siguiente */
body .h-hero__grid { align-items: start; gap: 40px; padding-top: 28px; padding-bottom: 20px; }
body .h-intro { padding-top: 12px; }
body .h-intro h1 { margin-bottom: 20px; }
body .h-intro .h-acts { margin-top: 28px; }
body .h-way { padding: 36px 0 64px; }
body .h-way .h-head { margin-bottom: 32px; }
@media (max-width: 900px) {
	body .h-hero__grid { gap: 26px; padding-top: 22px; padding-bottom: 16px; }
	body .h-intro { padding-top: 0; }
	body .h-way { padding: 30px 0 48px; }
	body .h-way .h-head { margin-bottom: 24px; }
}
body .h-hero { background: linear-gradient(180deg, var(--mf-mix) 0, var(--mf-tint) 70px, #fff 55%); }
body .h-hero__grid { padding-top: 44px; }
@media (max-width: 900px) { body .h-hero__grid { padding-top: 34px; } }

/* Hero todo azul (el degradado a blanco empieza casi al final) con destellos suaves */
body .h-hero { background: var(--mf-hero-bg, linear-gradient(180deg, var(--mf-blue) 0, var(--mf-blue) calc(100% - 60px), var(--mf-mix) calc(100% - 30px), #fff 100%)); }
body .h-hero__grid { position: relative; z-index: 1; padding-bottom: 110px; }
.h-sparks--hero { z-index: 0; }
.h-sparks--hero .h-spark { opacity: .18; filter: drop-shadow(0 0 4px rgba(255, 255, 255, .6)); animation-name: twinkle-soft; }
.h-sparks--hero .h-spark.g { filter: drop-shadow(0 0 4px rgba(212, 175, 55, .55)); }
@keyframes twinkle-soft { 0%, 100% { opacity: .08; transform: scale(.65) rotate(0deg); } 50% { opacity: .75; transform: scale(1) rotate(12deg); } }
@media (prefers-reduced-motion: reduce) { .h-sparks--hero .h-spark { animation: none; opacity: .3; } }
body .h-intro h1, body .h-intro p { color: #fff; }
body .h-intro .h-line { color: #fff; }
body .h-intro .h-btn.h-deep { border-color: #fff; background: #fff; color: var(--mf-navy); }
body .h-intro .h-btn.h-out { border-color: rgba(255, 255, 255, .85); background: transparent; color: #fff; }
body .h-intro .h-btn.h-deep:hover, body .h-intro .h-btn.h-out:hover { border-color: var(--mf-gold); background: var(--mf-gold); color: var(--mf-navy); }
body .h-cap h2, body .h-cap .h-line, body .h-cap .h-line b { color: #fff; }
body .h-hero .h-reserve { border-color: #fff; background: #fff; color: var(--mf-navy); }
body .h-hero .h-reserve:hover { border-color: var(--mf-gold); background: var(--mf-gold); }
body .h-hero .h-sq { border-color: rgba(255, 255, 255, .85); color: #fff; }
body .h-hero .h-sq:hover { border-color: var(--mf-gold); background: var(--mf-gold); color: var(--mf-navy); }
body .h-hero .h-dot span { background: rgba(255, 255, 255, .45); }
body .h-hero .h-dot[aria-selected="true"] span { background: rgba(255, 255, 255, .3); }
body .h-hero .h-dot i { background: #fff; }
body .h-hero .h-dot:hover span { background: var(--mf-gold); }
@media (max-width: 900px) { body .h-hero__grid { padding-bottom: 100px; } }

/* Selector de paletas (vista previa para el cliente) */
.mf-pp { position: fixed; bottom: 20px; left: 20px; z-index: 9999; font-family: var(--mf-font-body); }
.mf-pp__toggle { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 20px 8px 14px; border: 2px solid #fff; border-radius: 999px; background: var(--mf-navy); color: #fff; font: 600 1rem var(--mf-font-body); box-shadow: 0 6px 18px rgba(0, 0, 0, .3); cursor: pointer; }
.mf-pp__dot { width: 20px; height: 20px; border-radius: 50%; background: linear-gradient(135deg, var(--mf-blue), var(--mf-peri)); box-shadow: 0 0 0 2px #fff; }
.mf-pp__toggle:hover, .mf-pp__toggle:focus-visible { background: var(--mf-gold); color: var(--mf-navy); }
.mf-pp__panel { position: absolute; bottom: 60px; left: 0; width: 300px; max-width: calc(100vw - 40px); padding: 16px; border: 1px solid var(--mf-line); border-radius: 12px; background: #fff; color: var(--mf-navy); box-shadow: 0 12px 34px rgba(0, 0, 0, .25); }
.mf-pp__panel[hidden] { display: none; }
.mf-pp__title { margin: 0 0 10px; font: 500 1.2rem var(--mf-font-heading); }
.mf-pp__list { display: grid; gap: 8px; }
.mf-pp__opt { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border: 2px solid var(--mf-line); border-radius: 10px; background: #fff; color: var(--mf-navy); font: 500 1rem var(--mf-font-body); text-align: left; cursor: pointer; }
.mf-pp__opt[aria-pressed="true"] { border-color: var(--mf-navy); background: var(--mf-mist); font-weight: 700; }
.mf-pp__opt:hover, .mf-pp__opt:focus-visible { border-color: var(--mf-gold); }
.mf-pp__chip { flex: none; width: 44px; height: 30px; border-radius: 6px; }
.mf-pp__note { margin: 12px 0 0; font-size: .85rem; line-height: 1.45; opacity: .8; }

/* Estrellas y cruces: en el menú y opción para quitarlas */
.h-hd { overflow: visible; }
.h-sparks--menu { z-index: 0; }
.h-sparks--menu .h-spark { opacity: .18; filter: drop-shadow(0 0 3px rgba(255, 255, 255, .6)); animation-name: twinkle-soft; }
.h-sparks--menu .h-spark.g { filter: drop-shadow(0 0 3px rgba(212, 175, 55, .55)); }
@media (prefers-reduced-motion: reduce) { .h-sparks--menu .h-spark { animation: none; opacity: .3; } }
.mf-sparkles-off .h-sparks, html.mf-nosparks .h-sparks { display: none; }
.mf-sparkles-content .h-sparks--menu { display: none; }
.mf-pp__sw { display: flex; align-items: center; gap: 10px; margin: 12px 0 0; font-weight: 600; cursor: pointer; }
.mf-pp__sw input { width: 22px; height: 22px; margin: 0; accent-color: var(--mf-navy); }

/* Espacios verticales reducidos a la mitad en todo el sitio (petición del cliente) */
body .h-hero__grid { gap: 20px; padding-top: 22px; padding-bottom: 55px; }
body .h-way { padding: 18px 0 32px; }
body .h-way .h-head { margin-bottom: 16px; }
body .h-go { margin-top: 40px; }
body .h-mis { padding: 36px 0 48px; }
body .h-ft .h-wrap:not(.h-bot) { padding-block: 28px 16px; }
body .mf-pagehero { padding: 22px 0 18px; }
body .mf-page { padding: 18px 0 32px; }
body .mf-archive { padding-top: 18px; padding-bottom: 32px; }
body .mf-contact-cards { margin-top: 24px; }
body .mf-section-inner { margin-top: 36px; }
body .h-all__head { padding-top: 36px; }
body .h-tickets { margin-top: 20px; }
@media (max-width: 900px) {
	body .h-hero__grid { gap: 13px; padding-top: 17px; padding-bottom: 50px; }
	body .h-way { padding: 8px 0 24px; }
	body .h-way .h-head { margin-bottom: 12px; }
	body .h-mis { padding: 26px 0 32px; }
	body .mf-contact-cards { margin-top: 16px; }
}
@media (max-width: 560px) {
	body .mf-pagehero { padding: 15px 0 13px; }
	body .mf-page { padding: 13px 0 24px; }
	body .h-ft .h-wrap:not(.h-bot) { padding-block: 22px 14px; }
}

/* Submenú de idiomas por encima del contenido y «Ver carrito» como botón centrado bajo «Añadir al carrito» */
.h-hd .h-nav .sub-menu { z-index: 70; }
.h-sparks--menu { overflow: hidden; }
body a.added_to_cart { display: block; width: 100%; margin: 10px 0 0; padding: 8px 0; color: var(--mf-navy); font-weight: 700; text-align: center; text-decoration: underline; text-underline-offset: 3px; }
body a.added_to_cart:hover { color: var(--mf-blue); }

/* Botones flotantes de WhatsApp y llamada (columna a la derecha, encima de «Volver arriba») */
.mf-float { position: fixed; right: 20px; bottom: 92px; z-index: 55; display: grid; gap: 12px; }
.mf-float__btn { display: grid; width: 52px; height: 52px; place-items: center; border: 2px solid #fff; border-radius: 50%; background: var(--mf-navy); color: #fff; box-shadow: 0 6px 18px rgba(31, 58, 112, .35); transition: background .15s, color .15s, transform .15s; }
.mf-float__btn:hover, .mf-float__btn:focus-visible { background: var(--mf-gold); color: var(--mf-navy); transform: translateY(-3px); }
@media (max-width: 560px) { .mf-float { right: 14px; bottom: 80px; gap: 10px; } .mf-float__btn { width: 48px; height: 48px; } }
@media print { .mf-float { display: none; } }

/* Formulario: avisos por campo y panel flotante de correo */
.mf-form__err { display: block; margin-top: 6px; color: #a40e26; font-size: .95rem; font-weight: 600; }
.mf-form__err[hidden] { display: none; }
.mf-form input[aria-invalid="true"], .mf-form textarea[aria-invalid="true"] { border-color: #a40e26; box-shadow: 0 0 0 2px rgba(164, 14, 38, .18); }
.mf-form__status { margin: 0 0 12px; padding: 10px 14px; border-radius: 8px; font-weight: 600; }
.mf-form__status[hidden] { display: none; }
.mf-form__status.is-ok { background: #e7f4ea; color: #1b5e2b; }
.mf-form__status.is-error { background: #fbe9ec; color: #8a1020; }
.mf-quick { position: absolute; right: 64px; bottom: 0; width: 340px; max-height: calc(100vh - 120px); overflow: auto; padding: 18px 18px 8px; border: 1px solid var(--mf-line); border-radius: 14px; background: #fff; color: var(--mf-navy); box-shadow: 0 14px 38px rgba(31, 58, 112, .3); }
.mf-quick[hidden] { display: none; }
.mf-quick__close { position: absolute; top: 6px; right: 8px; width: 40px; height: 40px; border: 0; background: none; color: var(--mf-navy); font-size: 1.8rem; line-height: 1; cursor: pointer; }
.mf-quick__title { margin: 0 0 2px; font: 500 1.35rem var(--mf-font-heading); }
.mf-quick__lead { margin: 0 0 10px; font-size: .98rem; line-height: 1.4; }
.mf-quick .mf-form p { margin: 0 0 10px; }
.mf-quick .mf-form label { display: block; margin-bottom: 4px; font-size: .95rem; font-weight: 600; }
.mf-quick .mf-form input, .mf-quick .mf-form textarea { width: 100%; box-sizing: border-box; }
.mf-quick .mf-form__actions { margin-bottom: 12px; }
.mf-quick .mf-btn { width: 100%; }
@media (max-width: 560px) { .mf-quick { position: fixed; right: 12px; left: 12px; bottom: 12px; width: auto; max-height: calc(100vh - 24px); z-index: 60; } }

/* Título de la portada un poco más pequeño; la franja de ayuda ya no lleva título */
body .h-intro h1 { font-size: clamp(2.5rem, 5.2vw, 4.05rem); }
body .h-way .h-head p { font-size: 1.2rem; }

/* Bloque «Medio y texto»: el texto empieza arriba, a la altura de la parte superior de la imagen */
body .wp-block-media-text { align-items: start; }
body .wp-block-media-text > .wp-block-media-text__content { align-self: start; padding-top: 0; }
body .wp-block-media-text > .wp-block-media-text__content > :first-child { margin-top: 0; }

/* Galerías: todas las fotos del mismo tamaño, sin importar cuántas haya por fila ni en la última fila */
body .wp-block-gallery.has-nested-images { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
body .wp-block-gallery.has-nested-images.columns-1 { grid-template-columns: 1fr; }
body .wp-block-gallery.has-nested-images.columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
body .wp-block-gallery.has-nested-images.columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
body .wp-block-gallery.has-nested-images.columns-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
body .wp-block-gallery.has-nested-images.columns-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
body .wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) { width: auto !important; margin: 0 !important; flex: none !important; }
body .wp-block-gallery.has-nested-images figure.wp-block-image img { display: block; width: 100% !important; height: auto !important; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 900px) { body .wp-block-gallery.has-nested-images { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { body .wp-block-gallery.has-nested-images { grid-template-columns: 1fr; } }

/* Visor de fotos de las galerías */
.wp-block-gallery .lightbox-trigger { display: none !important; }
html.mf-lb-open { overflow: hidden; }
.mf-lb { position: fixed; inset: 0; z-index: 100000; display: grid; grid-template-columns: 64px minmax(0, 1fr) 64px; align-items: center; background: rgba(15, 25, 55, .92); }
.mf-lb[hidden] { display: none; }
.mf-lb__fig { display: grid; justify-items: center; gap: 10px; margin: 0; padding: 20px 0; max-height: 100vh; box-sizing: border-box; }
.mf-lb__fig img { display: block; max-width: 100%; max-height: calc(100vh - 90px); width: auto; height: auto; border-radius: 6px; box-shadow: 0 10px 40px rgba(0, 0, 0, .5); }
.mf-lb__fig figcaption { color: #fff; font-size: 1.05rem; text-align: center; }
.mf-lb__fig figcaption[hidden] { display: none; }
.mf-lb button { border: 0; background: none; color: #fff; cursor: pointer; }
.mf-lb__close { position: absolute; top: 10px; right: 14px; width: 52px; height: 52px; font-size: 2.4rem; line-height: 1; }
.mf-lb__nav { width: 56px; height: 72px; margin: auto; font-size: 3.2rem; line-height: 1; }
.mf-lb button:hover, .mf-lb button:focus-visible { color: var(--mf-gold); }
.mf-lb.is-single .mf-lb__nav { visibility: hidden; }
@media (max-width: 600px) { .mf-lb { grid-template-columns: 40px minmax(0, 1fr) 40px; } .mf-lb__nav { width: 40px; font-size: 2.6rem; } }

/* Reflexiones: imágenes por fila (3 por defecto; 4 o 5 desde Personalizar) */
body .mf-reflexiones { columns: auto; column-width: auto; column-count: var(--mf-reflex-cols, 3); column-gap: 16px; }
body .mf-reflexion { margin-bottom: 16px; }
@media (max-width: 1000px) { body .mf-reflexiones { column-count: 3; } }
@media (max-width: 640px) { body .mf-reflexiones { column-count: 2; column-gap: 12px; } body .mf-reflexion { margin-bottom: 12px; } }

/* Barra superior (teléfono y correo) */
.h-top { background: var(--mf-navy); color: #fff; font-size: .95rem; }
.h-top__in { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 4px 26px; min-height: 40px; padding-block: 4px; }
.h-top__lead { margin-right: auto; opacity: .85; }
.h-top__link { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; color: #fff; font-weight: 600; text-decoration: none; }
.h-top__link:hover, .h-top__link:focus-visible { color: var(--mf-gold); text-decoration: underline; }
@media (max-width: 700px) { .h-top__lead { display: none; } .h-top__in { justify-content: center; gap: 4px 18px; } .h-top__mail span { font-size: .88rem; } }
@media (max-width: 420px) { .h-top__mail span { display: none; } .h-top__mail::after { content: "Correo"; font-weight: 600; } }

/* Cabecera: carrito y Mi cuenta como íconos redondos */
.h-cartbox { gap: 10px; }
body .h-icon { position: relative; display: inline-grid; width: 48px; height: 48px; min-height: 0; place-items: center; padding: 0; border: 2px solid rgba(255, 255, 255, .85); border-radius: 50%; color: #fff; text-decoration: none; transition: border-color .15s, background .15s, color .15s; }
body .h-icon:hover, body .h-icon:focus-visible { border-color: var(--mf-gold); background: var(--mf-gold); color: var(--mf-navy); box-shadow: none; }
body .h-cart b { position: absolute; top: -7px; right: -7px; display: grid; min-width: 22px; height: 22px; padding: 0 5px; place-items: center; box-sizing: border-box; border: 2px solid var(--mf-blue); border-radius: 11px; background: var(--mf-gold); color: var(--mf-navy); font: 700 .78rem var(--mf-font-body); }
body .h-cart.is-empty b { display: none; }
@media (max-width: 420px) { body .h-icon { width: 44px; height: 44px; } .h-cartbox { gap: 8px; } }

/* ---------- Portada nueva (se activa en Personalizar > Página de inicio) ---------- */
.h-home-v2 .h-lede { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr); gap: 4px 28px; align-items: center; padding: 16px 0 4px; color: #fff; }
.h-home-v2 .h-lede h1 { margin: 0; color: #fff; font-size: 1.3rem; font-weight: 600; letter-spacing: .05em; line-height: 1.2; text-transform: uppercase; }
.h-home-v2 .h-lede p { max-width: none; margin: 0; color: rgba(255, 255, 255, .92); font-size: .92rem; line-height: 1.5; }
.h-home-v2 .h-hero__grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1fr); gap: 56px; align-items: center; padding-top: 30px; padding-bottom: 6px; }
.h-home-v2 .h-steps2 { position: relative; display: grid; gap: 30px; margin: 0; padding: 0; list-style: none; }
.h-home-v2 .h-steps2 li { position: relative; display: flex; align-items: center; gap: 22px; }
.h-home-v2 .h-steps2 li + li::before { content: ""; position: absolute; top: -30px; left: 31px; width: 2px; height: 30px; background: rgba(255, 255, 255, .45); }
.h-home-v2 .h-steps2__n { flex: none; display: grid; width: 64px; height: 64px; place-items: center; border: 3px solid var(--mf-gold); border-radius: 50%; background: #fff; color: var(--mf-navy); font: 600 1.7rem/1 var(--mf-font-heading); }
.h-home-v2 .h-steps2__t { color: #fff; font: 600 clamp(1.45rem, 2.2vw, 1.9rem)/1.2 var(--mf-font-heading); }
.h-home-v2 .h-hero__cta { display: grid; justify-items: center; gap: 14px; padding: 30px 0 96px; text-align: center; }
.h-home-v2 .h-hero__cta p { margin: 0; color: #fff; font-size: 1.05rem; }
.h-home-v2 .h-hero__cta a.tel { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.h-home-v2 .h-hero .h-big { background: #fff; color: var(--mf-navy); }
.h-home-v2 .h-hero .h-big:hover, .h-home-v2 .h-hero .h-big:focus-visible { background: var(--mf-gold); color: var(--mf-navy); }
.h-home-v2 .h-way--v2 { padding: 0; border: 0; background: #fff; }
@media (max-width: 900px) {
	.h-home-v2 .h-lede { grid-template-columns: 1fr; gap: 6px; padding-top: 14px; }
	.h-home-v2 .h-hero__grid { grid-template-columns: 1fr; gap: 34px; padding-top: 22px; }
	.h-home-v2 .h-steps2 { justify-self: center; width: min(100%, 420px); gap: 24px; }
	.h-home-v2 .h-steps2 li + li::before { top: -24px; height: 24px; }
	.h-home-v2 .h-hero__cta { padding: 16px 0 84px; }
}

/* Sin cursivas: títulos y valores en letra recta, con el subrayado dorado de siempre */
body .h-mis h2 em, body .h-values { font-style: normal; }

/* Portada nueva: ajustes de acabado */
.h-home-v2 .h-lede { display: block; max-width: 62rem; margin: 0 auto; padding: 24px 0 4px; text-align: center; }
.h-home-v2 .h-lede h1 { margin: 0 0 12px; font-size: 1.15rem; letter-spacing: .16em; }
.h-home-v2 .h-lede h1::after { content: ""; display: block; width: 44px; height: 2px; margin: 10px auto 0; background: var(--mf-gold); }
.h-home-v2 .h-lede p { display: inline; font-size: 1.02rem; line-height: 1.65; }
.h-home-v2 .h-lede p + p::before { content: " "; }
/* El hero termina en el mismo azul con el que empieza «Quiénes somos», sin franja blanca entre los dos */
body .h-home-v2 .h-hero { background: linear-gradient(180deg, var(--mf-head-end, var(--mf-mix)) 0, var(--mf-blue) 100%); }
body .h-home-v2:has(.h-all.open) .h-hero { background: var(--mf-hero-bg, linear-gradient(180deg, var(--mf-blue), #fff)); }
.h-home-v2 .h-hero__cta { padding-bottom: 60px; }
@media (max-width: 900px) { .h-home-v2 .h-hero__cta { padding-bottom: 52px; } }

/* Viajeros: nombre y apellidos lado a lado (celular y correo, solo el Viajero 1, ocupan toda la línea) */
.mf-passenger-fields label:last-child:not(:nth-child(n+3)) { grid-column: auto; }
@media (max-width: 560px) { .mf-passenger-fields { grid-template-columns: 1fr; } }
.h-home-v2 .h-mis { border-top: 1px solid rgba(212, 175, 55, .55); }

/* ---------- Portada nueva, segunda versión: texto cursivo, lista siempre visible y pasos dentro de la lista ---------- */
body .h-home-v2 .h-hero { background: var(--mf-hero-bg, linear-gradient(180deg, var(--mf-blue) 0, var(--mf-blue) calc(100% - 65px), #fff 100%)); padding-bottom: 72px; }
body .h-home-v2:has(.h-all.open) .h-hero { background: var(--mf-hero-bg, linear-gradient(180deg, var(--mf-blue) 0, var(--mf-blue) calc(100% - 65px), #fff 100%)); }
.h-home-v2 .h-lede { padding: 26px 0 0; }
.h-home-v2 .h-lede__text { max-width: 60rem; margin: 0 auto; color: #fff; font-family: "Monotype Corsiva", "Apple Chancery", "URW Chancery L", "Z003", Italianno, cursive; font-size: clamp(1.35rem, 2.1vw, 1.7rem); font-style: normal; font-weight: 400; line-height: 1.5; text-align: center; text-shadow: 0 1px 8px rgba(15, 25, 55, .35); }
.h-home-v2 .h-way--v2 { padding: 0 0 64px; border: 0; background: #fff; }
.h-home-v2 .h-all__head { padding-top: 12px; text-align: center; }
.h-home-v2 .h-all__head h2 { margin: 0 0 22px; color: var(--mf-navy); font-size: clamp(1.8rem, 3vw, 2.3rem); }
.h-home-v2 .h-all .h-steps2 { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 40px; margin: 0 auto; padding: 0; list-style: none; }
.h-home-v2 .h-all .h-steps2 li { display: flex; align-items: center; gap: 12px; }
.h-home-v2 .h-all .h-steps2 li + li::before { display: none; }
.h-home-v2 .h-all .h-steps2__n { width: 40px; height: 40px; border: 2px solid var(--mf-gold); background: #fff; color: var(--mf-navy); font-size: 1.15rem; box-shadow: none; }
.h-home-v2 .h-all .h-steps2__t { color: var(--mf-navy); font-size: 1.15rem; font-weight: 600; }
@media (max-width: 700px) { .h-home-v2 .h-all .h-steps2 { flex-direction: column; align-items: flex-start; width: max-content; max-width: 100%; margin-inline: auto; } }

/* Formulario flotante de correo: siempre por encima del menú, con la X a la vista */
.mf-float { z-index: 90; }
.mf-float__x { display: none; font-size: 2rem; line-height: 1; }
.mf-float__mail.is-open svg { display: none; }
.mf-float__mail.is-open .mf-float__x { display: block; }
.mf-quick { position: fixed; right: 84px; bottom: 20px; z-index: 100; max-height: calc(100vh - 130px); }
@media (max-width: 560px) { .mf-quick { left: 12px; right: 12px; bottom: 12px; max-height: calc(100vh - 24px); } }
.mf-form.is-sent > :not(.mf-form__status) { display: none; }
.mf-form.is-sent .mf-form__status { margin: 0; padding: 22px 20px; font-size: 1.15rem; line-height: 1.5; text-align: center; }
.mf-quick.is-sent .mf-quick__lead { display: none; }
.h-home-v2 .h-lede__text { font-size: clamp(1.5rem, 2.4vw, 1.95rem); }
.mf-quick { max-height: calc(100vh - 170px); }
@media (max-width: 560px) { .mf-quick { max-height: calc(100vh - 24px); } }

/* Texto bajo el menú: cursiva tipo Monotype Corsiva (la del equipo si existe; si no, Cormorant Infant, gratuita y muy parecida) */
.h-home-v2 .h-lede__text { font-family: "Monotype Corsiva", "Apple Chancery", "URW Chancery L", "Z003", "Cormorant Infant", Georgia, serif; font-size: clamp(1.55rem, 2.5vw, 2rem); line-height: 1.45; }

/* Los tres pasos: un autobús pequeño recorre el camino de un paso al siguiente cuando la sección se ve */
.h-home-v2 .h-road2 { max-width: 780px; margin: 0 auto; }
.h-home-v2 .h-road2__lane { position: relative; height: 34px; margin: 0 16.666%; }
.h-home-v2 .h-road2__lane::before { content: ""; position: absolute; right: 0; bottom: 4px; left: 0; height: 2px; background: repeating-linear-gradient(90deg, rgba(31, 58, 112, .3) 0 8px, transparent 8px 14px); }
.h-home-v2 .h-road2__lane::after { content: ""; position: absolute; bottom: 4px; left: 0; width: 0; height: 2px; background: var(--mf-gold); }
.h-home-v2 .h-road2__bus { position: absolute; bottom: 5px; left: 0; width: 40px; height: auto; margin-left: -20px; color: var(--mf-navy); }
.h-home-v2 .h-road2:not(.pre) .h-road2__bus { animation: mfBus 4.2s cubic-bezier(.45, 0, .3, 1) forwards; }
.h-home-v2 .h-road2:not(.pre) .h-road2__lane::after { animation: mfRoad 4.2s cubic-bezier(.45, 0, .3, 1) forwards; }
@keyframes mfBus { 0% { left: 0; } 38% { left: 50%; } 52% { left: 50%; } 100% { left: 100%; } }
@keyframes mfRoad { 0% { width: 0; } 38% { width: 50%; } 52% { width: 50%; } 100% { width: 100%; } }
.h-home-v2 .h-road2 .h-steps2 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; width: 100%; margin: 0; padding: 0; list-style: none; }
.h-home-v2 .h-road2 .h-steps2 li { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 0 6px; text-align: center; }
.h-home-v2 .h-road2 .h-steps2 li + li::before { display: none; }
.h-home-v2 .h-road2 .h-steps2__n { width: 44px; height: 44px; border: 2px solid var(--mf-gold); background: #fff; color: var(--mf-navy); font-size: 1.2rem; transition: background .3s, color .3s; }
.h-home-v2 .h-road2 .h-steps2__t { color: var(--mf-navy); font-size: 1.12rem; font-weight: 600; line-height: 1.25; }
.h-home-v2 .h-road2:not(.pre) .h-steps2 li .h-steps2__n { animation: mfStop .45s ease forwards; }
.h-home-v2 .h-road2:not(.pre) .h-steps2 li:nth-child(1) .h-steps2__n { animation-delay: .1s; }
.h-home-v2 .h-road2:not(.pre) .h-steps2 li:nth-child(2) .h-steps2__n { animation-delay: 1.6s; }
.h-home-v2 .h-road2:not(.pre) .h-steps2 li:nth-child(3) .h-steps2__n { animation-delay: 4s; }
@keyframes mfStop { to { background: var(--mf-navy); color: #fff; } }
@media (max-width: 560px) { .h-home-v2 .h-road2__bus { width: 32px; margin-left: -16px; } .h-home-v2 .h-road2 .h-steps2__t { font-size: .95rem; } .h-home-v2 .h-road2 .h-steps2__n { width: 40px; height: 40px; } .h-home-v2 .h-road2__lane { margin: 0 16.666%; } }
@media (prefers-reduced-motion: reduce) {
	.h-home-v2 .h-road2__bus { left: 100%; animation: none !important; }
	.h-home-v2 .h-road2__lane::after { width: 100%; animation: none !important; }
	.h-home-v2 .h-road2 .h-steps2__n { background: var(--mf-navy); color: #fff; animation: none !important; }
}

/* ---------- Escala de tamaños unificada: títulos y textos más contenidos en todo el sitio ---------- */
h1 { font-size: clamp(1.9rem, 3vw, 2.5rem); }
h2 { font-size: clamp(1.5rem, 2.3vw, 1.9rem); }
h3 { font-size: 1.25rem; }
.mf-lead, .mf-pagehero__text, .mf-archive__header p { font-size: 1.15rem; line-height: 1.6; }
body .h-mis h2 { max-width: 22em; margin-bottom: 20px; font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.12; }
body .h-mis .h-lead { max-width: 40em; margin-bottom: 22px; font-size: 1.15rem; }
body .h-mis .h-values { margin-bottom: 30px; font-size: clamp(1.05rem, 1.7vw, 1.3rem); }
body .h-mis { padding-top: 40px; padding-bottom: 56px; }
body .h-home-v2 .h-all__head h2, .h-home-v2 .h-all__head h2 { font-size: clamp(1.5rem, 2.3vw, 1.9rem); }
body .h-home-v2 .h-lede__text { font-size: clamp(1.4rem, 2.1vw, 1.75rem); }
.h-info h3 { font-size: 1.25rem; }
.h-buy .h-price b { font-size: 1.35rem; }
.h-cap h2 { font-size: 1.5rem; }
body .h-intro h1 { font-size: clamp(2.1rem, 4vw, 3rem); }
body .h-mis h2 { font-size: clamp(1.7rem, 2.6vw, 2.1rem); }
body .h-home-v2 .h-lede__text { font-size: clamp(1.35rem, 1.9vw, 1.6rem); }
.h-buy .h-price b { font-size: 1.25rem; }

/* Portada nueva: espacios más cortos entre el menú, el texto y «Próximas peregrinaciones» */
body .h-home-v2 .h-hero { padding-bottom: 34px; background: linear-gradient(180deg, var(--mf-head-end, var(--mf-mix)) 0, var(--mf-mix) calc(100% - 34px), #fff 100%); }
body .h-home-v2:has(.h-all.open) .h-hero { background: linear-gradient(180deg, var(--mf-head-end, var(--mf-mix)) 0, var(--mf-mix) calc(100% - 34px), #fff 100%); }
.h-home-v2 .h-lede { padding: 8px 0 0; }
.h-home-v2 .h-all__head { padding-top: 0; }
.h-home-v2 .h-all__head h2 { margin-bottom: 14px; }
.h-home-v2 .h-way h2::after { margin-top: 10px; }
@media (max-width: 900px) { body .h-home-v2 .h-hero { padding-bottom: 28px; } }
body .h-home-v2 .h-lede__text { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.5; }

/* Portada: «Ver más peregrinaciones». Sin JavaScript se ven todas. */
.h-more { display: none; margin: 28px 0 0; text-align: center; }
.js .h-more { display: block; }
.js .h-more[hidden] { display: none; }
.js .h-tk--more { display: none; }
.js .h-tk--more.is-shown { display: grid; }
.h-more .h-more__btn { border-color: var(--mf-navy); background: #fff; color: var(--mf-navy); }
.h-more .h-more__btn:hover, .h-more .h-more__btn:focus-visible { background: var(--mf-navy); color: #fff; }

/* Portada nueva: listado de peregrinaciones más compacto (fila baja, foto pequeña, líneas finas) */
.h-home-v2 .h-tickets { max-width: 820px; gap: 10px; margin: 22px auto 4px; }
.h-home-v2 .h-tk { grid-template-columns: 112px minmax(0, 1fr) auto; border-radius: 8px; box-shadow: none; }
.h-home-v2 .h-tk:hover { transform: none; border-color: var(--mf-gold); }
.h-home-v2 .h-tk::before, .h-home-v2 .h-tk::after { display: none; }
.h-home-v2 .h-ph { min-height: 0; height: 86px; align-self: center; margin: 8px 0 8px 8px; border-radius: 6px; }
.h-home-v2 .h-ph .h-chip { top: 5px; left: 5px; padding: 1px 8px; font-size: .68rem; letter-spacing: .05em; }
.h-home-v2 .h-tk .h-info { margin-block: 0; padding: 8px 16px; border-left: 0; }
.h-home-v2 .h-info h3 { margin: 0 0 2px; font-size: 1.1rem; line-height: 1.25; }
.h-home-v2 .h-where { font-size: .92rem; line-height: 1.4; }
.h-home-v2 .h-badge { margin-left: 8px; padding: 0 9px; font-size: .78rem; }
.h-home-v2 .h-buy { padding: 8px 14px 8px 8px; text-align: right; }
.h-home-v2 .h-buy .h-price { margin: 0 0 4px; font-size: .82rem; }
.h-home-v2 .h-buy .h-price b { font-size: 1.15rem; }
.h-home-v2 .h-buy .h-btn { min-height: 36px; padding: 0 18px; font-size: .74rem; }
@media (max-width: 700px) {
	.h-home-v2 .h-tk { grid-template-columns: 84px minmax(0, 1fr); }
	.h-home-v2 .h-ph { height: 72px; margin: 8px 0 0 8px; border-radius: 6px; }
	.h-home-v2 .h-tk .h-info { padding: 8px 12px 0; }
	.h-home-v2 .h-buy { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; padding: 4px 12px 10px; text-align: left; }
	.h-home-v2 .h-buy .h-price { margin: 0; }
}
.h-home-v2 .h-ph { height: 72px; margin: 6px 0 6px 6px; }
.h-home-v2 .h-tk .h-info { padding: 6px 16px; }
@media (max-width: 700px) { .h-home-v2 .h-ph { height: 66px; margin: 6px 0 0 6px; } }
.h-home-v2 .h-ph .h-chip { white-space: nowrap; font-size: .64rem; }
@media (max-width: 700px) { .h-home-v2 .h-ph .h-chip { max-width: calc(100% - 10px); padding: 1px 6px; font-size: .58rem; letter-spacing: 0; } }
@media (max-width: 700px) { .h-home-v2 .h-ph .h-chip { padding: 1px 4px; font-size: .52rem; } }

/* Página «Peregrinaciones»: listado compacto (fila baja, miniatura y línea fina), igual que en la portada */
.mf-page .bp-events--list .bp-events__track { gap: 10px; max-width: 880px; margin-inline: auto; }
.mf-page .bp-events--list .bp-event-card { grid-template-columns: 124px minmax(0, 1fr); align-items: center; border-radius: 8px; }
.mf-page .bp-events--list .bp-card__media { height: 76px; min-height: 0; margin: 8px 0 8px 8px; border-radius: 6px; aspect-ratio: auto; }
.mf-page .bp-events--list .bp-card__body { grid-template-columns: minmax(0, 1fr) auto; padding: 8px 16px 8px 14px; column-gap: 18px; }
.mf-page .bp-events--list .bp-card__title { min-height: 0; margin: 0 0 3px; font-size: 1.1rem; line-height: 1.25; -webkit-line-clamp: 1; }
.mf-page .bp-events--list .bp-card__meta { display: flex; flex-wrap: wrap; gap: 2px 16px; font-size: .9rem; }
.mf-page .bp-events--list .bp-card__fact { display: flex; gap: 5px; }
.mf-page .bp-events--list .bp-card__fact strong { font-size: .9rem; font-weight: 600; }
.mf-page .bp-events--list .bp-card__fact:nth-child(n+3), .mf-page .bp-events--list .bp-card__excerpt { display: none; }
.mf-page .bp-events--list .bp-card__footer { grid-row: 1 / 3; align-items: flex-end; gap: 6px; padding: 0; border-left: 0; }
.mf-page .bp-events--list .bp-card__price { font-size: .82rem; text-align: right; }
.mf-page .bp-events--list .bp-card__price strong { display: inline; margin: 0 0 0 3px; font-size: 1.15rem; }
.mf-page .bp-events--list .bp-card__cta { min-height: 36px; padding: 0 18px; font-size: .74rem; }
@media (max-width: 700px) {
	.mf-page .bp-events--list .bp-event-card { grid-template-columns: 88px minmax(0, 1fr); align-items: start; }
	.mf-page .bp-events--list .bp-card__media { height: 66px; }
	.mf-page .bp-events--list .bp-card__body { grid-template-columns: 1fr; padding: 8px 12px; }
	.mf-page .bp-events--list .bp-card__footer { grid-column: 1 / -1; grid-row: auto; flex-direction: row; align-items: center; justify-content: space-between; margin-left: -88px; padding: 6px 0 2px; }
}
.mf-page .mf-help-line { max-width: 880px; margin-inline: auto; text-align: center; }
@media (max-width: 700px) {
	.mf-page .bp-events--list .bp-event-card { display: grid; grid-template-columns: 88px minmax(0, 1fr); align-items: start; }
	.mf-page .bp-events--list .bp-card__media { width: auto; height: 66px; min-height: 0; margin: 8px 0 0 8px; aspect-ratio: auto; }
	.mf-page .bp-events--list .bp-card__body { display: block; padding: 8px 12px 8px; }
	.mf-page .bp-events--list .bp-card__title { margin: 0 0 3px; font-size: 1.05rem; -webkit-line-clamp: 2; }
	.mf-page .bp-events--list .bp-card__footer { grid-column: auto; grid-row: auto; width: auto; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; margin: 0; padding: 8px 0 0; border: 0; }
	.mf-page .bp-events--list .bp-card__price { text-align: left; }
	.mf-page .bp-events--list .bp-card__cta { min-height: 34px; padding: 0 14px; font-size: .7rem; }
}
@media (max-width: 700px) { .mf-page .bp-events--list .bp-card__cta { width: auto; flex: 0 0 auto; } }

/* Fecha de cada peregrinación: ya no tapa la foto; va como etiqueta arriba del nombre */
.h-home-v2 .h-when { margin: 0 0 1px; color: var(--mf-navy); font-size: .72rem; font-weight: 700; letter-spacing: .09em; line-height: 1.3; text-transform: uppercase; opacity: .75; }

/* Reflexiones: «Mostrar más» y mosaico sin huecos (JS reparte las imágenes en columnas por altura) */
.mf-reflexiones--archive.is-masonry { display: flex; align-items: flex-start; gap: 16px; columns: auto; column-count: auto; }
.mf-reflexiones--archive.is-masonry .mf-ref-col { flex: 1 1 0; min-width: 0; margin: 0; padding: 0; list-style: none; }
.mf-reflexiones--archive.is-masonry .mf-ref-col__in { display: flex; flex-direction: column; gap: 16px; margin: 0; padding: 0; list-style: none; }
.mf-reflexiones--archive.is-masonry .mf-reflexion { display: block; margin: 0; }
.mf-ref-more { margin: 32px 0 0; text-align: center; }
.mf-ref-more .mf-ref-more__btn { min-height: 48px; padding: 12px 30px; border: 2px solid var(--mf-navy); border-radius: var(--mf-radius); background: #fff; color: var(--mf-navy); font: inherit; font-weight: 700; cursor: pointer; }
.mf-ref-more .mf-ref-more__btn:hover, .mf-ref-more .mf-ref-more__btn:focus-visible { background: var(--mf-navy); color: #fff; }
.mf-ref-more .mf-ref-more__btn[disabled] { opacity: .6; cursor: wait; }
.mf-ref-more__msg { margin: 10px 0 0; font-size: .95rem; }
@media (max-width: 640px) { .mf-reflexiones--archive.is-masonry, .mf-reflexiones--archive.is-masonry .mf-ref-col__in { gap: 12px; } }

/* Pie de página: la imagen de San Francisco y el Año Jubilar Guadalupano, pequeñas y lado a lado */
.mf-footer__marks { display: flex; align-items: center; gap: 16px; margin-top: 24px; }
.mf-footer__marks .mf-footer__tau { margin-top: 0; }
.mf-footer__jubilar { display: block; width: 84px; height: 84px; border-radius: 8px; object-fit: cover; }
