/* ==========================================================================
   MyHome Elementos Extra — estilos
   El plugin NO define tipos de letra: todo hereda la fuente del tema.
   Los colores se toman del tema MyHome (lprimary1, lcolor1…) si existen.
   ========================================================================== */

.mhx {
	--mhx-primary: var(--e-global-color-lprimary1, var(--e-global-color-primary, #537CD9));
	--mhx-primary-2: var(--e-global-color-lprimary2, var(--e-global-color-accent, #F09965));
	--mhx-heading: var(--e-global-color-lcolor1, #2A3946);
	--mhx-text: var(--e-global-color-lcolor2, #455867);
	--mhx-border: var(--e-global-color-lcolor3, #D5E3EE);
	--mhx-soft: var(--e-global-color-lcolor4, #E6F0FA);
	--mhx-white: var(--e-global-color-lcolor5, #FDFDFE);
	--mhx-section: var(--e-global-color-lsectionbg, #F8FAFD);
	--mhx-radius: 12px;
	--mhx-shadow: 0 10px 30px -12px rgba(28, 45, 70, .18);
	--mhx-shadow-lg: 0 22px 45px -18px rgba(28, 45, 70, .28);
	--mhx-ease: cubic-bezier(.22, .61, .36, 1);
	--mhx-hl: var(--mhx-primary);
	--mhx-hl2: var(--mhx-primary-2);
	--mhx-gap: 24px;
	--mhx-cols: 3;
	color: var(--mhx-text);
	box-sizing: border-box;
}
.mhx *, .mhx *::before, .mhx *::after { box-sizing: border-box; }
:where(.mhx) img { max-width: 100%; height: auto; display: block; }
.mhx a { text-decoration: none; transition: color .25s var(--mhx-ease), background-color .25s var(--mhx-ease), border-color .25s var(--mhx-ease); }
.mhx button { font-family: inherit; }
.mhx svg { flex-shrink: 0; }
.mhx-empty { padding: 24px; border: 1px dashed var(--mhx-border); border-radius: var(--mhx-radius); text-align: center; color: var(--mhx-text); background: var(--mhx-section); }

/* ---------- Encabezado moderno ---------- */
.mhx-heading { text-align: center; }
.mhx-heading__sub { margin: 0 0 12px; font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mhx-primary); line-height: 1.4; }
.mhx-sub-pill .mhx-heading__sub span { display: inline-block; padding: 6px 14px; border-radius: 99px; background: color-mix(in srgb, var(--mhx-primary) 12%, transparent); }
.mhx-sub-lines .mhx-heading__sub { display: flex; align-items: center; gap: 12px; justify-content: var(--mhx-justify, center); }
.mhx-sub-lines .mhx-heading__sub::before, .mhx-sub-lines .mhx-heading__sub::after { content: ""; width: 32px; height: 2px; background: currentColor; opacity: .7; }
.mhx-heading__title { margin: 0 0 18px; font-size: clamp(28px, 3.2vw, 42px); line-height: 1.2; font-weight: 700; color: var(--mhx-heading); }
.mhx-heading__title a { color: inherit; }
.mhx-heading--hl-color .mhx-hl { color: var(--mhx-hl); }
.mhx-heading--hl-gradient .mhx-hl { background: linear-gradient(90deg, var(--mhx-hl), var(--mhx-hl2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mhx-heading__divider { --mhx-div-w: 60px; --mhx-div-h: 3px; --mhx-div-color: var(--mhx-primary); display: flex; align-items: center; gap: 10px; margin: 0 0 18px; justify-content: var(--mhx-justify, center); }
.mhx-heading__line { display: block; width: var(--mhx-div-w); height: var(--mhx-div-h); background: var(--mhx-div-color); border-radius: 99px; }
.mhx-heading--div-double .mhx-heading__line { height: calc(var(--mhx-div-h) * 3); background: transparent; border-top: var(--mhx-div-h) solid var(--mhx-div-color); border-bottom: var(--mhx-div-h) solid var(--mhx-div-color); border-radius: 0; }
.mhx-heading--div-icon .mhx-heading__line { width: calc(var(--mhx-div-w) / 1.5); height: 1px; opacity: .6; }
.mhx-heading__dicon { color: var(--mhx-div-color); font-size: 16px; line-height: 1; display: inline-flex; }
.mhx-heading__dicon svg { width: 16px; height: 16px; fill: currentColor; }
.mhx-heading__divider i { width: calc(var(--mhx-div-h) * 2.4); height: calc(var(--mhx-div-h) * 2.4); border-radius: 50%; background: var(--mhx-div-color); display: block; }
.mhx-heading__divider i:nth-child(2) { opacity: .6; }
.mhx-heading__divider i:nth-child(3) { opacity: .3; }
.mhx-heading__desc { font-size: 17px; line-height: 1.7; max-width: 680px; color: var(--mhx-text); }
.mhx-heading__desc p:last-child { margin-bottom: 0; }

.mhx-heading { --mhx-justify: center; }
.mhx-heading .mhx-heading__desc { margin-left: var(--mhx-ml, auto); margin-right: var(--mhx-mr, auto); }

/* ---------- Texto animado ---------- */
.mhx-anim { margin: 0; font-size: clamp(28px, 3.4vw, 46px); line-height: 1.3; font-weight: 700; color: var(--mhx-heading); }
.mhx-anim__words { color: var(--mhx-primary); white-space: nowrap; }
.mhx-anim__clip { display: inline-block; vertical-align: bottom; }
.mhx-anim__word { display: none; white-space: nowrap; }
.mhx-anim__word.is-active { display: inline-block; }
.mhx-anim--fade .mhx-anim__word.is-active { animation: mhx-fade .6s var(--mhx-ease); }
.mhx-anim--slide .mhx-anim__clip, .mhx-anim--slide-down .mhx-anim__clip { overflow: hidden; padding-bottom: .14em; margin-bottom: -.14em; }
.mhx-anim--slide .mhx-anim__word.is-active { animation: mhx-slide-up .55s var(--mhx-ease); }
.mhx-anim--slide-down .mhx-anim__word.is-active { animation: mhx-slide-down .55s var(--mhx-ease); }
.mhx-anim--zoom .mhx-anim__word.is-active { animation: mhx-zoom .5s var(--mhx-ease); }
.mhx-anim--flip .mhx-anim__clip { perspective: 500px; }
.mhx-anim--flip .mhx-anim__word.is-active { animation: mhx-flip .6s var(--mhx-ease); transform-origin: 50% 100%; }
.mhx-anim--blur .mhx-anim__word.is-active { animation: mhx-blur .7s var(--mhx-ease); }
.mhx-anim--wipe .mhx-anim__word.is-active { animation: mhx-wipe .8s var(--mhx-ease); }
.mhx-anim--typing .mhx-anim__clip::after { content: ""; display: inline-block; width: .07em; height: .9em; margin-left: .06em; vertical-align: -.08em; background: currentColor; animation: mhx-blink 1s steps(1) infinite; }
@keyframes mhx-slide-down { from { opacity: 0; transform: translateY(-70%); } to { opacity: 1; transform: none; } }
@keyframes mhx-flip { from { opacity: 0; transform: rotateX(90deg); } to { opacity: 1; transform: none; } }
@keyframes mhx-blur { from { opacity: 0; filter: blur(10px); } to { opacity: 1; filter: none; } }
@keyframes mhx-wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

/* ---------- Resaltados dibujados (círculo, subrayado, marcador…) ---------- */
.mhx { --mhx-hl-color: var(--mhx-hl); --mhx-hl-w: 7; --mhx-hl-dur: 1200ms; }
.mhx-hlw { position: relative; display: inline-block; isolation: isolate; white-space: nowrap; }
.mhx-draw { position: absolute; left: -4%; top: -25%; width: 108%; height: 150%; overflow: visible; pointer-events: none; z-index: 1; }
.elementor-widget:not(.mhx-hl-front-yes) .mhx-draw, .mhx-draw--behind { z-index: -1; }
.mhx-draw--circle, .mhx-draw--circle_2 { left: -10%; width: 120%; top: -34%; height: 168%; }
.mhx-draw--box, .mhx-draw--brackets { left: -6%; width: 112%; }
.mhx-draw path { fill: none; stroke: var(--mhx-hl-color); stroke-width: calc(var(--mhx-hl-w) * 1px); stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 2; stroke-dashoffset: 0; }
.mhx-draw--marker { opacity: var(--mhx-hl-opacity, .35); }
.mhx-draw--marker path { stroke-width: calc(var(--mhx-hl-w) * 5px); }
.mhx-draw--bold { opacity: var(--mhx-hl-opacity, 1); }
.mhx-draw--bold path { stroke-width: calc(var(--mhx-hl-w) * 13px); stroke-linecap: butt; }
.mhx-hlw--bold { color: #fff; padding: 0 .15em; }
.mhx-hl-ready .mhx-draw path { stroke-dashoffset: 1; opacity: 0; }
.mhx-hl-ready.is-drawn .mhx-draw path { animation: mhx-draw var(--mhx-hl-dur, 1200ms) cubic-bezier(.6, .05, .3, 1) both; }
.mhx-hl-ready.is-drawn .mhx-draw path + path { animation-delay: calc(var(--mhx-hl-dur, 1200ms) * .6); }
@keyframes mhx-draw { 0% { stroke-dashoffset: 1; opacity: 0; } 1% { opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 1; } }
@keyframes mhx-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes mhx-slide-up { from { opacity: 0; transform: translateY(70%); } to { opacity: 1; transform: none; } }
@keyframes mhx-zoom { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
@keyframes mhx-blink { 50% { opacity: 0; } }

/* ---------- Botón ---------- */
.mhx-btn-wrap { --mhx-btn-w: auto; }
.mhx-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: var(--mhx-btn-w); padding: 14px 28px; font-size: 15px; font-weight: 600; line-height: 1.2; border: 2px solid var(--mhx-primary); background: var(--mhx-primary); color: #fff; cursor: pointer; overflow: hidden; isolation: isolate; transition: transform .3s var(--mhx-ease), box-shadow .3s var(--mhx-ease), background-color .3s, color .3s, border-color .3s; }
.mhx .mhx-btn { color: #fff; }
.mhx-btn__icon { display: inline-flex; line-height: 1; transition: transform .3s var(--mhx-ease); }
.mhx-btn__icon svg { width: 1em; height: 1em; fill: currentColor; }
.mhx-btn--xs { padding: 7px 14px; font-size: 12px; }
.mhx-btn--sm { padding: 10px 20px; font-size: 13px; }
.mhx-btn--lg { padding: 17px 36px; font-size: 16px; }
.mhx-btn--xl { padding: 21px 46px; font-size: 18px; }
.mhx-btn--square { border-radius: 0; }
.mhx-btn--round { border-radius: 8px; }
.mhx-btn--pill { border-radius: 99px; }
.mhx-btn--solid:hover { background: color-mix(in srgb, var(--mhx-primary) 85%, #000); border-color: color-mix(in srgb, var(--mhx-primary) 85%, #000); color: #fff; }
.mhx .mhx-btn--outline { background: transparent; color: var(--mhx-primary); }
.mhx .mhx-btn--outline:hover { background: var(--mhx-primary); color: #fff; }
.mhx-btn--gradient { border: 0; background: linear-gradient(110deg, var(--mhx-primary), var(--mhx-primary-2)); background-size: 160% 100%; background-position: 0 0; transition: background-position .5s var(--mhx-ease), transform .3s var(--mhx-ease), box-shadow .3s; }
.mhx-btn--gradient:hover { background-position: 100% 0; color: #fff; }
.mhx .mhx-btn--soft { background: color-mix(in srgb, var(--mhx-primary) 12%, transparent); border-color: transparent; color: var(--mhx-primary); }
.mhx .mhx-btn--soft:hover { background: var(--mhx-primary); color: #fff; }
.mhx .mhx-btn--link { background: transparent; border-color: transparent; color: var(--mhx-primary); padding-left: 0; padding-right: 0; }
.mhx .mhx-btn--link:hover { color: var(--mhx-heading); }
.mhx-btn--hover-lift:hover { transform: translateY(-3px); box-shadow: 0 14px 26px -12px color-mix(in srgb, var(--mhx-primary) 70%, transparent); }
.mhx-btn--hover-shine::before { content: ""; position: absolute; top: 0; left: -75%; width: 50%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-20deg); z-index: 1; pointer-events: none; }
.mhx-btn--hover-shine:hover::before { animation: mhx-shine .8s var(--mhx-ease); }
.mhx-btn--hover-fill { z-index: 0; }
.mhx-btn--hover-fill::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: var(--mhx-heading); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--mhx-ease); z-index: -1; }
.mhx-btn--hover-fill:hover::after { transform: scaleX(1); transform-origin: left; }
.mhx-btn--hover-fill:hover { border-color: var(--mhx-heading); color: #fff !important; }
.mhx-btn--hover-icon:hover .mhx-btn__icon { transform: translateX(5px); }
.mhx-btn--hover-pulse { animation: mhx-pulse 2s infinite; }
@keyframes mhx-shine { to { left: 130%; } }
@keyframes mhx-pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--mhx-primary) 55%, transparent); } 70% { box-shadow: 0 0 0 14px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

/* ---------- Caja de información ---------- */
.mhx-ibox { --mhx-icon-size: 30px; --mhx-icon-box: 72px; --mhx-media-gap: 22px; display: flex; flex-direction: column; gap: var(--mhx-media-gap); height: 100%; padding: 36px 30px; background: #fff; border: 1px solid var(--mhx-border); border-radius: var(--mhx-radius); text-align: center; color: inherit; transition: transform .35s var(--mhx-ease), box-shadow .35s var(--mhx-ease), background-color .35s, border-color .35s; }
a.mhx-ibox { color: inherit; }
.mhx-ibox:hover { box-shadow: var(--mhx-shadow-lg); }
.mhx-ibox--left { flex-direction: row; text-align: left; align-items: flex-start; }
.mhx-ibox--right { flex-direction: row-reverse; text-align: right; align-items: flex-start; }
.mhx-ibox__media { display: flex; justify-content: var(--mhx-justify, center); flex-shrink: 0; }
.mhx-ibox--left .mhx-ibox__media, .mhx-ibox--right .mhx-ibox__media { justify-content: flex-start; }
.mhx-ibox__icon { display: inline-flex; align-items: center; justify-content: center; width: var(--mhx-icon-box); height: var(--mhx-icon-box); font-size: var(--mhx-icon-size); line-height: 1; color: var(--mhx-primary); background: color-mix(in srgb, var(--mhx-primary) 11%, transparent); transition: all .4s var(--mhx-ease); }
.mhx-ibox__icon svg { width: var(--mhx-icon-size); height: var(--mhx-icon-size); fill: currentColor; }
.mhx-ibox__icon--num { font-weight: 800; }
.mhx-ibox--shape-circle .mhx-ibox__icon { border-radius: 50%; }
.mhx-ibox--shape-rounded .mhx-ibox__icon { border-radius: 18px; }
.mhx-ibox--shape-square .mhx-ibox__icon { border-radius: 0; }
.mhx-ibox--shape-none .mhx-ibox__icon { background: transparent !important; width: auto; height: auto; }
.mhx-ibox--shape-outline .mhx-ibox__icon { border-radius: 50%; background: transparent; border: 2px solid currentColor; }
.mhx-ibox:hover .mhx-ibox__icon { background: var(--mhx-primary); color: #fff; }
.mhx-ibox--shape-none:hover .mhx-ibox__icon { color: var(--mhx-primary); }
.mhx-ianim-rotate .mhx-ibox:hover .mhx-ibox__icon > * { transform: rotate(360deg); transition: transform .6s var(--mhx-ease); }
.mhx-ianim-grow .mhx-ibox:hover .mhx-ibox__icon { transform: scale(1.12); }
.mhx-ianim-bounce .mhx-ibox:hover .mhx-ibox__icon { animation: mhx-bounce .7s var(--mhx-ease); }
@keyframes mhx-bounce { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-10px); } 70% { transform: translateY(-4px); } }
.mhx-ibox__media img { border-radius: 10px; }
.mhx-ibox__body { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.mhx-ibox__title { margin: 0 0 10px; font-size: 21px; font-weight: 700; line-height: 1.3; color: var(--mhx-heading); transition: color .3s; }
.mhx-ibox__title a { color: inherit; }
.mhx-ibox__text { margin: 0 0 16px; font-size: 15.5px; line-height: 1.7; color: var(--mhx-text); }
.mhx-ibox__text:last-child { margin-bottom: 0; }
.mhx-ibox__link { margin-top: auto; align-self: var(--mhx-justify, center); display: inline-flex; gap: 6px; font-weight: 600; font-size: 15px; color: var(--mhx-primary); border: 2px solid transparent; }
.mhx-ibox--left .mhx-ibox__link { align-self: flex-start; }
.mhx-ibox--right .mhx-ibox__link { align-self: flex-end; }
.mhx-ibox__link span { transition: transform .3s var(--mhx-ease); }
.mhx-ibox__link:hover span { transform: translateX(4px); }
.mhx-ibox__link--button { padding: 10px 22px; border-radius: 8px; background: var(--mhx-primary); color: #fff !important; }
.mhx-ibox__link--button:hover { background: var(--mhx-heading); }

/* ---------- Lista con íconos ---------- */
.mhx-list { --mhx-icon-size: 12px; --mhx-gap: 12px; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--mhx-gap); align-items: var(--mhx-justify, stretch); }
.mhx-list > li { margin: 0; padding: 0; }
.mhx-list--inline { flex-direction: row; flex-wrap: wrap; column-gap: calc(var(--mhx-gap) * 2); justify-content: var(--mhx-justify, flex-start); }
.mhx-list--columns { display: grid; grid-template-columns: repeat(var(--mhx-cols), minmax(0, 1fr)); column-gap: calc(var(--mhx-gap) * 2); }
.mhx-list__item { display: flex; align-items: flex-start; gap: 12px; color: var(--mhx-text); }
.mhx-list--divider > li { padding-bottom: var(--mhx-gap); border-bottom: 1px solid var(--mhx-border); }
.mhx-list--divider > li:last-child { border-bottom: 0; padding-bottom: 0; }
.mhx-list__icon { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: var(--mhx-icon-size); color: var(--mhx-primary); line-height: 1; margin-top: .2em; }
.mhx-list__icon svg { width: var(--mhx-icon-size); height: var(--mhx-icon-size); fill: currentColor; }
.mhx-list--icon-circle .mhx-list__icon, .mhx-list--icon-solid .mhx-list__icon { width: calc(var(--mhx-icon-size) * 2.1); height: calc(var(--mhx-icon-size) * 2.1); border-radius: 50%; background: color-mix(in srgb, var(--mhx-primary) 13%, transparent); margin-top: 0; }
.mhx-list--icon-solid .mhx-list__icon { background: var(--mhx-primary); color: #fff; }
.mhx-list__content { display: flex; flex-direction: column; gap: 2px; padding-top: .1em; }
.mhx-list__text { font-size: 16px; font-weight: 500; line-height: 1.5; color: var(--mhx-heading); }
.mhx-list__desc { font-size: 14px; line-height: 1.55; color: var(--mhx-text); }
a.mhx-list__item:hover .mhx-list__text { color: var(--mhx-primary); }

/* ---------- Divisor ---------- */
.mhx-divider { --mhx-div-color: var(--mhx-border); --mhx-div-h: 2px; display: flex; align-items: center; gap: 16px; width: 100%; padding: 15px 0; margin: 0 auto; }
.mhx-divider__line { flex: 1; height: 0; border-top: var(--mhx-div-h) solid var(--mhx-div-color); }
.mhx-divider--dashed .mhx-divider__line { border-top-style: dashed; }
.mhx-divider--dotted .mhx-divider__line { border-top-style: dotted; }
.mhx-divider--double .mhx-divider__line { border-top-style: double; border-top-width: calc(var(--mhx-div-h) * 3); }
.mhx-divider--gradient .mhx-divider__line { border: 0; height: var(--mhx-div-h); background: linear-gradient(90deg, transparent, var(--mhx-div-color)); }
.mhx-divider--gradient .mhx-divider__line:last-child:not(:first-child) { background: linear-gradient(90deg, var(--mhx-div-color), transparent); }
.mhx-divider--gradient .mhx-divider__line:only-child { background: linear-gradient(90deg, transparent, var(--mhx-div-color), transparent); }
.mhx-divider--wave .mhx-divider__line { border: 0; height: 10px; background: radial-gradient(circle at 5px -2px, transparent 5px, var(--mhx-div-color) 5.5px, var(--mhx-div-color) calc(5.5px + var(--mhx-div-h)), transparent calc(6px + var(--mhx-div-h))) 0 0 / 10px 10px repeat-x; }
.mhx-divider__el { display: inline-flex; align-items: center; color: var(--mhx-primary); font-size: 18px; line-height: 1; font-weight: 600; }
.mhx-divider__el svg { width: 18px; height: 18px; fill: currentColor; }

/* ---------- Cita ---------- */
.mhx-quote { position: relative; margin: 0; padding: 4px 0 4px 28px; border-left: 4px solid var(--mhx-primary); }
.mhx-quote__mark { width: 46px; height: 46px; color: var(--mhx-primary); opacity: .9; margin-bottom: 14px; display: block; }
.mhx-quote__text { margin: 0 0 18px; padding: 0; border: 0; font-size: 22px; line-height: 1.55; font-style: italic; font-weight: 500; color: var(--mhx-heading); background: none; }
.mhx-quote__text::before, .mhx-quote__text::after { content: none !important; }
.mhx-quote__cite { display: flex; flex-direction: column; gap: 2px; font-style: normal; }
.mhx-quote__author { font-weight: 700; color: var(--mhx-heading); font-size: 16px; }
.mhx-quote__role { font-size: 14px; color: var(--mhx-text); }
.mhx-quote--mark { border-left: 0; padding-left: 0; }
.mhx-quote--box { border-left: 0; padding: 40px 40px 36px; border-radius: var(--mhx-radius); background: var(--mhx-section); }
.mhx-quote--box .mhx-quote__mark { position: absolute; top: -20px; right: 30px; width: 54px; height: 54px; padding: 12px; background: var(--mhx-primary); color: #fff; border-radius: 50%; margin: 0; }
.mhx-quote--center { border-left: 0; padding-left: 0; text-align: center; }
.mhx-quote--center .mhx-quote__mark { margin: 0 auto 16px; }
.mhx-quote--center .mhx-quote__cite { align-items: center; }

/* ---------- Acordeón ---------- */
.mhx-acc { display: flex; flex-direction: column; gap: var(--mhx-gap, 12px); }
.mhx-acc__item { border: 1px solid var(--mhx-border); border-radius: var(--mhx-radius); background: #fff; overflow: hidden; transition: box-shadow .3s, border-color .3s; }
.mhx-acc__item.is-open { box-shadow: var(--mhx-shadow); border-color: transparent; }
.mhx-acc__heading { margin: 0; padding: 0; font-size: inherit; line-height: inherit; }
.mhx .mhx-acc__btn { all: unset; box-sizing: border-box; display: flex; align-items: center; gap: 14px; width: 100%; padding: 20px 24px; cursor: pointer; font-size: 17px; font-weight: 600; line-height: 1.4; color: var(--mhx-heading); transition: color .25s, background-color .25s; }
.mhx .mhx-acc__btn:focus-visible { outline: 2px solid var(--mhx-primary); outline-offset: -2px; }
.mhx-acc__item.is-open .mhx-acc__btn { color: var(--mhx-primary); }
.mhx-acc__title { flex: 1; }
.mhx-acc__ticon { display: inline-flex; color: var(--mhx-primary); }
.mhx-acc__ticon svg { width: 1em; height: 1em; fill: currentColor; }
.mhx-acc__ind { position: relative; width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%; background: var(--mhx-soft); transition: background-color .3s, transform .35s var(--mhx-ease); }
.mhx-acc__item.is-open .mhx-acc__ind { background: var(--mhx-primary); }
.mhx-acc--ind-plus .mhx-acc__ind::before, .mhx-acc--ind-plus .mhx-acc__ind::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 2px; margin: -1px 0 0 -5.5px; background: var(--mhx-heading); border-radius: 2px; transition: transform .35s var(--mhx-ease), background-color .3s; }
.mhx-acc--ind-plus .mhx-acc__ind::after { transform: rotate(90deg); }
.mhx-acc--ind-plus .mhx-acc__item.is-open .mhx-acc__ind::before, .mhx-acc--ind-plus .mhx-acc__item.is-open .mhx-acc__ind::after { background: #fff; }
.mhx-acc--ind-plus .mhx-acc__item.is-open .mhx-acc__ind::after { transform: rotate(0deg); }
.mhx-acc--ind-chevron .mhx-acc__ind::before { content: ""; position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; margin: -5px 0 0 -3.5px; border-right: 2px solid var(--mhx-heading); border-bottom: 2px solid var(--mhx-heading); transform: rotate(45deg); }
.mhx-acc--ind-chevron .mhx-acc__item.is-open .mhx-acc__ind { transform: rotate(180deg); }
.mhx-acc--ind-chevron .mhx-acc__item.is-open .mhx-acc__ind::before { border-color: #fff; }
.mhx-acc--icon-left .mhx-acc__ind { order: -1; }
.mhx-acc__panel { overflow: hidden; transition: height .35s var(--mhx-ease); }
.mhx-acc__panel[hidden] { display: none; }
.mhx-acc__inner { padding: 0 24px 22px; font-size: 15.5px; line-height: 1.75; color: var(--mhx-text); }
.mhx-acc__inner > :last-child { margin-bottom: 0; }
.mhx-acc--boxed { gap: 0 !important; border: 1px solid var(--mhx-border); border-radius: var(--mhx-radius); overflow: hidden; }
.mhx-acc--boxed .mhx-acc__item { border: 0; border-bottom: 1px solid var(--mhx-border); border-radius: 0; box-shadow: none; }
.mhx-acc--boxed .mhx-acc__item:last-child { border-bottom: 0; }
.mhx-acc--boxed .mhx-acc__item.is-open { background: var(--mhx-section); }
.mhx-acc--minimal { gap: 0 !important; }
.mhx-acc--minimal .mhx-acc__item { border: 0; border-bottom: 1px solid var(--mhx-border); border-radius: 0; background: transparent; box-shadow: none; }
.mhx-acc--minimal .mhx .mhx-acc__btn, .mhx-acc--minimal .mhx-acc__btn { padding-left: 0 !important; padding-right: 0 !important; }
.mhx-acc--minimal .mhx-acc__inner { padding-left: 0; padding-right: 0; }

/* ---------- Pestañas ---------- */
.mhx-tabs__nav { display: flex; flex-wrap: wrap; gap: 8px; justify-content: var(--mhx-justify, flex-start); margin-bottom: 24px; }
.mhx .mhx-tabs__tab { all: unset; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 12px 22px; cursor: pointer; font-weight: 600; font-size: 15px; line-height: 1.3; color: var(--mhx-text); border-radius: 99px; flex-grow: var(--mhx-tab-grow, 0); transition: color .25s, background-color .25s, box-shadow .25s; }
.mhx .mhx-tabs__tab:focus-visible { outline: 2px solid var(--mhx-primary); outline-offset: 2px; }
.mhx-tabs__icon { display: inline-flex; }
.mhx-tabs__icon svg { width: 1em; height: 1em; fill: currentColor; }
.mhx-tabs--pills .mhx-tabs__tab { background: var(--mhx-soft); }
.mhx-tabs--pills .mhx-tabs__tab:hover { color: var(--mhx-primary); }
.mhx-tabs--pills .mhx-tabs__tab.is-active { background: var(--mhx-primary); color: #fff; box-shadow: 0 10px 22px -12px color-mix(in srgb, var(--mhx-primary) 80%, transparent); }
.mhx-tabs--underline .mhx-tabs__nav { gap: 6px; border-bottom: 2px solid var(--mhx-border); }
.mhx-tabs--underline .mhx-tabs__tab { border-radius: 0; margin-bottom: -2px; border-bottom: 2px solid transparent; padding-left: 18px; padding-right: 18px; }
.mhx-tabs--underline .mhx-tabs__tab.is-active { color: var(--mhx-primary); border-bottom-color: var(--mhx-primary); }
.mhx-tabs--boxed .mhx-tabs__nav { gap: 0; margin-bottom: 0; }
.mhx-tabs--boxed .mhx-tabs__tab { border-radius: 10px 10px 0 0; border: 1px solid transparent; border-bottom: 0; }
.mhx-tabs--boxed .mhx-tabs__tab.is-active { background: #fff; border-color: var(--mhx-border); color: var(--mhx-heading); position: relative; z-index: 1; margin-bottom: -1px; }
.mhx-tabs--boxed .mhx-tabs__panels { border: 1px solid var(--mhx-border); padding: 28px; background: #fff; border-radius: 0 var(--mhx-radius) var(--mhx-radius) var(--mhx-radius); }
.mhx-tabs__panel { font-size: 16px; line-height: 1.75; color: var(--mhx-text); }
.mhx-tabs__panel[hidden] { display: none; }
.mhx-tabs__panel:not([hidden]) { animation: mhx-fade .4s var(--mhx-ease); }
.mhx-tabs__panel > :last-child { margin-bottom: 0; }
.mhx-tabs--vertical { --mhx-nav-w: 240px; display: grid; grid-template-columns: var(--mhx-nav-w) 1fr; gap: 32px; align-items: start; }
.mhx-tabs--vertical .mhx-tabs__nav { flex-direction: column; margin-bottom: 0; }
.mhx-tabs--vertical .mhx-tabs__tab { justify-content: flex-start; border-radius: 10px; }
.mhx-tabs--vertical.mhx-tabs--underline .mhx-tabs__nav { border-bottom: 0; border-right: 2px solid var(--mhx-border); }
.mhx-tabs--vertical.mhx-tabs--underline .mhx-tabs__tab { border-bottom: 0; border-right: 2px solid transparent; margin: 0 -2px 0 0; border-radius: 0; }
.mhx-tabs--vertical.mhx-tabs--underline .mhx-tabs__tab.is-active { border-right-color: var(--mhx-primary); }
.mhx-tabs--vertical.mhx-tabs--boxed .mhx-tabs__tab { border-radius: 10px 0 0 10px; border: 1px solid transparent; border-right: 0; }
.mhx-tabs--vertical.mhx-tabs--boxed .mhx-tabs__tab.is-active { margin: 0 -1px 0 0; }
.mhx-tabs--vertical.mhx-tabs--boxed { gap: 0; }
@media (max-width: 767px) {
	.mhx-tabs--vertical { grid-template-columns: 1fr; gap: 16px; }
	.mhx-tabs--vertical .mhx-tabs__nav { flex-direction: row; flex-wrap: wrap; border-right: 0 !important; }
	.mhx-tabs__nav { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
	.mhx-tabs__nav::-webkit-scrollbar { display: none; }
	.mhx .mhx-tabs__tab { white-space: nowrap; }
}

/* ---------- Pasos ---------- */
.mhx-steps { --mhx-marker: 64px; --mhx-line: var(--mhx-border); list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; counter-reset: none; }
.mhx-steps--horizontal { grid-template-columns: repeat(var(--mhx-count), minmax(0, 1fr)); text-align: center; }
.mhx-steps__item { position: relative; margin: 0; padding: 0; }
.mhx-steps__marker { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; width: var(--mhx-marker); height: var(--mhx-marker); border-radius: 50%; background: #fff; border: 2px solid var(--mhx-primary); color: var(--mhx-primary); font-weight: 800; font-size: calc(var(--mhx-marker) * .32); line-height: 1; box-shadow: 0 0 0 6px #fff; transition: background-color .3s, color .3s, transform .3s var(--mhx-ease); }
.mhx-steps__marker svg { width: calc(var(--mhx-marker) * .38); height: calc(var(--mhx-marker) * .38); fill: currentColor; }
.mhx-steps__item:hover .mhx-steps__marker { background: var(--mhx-primary); color: #fff; transform: translateY(-3px); }
.mhx-steps--line.mhx-steps--horizontal .mhx-steps__item:not(:last-child)::after { content: ""; position: absolute; top: calc(var(--mhx-marker) / 2); left: calc(50% + var(--mhx-marker) / 2 + 8px); right: calc(-50% - 14px + var(--mhx-marker) / 2 + 8px); border-top: 2px dashed var(--mhx-line); }
.mhx-steps__body { margin-top: 18px; }
.mhx-steps__title { margin: 0 0 8px; font-size: 19px; font-weight: 700; line-height: 1.35; color: var(--mhx-heading); }
.mhx-steps__text { margin: 0; font-size: 15px; line-height: 1.7; color: var(--mhx-text); }
.mhx-steps--vertical { gap: 0; }
.mhx-steps--vertical .mhx-steps__item { display: flex; gap: 22px; padding-bottom: 30px; }
.mhx-steps--vertical .mhx-steps__item:last-child { padding-bottom: 0; }
.mhx-steps--vertical .mhx-steps__body { margin-top: calc(var(--mhx-marker) / 2 - 14px); }
.mhx-steps--vertical .mhx-steps__marker { flex-shrink: 0; }
.mhx-steps--line.mhx-steps--vertical .mhx-steps__item:not(:last-child)::after { content: ""; position: absolute; left: calc(var(--mhx-marker) / 2 - 1px); top: calc(var(--mhx-marker) + 6px); bottom: 6px; border-left: 2px dashed var(--mhx-line); }
@media (max-width: 767px) {
	.mhx-steps--horizontal { grid-template-columns: 1fr; }
	.mhx-steps--line.mhx-steps--horizontal .mhx-steps__item:not(:last-child)::after { display: none; }
}

/* ---------- Contador ---------- */
.mhx-counter { display: flex; flex-direction: column; align-items: var(--mhx-justify, center); gap: 14px; text-align: center; height: 100%; transition: transform .35s var(--mhx-ease), box-shadow .35s; }
.mhx-counter--inline { flex-direction: row; text-align: left; align-items: center; justify-content: var(--mhx-justify, center); }
.mhx-counter__icon { display: inline-flex; color: var(--mhx-primary); font-size: 36px; line-height: 1; }
.mhx-counter__icon svg { width: 36px; height: 36px; fill: currentColor; }
.mhx-counter__number { display: flex; align-items: baseline; justify-content: var(--mhx-justify, center); font-size: clamp(36px, 4vw, 52px); font-weight: 800; line-height: 1.05; color: var(--mhx-heading); font-variant-numeric: tabular-nums; }
.mhx-counter__affix { color: var(--mhx-primary); }
.mhx-counter__title { font-size: 15px; font-weight: 500; letter-spacing: .02em; color: var(--mhx-text); margin-top: 6px; }
.mhx-counter__body { display: flex; flex-direction: column; align-items: inherit; }

/* ---------- Gráfico circular ---------- */
.mhx-chart { text-align: center; }
.mhx-chart__circle { position: relative; display: inline-block; width: 180px; height: 180px; margin-bottom: 16px; vertical-align: top; }
.mhx-chart__circle svg { width: 100%; height: 100%; display: block; overflow: visible; }
.mhx-chart__track { fill: none; stroke: var(--mhx-soft); }
.mhx-chart__bar { fill: none; transition: stroke-dashoffset 0s; }
.mhx-chart__inner { position: absolute; top: 0; right: 0; bottom: 0; left: 0; display: flex; align-items: center; justify-content: center; font-size: 34px; font-weight: 800; color: var(--mhx-heading); line-height: 1; }
.mhx-chart__inner svg { width: 40px; height: 40px; fill: var(--mhx-primary); }
.mhx-chart__inner i { color: var(--mhx-primary); font-size: 40px; }
.mhx-chart__title { margin-bottom: 6px; font-size: 18px; font-weight: 700; color: var(--mhx-heading); }
.mhx-chart__desc { margin: 0; font-size: 15px; line-height: 1.65; }

/* ---------- Imagen ---------- */
.mhx-img-wrap { text-align: center; }
.mhx-img { display: inline-block; margin: 0; max-width: 100%; vertical-align: top; text-align: left; }
.mhx-img__frame { --mhx-overlay: transparent; position: relative; display: block; overflow: hidden; border-radius: var(--mhx-radius); isolation: isolate; transition: transform .4s var(--mhx-ease), box-shadow .4s; }
.mhx-img__frame img { width: 100%; transition: transform .7s var(--mhx-ease), filter .5s; }
.mhx-img__frame::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: var(--mhx-overlay); opacity: 0; transition: opacity .4s; pointer-events: none; }
.mhx-img__frame:hover::after { opacity: 1; }
.mhx-img--hover-zoom .mhx-img__frame:hover img { transform: scale(1.08); }
.mhx-img--hover-zoom-out .mhx-img__frame img { transform: scale(1.1); }
.mhx-img--hover-zoom-out .mhx-img__frame:hover img { transform: scale(1); }
.mhx-img--hover-gray .mhx-img__frame img { filter: grayscale(1); }
.mhx-img--hover-gray .mhx-img__frame:hover img { filter: none; }
.mhx-img--hover-lift .mhx-img__frame:hover { transform: translateY(-6px); box-shadow: var(--mhx-shadow-lg); }
.mhx-img--hover-shine .mhx-img__frame::before { content: ""; position: absolute; top: 0; left: -80%; width: 50%; height: 100%; z-index: 2; background: linear-gradient(100deg, transparent, rgba(255,255,255,.4), transparent); transform: skewX(-20deg); pointer-events: none; }
.mhx-img--hover-shine .mhx-img__frame:hover::before { animation: mhx-shine .9s var(--mhx-ease); }
.mhx-img__zoom { position: absolute; top: 50%; left: 50%; z-index: 3; display: flex; align-items: center; justify-content: center; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; background: rgba(255,255,255,.95); color: var(--mhx-heading); opacity: 0; transform: scale(.6); transition: opacity .3s, transform .35s var(--mhx-ease); }
.mhx-img__frame:hover .mhx-img__zoom { opacity: 1; transform: none; }
.mhx-img__caption { display: block; margin-top: 10px; font-size: 14px; color: var(--mhx-text); text-align: center; }
.mhx-img--cap-overlay .mhx-img__caption, .mhx-img--cap-hover .mhx-img__caption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; margin: 0; padding: 30px 18px 14px; color: #fff; text-align: left; background: linear-gradient(transparent, rgba(0,0,0,.65)); }
.mhx-img--cap-hover .mhx-img__caption { opacity: 0; transform: translateY(10px); transition: opacity .35s, transform .35s var(--mhx-ease); }
.mhx-img--cap-hover .mhx-img__frame:hover .mhx-img__caption { opacity: 1; transform: none; }

/* ---------- Galería ---------- */
.mhx-gallery { --mhx-ratio: 75%; --mhx-gap: 12px; --mhx-overlay: rgba(20, 30, 45, .35); display: grid; grid-template-columns: repeat(var(--mhx-cols), minmax(0, 1fr)); gap: var(--mhx-gap); }
.mhx-gallery__item { position: relative; display: block; overflow: hidden; border-radius: 10px; background: var(--mhx-soft); cursor: pointer; isolation: isolate; }
div.mhx-gallery__item { cursor: default; }
.mhx-gallery__item.is-hidden { display: none; }
.mhx-gallery--grid .mhx-gallery__item { padding-top: var(--mhx-ratio); }
.mhx-gallery--grid .mhx-gallery__item img, .mhx-gallery--tiles .mhx-gallery__item img { position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.mhx-gallery__item img { transition: transform .7s var(--mhx-ease), filter .5s; }
.mhx-gallery__item::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: var(--mhx-overlay); opacity: 0; transition: opacity .35s; z-index: 1; pointer-events: none; }
.mhx-gallery--hover-zoom .mhx-gallery__item:hover img { transform: scale(1.08); }
.mhx-gallery--hover-gray .mhx-gallery__item img { filter: grayscale(1); }
.mhx-gallery--hover-gray .mhx-gallery__item:hover img { filter: none; }
.mhx-gallery--hover-dark .mhx-gallery__item:hover::after, .mhx-gallery--hover-zoom .mhx-gallery__item:hover::after { opacity: 1; }
.mhx-gallery--masonry { display: block; columns: var(--mhx-cols); column-gap: var(--mhx-gap); }
.mhx-gallery--masonry .mhx-gallery__item { margin-bottom: var(--mhx-gap); break-inside: avoid; }
.mhx-gallery--masonry .mhx-gallery__item img { width: 100%; }
.mhx-gallery--tiles { grid-auto-rows: 220px; grid-auto-flow: dense; }
.mhx-gallery--tiles .mhx-gallery__item:nth-child(6n+1) { grid-column: span 2; grid-row: span 2; }
.mhx-gallery--tiles .mhx-gallery__item:nth-child(6n+5) { grid-column: span 2; }
.mhx-gallery__cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 26px 14px 12px; color: #fff; font-size: 14px; line-height: 1.4; background: linear-gradient(transparent, rgba(0,0,0,.6)); transform: translateY(100%); transition: transform .35s var(--mhx-ease); }
.mhx-gallery__item:hover .mhx-gallery__cap { transform: none; }
.mhx-gallery__more { position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 3; display: flex; align-items: center; justify-content: center; background: rgba(20, 30, 45, .6); color: #fff; font-size: 30px; font-weight: 700; }
@media (max-width: 767px) {
	.mhx-gallery--tiles .mhx-gallery__item:nth-child(n) { grid-column: auto; grid-row: auto; }
	.mhx-gallery--tiles .mhx-gallery__item:nth-child(3n+1) { grid-column: 1 / -1; }
}

/* ---------- Antes y después ---------- */
.mhx-ba { --mhx-pos: 50%; --mhx-handle: #fff; position: relative; overflow: hidden; border-radius: var(--mhx-radius); user-select: none; touch-action: pan-y; cursor: ew-resize; background: var(--mhx-soft); }
.mhx-ba--vertical { cursor: ns-resize; touch-action: pan-x; }
.mhx-ba__img img { width: 100%; pointer-events: none; }
.mhx-ba__img--before { position: absolute; top: 0; right: 0; bottom: 0; left: 0; clip-path: inset(0 calc(100% - var(--mhx-pos)) 0 0); }
.mhx-ba--vertical .mhx-ba__img--before { clip-path: inset(0 0 calc(100% - var(--mhx-pos)) 0); }
.mhx-ba__img--before img { height: 100%; object-fit: cover; }
.mhx-ba__label { position: absolute; top: 16px; z-index: 2; padding: 6px 14px; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #fff; background: rgba(15, 25, 40, .6); border-radius: 99px; pointer-events: none; transition: opacity .3s; }
.mhx-ba__label--before { left: 16px; }
.mhx-ba__label--after { right: 16px; }
.mhx-ba--vertical .mhx-ba__label--after { top: auto; bottom: 16px; left: 16px; right: auto; }
.mhx-ba__handle { position: absolute; top: 0; bottom: 0; left: var(--mhx-pos); z-index: 3; width: 3px; margin-left: -1.5px; background: var(--mhx-handle); box-shadow: 0 0 10px rgba(0,0,0,.25); outline: none; }
.mhx-ba--vertical .mhx-ba__handle { top: var(--mhx-pos); bottom: auto; left: 0; right: 0; width: auto; height: 3px; margin: -1.5px 0 0; }
.mhx-ba__knob { position: absolute; top: 50%; left: 50%; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; background: var(--mhx-handle); color: var(--mhx-heading); box-shadow: 0 6px 18px rgba(0,0,0,.25); transition: transform .25s var(--mhx-ease); }
.mhx-ba--vertical .mhx-ba__knob svg { transform: rotate(90deg); }
.mhx-ba__handle:focus-visible .mhx-ba__knob, .mhx-ba.is-dragging .mhx-ba__knob { transform: scale(1.12); }

/* ---------- Carrusel (motor común) ---------- */
.mhx-carousel { --mhx-per-view: 3; --mhx-gap: 24px; --mhx-arrow: 46px; position: relative; }
.mhx-carousel__track { display: flex; gap: var(--mhx-gap); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; padding: 6px 2px 26px; margin: -6px -2px -26px; }
.mhx-carousel__track::-webkit-scrollbar { display: none; }
.mhx-carousel__slide { flex: 0 0 calc((100% - (var(--mhx-per-view) - 1) * var(--mhx-gap)) / var(--mhx-per-view)); min-width: 0; scroll-snap-align: start; display: flex; }
.mhx-carousel__slide > * { width: 100%; }
.mhx-carousel__nav { pointer-events: none; }
.mhx .mhx-carousel__arrow { pointer-events: auto; position: absolute; top: 50%; z-index: 5; display: flex; align-items: center; justify-content: center; width: var(--mhx-arrow); height: var(--mhx-arrow); margin-top: calc(var(--mhx-arrow) / -2 - 10px); padding: 0; border: 1px solid var(--mhx-border); border-radius: 50%; background: #fff; color: var(--mhx-heading); cursor: pointer; box-shadow: var(--mhx-shadow); transition: background-color .25s, color .25s, opacity .25s, transform .25s var(--mhx-ease), border-color .25s; }
.mhx .mhx-carousel__arrow:hover { background: var(--mhx-primary); border-color: var(--mhx-primary); color: #fff; }
.mhx .mhx-carousel__arrow[disabled] { opacity: .35; cursor: default; }
.mhx-carousel--arrows-sides .mhx-carousel__arrow--prev { left: calc(var(--mhx-arrow) / -2); }
.mhx-carousel--arrows-sides .mhx-carousel__arrow--next { right: calc(var(--mhx-arrow) / -2); }
.mhx-carousel--arrows-inside .mhx-carousel__arrow--prev { left: 16px; }
.mhx-carousel--arrows-inside .mhx-carousel__arrow--next { right: 16px; }
.mhx-carousel--arrows-bottom .mhx-carousel__nav { display: flex; justify-content: center; gap: 12px; margin-top: 22px; }
.mhx-carousel--arrows-bottom .mhx-carousel__arrow { position: static; margin: 0; }
.mhx-carousel__dots { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.mhx-carousel--arrows-bottom .mhx-carousel__dots { margin-top: 14px; }
.mhx .mhx-carousel__dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 99px; background: var(--mhx-border); cursor: pointer; transition: width .35s var(--mhx-ease), background-color .3s; }
.mhx .mhx-carousel__dot.is-active { width: 28px; background: var(--mhx-primary); }
.mhx-carousel.is-static .mhx-carousel__nav, .mhx-carousel.is-static .mhx-carousel__dots { display: none; }
@media (max-width: 1024px) {
	.mhx-carousel--arrows-sides .mhx-carousel__arrow--prev { left: 6px; }
	.mhx-carousel--arrows-sides .mhx-carousel__arrow--next { right: 6px; }
}

/* Fade */
.mhx-carousel--fade .mhx-carousel__track { display: grid; overflow: hidden; scroll-snap-type: none; padding: 0; margin: 0; }
.mhx-carousel--fade .mhx-carousel__slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .9s var(--mhx-ease), visibility 0s .9s; }
.mhx-carousel--fade .mhx-carousel__slide.is-active { opacity: 1; visibility: visible; transition: opacity .9s var(--mhx-ease); z-index: 1; }

/* ---------- Slider ---------- */
.mhx-slider { --mhx-per-view: 1 !important; --mhx-gap: 0px !important; }
.mhx-slider .mhx-carousel__viewport { overflow: hidden; }
.mhx-slider .mhx-carousel__track { padding: 0; margin: 0; }
.mhx-slider .mhx-carousel__dots { position: absolute; left: 0; right: 0; bottom: 22px; z-index: 5; margin: 0; }
.mhx-slider.mhx-carousel--arrows-bottom .mhx-carousel__dots { position: static; }
.mhx .mhx-slider .mhx-carousel__dot { background: rgba(255,255,255,.5); }
.mhx .mhx-slider .mhx-carousel__dot.is-active { background: #fff; }
.mhx-slider .mhx-carousel__arrow { margin-top: calc(var(--mhx-arrow) / -2); background: rgba(255,255,255,.18); color: #fff; border-color: rgba(255,255,255,.35); backdrop-filter: blur(6px); box-shadow: none; }
.mhx-slide { position: relative; display: flex; align-items: center; height: 560px; overflow: hidden; color: #fff; }
.mhx-slide__bg { position: absolute; top: 0; right: 0; bottom: 0; left: 0; background-size: cover; background-position: center; }
.mhx-slider--kb .is-active .mhx-slide__bg, .mhx-slider--kb.mhx-carousel--slide .mhx-slide__bg { animation: mhx-kb 14s ease-out both; }
@keyframes mhx-kb { from { transform: scale(1.12); } to { transform: scale(1); } }
.mhx-slide__overlay { position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: rgba(10, 20, 35, .45); }
.mhx-slide__inner { position: relative; z-index: 2; width: 100%; padding: 60px 8%; }
.mhx-slide__content { max-width: 640px; text-align: left; }
.mhx-slide__inner { display: flex; justify-content: var(--mhx-slide-justify, flex-start); }
.mhx-slide__sub { margin-bottom: 14px; font-size: 14px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #fff; opacity: .9; }
.mhx-slide__title { margin: 0 0 16px; font-size: clamp(30px, 4.6vw, 58px); font-weight: 800; line-height: 1.1; color: #fff; }
.mhx-slide__text { margin: 0 0 28px; font-size: 18px; line-height: 1.6; color: rgba(255,255,255,.9); }
.mhx-slide__btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: var(--mhx-justify, flex-start); }
.mhx-slide__btn { display: inline-flex; align-items: center; padding: 15px 30px; border-radius: 8px; font-weight: 600; font-size: 15px; border: 2px solid var(--mhx-primary); background: var(--mhx-primary); color: #fff !important; transition: all .3s var(--mhx-ease); }
.mhx-slide__btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.mhx-slide__btn--2 { background: transparent; border-color: rgba(255,255,255,.8); }
.mhx-slide__btn--2:hover { background: #fff; color: var(--mhx-heading) !important; }
.mhx-slide__sub, .mhx-slide__title, .mhx-slide__text, .mhx-slide__btns { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--mhx-ease), transform .7s var(--mhx-ease); }
.is-active .mhx-slide__sub, .is-active .mhx-slide__title, .is-active .mhx-slide__text, .is-active .mhx-slide__btns, .mhx-carousel:not(.is-ready) .mhx-carousel__slide:first-child .mhx-slide * { opacity: 1; transform: none; }
.is-active .mhx-slide__title { transition-delay: .12s; }
.is-active .mhx-slide__text { transition-delay: .24s; }
.is-active .mhx-slide__btns { transition-delay: .36s; }
.elementor-editor-active .mhx-slide__sub, .elementor-editor-active .mhx-slide__title, .elementor-editor-active .mhx-slide__text, .elementor-editor-active .mhx-slide__btns { opacity: 1; transform: none; }
@media (max-width: 767px) {
	.mhx-slide { height: 460px; }
	.mhx-slide__inner { padding: 40px 24px 60px; }
	.mhx-slide__text { font-size: 16px; }
}

/* ---------- Video ---------- */
.mhx-video { --mhx-play: 84px; }
.mhx-video__frame { --mhx-ratio: 56.25%; position: relative; padding-top: var(--mhx-ratio); overflow: hidden; border-radius: var(--mhx-radius); background: #0d1520; }
.mhx-video__frame iframe, .mhx-video__frame video { position: absolute; top: 0; left: 0; width: 100% !important; height: 100% !important; max-width: none; border: 0; background: #000; }
.mhx .mhx-video__cover { -webkit-appearance: none; appearance: none; position: absolute; top: 0; left: 0; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 18px; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; border-radius: 0; background: #1b2635; color: #fff; cursor: pointer; overflow: hidden; -webkit-tap-highlight-color: transparent; }
.mhx-video__thumb { position: absolute; top: 0; left: 0; width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover; z-index: 0; }
.mhx .mhx-video__cover::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 1; background: rgba(10, 20, 35, .25); transition: background-color .35s; }
.mhx .mhx-video__cover:hover::after { background: rgba(10, 20, 35, .4); }
.mhx .mhx-video__cover:focus-visible { outline: 3px solid var(--mhx-primary); outline-offset: -3px; }
.mhx-video__play { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; width: var(--mhx-play); height: var(--mhx-play); border-radius: 50%; background: var(--mhx-primary); color: #fff; transition: transform .35s var(--mhx-ease); }
.mhx-video__play svg { width: 38%; height: 38%; margin-left: 6%; }
.mhx-video__cover:hover .mhx-video__play { transform: scale(1.1); }
.mhx-video--pulse .mhx-video__play::before, .mhx-video--pulse .mhx-video__play::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; border-radius: 50%; border: 2px solid var(--mhx-primary); animation: mhx-ring 2.4s ease-out infinite; }
.mhx-video--pulse .mhx-video__play::after { animation-delay: 1.2s; }
@keyframes mhx-ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.9); opacity: 0; } }
.mhx-video__label { position: relative; z-index: 2; color: #fff; font-weight: 600; font-size: 17px; text-shadow: 0 2px 10px rgba(0,0,0,.4); }

/* ---------- Audio ---------- */
.mhx-audio { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: var(--mhx-radius); background: #fff; border: 1px solid var(--mhx-border); box-shadow: var(--mhx-shadow); }
.mhx-audio__cover { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.mhx .mhx-audio__toggle { flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; padding: 0; border: 0; border-radius: 50%; background: var(--mhx-primary); color: #fff; cursor: pointer; transition: transform .25s var(--mhx-ease), filter .25s; }
.mhx .mhx-audio__toggle:hover { transform: scale(1.06); filter: brightness(1.08); }
.mhx-audio__toggle svg { width: 22px; height: 22px; }
.mhx-audio__i-play { margin-left: 3px; }
.mhx-audio__i-pause, .mhx-audio.is-playing .mhx-audio__i-play { display: none; }
.mhx-audio.is-playing .mhx-audio__i-pause { display: block; }
.mhx-audio__main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.mhx-audio__info { display: flex; flex-direction: column; min-width: 0; }
.mhx-audio__title { font-weight: 700; font-size: 16px; color: var(--mhx-heading); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mhx-audio__artist { font-size: 13.5px; color: var(--mhx-text); }
.mhx-audio__progress { display: flex; align-items: center; gap: 10px; }
.mhx-audio__time { font-size: 12.5px; font-variant-numeric: tabular-nums; color: var(--mhx-text); min-width: 34px; }
.mhx-audio__bar { position: relative; flex: 1; height: 6px; border-radius: 99px; background: var(--mhx-soft); cursor: pointer; }
.mhx-audio__bar:focus-visible { outline: 2px solid var(--mhx-primary); outline-offset: 3px; }
.mhx-audio__fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: inherit; background: var(--mhx-primary); }
.mhx-audio__fill::after { content: ""; position: absolute; right: -6px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--mhx-primary); box-shadow: 0 0 0 3px #fff; }
.mhx-audio__el { display: none; }
.mhx-audio:not(.is-ready) .mhx-audio__el { display: block; width: 100%; }
.mhx-audio:not(.is-ready) .mhx-audio__toggle, .mhx-audio:not(.is-ready) .mhx-audio__progress { display: none; }
.mhx-audio:not(.is-ready) { flex-wrap: wrap; }

/* ---------- Testimonios ---------- */
.mhx-testis--grid { display: grid; grid-template-columns: repeat(var(--mhx-cols), minmax(0, 1fr)); gap: var(--mhx-gap); }
.mhx-testi { height: 100%; display: flex; flex-direction: column; }
.mhx-testi__card { position: relative; flex: 1; display: flex; flex-direction: column; padding: 34px 30px 28px; border-radius: var(--mhx-radius); background: #fff; border: 1px solid var(--mhx-border); transition: transform .35s var(--mhx-ease), box-shadow .35s; }
.mhx-testi__card:hover { box-shadow: var(--mhx-shadow-lg); }
.mhx-testi__q { position: absolute; top: 26px; right: 26px; width: 40px; height: 40px; color: var(--mhx-primary); opacity: .15; }
.mhx-stars { display: inline-flex; gap: 3px; color: #F5B021; margin-bottom: 14px; }
.mhx-stars svg { width: 17px; height: 17px; }
.mhx-stars .is-off { opacity: .25; }
.mhx-testi__text { flex: 1; margin: 0 0 22px; padding: 0; border: 0; background: none; font-size: 16px; line-height: 1.75; font-style: normal; color: var(--mhx-text); }
.mhx-testi__text::before, .mhx-testi__text::after { content: none !important; }
.mhx-testi__author { display: flex; align-items: center; gap: 14px; }
.mhx-testi__photo { display: block; width: 56px; height: 56px; max-width: none; aspect-ratio: 1 / 1; border-radius: 50%; object-fit: cover; object-position: center; flex-shrink: 0; overflow: hidden; }
.mhx-testi-photo-rounded .mhx-testi__photo { border-radius: 14px; }
.mhx-testi-photo-square .mhx-testi__photo { border-radius: 0; }
.mhx-testi__photo--initial { display: inline-flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--mhx-primary) 14%, transparent); color: var(--mhx-primary); font-weight: 800; font-size: 20px; }
.mhx-testi__who { display: flex; flex-direction: column; }
.mhx-testi__name { font-weight: 700; font-size: 16px; color: var(--mhx-heading); }
.mhx-testi__role { font-size: 13.5px; color: var(--mhx-text); }
.mhx-testi--bubble .mhx-testi__card { border: 0; background: var(--mhx-section); margin-bottom: 26px; }
.mhx-testi--bubble .mhx-testi__card::after { content: ""; position: absolute; left: 40px; bottom: -14px; width: 28px; height: 28px; background: inherit; transform: rotate(45deg); border-radius: 0 0 6px 0; }
.mhx-testi--bubble .mhx-testi__author { padding-left: 26px; }
.mhx-testi--bubble .mhx-testi__text { margin-bottom: 0; }
.mhx-testi--centered .mhx-testi__card { align-items: center; text-align: center; padding-top: 40px; }
.mhx-testi--centered .mhx-testi__photo { width: 80px; height: 80px; margin-bottom: 16px; box-shadow: 0 0 0 5px color-mix(in srgb, var(--mhx-primary) 15%, transparent); }
.mhx-testi--centered .mhx-testi__q { position: static; opacity: .9; width: 30px; height: 30px; margin-bottom: 10px; }
.mhx-testi--centered .mhx-testi__author { justify-content: center; }
.mhx-testi--centered .mhx-testi__who { align-items: center; }

/* ---------- Equipo ---------- */
.mhx-staff { --mhx-soc: 36px; height: 100%; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--mhx-radius); background: #fff; border: 1px solid var(--mhx-border); transition: transform .35s var(--mhx-ease), box-shadow .35s; }
.mhx-staff:hover { box-shadow: var(--mhx-shadow-lg); }
.mhx-staff__photo { position: relative; overflow: hidden; }
.mhx-staff__photo img { width: 100%; height: 320px; object-fit: cover; transition: transform .7s var(--mhx-ease); }
.mhx-staff:hover .mhx-staff__photo img { transform: scale(1.05); }
.mhx-staff__body { flex: 1; padding: 24px 24px 26px; text-align: center; }
.mhx-staff__name { margin: 0 0 4px; font-size: 20px; font-weight: 700; line-height: 1.3; color: var(--mhx-heading); }
.mhx-staff__name a { color: inherit; }
.mhx-staff__name a:hover { color: var(--mhx-primary); }
.mhx-staff__role { margin-bottom: 12px; font-size: 14px; font-weight: 600; color: var(--mhx-primary); }
.mhx-staff__bio { margin: 0 0 16px; font-size: 15px; line-height: 1.65; }
.mhx-staff__contact { display: flex; flex-direction: column; gap: 4px; margin-bottom: 16px; font-size: 14.5px; }
.mhx-staff__contact a { color: var(--mhx-heading); }
.mhx-staff__contact a:hover { color: var(--mhx-primary); }
.mhx-staff__soc { display: flex; flex-wrap: wrap; gap: 8px; justify-content: var(--mhx-justify, center); }
.mhx-staff__soc a { display: inline-flex; align-items: center; justify-content: center; width: var(--mhx-soc); height: var(--mhx-soc); border-radius: 50%; background: var(--mhx-soft); color: var(--mhx-heading); font-size: calc(var(--mhx-soc) * .42); transition: all .3s var(--mhx-ease); }
.mhx-staff__soc a svg { width: calc(var(--mhx-soc) * .42); height: calc(var(--mhx-soc) * .42); fill: currentColor; }
.mhx-staff__soc a:hover { background: var(--mhx-primary); color: #fff; transform: translateY(-3px); }
.mhx-staff--overlay .mhx-staff__photo .mhx-staff__soc { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 18px; background: linear-gradient(transparent, rgba(10, 20, 35, .7)); opacity: 0; transform: translateY(20px); transition: opacity .35s, transform .35s var(--mhx-ease); }
.mhx-staff--overlay:hover .mhx-staff__soc { opacity: 1; transform: none; }
.mhx-staff--overlay .mhx-staff__soc a { background: #fff; }
.mhx-staff--side { flex-direction: row; }
.mhx-staff--side .mhx-staff__photo { width: 42%; flex-shrink: 0; }
.mhx-staff--side .mhx-staff__photo img { height: 100%; min-height: 260px; }
.mhx-staff--side .mhx-staff__body { text-align: left; display: flex; flex-direction: column; justify-content: center; }
.mhx-staff--side .mhx-staff__soc { justify-content: flex-start; }
.mhx-staff--circle { border: 0; background: transparent; overflow: visible; }
.mhx-staff--circle:hover { box-shadow: none; }
.mhx-staff--circle .mhx-staff__photo { width: 190px; height: 190px; margin: 0 auto; border-radius: 50%; box-shadow: 0 0 0 6px #fff, 0 0 0 7px var(--mhx-border); }
.mhx-staff--circle .mhx-staff__photo img { height: 100%; }
@media (max-width: 600px) {
	.mhx-staff--side { flex-direction: column; }
	.mhx-staff--side .mhx-staff__photo { width: 100%; }
}

/* ---------- Caja de contacto ---------- */
.mhx-contact { padding: 34px; border-radius: var(--mhx-radius); background: #fff; border: 1px solid var(--mhx-border); }
.mhx-contact__title { margin: 0 0 8px; font-size: 24px; font-weight: 700; color: var(--mhx-heading); }
.mhx-contact__intro { margin: 0 0 24px; font-size: 15.5px; line-height: 1.65; }
.mhx-contact__items { --mhx-gap: 18px; list-style: none; margin: 0; padding: 0; display: grid; gap: var(--mhx-gap); }
.mhx-contact--grid .mhx-contact__items { grid-template-columns: repeat(var(--mhx-cols), minmax(0, 1fr)); }
.mhx-contact__item { display: flex; align-items: flex-start; gap: 14px; margin: 0; }
.mhx-contact__icon { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; background: color-mix(in srgb, var(--mhx-primary) 11%, transparent); color: var(--mhx-primary); font-size: 18px; }
.mhx-contact__icon svg { width: 18px; height: 18px; fill: currentColor; }
.mhx-contact__item--whatsapp .mhx-contact__icon { color: #1fa855; background: rgba(37, 211, 102, .13); }
.mhx-contact__text { display: flex; flex-direction: column; gap: 2px; padding-top: 2px; min-width: 0; }
.mhx-contact__label { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mhx-text); opacity: .85; }
.mhx-contact__value { font-size: 16px; line-height: 1.55; color: var(--mhx-heading); font-weight: 500; overflow-wrap: anywhere; }
.mhx-contact__value a { color: inherit; }
.mhx-contact__value a:hover { color: var(--mhx-primary); }

/* ---------- Mapa ---------- */
.mhx-map { position: relative; }
.mhx-map__frame { height: 420px; overflow: hidden; border-radius: var(--mhx-radius); background: var(--mhx-soft); }
.mhx-map__frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.mhx-map-filter-gray .mhx-map__frame iframe { filter: grayscale(1); }
.mhx-map-filter-soft .mhx-map__frame iframe { filter: grayscale(.6) contrast(.95) brightness(1.05); }
.mhx-map-filter-dark .mhx-map__frame iframe { filter: invert(.9) hue-rotate(180deg) grayscale(.3); }
.mhx-map__card { position: absolute; top: 50%; left: 32px; z-index: 2; width: min(340px, calc(100% - 64px)); padding: 26px 26px 24px; transform: translateY(-50%); border-radius: var(--mhx-radius); background: #fff; box-shadow: var(--mhx-shadow-lg); }
.mhx-map--card-right .mhx-map__card { left: auto; right: 32px; }
.mhx-map--card-bottom .mhx-map__card { position: relative; top: auto; left: auto; transform: none; width: auto; margin: -40px 24px 0; }
.mhx-map__title { margin: 0 0 8px; font-size: 20px; font-weight: 700; color: var(--mhx-heading); }
.mhx-map__addr { margin: 0 0 8px; font-weight: 600; color: var(--mhx-heading); line-height: 1.5; }
.mhx-map__text { margin: 0 0 16px; font-size: 14.5px; line-height: 1.6; }
.mhx-map__btn { display: inline-flex; gap: 6px; padding: 11px 20px; border-radius: 8px; background: var(--mhx-primary); color: #fff !important; font-weight: 600; font-size: 14.5px; }
.mhx-map__btn:hover { filter: brightness(1.1); }
@media (max-width: 767px) {
	.mhx-map--card-left .mhx-map__card, .mhx-map--card-right .mhx-map__card { position: relative; top: auto; left: auto; right: auto; transform: none; width: auto; margin: -40px 16px 0; }
}

/* ---------- Entradas ---------- */
.mhx-posts { --mhx-gap: 28px; --mhx-tile-h: 340px; --mhx-tile-overlay: rgba(10, 18, 30, .85); display: grid; grid-template-columns: repeat(var(--mhx-cols), minmax(0, 1fr)); gap: var(--mhx-gap); }
.mhx-posts--carousel { display: block; }
.mhx-post { position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: var(--mhx-radius); background: #fff; border: 1px solid var(--mhx-border); transition: transform .35s var(--mhx-ease), box-shadow .35s; }
.mhx-post:hover { box-shadow: var(--mhx-shadow-lg); }
.mhx-post__media { --mhx-ratio: 66%; position: relative; display: block; padding-top: var(--mhx-ratio); overflow: hidden; background: var(--mhx-soft); }
.mhx-post__media img, .mhx-post__noimg { position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--mhx-ease); }
.mhx-post__noimg { background: linear-gradient(135deg, var(--mhx-soft), var(--mhx-border)); }
.mhx-img-zoom-yes .mhx-post:hover .mhx-post__media img { transform: scale(1.07); }
.mhx-post__body { flex: 1; display: flex; flex-direction: column; align-items: flex-start; padding: 24px 24px 26px; }
.mhx-post__cat { display: inline-block; margin-bottom: 12px; padding: 5px 11px; border-radius: 6px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; line-height: 1.3; background: color-mix(in srgb, var(--mhx-primary) 12%, transparent); color: var(--mhx-primary); }
.mhx-post__cat:hover { background: var(--mhx-primary); color: #fff; }
.mhx-post__title { margin: 0 0 10px; font-size: 20px; font-weight: 700; line-height: 1.35; color: var(--mhx-heading); }
.mhx-post__title a { color: inherit; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .4s var(--mhx-ease), color .25s; }
.mhx-post__title a:hover { color: var(--mhx-primary); background-size: 100% 1.5px; }
.mhx-post__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 13.5px; color: var(--mhx-text); opacity: .9; }
.mhx-post__sep { opacity: .5; }
.mhx-post__excerpt { margin: 0 0 18px; font-size: 15px; line-height: 1.7; color: var(--mhx-text); }
.mhx-post__more { margin-top: auto; display: inline-flex; gap: 6px; font-weight: 700; font-size: 14.5px; color: var(--mhx-primary); }
.mhx-post__more span { transition: transform .3s var(--mhx-ease); }
.mhx-post__more:hover span { transform: translateX(4px); }
.mhx-post--list { flex-direction: row; }
.mhx-post--list .mhx-post__media { width: 40%; flex-shrink: 0; padding-top: 0; min-height: 180px; }
.mhx-post--list .mhx-post__body { justify-content: center; }
.mhx-posts--list { grid-template-columns: repeat(min(var(--mhx-cols), 2), minmax(0, 1fr)); }
.mhx-post--overlay { min-height: var(--mhx-tile-h); border: 0; color: #fff; justify-content: flex-end; }
.mhx-post--overlay .mhx-post__media { position: absolute; top: 0; right: 0; bottom: 0; left: 0; padding: 0; }
.mhx-post--overlay .mhx-post__media::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: linear-gradient(180deg, transparent 30%, var(--mhx-tile-overlay)); }
.mhx-post--overlay .mhx-post__body { position: relative; z-index: 2; flex: 0; padding: 26px; pointer-events: none; }
.mhx-post--overlay .mhx-post__body a { pointer-events: auto; }
.mhx-post--overlay .mhx-post__title { color: #fff; }
.mhx-post--overlay .mhx-post__meta { color: rgba(255,255,255,.85); margin-bottom: 0; }
.mhx-post--overlay .mhx-post__cat { background: var(--mhx-primary); color: #fff; }
.mhx-posts--masonry { display: block; columns: var(--mhx-cols); column-gap: var(--mhx-gap); }
.mhx-posts--masonry .mhx-post { break-inside: avoid; margin-bottom: var(--mhx-gap); height: auto; }
.mhx-posts--masonry .mhx-post__media { padding-top: 0; }
.mhx-posts--masonry .mhx-post__media img { position: static; height: auto; }
.mhx-posts--featured { grid-template-columns: 1.15fr 1fr; grid-auto-rows: auto; }
.mhx-posts--featured .mhx-post--first { grid-row: span 4; min-height: calc(var(--mhx-tile-h) * 1.4); }
.mhx-posts--featured .mhx-post--first .mhx-post__title { font-size: 26px; }
.mhx-posts--featured .mhx-post--list { border: 0; background: transparent; gap: 18px; }
.mhx-posts--featured .mhx-post--list:hover { box-shadow: none; }
.mhx-posts--featured .mhx-post--list .mhx-post__media { width: 130px; min-height: 100px; border-radius: 10px; }
.mhx-posts--featured .mhx-post--list .mhx-post__body { padding: 4px 0; }
.mhx-posts--featured .mhx-post--list .mhx-post__title { font-size: 17px; }
.mhx-posts--featured .mhx-post--list .mhx-post__cat { margin-bottom: 8px; }
.mhx-posts--featured .mhx-post--list .mhx-post__meta { margin-bottom: 0; }
.mhx-posts--carousel .mhx-post--overlay { min-height: var(--mhx-tile-h); }
.mhx-posts__all-wrap { margin-top: 34px; text-align: center; }
.mhx-posts__all { display: inline-flex; gap: 8px; padding: 13px 26px; border-radius: 8px; border: 2px solid var(--mhx-primary); color: var(--mhx-primary); font-weight: 700; }
.mhx-posts__all:hover { background: var(--mhx-primary); color: #fff; }
@media (max-width: 767px) {
	.mhx-posts--featured { grid-template-columns: 1fr; }
	.mhx-posts--featured .mhx-post--first { grid-row: auto; }
	.mhx-post--list { flex-direction: column; }
	.mhx-post--list .mhx-post__media { width: 100%; padding-top: 60%; min-height: 0; }
	.mhx-posts--featured .mhx-post--list { flex-direction: row; }
	.mhx-posts--featured .mhx-post--list .mhx-post__media { width: 110px; padding-top: 0; min-height: 90px; }
	.mhx-posts--list { grid-template-columns: 1fr; }
}

/* ---------- Línea de tiempo ---------- */
.mhx-timeline { --mhx-line: var(--mhx-border); --mhx-gap: 46px; position: relative; display: flex; flex-direction: column; gap: var(--mhx-gap); }
.mhx-timeline::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: var(--mhx-line); }
.mhx-timeline__row { position: relative; display: grid; grid-template-columns: 1fr 1fr; column-gap: 70px; align-items: start; }
.mhx-timeline__dot { position: absolute; top: 22px; left: 50%; z-index: 2; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: #fff; border: 4px solid var(--mhx-primary); box-shadow: 0 0 0 5px color-mix(in srgb, var(--mhx-primary) 18%, transparent); }
.mhx-timeline__date { grid-column: 1; grid-row: 1; justify-self: end; margin-top: 16px; padding: 6px 14px; border-radius: 99px; background: var(--mhx-primary); color: #fff; font-weight: 700; font-size: 13.5px; letter-spacing: .03em; }
.mhx-timeline__card { grid-column: 2; grid-row: 1; }
.mhx-timeline--alternate .mhx-timeline__row:nth-child(even) .mhx-timeline__date { grid-column: 2; justify-self: start; }
.mhx-timeline--alternate .mhx-timeline__row:nth-child(even) .mhx-timeline__card { grid-column: 1; }
.mhx-timeline--left::before { left: 9px; }
.mhx-timeline--left .mhx-timeline__row { grid-template-columns: 1fr; padding-left: 46px; }
.mhx-timeline--left .mhx-timeline__dot { left: 9px; }
.mhx-timeline--left .mhx-timeline__date { grid-column: 1; grid-row: 1; justify-self: start; margin: 0 0 14px; }
.mhx-timeline--left .mhx-timeline__card { grid-column: 1; grid-row: 2; }
.mhx-timeline--left .mhx-timeline__dot { top: 6px; }
@media (max-width: 767px) {
	.mhx-timeline::before { left: 9px; }
	.mhx-timeline__row, .mhx-timeline--alternate .mhx-timeline__row:nth-child(even) { grid-template-columns: 1fr; padding-left: 40px; }
	.mhx-timeline__dot { left: 9px; top: 6px; }
	.mhx-timeline__date, .mhx-timeline--alternate .mhx-timeline__row:nth-child(even) .mhx-timeline__date { grid-column: 1; grid-row: 1; justify-self: start; margin: 0 0 12px; }
	.mhx-timeline__card, .mhx-timeline--alternate .mhx-timeline__row:nth-child(even) .mhx-timeline__card { grid-column: 1; grid-row: 2; }
}

/* ---------- Lightbox ---------- */
.mhx-lb { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 999999; display: flex; align-items: center; justify-content: center; background: rgba(8, 12, 20, .92); opacity: 0; transition: opacity .3s; }
.mhx-lb.is-open { opacity: 1; }
.mhx-lb__stage { position: relative; display: flex; align-items: center; justify-content: center; width: min(92vw, 1400px); height: 84vh; }
.mhx-lb__stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; box-shadow: 0 30px 80px rgba(0,0,0,.5); user-select: none; animation: mhx-zoom .35s var(--mhx-ease, ease); }
.mhx-lb__stage iframe, .mhx-lb__stage video { width: min(92vw, 1200px); aspect-ratio: 16 / 9; height: auto; max-height: 84vh; border: 0; border-radius: 8px; background: #000; }
.mhx-lb__btn { position: absolute; display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; cursor: pointer; transition: background-color .25s; }
.mhx-lb__btn:hover { background: rgba(255,255,255,.25); }
.mhx-lb__btn svg { width: 24px; height: 24px; }
.mhx-lb__close { top: 18px; right: 18px; }
.mhx-lb__prev { left: 18px; top: 50%; margin-top: -25px; }
.mhx-lb__next { right: 18px; top: 50%; margin-top: -25px; }
.mhx-lb__cap { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; color: rgba(255,255,255,.9); font-size: 15px; padding: 0 70px; }
.mhx-lb__count { position: absolute; top: 30px; left: 24px; color: rgba(255,255,255,.7); font-size: 14px; font-variant-numeric: tabular-nums; }
body.mhx-lb-open { overflow: hidden; }

/* ---------- Animaciones reducidas ---------- */
@media (prefers-reduced-motion: reduce) {
	.mhx *, .mhx *::before, .mhx *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
	.mhx-carousel__track { scroll-behavior: auto; }
}
