/* ==========================================================================
   Marketful · sistema visual v2
   Tipografía Inter · escala: 15 / 17 / 21 / 28 / 48 / 72 px
   Componentes: .mf-section(--surface|--dark|--tight) · .mf-head(--center) · .mf-eyebrow · .mf-lead
   .mf-hero · .mf-media · .mf-float · .mf-wordmarks · .mf-bento/.mf-tile · .mf-ui · .mf-band
   .mf-steps · .mf-prices/.mf-num · .mf-card(-link) · .mf-faq · .mf-cta · .mf-form · .mf-calc
   ========================================================================== */

:root {
	--mf-navy: #00167D;
	--mf-night: #070B2E;
	--mf-magenta: #DF0869;
	--mf-magenta-700: #B0064F;
	--mf-ink: #1D1D1F;
	--mf-text: #3A3A3B;
	--mf-muted: #6E6E73;
	--mf-line: #E5E5EA;
	--mf-surface: #F5F5F7;
	--mf-tint: #EEF0FA;
	--mf-r-lg: 28px;
	--mf-r-md: 20px;
	--mf-r-sm: 14px;
	--mf-header-h: 64px;
	--mf-ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
html { scroll-padding-top: calc(var(--mf-header-h) + 16px); scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; font-feature-settings: "cv11", "ss01"; }
img { height: auto; }
:where(a, button, input, select, textarea, summary):focus-visible { outline: 2px solid var(--mf-magenta); outline-offset: 3px; border-radius: 6px; }
.wp-site-blocks > * { margin-block-start: 0 !important; }
.wp-block-post-content > .alignfull { margin-block: 0 !important; }
main { overflow-x: clip; }
p { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }

/* Titulares a dos tonos: <em> = gris, <strong> = magenta */
:is(h1, h2, h3) em { font-style: normal; color: var(--mf-muted); }
:is(h1, h2, h3) strong { font-weight: inherit; color: var(--mf-magenta); }

/* ---------- Utilidades tipográficas ---------- */
.mf-eyebrow { font-size: 0.9375rem !important; font-weight: 600; color: var(--mf-magenta); letter-spacing: -0.005em; margin-bottom: .75rem !important; }
.mf-lead { font-size: var(--wp--preset--font-size--large) !important; line-height: 1.45; color: var(--mf-muted); letter-spacing: -0.015em; }
.mf-muted { color: var(--mf-muted); }
.mf-note { font-size: 0.9375rem; color: var(--mf-muted); }

/* ---------- Secciones ---------- */
.mf-section { padding-block: var(--wp--preset--spacing--70); }
.mf-section--tight { padding-block: var(--wp--preset--spacing--60); }
.mf-section--surface { background: var(--mf-surface); }
.mf-section--tint { background: var(--mf-tint); }
.mf-section--dark { background: var(--mf-night); color: rgba(255, 255, 255, .78); }
.mf-section--dark :is(h1, h2, h3, h4) { color: #fff; }
.mf-section--dark :is(h1, h2, h3) em { color: rgba(255, 255, 255, .55); }
.mf-section--dark .mf-lead, .mf-section--dark .mf-muted { color: rgba(255, 255, 255, .7); }
.mf-section--dark .mf-eyebrow { color: #FF6FAE; }
.mf-section--dark a:not(.wp-block-button__link):not(.mf-btn) { color: #fff; }

/* Encabezado de sección */
.mf-head { margin-bottom: var(--wp--preset--spacing--50) !important; }
.mf-head > * { max-width: 46rem; }
.mf-head > h2, .mf-head > h1 { max-width: 52rem; }
.mf-head > :last-child { margin-bottom: 0; }
.mf-head--center { text-align: center; }
.mf-head--center > * { margin-left: auto !important; margin-right: auto !important; }
.mf-head--split { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.5rem; }

/* ---------- Botones ---------- */
.wp-block-button__link, .mf-btn { transition: background-color .2s var(--mf-ease), color .2s var(--mf-ease), border-color .2s var(--mf-ease), transform .2s var(--mf-ease); min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: .4rem; text-align: center; }
.wp-block-button__link:hover, .mf-btn:hover { transform: translateY(-1px); text-decoration: none; }
.mf-btn { background: var(--mf-magenta); color: #fff !important; font-weight: 600; padding: .85rem 1.5rem; border-radius: 999px; text-decoration: none; }
.mf-btn:hover { background: var(--mf-magenta-700); }
.wp-block-buttons { gap: .75rem 1.25rem; }
.wp-block-button.is-style-outline > .wp-block-button__link { background: transparent; color: var(--mf-ink); border: 1.5px solid rgba(29, 29, 31, .25); padding: calc(.85rem - 1.5px) calc(1.5rem - 1.5px); }
.wp-block-button.is-style-outline > .wp-block-button__link:hover { border-color: var(--mf-ink); }
.wp-block-button.is-style-mf-link > .wp-block-button__link { background: transparent; color: var(--mf-navy); padding-left: .25rem; padding-right: .25rem; }
.wp-block-button.is-style-mf-link > .wp-block-button__link::after { content: "›"; font-size: 1.35em; line-height: 0; transform: translateY(-.04em); transition: transform .2s var(--mf-ease); }
.wp-block-button.is-style-mf-link > .wp-block-button__link:hover { color: var(--mf-magenta); transform: none; }
.wp-block-button.is-style-mf-link > .wp-block-button__link:hover::after { transform: translate(3px, -.04em); }
.wp-block-button.is-style-mf-ghost > .wp-block-button__link { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .6); padding: calc(.85rem - 1.5px) calc(1.5rem - 1.5px); }
.wp-block-button.is-style-mf-ghost > .wp-block-button__link:hover { background: #fff; color: var(--mf-night); }
.wp-block-button.is-style-mf-navy > .wp-block-button__link { background: var(--mf-navy); }
.wp-block-button.is-style-mf-navy > .wp-block-button__link:hover { background: var(--mf-night); }
.mf-section--dark .wp-block-button.is-style-mf-link > .wp-block-button__link, .mf-band .wp-block-button.is-style-mf-link > .wp-block-button__link { color: #fff; }
.mf-more { font-weight: 600; margin-top: auto !important; }
.mf-more a { color: var(--mf-navy); }
.mf-more a::after { content: " ›"; }

/* ---------- Encabezado del sitio ---------- */
.mf-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(29, 29, 31, .08); }
.admin-bar .mf-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .mf-header { top: 46px; } }
.mf-header__inner { min-height: var(--mf-header-h); gap: 1.5rem; }
.mf-header .wp-block-site-logo img { width: 150px; }
.mf-header .wp-block-navigation { color: var(--mf-ink); }
.mf-header .wp-block-navigation-item__content { padding: .5rem .15rem; color: var(--mf-ink); }
.mf-header .wp-block-navigation-item__content:hover { color: var(--mf-magenta); text-decoration: none; }
.mf-header .wp-block-navigation__submenu-icon { width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; margin-left: 0; }
.mf-header .wp-block-navigation__submenu-icon svg { width: 10px; height: 10px; }
.mf-header .wp-block-navigation__submenu-container { background: #fff !important; color: var(--mf-ink) !important; border: 1px solid var(--mf-line) !important; border-radius: 16px; box-shadow: 0 24px 60px rgba(7, 11, 46, .14); padding: .5rem !important; min-width: 260px !important; margin-top: .25rem; }
.mf-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: .6rem .8rem; border-radius: 10px; font-weight: 500; }
.mf-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: var(--mf-surface); color: var(--mf-navy); }
.mf-header .wp-block-navigation__responsive-container-open, .mf-header .wp-block-navigation__responsive-container-close { min-width: 44px; min-height: 44px; align-items: center; justify-content: center; color: var(--mf-ink); }
.mf-header .wp-block-navigation__responsive-container.is-menu-open { background: #fff !important; color: var(--mf-ink) !important; padding: 1.25rem 1.5rem 2rem; }
.mf-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 3.5rem; align-items: flex-start; }
.mf-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: .25rem; align-items: flex-start; }
.mf-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { font-size: 1.375rem; font-weight: 600; letter-spacing: -0.02em; padding: .35rem 0; }
.mf-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container { border: 0 !important; box-shadow: none; padding: 0 0 .5rem .75rem !important; background: transparent !important; }
.mf-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content { font-size: 1.0625rem; font-weight: 500; color: var(--mf-muted); padding: .3rem 0; }
.mf-header .wp-block-navigation__responsive-container:not(.is-menu-open) .mf-nav-mobile-only { display: none; }
.mf-header__actions { gap: .5rem 1.25rem !important; }
.mf-header__actions .wp-block-button__link { white-space: nowrap; font-size: 0.9375rem; min-height: 40px; padding: .55rem 1.1rem; }
.mf-header__actions .is-style-mf-link .wp-block-button__link { color: var(--mf-ink); font-weight: 500; padding-inline: 0; }
.mf-header__actions .is-style-mf-link .wp-block-button__link::after { content: none; }
/* Menú compacto por debajo de 1200 px */
@media (min-width: 600px) and (max-width: 1199px) {
	.mf-header .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
	.mf-header .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
	.mf-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container { position: static; opacity: 1; visibility: visible; height: auto; width: auto; }
}
/* Desplegables de escritorio: puente invisible sobre el hueco entre el botón y el submenú,
   y una pausa breve antes de cerrar para que el cursor no lo pierda en el trayecto */
@media (min-width: 1200px) {
	.mf-header .wp-block-navigation__responsive-container:not(.is-menu-open) .has-child > .wp-block-navigation__submenu-container { height: auto; overflow: visible; transition: opacity .15s ease, visibility 0s linear .3s; }
	.mf-header .wp-block-navigation__responsive-container:not(.is-menu-open) .has-child:hover > .wp-block-navigation__submenu-container,
	.mf-header .wp-block-navigation__responsive-container:not(.is-menu-open) .has-child:focus-within > .wp-block-navigation__submenu-container { transition: opacity .15s ease, visibility 0s linear 0s; }
	.mf-header .wp-block-navigation__responsive-container:not(.is-menu-open) .has-child > .wp-block-navigation__submenu-container::after { content: ""; position: absolute; left: -16px; right: -16px; bottom: 100%; height: 16px; }
}
@media (max-width: 1199px) {
	.mf-header__inner > .mf-nav { order: 3; }
	.mf-header__inner > .mf-header__actions { margin-left: auto; }
	.mf-header__actions .mf-hide-mobile { display: none; }
}

/* ---------- Hero ---------- */
.mf-hero { padding-top: clamp(2.5rem, 6vw, 5rem); padding-bottom: var(--wp--preset--spacing--60); }
.mf-hero h1 { margin-top: 0; }
.mf-hero .mf-lead { max-width: 34rem; }
.mf-hero .wp-block-buttons { margin-top: 2rem; }
.mf-hero--center { text-align: center; }
.mf-hero--center .mf-lead, .mf-hero--center h1 { margin-left: auto; margin-right: auto; }
.mf-hero--center h1:not(.mf-eyebrow), .mf-hero--center .mf-display { max-width: 16ch; }
.mf-hero--center .wp-block-buttons { justify-content: center; }

/* Medio con tarjetas flotantes */
.mf-media { position: relative; }
.mf-media .wp-block-image { margin: 0; }
.mf-media .wp-block-image img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--mf-r-lg); display: block; }
.mf-media--wide .wp-block-image img { aspect-ratio: 16 / 11; }
.mf-float { position: absolute; z-index: 2; background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-radius: 18px; box-shadow: 0 24px 60px rgba(7, 11, 46, .18); padding: .9rem 1.1rem; color: var(--mf-ink); font-size: 0.9375rem; line-height: 1.35; min-width: 220px; }
.mf-float b { display: block; font-weight: 650; }
.mf-float small { display: block; color: var(--mf-muted); font-size: 0.875rem; }
.mf-float--a { left: -2.25rem; bottom: 2.5rem; }
.mf-float--b { right: -1.5rem; top: 2rem; }
.mf-float__row { display: flex; align-items: center; gap: .75rem; }
.mf-dot { width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex: none; background: #E8F7EE; color: #12804A; font-weight: 700; }
.mf-dot--pink { background: #FDE7F0; color: var(--mf-magenta); }
.mf-dot--navy { background: var(--mf-tint); color: var(--mf-navy); }
@media (max-width: 781px) {
	.mf-media .wp-block-image img { aspect-ratio: 4 / 3.4; }
	.mf-float { position: static; margin-top: .75rem; min-width: 0; box-shadow: 0 8px 24px rgba(7, 11, 46, .1); }
	.mf-float--b { display: none; }
}

/* ---------- Franja de canales ---------- */
.mf-wordmarks { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .75rem 2.75rem; }
.mf-wordmarks p { margin: 0 !important; font-size: 1.25rem; font-weight: 700; letter-spacing: -0.035em; color: #8E8E93; }
.mf-wordmarks p a { color: inherit; }
.mf-wordmarks p a:hover { color: var(--mf-ink); text-decoration: none; }
@media (max-width: 600px) { .mf-wordmarks { gap: .5rem 1.5rem; } .mf-wordmarks p { font-size: 1.0625rem; } }

/* ---------- Bento ---------- */
.mf-bento { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.mf-bento > * { margin: 0 !important; }
.mf-span-2 { grid-column: span 2; }
.mf-tile { position: relative; background: var(--mf-surface); border-radius: var(--mf-r-lg); padding: clamp(1.5rem, 3vw, 2.25rem); display: flex; flex-direction: column; min-height: 320px; overflow: hidden; transition: transform .35s var(--mf-ease); }
.mf-tile > * { margin-block: 0; }
.mf-tile > * + * { margin-top: .6rem; }
.mf-tile h3 { font-size: clamp(1.375rem, 2vw, 1.75rem); letter-spacing: -0.025em; }
.mf-tile p { color: var(--mf-muted); }
.mf-tile .mf-more { padding-top: 1rem; }
.mf-tile--white { background: #fff; border: 1px solid var(--mf-line); }
.mf-tile--dark { background: var(--mf-night); color: rgba(255, 255, 255, .75); }
.mf-tile--dark h3 { color: #fff; }
.mf-tile--dark p { color: rgba(255, 255, 255, .7); }
.mf-tile--dark .mf-more a { color: #fff; }
.mf-tile--brand { background: linear-gradient(140deg, #00167D 0%, #3A0F7A 60%, #B0064F 100%); color: #fff; }
.mf-tile--brand :is(h3, p) { color: #fff; }
.mf-tile--brand .mf-more a { color: #fff; }
.mf-tile__img { margin: auto calc(-1 * clamp(1.5rem, 3vw, 2.25rem)) calc(-1 * clamp(1.5rem, 3vw, 2.25rem)) !important; padding-top: 1.5rem; }
.mf-tile__img img { width: 100%; height: 240px; object-fit: cover; display: block; }
.mf-span-2 .mf-tile__img img { height: 280px; }
.mf-tile .mf-ui { margin-top: auto !important; padding-top: 1.25rem; }
.mf-tile:has(a:hover) { transform: translateY(-3px); }
.mf-tile a::before { content: ""; position: absolute; inset: 0; border-radius: inherit; }
@media (max-width: 1023px) { .mf-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .mf-bento { grid-template-columns: 1fr; } .mf-span-2 { grid-column: auto; } .mf-tile { min-height: 0; } }

/* ---------- Mini interfaces (ilustración) ---------- */
.mf-ui { font-size: 0.9375rem; color: var(--mf-ink); }
.mf-ui__card { background: #fff; border-radius: 16px; box-shadow: 0 1px 2px rgba(7, 11, 46, .05), 0 10px 28px rgba(7, 11, 46, .08); padding: .9rem 1rem; }
.mf-ui__card + .mf-ui__card { margin-top: .6rem; }
.mf-ui__row { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding: .55rem 0; border-top: 1px solid var(--mf-line); }
.mf-ui__row:first-child { border-top: 0; padding-top: 0; }
.mf-ui__row:last-child { padding-bottom: 0; }
.mf-ui__row b { font-weight: 650; }
.mf-ui__row span { color: var(--mf-muted); }
.mf-ui__tag { font-size: 0.875rem; font-weight: 600; padding: .2rem .6rem; border-radius: 999px; background: var(--mf-tint); color: var(--mf-navy); white-space: nowrap; }
.mf-ui__tag--ok { background: #E8F7EE; color: #12804A; }
.mf-ui__big { font-size: 2rem; font-weight: 700; letter-spacing: -0.03em; }
.mf-tile--dark .mf-ui__card { background: rgba(255, 255, 255, .08); box-shadow: none; color: #fff; }
.mf-tile--dark .mf-ui__row { border-color: rgba(255, 255, 255, .12); }
.mf-tile--dark .mf-ui__row span { color: rgba(255, 255, 255, .65); }
:is(.mf-tile--dark, .mf-tile--brand) .mf-ui__tag { background: rgba(255, 255, 255, .14); color: #fff; }
:is(.mf-tile--dark, .mf-tile--brand) .mf-ui__tag--ok { background: rgba(52, 199, 120, .22); color: #8EF0B8; }
.mf-tile--brand .mf-ui__card { background: rgba(255, 255, 255, .12); box-shadow: none; color: #fff; }
.mf-tile--brand .mf-ui__row { border-color: rgba(255, 255, 255, .16); }
.mf-tile--brand .mf-ui__row span { color: rgba(255, 255, 255, .75); }

/* ---------- Banda fotográfica ---------- */
.mf-band { position: relative; isolation: isolate; color: #fff; min-height: clamp(460px, 62vw, 640px); display: flex; flex-direction: column; justify-content: flex-end; padding-block: var(--wp--preset--spacing--60) !important; background: var(--mf-night) center / cover no-repeat; }
.mf-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 11, 46, .05) 0%, rgba(7, 11, 46, .35) 45%, rgba(7, 11, 46, .88) 100%); }
.mf-band--almacen { background-image: url("../img/fotos/almacen-racks.webp"); }
.mf-band :is(h2, p) { color: #fff; }
.mf-band__inner > * { margin-left: 0; margin-right: 0; }
.mf-band h2 { font-size: clamp(2.5rem, 6vw, 4.5rem); max-width: 14ch; }
.mf-band .mf-lead { color: rgba(255, 255, 255, .85); max-width: 32rem; }

/* ---------- Pasos ---------- */
.mf-steps { counter-reset: mfstep; gap: 1.25rem !important; }
.mf-steps > .wp-block-column { counter-increment: mfstep; border-top: 1.5px solid var(--mf-line); padding-top: 1.5rem; }
.mf-steps > .wp-block-column::before { content: "0" counter(mfstep); display: block; font-size: 0.9375rem; font-weight: 600; color: var(--mf-magenta); margin-bottom: .75rem; font-variant-numeric: tabular-nums; }
.mf-steps h3 { font-size: 1.3125rem; margin: 0 0 .4rem; }
.mf-steps p { color: var(--mf-muted); margin: 0; }
.mf-section--dark .mf-steps > .wp-block-column { border-color: rgba(255, 255, 255, .18); }

/* ---------- Números de precio ---------- */
.mf-prices { gap: 0 !important; border-top: 1px solid rgba(255, 255, 255, .18); }
.mf-prices > .wp-block-column { padding: 2rem 2rem 0 0; }
.mf-prices > .wp-block-column + .wp-block-column { padding-left: 2rem; border-left: 1px solid rgba(255, 255, 255, .18); }
.mf-num { font-size: clamp(2.75rem, 5vw, 4rem) !important; font-weight: 700; letter-spacing: -0.045em; line-height: 1; color: #fff; margin: 0 0 .5rem !important; font-variant-numeric: tabular-nums; }
.mf-num small { font-size: .4em; font-weight: 600; letter-spacing: -0.01em; color: rgba(255, 255, 255, .65); }
@media (max-width: 781px) {
	.mf-prices > .wp-block-column, .mf-prices > .wp-block-column + .wp-block-column { padding: 1.5rem 0; border-left: 0; border-bottom: 1px solid rgba(255, 255, 255, .18); }
}

/* ---------- Tarjetas ---------- */
.mf-card, .is-style-mf-card { background: #fff; border: 1px solid var(--mf-line); border-radius: var(--mf-r-md); padding: clamp(1.5rem, 3vw, 2rem); height: 100%; display: flex; flex-direction: column; }
.mf-card > *, .is-style-mf-card > * { margin-block: 0; }
.mf-card > * + *, .is-style-mf-card > * + * { margin-top: .6rem; }
.mf-card h3, .is-style-mf-card h3 { font-size: 1.3125rem; }
.mf-card p, .is-style-mf-card p { color: var(--mf-muted); }
.mf-section--surface .mf-card, .mf-section--surface .is-style-mf-card { border-color: transparent; }
.mf-section--dark .mf-card, .mf-section--dark .is-style-mf-card { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); }
.mf-section--dark .mf-card p, .mf-section--dark .is-style-mf-card p { color: rgba(255, 255, 255, .7); }
.mf-card-link { position: relative; transition: transform .3s var(--mf-ease), box-shadow .3s var(--mf-ease); }
.mf-card-link:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(7, 11, 46, .1); }
.mf-card-link a::before { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.mf-icon { margin: 0 0 .75rem !important; }
.mf-icon img { width: 44px; height: 44px; display: block; }
.wp-block-columns.mf-grid { gap: 1.25rem !important; }
.wp-block-columns.mf-grid + .wp-block-columns.mf-grid { margin-top: 1.25rem; }

/* ---------- Listas ---------- */
.is-style-mf-check { list-style: none; padding-left: 0; }
.is-style-mf-check li { position: relative; padding-left: 1.85rem; margin: .55rem 0; }
.is-style-mf-check li::before { content: ""; position: absolute; left: 0; top: .2em; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--mf-magenta) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 62% no-repeat; }

/* ---------- Tablas ---------- */
.is-style-mf-precios { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0; }
.is-style-mf-precios table { border-collapse: collapse; width: 100%; min-width: 600px; font-variant-numeric: tabular-nums; }
.is-style-mf-precios :is(th, td) { border: 0; border-bottom: 1px solid var(--mf-line); padding: .9rem 1rem; text-align: right; }
.is-style-mf-precios :is(th, td):first-child { text-align: left; }
.is-style-mf-precios thead th { font-size: 0.875rem; font-weight: 600; color: var(--mf-muted); border-bottom: 1.5px solid var(--mf-ink); }
.is-style-mf-precios tbody td:first-child { font-weight: 600; color: var(--mf-ink); }
.is-style-mf-precios figcaption { font-size: 0.875rem; color: var(--mf-muted); text-align: left; margin-top: .75rem; }
.mf-compare table td:nth-child(3) { color: var(--mf-navy); font-weight: 600; }
.mf-compare :is(th, td) { text-align: left !important; }
.mf-compare table { min-width: 0; }
@media (max-width: 600px) { .mf-compare :is(th, td) { padding: .7rem .5rem; font-size: 0.875rem; } }

/* ---------- FAQ ---------- */
.wp-block-details { border-bottom: 1px solid var(--mf-line); padding: 0; margin-block: 0 !important; }
.wp-block-details:first-of-type { border-top: 1px solid var(--mf-line); }
.wp-block-details summary { font-size: 1.1875rem; font-weight: 600; color: var(--mf-ink); letter-spacing: -0.015em; cursor: pointer; list-style: none; position: relative; padding: 1.35rem 2.5rem 1.35rem 0; min-height: 44px; }
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after { content: ""; position: absolute; right: .25rem; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--mf-ink); border-bottom: 2px solid var(--mf-ink); transform: translateY(-75%) rotate(45deg); transition: transform .25s var(--mf-ease); }
.wp-block-details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.wp-block-details > :not(summary) { color: var(--mf-muted); margin: 0 0 1.35rem; max-width: 46rem; }

/* ---------- CTA final ---------- */
.mf-cta { background: var(--mf-surface); border-radius: 32px; padding: clamp(2.5rem, 7vw, 5.5rem) clamp(1.5rem, 5vw, 4rem); text-align: center; }
.mf-cta h2 { max-width: 18ch; margin-inline: auto; }
.mf-cta .mf-lead { max-width: 34rem; margin-inline: auto; }
.mf-cta .wp-block-buttons { justify-content: center; margin-top: 1.75rem; }

/* ---------- Mapa ---------- */
.mf-map img { width: 100%; height: auto; display: block; }

/* ---------- Formulario ---------- */
.mf-form, .mf-form * { box-sizing: border-box; }
.mf-form { background: #fff; border: 1px solid var(--mf-line); border-radius: var(--mf-r-lg); padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: 0 24px 60px rgba(7, 11, 46, .08); color: var(--mf-text); }
.mf-form .mf-form__title { color: var(--mf-ink); }
.mf-form__title { font-size: 1.75rem; font-weight: 700; letter-spacing: -0.03em; color: var(--mf-ink); margin: 0 0 .5rem; }
.mf-form p { color: var(--mf-muted); }
.mf-form__admin { font-size: 0.875rem; background: #FFF8E1; color: #6B5300 !important; border-radius: 10px; padding: .6rem .8rem; }

/* ---------- Calculadora ---------- */
.mf-calc, .mf-calc *, .mf-calc *::before, .mf-calc *::after { box-sizing: border-box; }
.mf-calc { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(1rem, 3vw, 2rem); background: #fff; border: 1px solid var(--mf-line); border-radius: 32px; padding: clamp(1.25rem, 3vw, 2.25rem); box-shadow: 0 30px 80px rgba(7, 11, 46, .1); color: var(--mf-text); }
@media (max-width: 860px) { .mf-calc { grid-template-columns: 1fr; } }
.mf-calc__title { margin: 0 0 1.25rem; font-size: 1.75rem; letter-spacing: -0.03em; color: var(--mf-ink) !important; }
.mf-field { margin: 0 0 1.1rem; border: 0; padding: 0; }
.mf-field label, .mf-field legend { display: block; font-weight: 600; font-size: 0.9375rem; color: var(--mf-ink); margin-bottom: .4rem; }
.mf-field input[type="number"], .mf-field select { width: 100%; min-height: 50px; border: 1px solid #D2D2D7; border-radius: 12px; padding: .65rem .9rem; font: inherit; font-size: 1.0625rem; color: var(--mf-ink); background: #fff; transition: border-color .2s, box-shadow .2s; }
.mf-field input[type="number"]:focus, .mf-field select:focus { border-color: var(--mf-navy); box-shadow: 0 0 0 4px rgba(0, 22, 125, .12); outline: none; }
.mf-field__pair { display: grid; grid-template-columns: 1fr 120px; gap: .9rem; align-items: center; }
.mf-field input[type="range"] { width: 100%; accent-color: var(--mf-magenta); min-height: 28px; }
.mf-field__hint { font-size: 0.875rem; color: var(--mf-muted); margin: .35rem 0 0; }
.mf-field--checks label { display: flex; gap: .6rem; align-items: center; font-weight: 400; color: var(--mf-text); min-height: 36px; font-size: 1rem; }
.mf-field--checks input { flex: none; width: 24px; height: 24px; accent-color: var(--mf-magenta); }
.mf-calc__result { background: var(--mf-night); color: #fff; border-radius: 24px; padding: clamp(1.5rem, 3vw, 2rem); display: flex; flex-direction: column; }
.mf-calc__result * { color: #fff; }
.mf-calc__eyebrow { font-size: 0.9375rem; font-weight: 600; color: #FF6FAE !important; margin: 0; }
.mf-calc__big { font-size: clamp(2.75rem, 6vw, 3.75rem); font-weight: 700; letter-spacing: -0.045em; margin: .25rem 0 1.25rem; line-height: 1; font-variant-numeric: tabular-nums; }
.mf-calc__big small { font-size: 1rem; font-weight: 600; letter-spacing: 0; opacity: .7; }
.mf-calc__rows { margin: 0; }
.mf-calc__rows div { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; font-size: 1rem; }
.mf-calc__rows dt { opacity: .75; }
.mf-calc__rows dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.mf-calc__rows--total dd { font-size: 1.1875rem; }
.mf-calc__result hr { border: 0; border-top: 1px solid rgba(255, 255, 255, .16); margin: .9rem 0; }
.mf-calc__tier, .mf-calc__note { font-size: 0.875rem; opacity: .75; margin: .6rem 0 0; }
.mf-calc__note:empty { display: none; }
.mf-calc__cta { margin-top: auto; padding-top: 1.5rem; }
.mf-calc__cta .mf-btn { width: 100%; }
.mf-calc__legal { font-size: 0.875rem; opacity: .65; margin: .9rem 0 0; }

/* ---------- Pie ---------- */
.mf-footer { background: var(--mf-surface); color: var(--mf-muted); font-size: 0.9375rem; }
.mf-footer :is(h2, h3) { color: var(--mf-ink); font-size: 0.9375rem; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 .9rem; }
.mf-footer a { color: var(--mf-text); }
.mf-footer a:hover { color: var(--mf-magenta); }
.mf-footer ul { list-style: none; padding: 0; margin: 0; }
.mf-footer li { margin: 0; padding: .3rem 0; }
.mf-footer .wp-block-site-logo img, .mf-footer__logo img { width: 150px; }
.mf-footer__bottom { border-top: 1px solid var(--mf-line); font-size: 0.875rem; }
.mf-footer__bottom p { margin: 0; }
.mf-footer .wp-block-social-links { gap: .75rem; }
.mf-footer .wp-block-social-link { color: var(--mf-ink) !important; }
.mf-footer .wp-block-social-link a { min-width: 32px; min-height: 32px; }

/* ---------- Barra fija móvil ---------- */
.mf-mobile-cta { display: none; }
@media (max-width: 781px) {
	.mf-mobile-cta { display: grid; grid-template-columns: 1fr 1.35fr; gap: .5rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-top: 1px solid var(--mf-line); }
	.mf-mobile-cta a { min-height: 48px; display: flex; align-items: center; justify-content: center; border-radius: 999px; font-weight: 600; text-decoration: none; }
	.mf-mobile-cta__secondary { border: 1.5px solid rgba(29, 29, 31, .25); color: var(--mf-ink); }
	.mf-mobile-cta__primary { background: var(--mf-magenta); color: #fff; }
	body:has(.mf-mobile-cta) { padding-bottom: 76px; scroll-padding-bottom: 96px; }
}

/* ---------- Blog ---------- */
.mf-post-card { border-radius: var(--mf-r-md); overflow: hidden; background: var(--mf-surface); height: 100%; }
.mf-post-card .wp-block-post-featured-image { margin: 0; }
.mf-post-card__body { padding: 1.5rem; }
.wp-block-post-content > :is(h2, h3) { margin-top: 2.5rem; }

/* ---------- Revelado al hacer scroll ---------- */
.mf-js .mf-reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--mf-ease), transform .7s var(--mf-ease); }
.mf-js .mf-reveal.is-in { opacity: 1; transform: none; }

/* Titular visual (cuando el H1 semántico es la etiqueta superior) */
.mf-display { font-size: var(--wp--preset--font-size--huge) !important; font-weight: 700; line-height: 1.04; letter-spacing: -0.04em; color: var(--mf-ink); text-wrap: balance; margin-top: 0 !important; margin-bottom: 1.25rem !important; }
.mf-hero--center .mf-display, .mf-hero--center .mf-lead { margin-left: auto !important; margin-right: auto !important; }
.mf-display em { font-style: normal; color: var(--mf-muted); }
h1.mf-eyebrow { font-size: 0.9375rem !important; line-height: 1.4; letter-spacing: -0.005em; font-weight: 600; color: var(--mf-magenta); }

/* Pie en móvil: enlaces en dos columnas */
@media (max-width: 781px) {
	.mf-footer > .wp-block-columns { display: grid !important; grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem !important; }
	.mf-footer > .wp-block-columns > .wp-block-column:first-child { grid-column: 1 / -1; }
}

/* ==========================================================================
   v3 · densidad media (referencias: HubSpot, Zoho, Mailchimp)
   ========================================================================== */

/* Ritmo vertical más compacto */
.mf-section { padding-block: clamp(3.5rem, 6.5vw, 5.75rem); }
.mf-section--tight { padding-block: clamp(2.75rem, 5vw, 4.25rem); }
.mf-head { margin-bottom: clamp(2rem, 3.5vw, 3rem) !important; }
.mf-hero { padding-top: clamp(2rem, 4.5vw, 3.75rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); }

/* Encabezado de sección dividido: título a la izquierda, texto/CTA a la derecha */
.mf-head--split { display: grid !important; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: end; gap: 1.25rem 4rem; }
.mf-head--split > * { max-width: none; margin: 0 !important; }
.mf-head--split > .wp-block-buttons { justify-self: end; }
.mf-head--split > p + .wp-block-buttons { justify-self: start; }
@media (max-width: 860px) { .mf-head--split { grid-template-columns: 1fr; } .mf-head--split > .wp-block-buttons { justify-self: start; } }

/* Microcopy junto a CTA */
.mf-micro { font-size: 0.9375rem !important; color: var(--mf-muted); margin-top: .9rem !important; }

/* Fila de confianza (checks) */
.mf-trust { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; margin-top: 1.5rem !important; padding: 0; list-style: none; }
.mf-trust li { position: relative; padding-left: 1.6rem; font-size: 0.9375rem; font-weight: 500; color: var(--mf-ink); margin: 0; }
.mf-trust li::before { content: ""; position: absolute; left: 0; top: .15em; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: #E8F7EE url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312804A' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 62% no-repeat; }

/* Foto sobre bloque de color (hero) */
.mf-media--shape::before { content: ""; position: absolute; z-index: 0; inset: 8% -4% -6% 10%; border-radius: 36px; background: linear-gradient(140deg, #EEF0FA 0%, #FDE7F0 100%); }
.mf-media--shape > * { position: relative; z-index: 1; }
.mf-media--shape .mf-float { position: absolute; z-index: 3; }
.mf-media--shape .wp-block-image img { aspect-ratio: 5 / 5.2; box-shadow: 0 30px 70px rgba(7, 11, 46, .16); }
@media (max-width: 781px) { .mf-media--shape::before { inset: 6% -3% -4% 8%; } .mf-media--shape .mf-float { position: static; } }

/* Franja en movimiento (marquee) */
.mf-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.mf-marquee .mf-wordmarks { flex-wrap: nowrap !important; justify-content: flex-start !important; width: max-content; gap: 3.5rem !important; }
.mf-marquee.is-ready .mf-wordmarks { animation: mf-marquee 32s linear infinite; }
.mf-marquee:hover .mf-wordmarks, .mf-marquee:focus-within .mf-wordmarks { animation-play-state: paused; }
@keyframes mf-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .mf-marquee { -webkit-mask-image: none; mask-image: none; } .mf-marquee .mf-wordmarks { animation: none !important; flex-wrap: wrap !important; width: auto; justify-content: center !important; } }
.mf-strip { border-block: 1px solid var(--mf-line); }
.mf-strip .mf-note { margin-bottom: .9rem !important; }

/* Columna fija + cuadrícula de tarjetas (servicios) */
.mf-split { gap: clamp(2rem, 5vw, 4.5rem) !important; }
.mf-sticky { position: sticky; top: calc(var(--mf-header-h) + 32px); }
@media (max-width: 781px) { .mf-sticky { position: static; } }
.mf-cards { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.mf-cards > * { margin: 0 !important; }
.mf-cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .mf-cards--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .mf-cards, .mf-cards--3 { grid-template-columns: 1fr; } }
.mf-svc { position: relative; background: #fff; border: 1px solid var(--mf-line); border-radius: var(--mf-r-md); padding: 1.5rem; display: flex; flex-direction: column; gap: .5rem; transition: border-color .25s var(--mf-ease), box-shadow .25s var(--mf-ease), transform .25s var(--mf-ease); }
.mf-svc > * { margin: 0 !important; }
.mf-svc:hover { border-color: rgba(223, 8, 105, .45); box-shadow: 0 14px 34px rgba(7, 11, 46, .08); transform: translateY(-2px); }
.mf-svc h3 { font-size: 1.1875rem; letter-spacing: -0.02em; }
.mf-svc p { color: var(--mf-muted); font-size: 1rem; }
.mf-svc .mf-icon img { width: 40px; height: 40px; }
.mf-svc .mf-more { margin-top: auto !important; padding-top: .5rem; font-size: 0.9375rem; }
.mf-svc .mf-more a::after { content: " →"; }
.mf-svc a::before { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.mf-section--surface .mf-svc { border-color: transparent; }

/* Fila de característica alternada (imagen + texto) */
.mf-feature { gap: clamp(2rem, 6vw, 5rem) !important; }
.mf-feature + .mf-feature { margin-top: clamp(3rem, 6vw, 4.5rem) !important; }
.mf-feature h3 { font-size: clamp(1.625rem, 2.6vw, 2.25rem); letter-spacing: -0.03em; line-height: 1.12; }
.mf-feature .mf-media .wp-block-image img { aspect-ratio: 4 / 3; }
@media (min-width: 782px) { .mf-feature--reverse { flex-direction: row-reverse; } }

/* Pestañas */
.mf-tabs { position: relative; }
.mf-tabs__list { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 2rem; padding: .35rem; background: var(--mf-surface); border-radius: 999px; width: fit-content; max-width: 100%; }
.mf-section--surface .mf-tabs__list { background: #fff; }
.mf-tabs__btn { appearance: none; border: 0; background: transparent; font: inherit; font-size: 0.9375rem; font-weight: 600; color: var(--mf-muted); padding: .6rem 1.1rem; border-radius: 999px; cursor: pointer; min-height: 44px; transition: background-color .2s, color .2s, box-shadow .2s; }
.mf-tabs__btn:hover { color: var(--mf-ink); }
.mf-tabs__btn[aria-selected="true"] { background: var(--mf-night); color: #fff; box-shadow: 0 4px 14px rgba(7, 11, 46, .18); }
.mf-tabs.is-ready .mf-tab[hidden] { display: none !important; }
.mf-tabs.is-ready .mf-tab { animation: mf-fade .45s var(--mf-ease); }
.mf-tab + .mf-tab { margin-top: 3rem !important; }
.mf-tabs.is-ready .mf-tab + .mf-tab { margin-top: 0 !important; }
@keyframes mf-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 600px) { .mf-tabs__list { border-radius: 18px; width: 100%; } .mf-tabs__btn { flex: 1 1 auto; padding-inline: .8rem; } }

/* Banda de cifras */
.mf-stats { background: var(--mf-navy); color: #fff; }
.mf-stats .wp-block-columns { gap: 0 !important; }
.mf-stats .wp-block-column { padding: .5rem 1.5rem; border-left: 1px solid rgba(255, 255, 255, .2); }
.mf-stats .wp-block-column:first-child { border-left: 0; padding-left: 0; }
.mf-stat__num { font-size: clamp(2.5rem, 4.6vw, 3.5rem) !important; font-weight: 700; letter-spacing: -0.045em; line-height: 1; color: #fff; margin: 0 0 .5rem !important; font-variant-numeric: tabular-nums; }
.mf-stats p:not(.mf-stat__num) { color: rgba(255, 255, 255, .8); margin: 0; font-size: 1rem; }
.mf-stats h2 { color: #fff; }
@media (max-width: 781px) { .mf-stats .wp-block-column { border-left: 0; padding: 1rem 0; border-top: 1px solid rgba(255, 255, 255, .2); } .mf-stats .wp-block-column:first-child { border-top: 0; } }

/* Tarjetas con foto y leyenda */
.mf-photo-card { position: relative; border-radius: var(--mf-r-md); overflow: hidden; min-height: 360px; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.5rem !important; color: #fff; isolation: isolate; height: 100%; }
.mf-photo-card > .wp-block-image { position: absolute !important; inset: 0; margin: 0 !important; z-index: -2; }
.mf-photo-card > .wp-block-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--mf-ease); }
.mf-photo-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 11, 46, 0) 30%, rgba(7, 11, 46, .88) 100%); }
.mf-photo-card:hover > .wp-block-image img { transform: scale(1.04); }
.mf-photo-card :is(h3, p) { color: #fff; margin: 0 !important; }
.mf-photo-card p { color: rgba(255, 255, 255, .85); margin-top: .35rem !important; }
.mf-photo-card .mf-more { margin-top: .75rem !important; }
.mf-photo-card .mf-more a { color: #fff; }
.mf-photo-card a::before { content: ""; position: absolute; inset: 0; z-index: 2; }

/* FAQ en dos columnas */
.mf-faq-grid { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem 1rem; align-items: start; }
.mf-faq-grid > * { margin: 0 !important; }
.mf-faq-grid > .wp-block-details { border: 1px solid var(--mf-line) !important; border-radius: 16px; padding: 0 1.25rem; background: #fff; }
.mf-faq-grid > .wp-block-details summary { font-size: 1.0625rem; padding-block: 1.1rem; }
.mf-faq-grid > .wp-block-details > :not(summary) { margin-bottom: 1.1rem; }
.mf-section--surface .mf-faq-grid > .wp-block-details { border-color: transparent !important; }
@media (max-width: 781px) { .mf-faq-grid { grid-template-columns: 1fr; } }

/* Banda final oscura */
.mf-cta-band { background: var(--mf-night); color: rgba(255, 255, 255, .8); border-radius: 32px; padding: clamp(2rem, 5vw, 3.5rem) !important; overflow: hidden; position: relative; isolation: isolate; }
.mf-cta-band::before { content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; right: -140px; top: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(223, 8, 105, .38), rgba(223, 8, 105, 0) 65%); }
.mf-cta-band::after { content: ""; position: absolute; z-index: -1; width: 460px; height: 460px; left: -160px; bottom: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(64, 90, 255, .32), rgba(64, 90, 255, 0) 65%); }
.mf-cta-band :is(h2, h3) { color: #fff; }
.mf-cta-band h2 em { color: rgba(255, 255, 255, .6); }
.mf-cta-band p { color: rgba(255, 255, 255, .78); }
.mf-cta-band .mf-ui__card { background: rgba(255, 255, 255, .08); box-shadow: none; color: #fff; border: 1px solid rgba(255, 255, 255, .12); }
.mf-cta-band .mf-ui__row { border-color: rgba(255, 255, 255, .12); }
.mf-cta-band .mf-ui__row span { color: rgba(255, 255, 255, .72); }
.mf-cta-band .mf-ui__tag--ok { background: rgba(52, 199, 120, .22); color: #8EF0B8; }
.mf-cta-band .wp-block-button.is-style-mf-link > .wp-block-button__link { color: #fff; }

/* Flotantes con leve movimiento */
@media (prefers-reduced-motion: no-preference) and (min-width: 782px) {
	.mf-float--a { animation: mf-bob 6s ease-in-out infinite; }
	.mf-float--b { animation: mf-bob 7s ease-in-out -2s infinite; }
}
@keyframes mf-bob { 50% { transform: translateY(-8px); } }

/* Enlaces de texto con subrayado animado */
.mf-more a { background-image: linear-gradient(currentColor, currentColor); background-size: 0 1.5px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .25s var(--mf-ease), color .2s; }
.mf-more a:hover { background-size: 100% 1.5px; text-decoration: none; }

/* Título de pestaña: se usa como etiqueta del botón y se oculta visualmente */
.mf-tabs.is-ready .mf-tab__title { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0 !important; }
.mf-tab__title { font-size: 0.9375rem !important; font-weight: 600; color: var(--mf-magenta); margin-bottom: .75rem !important; }
.mf-panel-ui { background: linear-gradient(140deg, #EEF0FA 0%, #FDE7F0 100%); border-radius: var(--mf-r-lg); padding: clamp(1.5rem, 4vw, 2.5rem); min-height: 300px; display: flex; flex-direction: column; justify-content: center; }
.mf-panel-ui .mf-ui__card { max-width: 420px; width: 100%; margin-inline: auto; }

/* Ajuste fino: flecha de FAQ alineada al texto */
.wp-block-details summary::after { transform: translateY(-62%) rotate(45deg); }
.wp-block-details[open] summary::after { transform: translateY(-38%) rotate(-135deg); }
.mf-cta-band .mf-ui__tag--ok { background: #1F7A4D; color: #fff; }

/* ==========================================================================
   v4 · hero con foto, encabezados divididos integrados, espaciado consistente, CTA intermedio
   ========================================================================== */

/* Escala de espaciado única */
:root { --mf-gap-xs: .5rem; --mf-gap-s: 1rem; --mf-gap-m: 1.5rem; --mf-gap-l: 2.25rem; --mf-gap-xl: 3rem; }
.mf-section { padding-block: clamp(3.5rem, 6vw, 5.25rem); }
.mf-section--tight { padding-block: clamp(2.75rem, 4.5vw, 4rem); }
.mf-head { margin-bottom: var(--mf-gap-l) !important; }
.mf-head > .mf-eyebrow + :is(h1, h2) { margin-top: 0; }
:is(.mf-section, .mf-hero) :is(h2, h3) + :is(p, .wp-block-list, .wp-block-buttons) { margin-top: var(--mf-gap-s); }
:is(.mf-section, .mf-hero) :is(p, .wp-block-list) + .wp-block-buttons { margin-top: var(--mf-gap-m); }
.wp-block-columns { margin-bottom: 0; }
.mf-feature + .mf-feature { margin-top: var(--mf-gap-xl) !important; }

/* Pestañas: texto alineado arriba con la imagen, sin huecos */
.mf-tabs__list { margin-bottom: var(--mf-gap-l); }
.mf-tab .mf-feature { align-items: flex-start !important; }
.mf-tab .mf-feature > .wp-block-column { align-self: flex-start !important; }
.mf-tab .mf-feature > .wp-block-column:first-child { padding-top: .25rem; }
.mf-tab .mf-media .wp-block-image img { aspect-ratio: 16 / 10; }
.mf-tab .mf-panel-ui { min-height: 0; padding-block: 2rem; }

/* Encabezado dividido: el texto de la derecha como bloque destacado */
.mf-head--split { align-items: center; }
.mf-head--split > p { font-size: var(--wp--preset--font-size--large) !important; line-height: 1.45; color: var(--mf-text); padding-left: 1.25rem; border-left: 3px solid var(--mf-magenta); max-width: 34rem !important; justify-self: end; }
.mf-section--dark .mf-head--split > p, .mf-stats .mf-head--split > p { color: rgba(255, 255, 255, .85); }
@media (max-width: 860px) { .mf-head--split > p { justify-self: start; } }

/* Hero con fotografía de fondo (inspirado en heros fotográficos SaaS) */
.mf-hero--photo { position: relative; isolation: isolate; overflow: hidden; background-color: var(--mf-night); color: #fff; padding-top: clamp(4.5rem, 9vw, 7.5rem) !important; padding-bottom: clamp(4rem, 8vw, 6.5rem) !important; }
.mf-hero--photo::before { content: ""; position: absolute; inset: 0; z-index: -2; background-image: var(--mf-hero-img); background-size: cover; background-position: var(--mf-hero-pos, center); transform-origin: center; }
.mf-hero--photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 50% 45%, rgba(7, 11, 46, .58) 0%, rgba(7, 11, 46, .78) 70%), linear-gradient(180deg, rgba(7, 11, 46, .25) 0%, rgba(7, 11, 46, .55) 100%); }
@media (prefers-reduced-motion: no-preference) { .mf-hero--photo::before { animation: mf-kenburns 18s ease-out both; } }
@keyframes mf-kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
@media (max-width: 781px) { .mf-hero--photo::before { background-image: var(--mf-hero-img-m, var(--mf-hero-img)); } }
.mf-hero--photo :is(h1, h2, p, li) { color: #fff; }
.mf-hero--photo .mf-eyebrow, .mf-hero--photo h1.mf-eyebrow { color: #FF8CC0 !important; }
.mf-hero--photo .mf-display em { color: rgba(255, 255, 255, .7); }
.mf-hero--photo .mf-lead { color: rgba(255, 255, 255, .9) !important; }
.mf-hero--photo .wp-block-button.is-style-outline > .wp-block-button__link { color: #fff; border-color: rgba(255, 255, 255, .65); }
.mf-hero--photo .wp-block-button.is-style-outline > .wp-block-button__link:hover { background: #fff; color: var(--mf-night); border-color: #fff; }
.mf-hero--photo .wp-block-button.is-style-mf-link > .wp-block-button__link { color: #fff; }
.mf-hero--photo .mf-trust li { color: #fff; }
.mf-hero--photo .mf-trust li::before { background-color: rgba(52, 199, 120, .28); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238EF0B8' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E"); }
.mf-hero--photo.mf-hero--center .mf-trust { justify-content: center; }
.mf-bg-integraciones { --mf-hero-img: url("../img/hero/laptop.webp"); --mf-hero-img-m: url("../img/hero/laptop-m.webp"); --mf-hero-pos: center 40%; }
.mf-bg-precios { --mf-hero-img: url("../img/hero/almacen.webp"); --mf-hero-img-m: url("../img/hero/almacen-m.webp"); }
.mf-bg-faq { --mf-hero-img: url("../img/hero/relleno.webp"); --mf-hero-img-m: url("../img/hero/relleno-m.webp"); }
.mf-bg-envios { --mf-hero-img: url("../img/hero/entrega.webp"); --mf-hero-img-m: url("../img/hero/entrega-m.webp"); }
.mf-bg-full { --mf-hero-img: url("../img/hero/etiqueta.webp"); --mf-hero-img-m: url("../img/hero/etiqueta-m.webp"); }
.mf-bg-conocenos { --mf-hero-img: url("../img/hero/cinta.webp"); --mf-hero-img-m: url("../img/hero/cinta-m.webp"); }
.mf-bg-blog { --mf-hero-img: url("../img/hero/relleno.webp"); --mf-hero-img-m: url("../img/hero/relleno-m.webp"); }
.mf-bg-contacto { --mf-hero-img: url("../img/hero/entrega.webp"); --mf-hero-img-m: url("../img/hero/entrega-m.webp"); }

/* Franja de CTA intermedia hacia contacto */
.mf-cta-inline { display: flex !important; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; background: linear-gradient(120deg, #EEF0FA 0%, #FDE7F0 100%); border-radius: 24px; padding: clamp(1.5rem, 3vw, 2rem) clamp(1.5rem, 4vw, 2.5rem) !important; }
.mf-cta-inline > * { margin: 0 !important; }
.mf-cta-inline h2 { font-size: clamp(1.375rem, 2.4vw, 1.875rem); letter-spacing: -0.03em; max-width: 36rem; }
.mf-cta-inline h2 em { color: var(--mf-magenta); font-style: normal; }
.mf-cta-inline-wrap { padding-block: clamp(1.5rem, 3vw, 2.5rem) !important; }

/* ==========================================================================
   v5 · logos de canales
   ========================================================================== */
.mf-logos { align-items: center !important; }
.mf-logos .mf-logo-item { margin: 0 !important; flex: none; }
.mf-logos .mf-logo-item a { display: block; padding: .25rem 0; }
.mf-logos .mf-logo-item img { display: block; height: 30px; width: auto; max-width: none; filter: grayscale(1); opacity: .62; transition: filter .3s var(--mf-ease), opacity .3s var(--mf-ease); }
.mf-logos .mf-logo-item.mf-logo--tall img { height: 42px; }
.mf-logos .mf-logo-item a:hover img, .mf-logos .mf-logo-item a:focus-visible img { filter: none; opacity: 1; }
@media (max-width: 600px) { .mf-logos .mf-logo-item img { height: 24px; } .mf-logos .mf-logo-item.mf-logo--tall img { height: 34px; } }

/* Ícono de logo en tarjetas */
.mf-svc .mf-logo-icon img, .mf-logo-icon img { width: auto !important; height: 40px !important; max-width: 64px; object-fit: contain; }

/* Cuadrícula de 4 columnas */
.mf-cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .mf-cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .mf-cards--4 { grid-template-columns: 1fr; } }

/* Dúo Marketful + canal en el hero */
.mf-duo { display: flex; align-items: center; gap: .85rem; margin: 0 0 1.25rem !important; }
.mf-duo img { display: block; width: auto; }
.mf-duo .mf-duo__mk { height: 40px; }
.mf-duo .mf-duo__ch { height: 32px; max-width: 170px; object-fit: contain; }
.mf-duo .mf-duo__ch--icon { height: 40px; }
.mf-duo span { font-size: 1.25rem; font-weight: 600; color: var(--mf-muted); }

/* Logo del canal en tarjetas flotantes e interfaces */
.mf-float__logo { width: 36px; height: 36px; object-fit: contain; flex: none; border-radius: 10px; background: #fff; padding: 4px; box-shadow: 0 0 0 1px var(--mf-line); }
.mf-ui__ch { display: inline-flex; align-items: center; gap: .55rem; }
.mf-ui__ch img { width: 20px; height: 20px; object-fit: contain; }

/* ==========================================================================
   Formulario de Bitrix24 con la identidad de Marketful
   ========================================================================== */
.mf-form--bitrix .b24-form, .mf-form--bitrix .b24-form * { font-family: var(--wp--preset--font-family--inter), system-ui, sans-serif !important; }
.mf-form--bitrix .b24-form-wrapper { border-bottom: 0 !important; box-shadow: none !important; }
.mf-form--bitrix .b24-form-header-title { font-size: 1.5rem !important; font-weight: 700 !important; letter-spacing: -0.02em; color: var(--mf-ink) !important; }
.mf-form--bitrix .b24-form-header-description { color: var(--mf-muted) !important; }
.mf-form--bitrix .b24-form-control { border-radius: 10px !important; }
.mf-form--bitrix .b24-form-control:focus { border-color: var(--mf-navy) !important; }
.mf-form--bitrix .b24-form-btn { background: var(--mf-magenta) !important; border-radius: 999px !important; font-weight: 600 !important; transition: background .2s ease; }
.mf-form--bitrix .b24-form-btn:hover { background: var(--mf-magenta-700) !important; }
.mf-form--bitrix .mf-form__legal { margin: .25rem 0 0; text-align: center; font-size: .875rem; color: var(--mf-muted); }
.mf-form--bitrix .mf-form__legal a { color: var(--mf-navy); text-decoration: underline; }
