
/* ==========================================================================
   Minusjob 2.0 — components/bundle.css
   Recetas HTML + CSS (clases mj-*). bundle.js añade el movimiento (revelado
   al hacer scroll, contadores, spotlight, cabecera) y es opcional: sin JS
   todo se ve en su estado final.
   ========================================================================== */

@property --mj-angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

:root {
  --mj-grad: var(--gradient-brand, linear-gradient(135deg, #0060ff 0%, #00ace8 100%));
  --mj-grad-action: var(--gradient-action, linear-gradient(135deg, #0047c2 0%, #0060ff 55%, #0078d4 100%));
  --mj-grad-text: var(--gradient-text, linear-gradient(120deg, #0047c2 0%, #0060ff 50%, #0078d4 100%));
  --mj-grad-deep: var(--gradient-deep, linear-gradient(160deg, #0a1128 0%, #0d1f52 55%, #0a3a9e 100%));
  --mj-grad-fade: var(--gradient-fade, linear-gradient(180deg, rgba(10, 17, 40, 0) 0%, rgba(10, 17, 40, 0.85) 100%));
  --mj-ease: var(--ease-out, cubic-bezier(0.16, 1, 0.3, 1));
  --mj-spring: var(--ease-spring, cubic-bezier(0.34, 1.56, 0.64, 1));
  --mj-loop: var(--ease-in-out, cubic-bezier(0.65, 0, 0.35, 1));
  --mj-fast: var(--dur-fast, 160ms);
  --mj-base: var(--dur-base, 280ms);
  --mj-slow: var(--dur-slow, 600ms);
  --mj-reveal: var(--dur-reveal, 900ms);
}

/* ---------- Base ---------------------------------------------------------- */
:where(.mj, .mj *, .mj *::before, .mj *::after) { box-sizing: border-box; }
.mj {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-body);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
:where(.mj) :where(h1, h2, h3, h4, h5) {
  font-family: var(--font-display);
  color: var(--ink-strong);
  margin: 0;
  font-weight: 700;
  text-wrap: balance;
}
:where(.mj) p { margin: 0; text-wrap: pretty; }
:where(.mj) a { color: inherit; }
:where(.mj) img { display: block; max-width: 100%; }
/* Las imágenes pueden llevar width/height en el HTML (reservan espacio al cargar),
   pero el alto lo decide siempre el CSS (aspect-ratio, height:100%…). Especificidad 0:
   cualquier regla de componente lo sustituye. */
:where(.mj img) { height: auto; }
:where(.mj) ul { margin: 0; padding: 0; list-style: none; }
.mj :focus-visible { outline: 2px solid var(--brand-blue); outline-offset: 3px; }
:is(.mj-on-dark, .mj-dark, .mj-hero, .mj-cta, .mj-stats, .mj-footer, .mj-topbar, .mj-sec--dark, .mj-card--dark, .mj-price--featured, .mj-header--dark) :focus-visible { outline-color: var(--surface); }
.mj-mega :focus-visible { outline-color: var(--brand-blue); } /* panel claro, aunque la cabecera sea oscura */
.mj-mega__feature :focus-visible { outline-color: var(--surface); }
.mj ::selection { background: var(--brand-blue); color: var(--surface); }

.mj-container { width: 100%; max-width: var(--container-max); margin-inline: auto; padding-inline: var(--space-6); }
.mj-section { padding-block: var(--space-10); }
.mj-dark { background: var(--surface-dark); color: var(--text-on-dark-muted); }
:where(.mj-dark) :where(h1, h2, h3, h4) { color: var(--text-on-dark); }
.mj-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.mj-text-gradient {
  background: var(--mj-grad-text);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: mj-shimmer 6s var(--mj-loop) infinite alternate;
}
:is(.mj-dark, .mj-hero, .mj-cta, .mj-stats, .mj-footer, .mj-sec--dark, .mj-card--dark, .mj-price--featured, .mj-mega__feature) .mj-text-gradient, .mj-text-gradient--light {
  background-image: linear-gradient(120deg, #7ab0ff 0%, #00ace8 45%, #ffffff 100%);
}

/* ---------- Iconos (máscaras SVG, heredan currentColor) ------------------- */
.mj-i {
  display: inline-block;
  flex: none;
  width: 1.25em;
  height: 1.25em;
  background: currentColor;
  -webkit-mask: var(--mj-i) center / contain no-repeat;
  mask: var(--mj-i) center / contain no-repeat;
  vertical-align: -0.2em;
}

/* Set de iconos: <span class="mj-i mj-i--<nombre>" aria-hidden="true"></span> */
.mj-i--arrow-right { --mj-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E"); }
.mj-i--arrow-up-right { --mj-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17L17 7M8.5 7H17v8.5'/%3E%3C/svg%3E"); }
.mj-i--arrow-up { --mj-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19V5M6 11l6-6 6 6'/%3E%3C/svg%3E"); }
.mj-i--check { --mj-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' stroke-width='2.4'/%3E%3C/svg%3E"); }
.mj-i--code { --mj-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 8l-5 4 5 4M16 8l5 4-5 4M14 4.5l-4 15'/%3E%3C/svg%3E"); }
.mj-i--smartphone { --mj-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6' y='2.5' width='12' height='19' rx='3'/%3E%3Cpath d='M11 18h2'/%3E%3C/svg%3E"); }
.mj-i--cart { --mj-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h2.5l2.2 11h10.6l2-8H6.6'/%3E%3Ccircle cx='9.5' cy='19.5' r='1.3'/%3E%3Ccircle cx='17' cy='19.5' r='1.3'/%3E%3C/svg%3E"); }
.mj-i--plug { --mj-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 3v5M15 3v5M6.5 8h11v3a5.5 5.5 0 0 1-11 0V8zM12 16.5V21'/%3E%3C/svg%3E"); }
.mj-i--palette { --mj-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3a9 9 0 1 0 0 18c1.1 0 1.8-.9 1.8-1.9 0-.5-.2-.9-.5-1.3-.3-.4-.5-.8-.5-1.3 0-1 .8-1.8 1.8-1.8H17a4 4 0 0 0 4-4C21 6.6 17 3 12 3z'/%3E%3Ccircle cx='7.5' cy='11.5' r='1'/%3E%3Ccircle cx='10' cy='7.5' r='1'/%3E%3Ccircle cx='15' cy='7.5' r='1'/%3E%3C/svg%3E"); }
.mj-i--server { --mj-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='7' rx='2'/%3E%3Crect x='3' y='13' width='18' height='7' rx='2'/%3E%3Cpath d='M7 7.5h.01M7 16.5h.01M11 7.5h6M11 16.5h6'/%3E%3C/svg%3E"); }
.mj-i--globe { --mj-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c2.5 2.6 3.8 5.6 3.8 9s-1.3 6.4-3.8 9c-2.5-2.6-3.8-5.6-3.8-9S9.5 5.6 12 3z'/%3E%3C/svg%3E"); }
.mj-i--search { --mj-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='M20 20l-4.2-4.2'/%3E%3C/svg%3E"); }
.mj-i--pen { --mj-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20h4L19 9a2.8 2.8 0 0 0-4-4L4 16v4z'/%3E%3Cpath d='M13.5 6.5l4 4'/%3E%3C/svg%3E"); }
.mj-i--map-pin { --mj-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11.5a7 7 0 0 1 14 0C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E"); }
.mj-i--mail { --mj-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2.5'/%3E%3Cpath d='M3.5 7l8.5 6 8.5-6'/%3E%3C/svg%3E"); }
.mj-i--phone { --mj-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h3.5l1.5 4.5-2 1.5a12 12 0 0 0 6 6l1.5-2L20 15.5V19a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2z'/%3E%3C/svg%3E"); }
.mj-i--clock { --mj-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); }
.mj-i--chevron-down { --mj-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); }
.mj-i--menu { --mj-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h16M4 12h16M4 17h10'/%3E%3C/svg%3E"); }
.mj-i--sparkle { --mj-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l1.8 5.2L19 10l-5.2 1.8L12 17l-1.8-5.2L5 10l5.2-1.8z'/%3E%3Cpath d='M19 15.5l.6 1.8 1.9.7-1.9.7-.6 1.8-.6-1.8-1.9-.7 1.9-.7z'/%3E%3C/svg%3E"); }
.mj-i--shield { --mj-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7.5 3v5.5c0 4.6-3.2 8.3-7.5 9.5-4.3-1.2-7.5-4.9-7.5-9.5V6z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E"); }
.mj-i--zap { --mj-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2.5L4.5 13.5H12l-1 8 8.5-11H12z'/%3E%3C/svg%3E"); }
.mj-i--users { --mj-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3.5'/%3E%3Cpath d='M2.5 20a6.5 6.5 0 0 1 13 0'/%3E%3Cpath d='M16 4.6a3.5 3.5 0 0 1 0 6.8M18.5 14.2A6.5 6.5 0 0 1 21.5 20'/%3E%3C/svg%3E"); }
.mj-i--calendar { --mj-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='15.5' rx='2.5'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4'/%3E%3C/svg%3E"); }
.mj-i--linkedin { --mj-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='4.5'/%3E%3Cpath d='M8 10.5V16M8 7.6v.01M12 16v-5.5M12 13.2c0-1.8 1-2.7 2.2-2.7S16 11.3 16 13v3'/%3E%3C/svg%3E"); }
.mj-i--instagram { --mj-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='5.5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M17.3 6.7v.01'/%3E%3C/svg%3E"); }
.mj-i--facebook { --mj-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.5 8H17V4h-2.5A4.5 4.5 0 0 0 10 8.5V11H7.5v4H10v6h4v-6h2.6l.9-4H14V8.6c0-.3.2-.6.5-.6z'/%3E%3C/svg%3E"); }
.mj-i--x { --mj-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4l6.8 9.2L4.3 20M20 4l-6.5 7M8.5 4H4l11.5 16H20z'/%3E%3C/svg%3E"); }
.mj-i--quote, .mj-testimonial__quote.mj-i--quote { --mj-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M3 19v-6.2C3 8.4 5.5 5.6 9.6 4.6l.7 1.8c-2.2.9-3.4 2.6-3.5 4.8H10V19H3zm11 0v-6.2c0-4.4 2.5-7.2 6.6-8.2l.7 1.8c-2.2.9-3.4 2.6-3.5 4.8H21V19h-7z'/%3E%3C/svg%3E"); }
.mj-i--whatsapp { --mj-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 2.2a9.8 9.8 0 0 0-8.4 14.8L2.3 21.8l4.9-1.3A9.8 9.8 0 1 0 12 2.2zm0 17.8a8 8 0 0 1-4.1-1.1l-.3-.2-2.9.8.8-2.8-.2-.3A8 8 0 1 1 12 20zm4.4-6c-.2-.1-1.4-.7-1.7-.8-.2-.1-.4-.1-.5.1l-.8 1c-.1.2-.3.2-.5.1a6.6 6.6 0 0 1-3.3-2.9c-.2-.4.2-.4.7-1.3.1-.2 0-.3 0-.4l-.8-1.8c-.2-.5-.4-.4-.5-.4h-.5a.9.9 0 0 0-.7.3 2.8 2.8 0 0 0-.9 2.1 5 5 0 0 0 1 2.6 11.2 11.2 0 0 0 4.3 3.8c1.6.7 2.2.7 3 .6.5-.1 1.4-.6 1.6-1.1.2-.6.2-1 .1-1.1l-.5-.3z'/%3E%3C/svg%3E"); }
.mj-i--close { --mj-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E"); }
.mj-i--arrow-left { --mj-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 12H5M11 6l-6 6 6 6'/%3E%3C/svg%3E"); }

/* ---------- Keyframes ----------------------------------------------------- */
@keyframes mj-rise { from { opacity: 0; transform: translateY(28px); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes mj-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes mj-drift { 0% { transform: translate(0, 0) scale(1); } 33% { transform: translate(40px, -30px) scale(1.08); } 66% { transform: translate(-30px, 20px) scale(0.95); } 100% { transform: translate(0, 0) scale(1); } }
@keyframes mj-shimmer { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
@keyframes mj-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes mj-pulse { 0% { transform: scale(1); opacity: 0.55; } 100% { transform: scale(2.2); opacity: 0; } }
@keyframes mj-spin { to { --mj-angle: 360deg; } }
@keyframes mj-arrow { 0% { transform: translateX(0); } 45% { transform: translateX(140%); } 46% { transform: translateX(-140%); } 100% { transform: translateX(0); } }
@keyframes mj-blink { 50% { opacity: 0; } }
@keyframes mj-typing { from { width: 0; } }
@keyframes mj-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes mj-grid-pan { from { background-position: 0 0, 0 0; } to { background-position: 0 56px, 56px 0; } }

/* Entradas al cargar (hero): .mj-anim + --i para escalonar */
.mj-word { display: inline-block; }
.mj-anim { animation: mj-rise var(--mj-reveal) var(--mj-ease) both; animation-delay: calc(var(--i, 0) * 90ms + 80ms); }

/* ---------- Revelado al hacer scroll -------------------------------------
   Sin JS: visible. Con bundle.js (html.mj-js): oculto hasta entrar en
   pantalla; IntersectionObserver añade .is-in. --i escalona hijos.         */
.mj-js .mj-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity var(--mj-reveal) var(--mj-ease),
    transform var(--mj-reveal) var(--mj-ease),
    filter var(--mj-reveal) var(--mj-ease),
    -webkit-mask-size calc(var(--mj-reveal) * 1.2) var(--mj-ease),
    mask-size calc(var(--mj-reveal) * 1.2) var(--mj-ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.mj-js .mj-reveal--left { transform: translateX(-48px); }
.mj-js .mj-reveal--right { transform: translateX(48px); }
.mj-js .mj-reveal--scale { transform: scale(0.92); }
.mj-js .mj-reveal--blur { transform: none; filter: blur(14px); }
.mj-js .mj-reveal.is-in { opacity: 1; transform: none; filter: none; }
/* --clip: barrido de arriba abajo con una máscara que crece de 0 a 100% de alto.
   No se usa clip-path: un elemento recortado del todo no "interseca" para
   IntersectionObserver (Chrome aplica el clip-path del propio elemento) y nunca
   recibiría .is-in. La máscara no altera la geometría que mide el observer. */
.mj-js .mj-reveal--clip {
  transform: none;
  opacity: 1;
  -webkit-mask: linear-gradient(#000 0 0) 0 0 / 100% 0% no-repeat;
  mask: linear-gradient(#000 0 0) 0 0 / 100% 0% no-repeat;
}
.mj-js .mj-reveal--clip.is-in { -webkit-mask-size: 100% 100%; mask-size: 100% 100%; }

/* Versión solo-CSS: animación ligada al scroll (Chrome/Edge/Safari 26+) */
@supports (animation-timeline: view()) {
  .mj-scroll-reveal { animation: mj-rise linear both; animation-timeline: view(); animation-range: entry 0% cover 30%; }
  .mj-scroll-progress { animation: mj-draw linear both; animation-timeline: scroll(root); }
}
.mj-scroll-progress {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: 3px;
  background: var(--mj-grad); transform-origin: 0 50%;
  transform: scaleX(var(--mj-progress, 0));
}

/* ==========================================================================
   Button
   ========================================================================== */
.mj-btn {
  --bg: var(--brand-blue);
  --fg: var(--surface);
  --ring: var(--shadow-glow);
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 26px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--bg);
  color: var(--fg);
  font: 600 15px/1 var(--font-display);
  letter-spacing: -0.005em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  overflow: hidden;
  box-shadow: var(--ring);
  transition:
    transform var(--mj-base) var(--mj-ease),
    box-shadow var(--mj-base) var(--mj-ease),
    background-color var(--mj-fast) linear,
    color var(--mj-fast) linear,
    border-color var(--mj-fast) linear;
}
.mj-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--mj-grad-action);
  opacity: 0;
  transition: opacity var(--mj-base) var(--mj-ease);
}
.mj-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
  transition: left 0.8s var(--mj-ease);
}
.mj-btn:hover, .mj-btn.is-hover { transform: translateY(-2px); box-shadow: 0 16px 32px -10px rgba(0, 96, 255, 0.65); }
.mj-btn:hover::before, .mj-btn.is-hover::before { opacity: 1; }
.mj-btn:hover::after, .mj-btn.is-hover::after { left: 130%; }
.mj-btn:active { transform: translateY(0) scale(0.97); transition-duration: 80ms; }

.mj-btn__icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-right: -14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  overflow: hidden;
}
.mj-btn__icon .mj-i { width: 16px; height: 16px; }
.mj-btn:hover .mj-btn__icon .mj-i, .mj-btn.is-hover .mj-btn__icon .mj-i { animation: mj-arrow 0.55s var(--mj-ease); }

.mj-btn--secondary {
  --bg: var(--surface);
  --fg: var(--ink-strong);
  --ring: var(--shadow-xs), inset 0 0 0 1px var(--border-strong);
}
.mj-btn--secondary::before { display: none; }
.mj-btn--secondary .mj-btn__icon { background: var(--brand-blue-50); color: var(--brand-blue); }
.mj-btn--secondary:hover, .mj-btn--secondary.is-hover { color: var(--brand-blue-strong); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--brand-blue); }

.mj-btn--dark { --bg: var(--ink-strong); --ring: 0 8px 24px -8px rgba(10, 17, 40, 0.5); }

.mj-btn--ghost {
  --bg: rgba(255, 255, 255, 0.06);
  --fg: var(--text-on-dark);
  --ring: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.mj-btn--ghost::before { background: rgba(255, 255, 255, 0.1); }
.mj-btn--ghost:hover, .mj-btn--ghost.is-hover { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5); }

.mj-btn--light { --bg: var(--surface); --fg: var(--ink-strong); --ring: 0 10px 30px -10px rgba(0, 0, 0, 0.45); }
.mj-btn--light::before { display: none; }
.mj-btn--light .mj-btn__icon { background: var(--brand-blue); color: var(--surface); }

.mj-btn .mj-i--whatsapp { color: var(--whatsapp); width: 20px; height: 20px; }
.mj-btn--sm { height: 40px; padding: 0 18px; font-size: 14px; }
.mj-btn--sm .mj-btn__icon { width: 24px; height: 24px; margin-right: -10px; }
.mj-btn--lg { height: 60px; padding: 0 32px; font-size: 16px; }
.mj-btn--block { width: 100%; }

/* Enlace con flecha y subrayado que crece */
.mj-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand-blue);
  font: 600 15px/1.2 var(--font-display);
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  padding-bottom: 3px;
  transition: background-size var(--mj-base) var(--mj-ease), gap var(--mj-base) var(--mj-spring);
}
.mj-link:hover, .mj-link.is-hover { background-size: 100% 1.5px; gap: 10px; }
.mj-dark .mj-link { color: var(--brand-blue-soft); }

/* ==========================================================================
   Badge
   ========================================================================== */
.mj-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 14px 0 12px;
  border-radius: var(--radius-pill);
  background: var(--brand-blue-50);
  color: var(--brand-blue-strong);
  font: 600 12px/1 var(--font-display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}
.mj-badge__dot { position: relative; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.mj-badge__dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: mj-pulse 1.8s var(--mj-ease) infinite; }
.mj-badge--success .mj-badge__dot { background: var(--success); }
.mj-badge--dark {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-on-dark);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.mj-badge--outline { background: transparent; box-shadow: inset 0 0 0 1px var(--brand-blue-100); }
.mj-badge--plain { letter-spacing: 0; text-transform: none; font-size: 13px; font-weight: 600; }

/* Chip (etiquetas de categoría) */
.mj-chip {
  display: inline-flex; align-items: center; height: 28px; padding: 0 12px;
  border-radius: var(--radius-pill); background: var(--surface-subtle); color: var(--ink);
  font: 500 13px/1 var(--font-body); box-shadow: inset 0 0 0 1px var(--border);
}
.mj-chip--glass { background: var(--glass); box-shadow: none; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--ink-strong); }

/* ==========================================================================
   SectionTitle
   ========================================================================== */
.mj-sec { display: grid; gap: 18px; max-width: 680px; justify-items: start; }
.mj-sec h2 { font-size: 44px; line-height: 1.1; letter-spacing: -0.025em; }
.mj-sec__lead { font-size: 18px; line-height: 1.65; color: var(--ink-body); max-width: 600px; }
.mj-sec--center { margin-inline: auto; justify-items: center; text-align: center; }
.mj-sec--dark h2 { color: var(--text-on-dark); }
.mj-sec--dark .mj-sec__lead { color: var(--text-on-dark-muted); }
.mj-sec-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--space-8); align-items: end; }
.mj-sec-split .mj-sec__aside { display: grid; gap: 22px; justify-items: start; padding-bottom: 6px; }

/* ==========================================================================
   TopBar
   ========================================================================== */
.mj-topbar { background: var(--surface-dark); color: var(--text-on-dark-muted); font-size: 13px; }
.mj-topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 42px; }
.mj-topbar__msg { display: flex; align-items: center; gap: 12px; color: var(--text-on-dark); }
.mj-topbar__msg .mj-badge { height: 22px; padding: 0 9px; font-size: 10px; background: var(--mj-grad-action); color: var(--surface); }
.mj-topbar__msg a { color: var(--brand-blue-soft); text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; transition: gap var(--mj-base) var(--mj-spring); }
.mj-topbar__msg a:hover { gap: 8px; }
.mj-topbar__meta { display: flex; align-items: center; gap: 22px; }
.mj-topbar__meta a { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; transition: color var(--mj-fast); }
.mj-topbar__meta a:hover { color: var(--text-on-dark); }
.mj-topbar__meta .mj-i { width: 15px; height: 15px; color: var(--brand-blue-soft); }
.mj-topbar__social { display: flex; gap: 4px; padding-left: 18px; border-left: 1px solid var(--border-dark); }
.mj-topbar__social a { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; }
.mj-topbar__social a:hover { background: rgba(255, 255, 255, 0.08); }
.mj-topbar__social .mj-i { color: currentColor; }

/* ==========================================================================
   Logo
   ========================================================================== */
.mj-logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink-strong); }
.mj-logo img { width: 42px; height: auto; transition: transform var(--mj-slow) var(--mj-spring); }
.mj-logo:hover img { transform: rotate(-8deg) scale(1.06); }
.mj-logo__name { display: block; font: 800 21px/1 var(--font-display); letter-spacing: -0.03em; }
.mj-logo__tag { display: block; margin-top: 5px; font: 600 10.5px/1 var(--font-display); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-muted); }
.mj-logo--light { color: var(--text-on-dark); }
.mj-logo--light .mj-logo__tag { color: var(--text-on-dark-muted); }
.mj-logo--lg img { width: 72px; }
.mj-logo--lg .mj-logo__name { font-size: 36px; }
.mj-logo--lg .mj-logo__tag { font-size: 12px; margin-top: 8px; }

/* ==========================================================================
   SiteHeader — píldora de cristal flotante
   ========================================================================== */
.mj-header {
  position: relative;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 18px;
  height: var(--header-height);
  padding: 0 10px 0 18px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  box-shadow:
    0 1px 2px rgba(10, 17, 40, 0.04),
    0 12px 32px -12px rgba(10, 17, 40, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 0 0 1px rgba(214, 229, 255, 0.9);
  transition: box-shadow var(--mj-base) var(--mj-ease), height var(--mj-base) var(--mj-ease), background-color var(--mj-base);
}
/* Hilo de luz degradado en el borde inferior */
.mj-header::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 96, 255, 0.55), rgba(0, 172, 232, 0.55), transparent);
  pointer-events: none;
}
.mj-header--sticky { position: sticky; top: 14px; }
.mj-header.is-scrolled { height: 62px; background: rgba(255, 255, 255, 0.9); box-shadow: 0 2px 4px rgba(10, 17, 40, 0.05), 0 18px 40px -14px rgba(10, 17, 40, 0.28), inset 0 1px 0 #fff, inset 0 0 0 1px rgba(214, 229, 255, 0.9); }
.mj-header .mj-logo img { width: 36px; }
.mj-header .mj-logo__name { font-size: 19px; }
.mj-header .mj-logo__tag { display: none; }
.mj-header { white-space: nowrap; }

/* ---- Menú: píldora que sigue al cursor + activo en píldora oscura ---- */
.mj-nav { position: relative; display: flex; align-items: center; gap: 2px; margin-inline: auto; padding: 4px; border-radius: var(--radius-pill); background: rgba(234, 239, 247, 0.6); box-shadow: inset 0 0 0 1px rgba(227, 233, 243, 0.9); }
.mj-nav__item { display: flex; }
.mj-nav > a, .mj-nav__item > a {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 15px;
  border-radius: var(--radius-pill);
  color: var(--ink);
  font: 500 14.5px/1 var(--font-display);
  text-decoration: none;
  transition: color var(--mj-fast), background-color var(--mj-base);
}
.mj-nav > a:hover, .mj-nav__item > a:hover { color: var(--ink-strong); }
.mj-nav > a[aria-current="page"], .mj-nav__item > a[aria-current="page"] { background: var(--surface-dark); color: var(--text-on-dark); box-shadow: 0 6px 16px -6px rgba(10, 17, 40, 0.5); }
.mj-nav__caret { width: 14px; height: 14px; opacity: 0.7; transition: transform var(--mj-base) var(--mj-spring); }
.mj-nav__item:hover .mj-nav__caret, .mj-nav__item:focus-within .mj-nav__caret, .mj-nav__item.is-open .mj-nav__caret { transform: rotate(180deg); }
.mj-nav__pill {
  position: absolute;
  z-index: 0;
  top: 4px;
  left: 0;
  height: 40px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  box-shadow: var(--shadow-xs), inset 0 0 0 1px var(--border);
  opacity: 0;
  transition: transform 420ms var(--mj-ease), width 420ms var(--mj-ease), opacity var(--mj-fast);
}

/* ---- Megamenú de servicios ---- */
.mj-mega {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  z-index: 60;
  display: grid;
  grid-template-columns: 1fr 1fr 250px;
  gap: 6px;
  width: 780px;
  padding: 12px;
  border-radius: 28px;
  /* Opaco: vive dentro de .mj-header, que ya tiene backdrop-filter; un desenfoque
     anidado no alcanza a la página y la transparencia dejaba ver el hero nítido. */
  background: var(--surface);
  box-shadow: 0 4px 8px rgba(10, 17, 40, 0.04), 0 40px 80px -24px rgba(10, 17, 40, 0.3), inset 0 0 0 1px rgba(214, 229, 255, 0.9);
  white-space: normal;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -8px) scale(0.98);
  transform-origin: 50% 0;
  transition: opacity var(--mj-base) var(--mj-ease), transform 420ms var(--mj-ease), visibility 0s linear var(--mj-base);
}
.mj-mega::before { content: ""; position: absolute; left: 0; right: 0; top: -20px; height: 20px; } /* puente para no perder el hover */
.mj-nav__item:hover .mj-mega, .mj-nav__item:focus-within .mj-mega, .mj-nav__item.is-open .mj-mega {
  opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); transition-delay: 0s;
}
.mj-mega__link {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px;
  border-radius: 18px;
  text-decoration: none;
  transition: background-color var(--mj-fast);
}
.mj-mega__link:hover, .mj-mega__link.is-hover { background: var(--surface-subtle); }
.mj-mega__link:hover .mj-icon-tile, .mj-mega__link.is-hover .mj-icon-tile { color: var(--surface); transform: rotate(-6deg) scale(1.06); }
.mj-mega__link:hover .mj-icon-tile::before, .mj-mega__link.is-hover .mj-icon-tile::before { opacity: 1; }
.mj-mega__link strong { display: block; font: 600 15px/1.25 var(--font-display); color: var(--ink-strong); }
.mj-mega__link > span:not(.mj-icon-tile) > span { display: block; margin-top: 4px; font: 400 13px/1.45 var(--font-body); color: var(--ink-muted); }
.mj-mega .mj-icon-tile { width: 42px; height: 42px; border-radius: 13px; }
.mj-mega .mj-icon-tile .mj-i { width: 20px; height: 20px; }
.mj-mega__feature {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  grid-row: 1 / 4;
  grid-column: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  padding: 22px;
  border-radius: 20px;
  background: var(--mj-grad-deep);
  color: var(--text-on-dark-muted);
  font-size: 13.5px;
  line-height: 1.5;
}
.mj-mega__feature strong { font: 700 19px/1.2 var(--font-display); letter-spacing: -0.015em; color: var(--text-on-dark); }
.mj-mega__feature .mj-orb { width: 220px; height: 220px; right: -90px; top: -100px; opacity: 0.55; filter: blur(50px); }
.mj-mega__feature .mj-btn { margin-top: 8px; align-self: flex-start; }
.mj-mega__foot { grid-column: 1 / 3; display: flex; align-items: center; justify-content: space-between; margin-top: 4px; padding: 12px 14px 4px; border-top: 1px solid var(--border); font-size: 13px; color: var(--ink-muted); }
.mj-mega__foot .mj-link { font-size: 13.5px; }

/* ---- Acciones ---- */
.mj-header__sep { width: 1px; height: 28px; background: var(--border); }
.mj-header__actions { display: flex; align-items: center; gap: 14px; }
.mj-header__phone { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.mj-header__phone .mj-icon-tile { width: 38px; height: 38px; border-radius: 50%; }
.mj-header__phone small { display: flex; align-items: center; gap: 6px; font: 500 11px/1 var(--font-body); color: var(--ink-body); margin-bottom: 5px; } /* ink-body: ≥4.5:1 aunque la cabecera clara quede sobre un hero oscuro */
.mj-header__phone small::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.16); }
.mj-header__phone strong { display: block; font: 700 14px/1 var(--font-display); color: var(--ink-strong); }
.mj-header__toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--surface-subtle); color: var(--ink-strong); }

/* ---- Variante oscura (sobre el hero) ---- */
.mj-header--dark {
  background: rgba(10, 17, 40, 0.62);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.mj-header--dark .mj-logo { color: var(--text-on-dark); }
.mj-header--dark .mj-nav { background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.mj-header--dark .mj-nav > a, .mj-header--dark .mj-nav__item > a { color: var(--text-on-dark-muted); }
.mj-header--dark .mj-nav > a:hover, .mj-header--dark .mj-nav__item > a:hover { color: var(--text-on-dark); }
.mj-header--dark .mj-nav > a[aria-current="page"], .mj-header--dark .mj-nav__item > a[aria-current="page"] { background: var(--surface); color: var(--ink-strong); }
.mj-header--dark .mj-nav__pill { background: rgba(255, 255, 255, 0.1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
.mj-header--dark .mj-header__sep { background: var(--border-dark); }
.mj-header--dark .mj-header__phone strong { color: var(--text-on-dark); }
.mj-header--dark .mj-header__phone small { color: var(--text-on-dark-muted); }
.mj-header--dark .mj-header__phone .mj-icon-tile { background: rgba(255, 255, 255, 0.08); color: var(--brand-blue-soft); }

/* ==========================================================================
   Icon tile (compartido)
   ========================================================================== */
.mj-icon-tile {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--brand-blue-50);
  color: var(--brand-blue);
  overflow: hidden;
  isolation: isolate;
  transition: color var(--mj-base), transform var(--mj-slow) var(--mj-spring);
}
.mj-icon-tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--mj-grad-action); opacity: 0; transition: opacity var(--mj-base) var(--mj-ease); }
.mj-icon-tile .mj-i { width: 26px; height: 26px; }
.mj-icon-tile--sm { width: 40px; height: 40px; border-radius: 12px; }
.mj-icon-tile--sm .mj-i { width: 19px; height: 19px; }
.mj-icon-tile--dark { background: rgba(255, 255, 255, 0.06); color: var(--brand-blue-soft); box-shadow: inset 0 0 0 1px var(--border-dark); }
/* Relleno de acción fijo con icono blanco (≥4.5:1 en todo el degradado). Nunca gradient-brand con icono blanco. */
.mj-icon-tile--solid { background: var(--mj-grad-action); color: var(--surface); }

/* ==========================================================================
   Card base + spotlight (bundle.js pone --mx/--my bajo el cursor)
   ========================================================================== */
.mj-card {
  --mx: 50%;
  --my: 0%;
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--border);
  transition: transform var(--mj-slow) var(--mj-ease), box-shadow var(--mj-slow) var(--mj-ease);
}
.mj-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(0, 96, 255, 0.08), transparent 45%);
  opacity: 0;
  transition: opacity var(--mj-base);
}
.mj-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(260px circle at var(--mx) var(--my), var(--brand-blue), rgba(0, 172, 232, 0.5) 30%, transparent 65%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--mj-base);
}
.mj-card:hover, .mj-card.is-hover { transform: translateY(-6px); box-shadow: var(--shadow-md), inset 0 0 0 1px var(--border); }
.mj-card:hover::before, .mj-card:hover::after, .mj-card.is-hover::before, .mj-card.is-hover::after { opacity: 1; }
.mj-card:hover .mj-icon-tile, .mj-card.is-hover .mj-icon-tile { color: var(--surface); transform: rotate(-6deg) scale(1.06); }
.mj-card:hover .mj-icon-tile::before, .mj-card.is-hover .mj-icon-tile::before { opacity: 1; }

.mj-card--dark { background: var(--surface-dark-raised); box-shadow: inset 0 0 0 1px var(--border-dark); color: var(--text-on-dark-muted); }
.mj-card--dark :is(h2, h3, h4) { color: var(--text-on-dark); }
.mj-card--dark::before { background: radial-gradient(420px circle at var(--mx) var(--my), rgba(122, 176, 255, 0.12), transparent 45%); }
.mj-card--dark:hover, .mj-card--dark.is-hover { box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6), inset 0 0 0 1px var(--border-dark); }

/* ==========================================================================
   ServiceCard + Bento
   ========================================================================== */
.mj-service { gap: 14px; padding: var(--space-6); }
.mj-service .mj-icon-tile { margin-bottom: 10px; }
.mj-service :is(h2, h3, h4) { font-size: 20px; line-height: 1.3; letter-spacing: -0.01em; }
.mj-service p { font-size: 16px; line-height: 1.65; color: var(--ink-body); }
.mj-service .mj-link { margin-top: auto; padding-top: 10px; align-self: flex-start; }
.mj-card--dark.mj-service p { color: var(--text-on-dark-muted); }

.mj-service--feature { padding: 0; overflow: hidden; justify-content: flex-end; min-height: 100%; background: var(--surface-dark); box-shadow: none; }
.mj-service--feature .mj-service__media { position: absolute; inset: 0; z-index: -2; }
.mj-service--feature .mj-service__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--mj-ease); }
.mj-service--feature .mj-service__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 17, 40, 0.15) 0%, rgba(10, 17, 40, 0.6) 38%, rgba(10, 17, 40, 0.94) 68%); }
.mj-service--feature .mj-service__body { display: grid; gap: 12px; padding: var(--space-6); }
.mj-service--feature :is(h2, h3, h4) { color: var(--text-on-dark); font-size: 28px; line-height: 1.15; letter-spacing: -0.02em; }
.mj-service--feature p { color: var(--text-on-dark-muted); }
.mj-service--feature .mj-link { color: var(--brand-blue-soft); }
.mj-service--feature:hover .mj-service__media img, .mj-service--feature.is-hover .mj-service__media img { transform: scale(1.07); }

.mj-bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(250px, auto); gap: var(--space-5); }
.mj-bento > .is-wide { grid-column: span 2; }
.mj-bento > .is-tall { grid-row: span 2; }

/* ==========================================================================
   NumberedService → pasos de proceso
   ========================================================================== */
.mj-steps { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); gap: var(--space-5); counter-reset: mj-step; }
.mj-step { position: relative; display: grid; gap: 12px; align-content: start; padding-top: 34px; }
.mj-step::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--surface-muted); border-radius: 2px;
}
.mj-step::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; border-radius: 2px;
  background: var(--mj-grad); transform-origin: 0 50%; transform: scaleX(0);
  transition: transform 1.1s var(--mj-ease); transition-delay: calc(var(--i, 0) * 220ms + 200ms);
}
.mj-step.is-in::after, .mj-steps.is-in .mj-step::after, html:not(.mj-js) .mj-step::after { transform: scaleX(1); }
.mj-step__num {
  font: 800 56px/1 var(--font-display);
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--brand-blue);
  transition: color var(--mj-slow) var(--mj-ease), -webkit-text-stroke-color var(--mj-slow);
}
.mj-step:hover .mj-step__num, .mj-step.is-hover .mj-step__num { color: var(--brand-blue); -webkit-text-stroke-color: var(--brand-blue); }
.mj-step :is(h2, h3, h4) { font-size: 20px; letter-spacing: -0.01em; }
.mj-step p { font-size: 16px; color: var(--ink-body); }
.mj-dark .mj-step::before { background: var(--border-dark); }
.mj-dark .mj-step__num { -webkit-text-stroke-color: var(--brand-blue-soft); }
.mj-dark .mj-step:hover .mj-step__num { color: var(--brand-blue-soft); -webkit-text-stroke-color: var(--brand-blue-soft); }
.mj-dark .mj-step p { color: var(--text-on-dark-muted); }

/* ==========================================================================
   Hero
   ========================================================================== */
.mj-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--surface-dark);
  color: var(--text-on-dark-muted);
  padding: 72px 64px 80px;
}
.mj-hero__grid {
  position: absolute; inset: 0; z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
  mask: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
  animation: mj-grid-pan 8s linear infinite;
}
.mj-orb { position: absolute; z-index: -1; border-radius: 50%; filter: blur(70px); opacity: 0.55; animation: mj-drift 18s var(--mj-loop) infinite; pointer-events: none; }
.mj-orb--blue { width: 520px; height: 520px; background: #0060ff; }
.mj-orb--cyan { width: 380px; height: 380px; background: #00ace8; animation-duration: 22s; animation-direction: reverse; opacity: 0.4; }
.mj-orb--pink { width: 200px; height: 200px; background: #ff62a7; animation-duration: 16s; opacity: 0.32; }

.mj-hero__inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.mj-hero__copy { display: grid; gap: 26px; justify-items: start; }
.mj-hero h1 { font-size: 72px; line-height: 1.02; font-weight: 800; letter-spacing: -0.035em; color: var(--text-on-dark); }
.mj-hero__lead { font-size: 18px; line-height: 1.6; max-width: 520px; }
.mj-hero__lead strong { color: var(--text-on-dark); font-weight: 600; }
.mj-hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.mj-hero__proof { display: flex; align-items: center; gap: 14px; padding-top: 10px; font-size: 14px; }
.mj-hero__proof strong { color: var(--text-on-dark); font-weight: 700; }

.mj-avatars { display: flex; }
.mj-avatars > * { margin-left: -10px; box-shadow: 0 0 0 3px var(--surface-dark); }
.mj-avatars > :first-child { margin-left: 0; }
.mj-avatar {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--mj-grad-action); color: var(--surface); font: 700 13px/1 var(--font-display); letter-spacing: 0.02em;
}
.mj-avatar--b { background: linear-gradient(135deg, #141d38, #0047c2); }
.mj-avatar--c { background: linear-gradient(135deg, #0060ff, #0047c2); }
.mj-avatar--d { background: var(--text-on-dark); color: var(--ink-strong); }

.mj-hero__visual { position: relative; perspective: 1200px; }
.mj-hero__frame {
  position: relative;
  border-radius: 26px;
  padding: 8px;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.04));
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  transform: rotateY(-8deg) rotateX(4deg);
  transform-style: preserve-3d;
  transition: transform 1s var(--mj-ease);
}
.mj-hero__visual:hover .mj-hero__frame { transform: rotateY(0) rotateX(0); }
.mj-hero__frame img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 20px; }
.mj-float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px 12px 12px;
  border-radius: 18px;
  background: var(--glass-dark);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  box-shadow: 0 20px 40px -14px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  color: var(--text-on-dark-muted);
  font-size: 12.5px;
  line-height: 1.35;
  animation: mj-float 6s var(--mj-loop) infinite;
}
.mj-float-card strong { display: block; color: var(--text-on-dark); font: 700 15px/1.2 var(--font-display); }
.mj-float-card--light { background: var(--glass); color: var(--ink-muted); box-shadow: var(--shadow-lg); }
.mj-float-card--light strong { color: var(--ink-strong); }
.mj-code {
  display: grid; gap: 4px; padding: 14px 16px; min-width: 230px;
  font: 500 12.5px/1.5 var(--font-mono, ui-monospace, monospace); color: var(--text-on-dark-muted);
}
.mj-code b { color: var(--brand-blue-soft); font-weight: 500; }
.mj-code em { color: var(--text-on-dark); font-style: normal; }
.mj-code__dots { display: flex; gap: 6px; margin-bottom: 6px; }
.mj-code__dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.2); }
.mj-code__dots i:first-child { background: var(--brand-pink); }
.mj-code__type { display: inline-block; overflow: hidden; white-space: nowrap; vertical-align: bottom; animation: mj-typing 2.2s steps(22) 1s both; }
.mj-caret { display: inline-block; width: 7px; height: 14px; margin-left: 2px; vertical-align: -2px; background: #7ab0ff; animation: mj-blink 1s steps(1) infinite; }

/* ==========================================================================
   Marquee
   ========================================================================== */
.mj-marquee {
  --gap: 48px;
  display: flex;
  overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.mj-marquee__track { display: flex; flex: none; gap: var(--gap); padding-right: var(--gap); width: max-content; animation: mj-marquee var(--dur-marquee, 40s) linear infinite; }
/* Un solo __track con dos __set idénticos: el track mide 2 × (set + gap), así que
   −50% es exactamente un set y el bucle cierra sin salto. */
.mj-marquee__set { display: flex; flex: none; gap: var(--gap); }
.mj-marquee:hover .mj-marquee__track { animation-play-state: paused; }
.mj-marquee--reverse .mj-marquee__track { animation-direction: reverse; }
.mj-marquee__item { display: inline-flex; align-items: center; gap: var(--gap); white-space: nowrap; font: 700 44px/1.1 var(--font-display); letter-spacing: -0.03em; color: var(--ink-strong); }
.mj-marquee__item:nth-child(even) { color: transparent; -webkit-text-stroke: 1.25px #7d8aa6; }
.mj-marquee__item .mj-i { width: 28px; height: 28px; color: var(--brand-blue); -webkit-text-stroke: 0; }
.mj-marquee--chips .mj-marquee__item { font: 500 15px/1 var(--font-display); letter-spacing: 0; color: var(--ink); gap: 10px; height: 46px; padding: 0 20px; border-radius: var(--radius-pill); background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); }
.mj-marquee--chips .mj-marquee__item:nth-child(even) { color: var(--ink); -webkit-text-stroke: 0; }
.mj-marquee--chips .mj-marquee__track { --gap: 12px; }
.mj-marquee--chips .mj-marquee__item .mj-i { width: 18px; height: 18px; }
.mj-dark .mj-marquee__item { color: var(--text-on-dark); }
.mj-dark .mj-marquee__item:nth-child(even) { -webkit-text-stroke-color: rgba(233, 238, 248, 0.6); color: transparent; }

/* ==========================================================================
   ProjectCard
   ========================================================================== */
.mj-project { position: relative; display: block; overflow: hidden; border-radius: var(--radius-lg); text-decoration: none; isolation: isolate; background: var(--surface-dark); }
.mj-project img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1.1s var(--mj-ease), filter var(--mj-slow); }
.mj-project::after { content: ""; position: absolute; inset: 0; background: var(--mj-grad-fade); opacity: 0.85; transition: opacity var(--mj-slow) var(--mj-ease); }
.mj-project__body { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 24px; }
.mj-project__body :is(h2, h3, h4) { color: var(--surface); font-size: 22px; letter-spacing: -0.02em; transform: translateY(8px); transition: transform var(--mj-slow) var(--mj-ease); }
.mj-project__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; opacity: 0; transform: translateY(10px); transition: opacity var(--mj-base), transform var(--mj-slow) var(--mj-ease); }
.mj-project__tags span { height: 24px; display: inline-flex; align-items: center; padding: 0 10px; border-radius: var(--radius-pill); background: rgba(10, 17, 40, 0.55); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: var(--surface); font: 500 12px/1 var(--font-body); }
.mj-project__go { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--surface); color: var(--ink-strong); transform: rotate(-45deg) scale(0.85); transition: transform var(--mj-slow) var(--mj-spring), background-color var(--mj-base), color var(--mj-base); }
.mj-project__go .mj-i { width: 20px; height: 20px; }
.mj-project:hover img, .mj-project.is-hover img { transform: scale(1.08); }
.mj-project:hover::after, .mj-project.is-hover::after { opacity: 1; }
.mj-project:hover :is(h2, h3, h4), .mj-project.is-hover :is(h2, h3, h4) { transform: none; }
.mj-project:hover .mj-project__tags, .mj-project.is-hover .mj-project__tags { opacity: 1; transform: none; }
.mj-project:hover .mj-project__go, .mj-project.is-hover .mj-project__go { transform: none; background: var(--brand-blue); color: var(--surface); }

/* ==========================================================================
   TestimonialCard
   ========================================================================== */
.mj-testimonial { gap: 22px; padding: var(--space-6); }
.mj-testimonial__top { display: flex; align-items: center; justify-content: space-between; }
.mj-testimonial__quote { width: 40px; height: 40px; background: var(--mj-grad); -webkit-mask: var(--mj-i) center / contain no-repeat; mask: var(--mj-i) center / contain no-repeat; }
.mj-testimonial blockquote { margin: 0; font: 500 18px/1.6 var(--font-body); color: var(--ink); letter-spacing: -0.005em; }
.mj-testimonial figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--border); }
.mj-testimonial figcaption > span:last-child strong { display: block; font: 700 15px/1.3 var(--font-display); color: var(--ink-strong); }
.mj-testimonial figcaption > span:last-child > span { display: block; font-size: 13px; color: var(--ink-muted); }
.mj-testimonial .mj-avatar { width: 44px; height: 44px; font-size: 14px; }

/* ==========================================================================
   PriceCard
   ========================================================================== */
.mj-price { gap: 24px; padding: 36px; }
.mj-price__head { display: grid; gap: 6px; }
.mj-price__head :is(h2, h3, h4) { font-size: 24px; letter-spacing: -0.02em; }
.mj-price__head p { font-size: 15px; color: var(--ink-muted); }
.mj-price__amount { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.mj-price__amount strong { font: 800 52px/1 var(--font-display); letter-spacing: -0.04em; color: var(--ink-strong); }
.mj-price__amount sup { font-size: 0.45em; vertical-align: 0.9em; margin-right: 2px; font-weight: 700; }
.mj-price__amount span { font: 600 11px/1.3 var(--font-display); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); }
.mj-price__list { display: grid; gap: 12px; padding-top: 22px; border-top: 1px dashed var(--border-strong); }
.mj-price__list li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: var(--ink); }
.mj-price__list .mj-check { display: grid; place-items: center; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: var(--brand-blue-50); color: var(--brand-blue); }
.mj-price__list .mj-check .mj-i { width: 13px; height: 13px; }
.mj-price .mj-btn { margin-top: auto; }

.mj-price--featured { background: var(--surface-dark); color: var(--text-on-dark-muted); box-shadow: var(--shadow-lg); }
.mj-price--featured::after {
  opacity: 1;
  padding: 1.5px;
  background: conic-gradient(from var(--mj-angle), #0060ff, #00ace8, #ff62a7, #0060ff 40%, rgba(0, 96, 255, 0.2) 60%, #0060ff);
  animation: mj-spin 6s linear infinite;
}
.mj-price--featured::before { opacity: 1; background: radial-gradient(500px circle at 80% -10%, rgba(0, 96, 255, 0.35), transparent 55%); }
.mj-price--featured :is(h2, h3, h4), .mj-price--featured .mj-price__amount strong { color: var(--text-on-dark); }
.mj-price--featured .mj-price__head p, .mj-price--featured .mj-price__amount span { color: var(--text-on-dark-muted); }
.mj-price--featured .mj-price__list { border-top-color: rgba(255, 255, 255, 0.14); }
.mj-price--featured .mj-price__list li { color: var(--text-on-dark); }
.mj-price--featured .mj-price__list .mj-check { background: var(--mj-grad-action); color: var(--surface); }
.mj-price--featured:hover, .mj-price--featured.is-hover { box-shadow: 0 40px 80px -24px rgba(0, 96, 255, 0.45); }
.mj-price__flag { align-self: flex-start; margin-bottom: calc(-1 * var(--space-2)); } /* en el flujo, encima del nombre: no lo pisa a ningún ancho */

/* ==========================================================================
   StatBlock — cifras que cuentan (bundle.js, data-count)
   ========================================================================== */
.mj-stats {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(var(--cols, 3), 1fr);
  border-radius: var(--radius-xl);
  background: var(--mj-grad-deep);
  color: var(--text-on-dark-muted);
}
.mj-stats .mj-orb { opacity: 0.35; }
.mj-stat { position: relative; display: grid; gap: 10px; align-content: start; padding: 44px 40px; }
.mj-stat + .mj-stat::before { content: ""; position: absolute; left: 0; top: 40px; bottom: 40px; width: 1px; background: linear-gradient(transparent, rgba(255, 255, 255, 0.16), transparent); }
.mj-stat__num { font: 800 64px/1 var(--font-display); letter-spacing: -0.045em; color: var(--text-on-dark); font-variant-numeric: tabular-nums; }
.mj-stat__num .mj-text-gradient { animation: none; }
.mj-stat__label { font: 600 16px/1.3 var(--font-display); color: var(--text-on-dark); }
.mj-stat__text { font-size: 15px; line-height: 1.55; }
/* ==========================================================================
   CallToAction
   ========================================================================== */
.mj-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.4fr auto;
  align-items: center;
  gap: 40px;
  padding: 64px;
  border-radius: var(--radius-xl);
  background: var(--mj-grad-deep);
  color: var(--text-on-dark-muted);
}
.mj-cta h2 { font-size: 48px; line-height: 1.06; letter-spacing: -0.03em; color: var(--text-on-dark); }
.mj-cta p { margin-top: 16px; font-size: 18px; max-width: 560px; }
.mj-cta__actions { display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
.mj-cta__rings { position: absolute; z-index: -1; right: -140px; top: 50%; width: 520px; height: 520px; transform: translateY(-50%); pointer-events: none; }
.mj-cta__rings i { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.08); animation: mj-pulse 6s var(--mj-ease) infinite; }
.mj-cta__rings i:nth-child(2) { animation-delay: 2s; }
.mj-cta__rings i:nth-child(3) { animation-delay: 4s; }
.mj-cta--brand { background: var(--mj-grad-action); background-size: 160% 160%; animation: mj-shimmer 10s var(--mj-loop) infinite alternate; color: var(--surface); }
.mj-cta--brand p { color: rgba(255, 255, 255, 0.92); }

/* ==========================================================================
   ContactInfo
   ========================================================================== */
.mj-contact { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: var(--space-5); }
.mj-contact__item { flex-direction: row; align-items: flex-start; gap: 18px; padding: 26px; text-decoration: none; }
.mj-contact__item small { display: block; margin-bottom: 6px; font: 600 12px/1 var(--font-display); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); }
.mj-contact__item strong { display: block; font: 700 17px/1.4 var(--font-display); color: var(--ink-strong); letter-spacing: -0.01em; }
.mj-contact__item > span:not(.mj-icon-tile, .mj-contact__go) { margin-top: 4px; } /* bloque de texto: alineación óptica con el icon-tile */
.mj-contact__item > span:not(.mj-icon-tile, .mj-contact__go) > span { display: block; margin-top: 4px; font-size: 14px; color: var(--ink-muted); }
.mj-contact__go { margin-left: auto; align-self: center; color: var(--ink-muted); transition: transform var(--mj-base) var(--mj-spring), color var(--mj-fast); }
.mj-contact__item:hover .mj-contact__go, .mj-contact__item.is-hover .mj-contact__go { transform: translate(3px, -3px); color: var(--brand-blue); }

/* ==========================================================================
   BlogCard
   ========================================================================== */
.mj-post { overflow: hidden; text-decoration: none; }
.mj-post__media { position: relative; overflow: hidden; margin: 8px 8px 0; border-radius: calc(var(--radius-lg) - 6px); }
.mj-post__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 1.1s var(--mj-ease); }
.mj-post__media .mj-chip { position: absolute; top: 14px; left: 14px; }
.mj-post__body { display: grid; gap: 12px; padding: 22px 24px 26px; }
.mj-post__meta { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-muted); }
.mj-post__meta i { width: 3px; height: 3px; border-radius: 50%; background: currentColor; }
.mj-post :is(h2, h3, h4) { font-size: 20px; line-height: 1.3; letter-spacing: -0.015em; }
.mj-post :is(h2, h3, h4) span { background: linear-gradient(var(--brand-blue), var(--brand-blue)) 0 100% / 0 2px no-repeat; transition: background-size var(--mj-slow) var(--mj-ease); }
.mj-post p { font-size: 15px; color: var(--ink-body); }
.mj-post:hover .mj-post__media img, .mj-post.is-hover .mj-post__media img { transform: scale(1.06); }
.mj-post:hover :is(h2, h3, h4) span, .mj-post.is-hover :is(h2, h3, h4) span { background-size: 100% 2px; }

/* ==========================================================================
   SiteFooter
   ========================================================================== */
.mj-footer { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius-xl) var(--radius-xl) 0 0; background: var(--surface-dark); color: var(--text-on-dark-muted); padding: 72px 0 0; }
.mj-footer .mj-orb { opacity: 0.25; }
.mj-footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 56px; }
.mj-footer__brand { display: grid; gap: 20px; align-content: start; }
.mj-footer__brand p { max-width: 320px; font-size: 15px; }
.mj-footer :is(h2, h3, h4, h5) { margin-bottom: 18px; font: 600 12px/1 var(--font-display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-on-dark); }
.mj-footer__links { display: grid; gap: 12px; }
.mj-footer__links a { position: relative; display: inline-block; text-decoration: none; font-size: 15px; transition: color var(--mj-fast), transform var(--mj-base) var(--mj-ease); }
.mj-footer__links a:hover { color: var(--text-on-dark); transform: translateX(4px); }
.mj-footer__contact { display: grid; gap: 14px; font-size: 15px; }
.mj-footer__contact a { display: flex; gap: 10px; align-items: flex-start; text-decoration: none; transition: color var(--mj-fast); }
.mj-footer__contact a:hover { color: var(--text-on-dark); }
.mj-footer__contact .mj-i { width: 18px; height: 18px; margin-top: 2px; color: var(--brand-blue-soft); }
.mj-social { display: flex; gap: 8px; }
.mj-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--text-on-dark); box-shadow: inset 0 0 0 1px var(--border-dark); transition: background-color var(--mj-base), transform var(--mj-base) var(--mj-spring), box-shadow var(--mj-base); }
.mj-social a:hover { background: var(--brand-blue); box-shadow: none; transform: translateY(-3px); }
.mj-social .mj-i { width: 17px; height: 17px; }
.mj-footer__word {
  display: block;
  margin: 0 0 -0.2em;
  font: 800 clamp(80px, 17vw, 228px)/0.9 var(--font-display);
  letter-spacing: -0.06em;
  text-align: center;
  color: transparent;
  background: linear-gradient(180deg, rgba(122, 176, 255, 0.35), rgba(122, 176, 255, 0) 85%);
  -webkit-background-clip: text;
  background-clip: text;
  user-select: none;
}
.mj-footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; border-top: 1px solid var(--border-dark); font-size: 13px; }
.mj-footer__bottom span { display: inline-flex; align-items: center; gap: 8px; }

/* ==========================================================================
   FloatingActions
   ========================================================================== */
.mj-floating { position: fixed; right: 24px; bottom: 24px; z-index: 90; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.mj-floating--static { position: static; }
.mj-wa {
  position: relative; display: inline-flex; align-items: center; height: 58px;
  border-radius: var(--radius-pill); background: var(--surface-dark); color: var(--text-on-dark); text-decoration: none;
  box-shadow: 0 14px 34px -10px rgba(10, 17, 40, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  transition: transform var(--mj-base) var(--mj-spring), box-shadow var(--mj-base);
}
.mj-wa::before, .mj-wa::after { content: ""; position: absolute; right: 0; top: 0; width: 58px; height: 58px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(37, 211, 102, 0.55); z-index: -1; animation: mj-pulse 2.6s var(--mj-ease) infinite; }
.mj-wa::after { animation-delay: 1.3s; }
.mj-wa__dot { position: absolute; top: 9px; right: 9px; width: 10px; height: 10px; border-radius: 50%; background: var(--whatsapp); box-shadow: 0 0 0 2px var(--surface-dark); }
.mj-wa__label { max-width: 0; overflow: hidden; white-space: nowrap; font: 700 14px/1 var(--font-display); transition: max-width var(--mj-slow) var(--mj-ease), padding var(--mj-slow) var(--mj-ease); }
.mj-wa__icon { display: grid; place-items: center; width: 58px; height: 58px; flex: none; }
.mj-wa__icon .mj-i { width: 28px; height: 28px; color: var(--whatsapp); }
.mj-wa:hover, .mj-wa.is-hover { transform: translateY(-2px); box-shadow: 0 20px 40px -12px rgba(10, 17, 40, 0.7), inset 0 0 0 1px rgba(37, 211, 102, 0.45); }
.mj-wa:hover .mj-wa__label, .mj-wa.is-hover .mj-wa__label { max-width: 220px; padding-left: 22px; }

.mj-totop {
  --p: var(--mj-progress, 0);
  position: relative; display: grid; place-items: center; width: 52px; height: 52px; border: 0; border-radius: 50%;
  background: conic-gradient(var(--brand-blue) calc(var(--p) * 360deg), var(--surface-muted) 0);
  color: var(--ink-strong); cursor: pointer; box-shadow: var(--shadow-md);
  transition: transform var(--mj-base) var(--mj-spring);
}
.mj-totop::before { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--surface); }
.mj-totop .mj-i { position: relative; width: 20px; height: 20px; transition: transform var(--mj-base) var(--mj-spring); }
.mj-totop:hover .mj-i { transform: translateY(-3px); }

/* ==========================================================================
   Accesibilidad: sin movimiento
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .mj *, .mj *::before, .mj *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .mj-js .mj-reveal { opacity: 1; transform: none; filter: none; clip-path: none; }
  .mj-js .mj-reveal--clip { -webkit-mask: none; mask: none; }
  .mj-marquee__track { animation: none !important; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1200px) {
  .mj-header__phone, .mj-header__sep { display: none; }
}
@media (max-width: 1100px) {
  /* 961–1100px: logo + 6 enlaces + botón solo caben con el menú compacto. */
  .mj-header { gap: var(--space-3); }
  .mj-nav > a, .mj-nav__item > a { padding-inline: 10px; }
}
@media (max-width: 960px) {
  .mj-hero { padding: 48px 28px 56px; }
  .mj-hero__inner, .mj-cta, .mj-sec-split { grid-template-columns: 1fr; }
  .mj-hero h1 { font-size: 48px; }
  .mj-contact, .mj-stats, .mj-steps { grid-template-columns: 1fr; }
  /* Bento a dos columnas: --tall y --wide ocupan la fila entera, y la última tarjeta
     normal también si el número de tarjetas normales es impar (quedaría huérfana). */
  .mj-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mj-bento > .is-wide, .mj-bento > .is-tall { grid-column: 1 / -1; }
  .mj-bento > .is-tall { grid-row: auto; min-height: 420px; }
  .mj-bento > :nth-child(odd of :not(.is-tall, .is-wide)):nth-last-child(1 of :not(.is-tall, .is-wide)) { grid-column: 1 / -1; }
  .mj-footer__top { grid-template-columns: 1fr 1fr; }
  .mj-nav, .mj-header__phone, .mj-header__sep { display: none; }
  .mj-header__toggle { display: grid; place-items: center; }
  .mj-sec h2, .mj-cta h2 { font-size: 34px; }
  .mj-cta { padding: 40px 28px; }
}
@media (max-width: 640px) {
  .mj-bento { grid-template-columns: minmax(0, 1fr); }
  .mj-header__actions .mj-btn { display: none; } /* la acción ya está en el hero, el menú y WhatsApp */
  /* Flotantes: solo WhatsApp y más pegado al borde, para no tapar texto. */
  .mj-floating { right: var(--space-3); bottom: var(--space-3); }
  .mj-floating .mj-totop { display: none; }
}

/* ==========================================================================
   Extras — MobileNav · LogoStrip · Rail · Lightbox · PageHeader · SplitSection · BlogEntry
   Sección para añadir al final de components/bundle.css (después de base.css y de los iconos).
   Portado de astro-site/public/assets/mj/site.css. Solo tokens: colores, radios, sombras,
   tiempos y curvas salen de var(--…); no hay hex. Iconos nuevos (close, arrow-left): ICONS_EXTRA.
   El comportamiento está en extras.js (Minusjob.init()).

     1. Utilidades de estado y keyframes
     2. MobileNav — mj-drawer + botón de la cabecera (+ Escape del megamenú)
     3. LogoStrip — mj-logos
     4. Rail — mj-rail (+ tarjeta de proyecto con foco de teclado)
     5. Lightbox — mj-lightbox
     6. PageHeader — mj-pagehead + mj-crumbs
     7. SplitSection — mj-split + mj-prose
     8. BlogEntry — mj-posts, mj-post--entry, mj-post__cta
     9. Responsive (960 · 640 · 360) y objetivos táctiles
    10. Sin movimiento
   ========================================================================== */

/* ---------- 1. Utilidades de estado y keyframes --------------------------- */
@keyframes mj-drawer-in { from { opacity: 0; transform: translateX(32px); } }
@keyframes mj-fade-in { from { opacity: 0; } }
/* Scroll bloqueado mientras hay un diálogo modal abierto (extras.js). */
html.mj-scroll-lock { overflow: hidden; }

/* ---------- 2. MobileNav — mj-drawer ---------------------------------------
   <dialog> modal: foco atrapado, Escape y fondo inerte nativos. extras.js
   sincroniza aria-expanded del botón, bloquea el scroll y devuelve el foco. */
/* Sin JavaScript el botón no haría nada: el pie lleva todos los enlaces. */
html:not(.mj-js) .mj-header__toggle { display: none; }
.mj-header__toggle { cursor: pointer; transition: background-color var(--mj-fast), color var(--mj-fast); }
.mj-header__toggle:hover, .mj-header__toggle.is-hover { background: var(--brand-blue-50); color: var(--brand-blue-strong); }
.mj-header__toggle .mj-i { width: 22px; height: 22px; }
.mj-header__cta { flex: none; }

.mj-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(420px, 100%);
  max-width: 100%;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--surface);
  color: var(--ink-body);
  box-shadow: var(--shadow-lg);
  overflow: hidden auto;
  overscroll-behavior: contain;
}
.mj-drawer::backdrop { background: var(--scrim); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.mj-drawer[open] { animation: mj-drawer-in var(--mj-base) var(--mj-ease); }
.mj-drawer[open]::backdrop { animation: mj-fade-in var(--mj-base) var(--mj-ease); }

.mj-drawer__panel { display: grid; grid-template-rows: auto 1fr auto; gap: var(--space-5); min-height: 100%; padding: var(--space-4) var(--space-5) var(--space-6); }
.mj-drawer__head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); min-height: 56px; }
.mj-drawer__head .mj-logo img { width: 36px; }
.mj-drawer__close {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--surface-subtle);
  color: var(--ink-strong);
  cursor: pointer;
  transition: background-color var(--mj-fast), color var(--mj-fast);
}
.mj-drawer__close:hover, .mj-drawer__close.is-hover { background: var(--brand-blue-50); color: var(--brand-blue-strong); }
.mj-drawer__close .mj-i { width: 22px; height: 22px; }
.mj-drawer__list { display: grid; gap: 2px; }
.mj-drawer__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  min-height: 52px;
  padding: 0 var(--space-4);
  border-radius: var(--radius-md);
  color: var(--ink-strong);
  font: 600 18px/1.2 var(--font-display);
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: background-color var(--mj-fast), color var(--mj-fast);
}
.mj-drawer__link .mj-i { width: 18px; height: 18px; color: var(--brand-blue); transition: transform var(--mj-base) var(--mj-spring); }
.mj-drawer__link:hover, .mj-drawer__link.is-hover { background: var(--surface-subtle); }
.mj-drawer__link:hover .mj-i, .mj-drawer__link.is-hover .mj-i { transform: translateX(4px); }
.mj-drawer__link[aria-current="page"] { background: var(--surface-dark); color: var(--text-on-dark); }
.mj-drawer__link[aria-current="page"] .mj-i { color: var(--brand-blue-soft); }
.mj-drawer__services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
  margin: 2px 0 var(--space-2);
  padding: var(--space-2);
  border-radius: var(--radius-lg);
  background: var(--surface-subtle);
}
.mj-drawer__services > * { min-width: 0; }
.mj-drawer__service {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-width: 0;
  min-height: 48px;
  padding: 6px var(--space-2);
  border-radius: var(--radius-md);
  color: var(--ink);
  font: 500 14px/1.25 var(--font-display);
  overflow-wrap: anywhere;
  hyphens: auto;
  text-decoration: none;
  transition: background-color var(--mj-fast);
}
.mj-drawer__service:hover, .mj-drawer__service.is-hover { background: var(--surface); }
.mj-drawer__service .mj-icon-tile { width: 34px; height: 34px; border-radius: var(--radius-sm); background: var(--surface); }
.mj-drawer__service .mj-icon-tile .mj-i { width: 17px; height: 17px; }
.mj-drawer__foot { display: grid; gap: var(--space-1); padding-top: var(--space-5); border-top: 1px solid var(--border); }
.mj-drawer__foot .mj-btn { margin-bottom: var(--space-3); }
.mj-drawer__contact { display: flex; align-items: center; gap: var(--space-3); min-height: 44px; color: var(--ink); font-size: 15px; text-decoration: none; transition: color var(--mj-fast); }
.mj-drawer__contact .mj-i { color: var(--brand-blue); }
.mj-drawer__contact:hover, .mj-drawer__contact.is-hover { color: var(--brand-blue-strong); }
.mj-drawer__social { display: flex; gap: var(--space-2); padding-top: var(--space-2); }
.mj-drawer__social a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--ink-strong);
  box-shadow: inset 0 0 0 1px var(--border-strong);
  transition: background-color var(--mj-base), color var(--mj-base), box-shadow var(--mj-base);
}
.mj-drawer__social a:hover, .mj-drawer__social a.is-hover { background: var(--brand-blue); color: var(--surface); box-shadow: none; }

/* SiteHeader: Escape cierra el megamenú sin quitar el foco (extras.js, [data-mj-mega]). */
.mj-nav__item.is-dismissed .mj-mega { opacity: 0; visibility: hidden; transform: translate(-50%, -8px) scale(0.98); }
.mj-nav__item.is-dismissed .mj-nav__caret { transform: none; }

/* ---------- 3. LogoStrip — mj-logos ----------------------------------------
   Logos en gris que toman color en hover/foco. --moving: cinta continua
   (un juego + su copia aria-hidden), pausa con hover o foco; con foco de
   teclado se detiene y se reparte en rejilla para que el logo enfocado
   siempre esté a la vista.                                                 */
.mj-logos { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-5); margin-top: var(--space-8); }
.mj-logos__label { font: 600 12px/1.4 var(--font-display); letter-spacing: 0.14em; text-transform: uppercase; text-align: center; color: var(--ink-muted); }
.mj-logos__viewport { padding-block: 6px; overflow: hidden; }
.mj-logos__track { display: flex; width: max-content; }
.mj-logos__set { display: flex; align-items: center; gap: var(--space-5); padding-right: var(--space-5); }
.mj-logos__item { flex: none; }
.mj-logos__item a { display: block; border-radius: var(--radius-sm); }
.mj-logos__item img {
  width: auto;
  height: 56px;
  border-radius: var(--radius-sm);
  filter: grayscale(1);
  opacity: 0.72;
  transition: filter var(--mj-slow) var(--mj-ease), opacity var(--mj-slow) var(--mj-ease), transform var(--mj-base) var(--mj-ease);
}
.mj-logos__item:hover img, .mj-logos__item.is-hover img, .mj-logos__item a:focus-visible img { filter: none; opacity: 1; }
.mj-logos__item a:hover img, .mj-logos__item.is-hover a img { transform: translateY(-2px); }

.mj-logos--moving .mj-logos__viewport {
  -webkit-mask: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  mask: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.mj-logos--moving .mj-logos__track { animation: mj-marquee calc(var(--dur-marquee, 40s) * 1.5) linear infinite; }
.mj-logos--moving:hover .mj-logos__track,
.mj-logos--moving:focus-within .mj-logos__track { animation-play-state: paused; }
.mj-logos--moving:has(a:focus-visible) .mj-logos__viewport { -webkit-mask: none; mask: none; }
.mj-logos--moving:has(a:focus-visible) .mj-logos__track { width: auto; animation: none; }
.mj-logos--moving:has(a:focus-visible) .mj-logos__set[aria-hidden="true"] { display: none; }
.mj-logos--moving:has(a:focus-visible) .mj-logos__set,
.mj-logos:not(.mj-logos--moving) .mj-logos__set { flex-wrap: wrap; justify-content: center; width: 100%; padding-right: 0; row-gap: var(--space-4); }
.mj-logos:not(.mj-logos--moving) .mj-logos__track { width: auto; }

/* ---------- 4. Rail — mj-rail ----------------------------------------------
   scroll-snap nativo; el carril es una región enfocable (flechas del teclado)
   y cada tarjeta es tabulable. Botones anterior/siguiente vía extras.js.   */
.mj-rail { --rail-item: 300px; --rail-gutter: var(--space-6); display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-4); }
.mj-rail__controls { display: flex; justify-content: flex-end; gap: var(--space-2); }
.mj-rail__controls[hidden] { display: none; }
.mj-rail__btn {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink-strong);
  box-shadow: var(--shadow-xs), inset 0 0 0 1px var(--border-strong);
  cursor: pointer;
  transition: color var(--mj-fast), box-shadow var(--mj-base), transform var(--mj-base) var(--mj-spring);
}
.mj-rail__btn:hover, .mj-rail__btn.is-hover { color: var(--brand-blue-strong); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--brand-blue); transform: translateY(-2px); }
.mj-rail__btn[aria-disabled="true"] { cursor: default; color: var(--ink-muted); box-shadow: inset 0 0 0 1px var(--border); transform: none; opacity: 0.5; }
.mj-rail__btn .mj-i { width: 20px; height: 20px; }
.mj-rail__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: var(--rail-item);
  gap: var(--space-5);
  margin: 0 calc(-1 * var(--rail-gutter));
  padding: var(--space-3) var(--rail-gutter) var(--space-6);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--rail-gutter);
  scrollbar-width: thin;
  scrollbar-color: var(--border-strong) transparent;
}
.mj-rail__track:focus-visible { outline-offset: -2px; border-radius: var(--radius-lg); }
.mj-rail__item { display: flex; scroll-snap-align: start; }
.mj-rail__item > * { flex: 1; min-width: 0; }
.mj-rail--projects { --rail-item: clamp(240px, 24vw, 290px); }
.mj-rail--projects .mj-project img { aspect-ratio: 363 / 445; }
.mj-rail--testimonials { --rail-item: clamp(280px, 30vw, 380px); }

/* Tarjeta de proyecto como enlace tabulable (carril + lightbox): el estado hover
   también con teclado, y títulos h3 con el mismo aspecto que el h4 de la receta. */
.mj-project__body h3 {
  color: var(--surface);
  font-size: 22px;
  letter-spacing: -0.02em;
  transform: translateY(8px);
  transition: transform var(--mj-slow) var(--mj-ease);
}
.mj-project:hover h3, .mj-project.is-hover h3, .mj-project:focus-visible h3 { transform: none; }
.mj-project:focus-visible h4 { transform: none; }
.mj-project:focus-visible img { transform: scale(1.08); }
.mj-project:focus-visible::after { opacity: 1; }
.mj-project:focus-visible .mj-project__tags { opacity: 1; transform: none; }
.mj-project:focus-visible .mj-project__go { transform: none; background: var(--brand-blue); color: var(--surface); }

/* ---------- 5. Lightbox — mj-lightbox ---------------------------------------
   <dialog> modal: Escape nativo, clic en el fondo cierra, el foco vuelve a
   la tarjeta; flechas ← → recorren los proyectos.                          */
.mj-lightbox {
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  margin: 0;
  padding: var(--space-4);
  border: 0;
  background: transparent;
  color: var(--text-on-dark-muted);
}
.mj-lightbox[open] { display: grid; place-items: center; animation: mj-fade-in var(--mj-base) var(--mj-ease); }
.mj-lightbox::backdrop { background: var(--scrim); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.mj-lightbox :focus-visible { outline-color: var(--surface); }
.mj-lightbox__panel {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  width: fit-content;
  min-width: min(100%, 360px);
  max-width: min(100%, 960px);
  max-height: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--surface-dark);
  box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--border-dark);
}
.mj-lightbox__media { display: grid; place-items: center; min-height: 0; padding: var(--space-4); background: var(--surface-dark-raised); }
.mj-lightbox__img { max-width: 100%; height: auto; max-height: calc(100dvh - 180px); object-fit: contain; border-radius: var(--radius-sm); }
.mj-lightbox__bar { display: flex; align-items: center; gap: var(--space-4); padding: var(--space-4) var(--space-4) var(--space-4) var(--space-5); }
.mj-lightbox__caption { flex: 1; min-width: 0; }
.mj-lightbox__title { font-size: 20px; line-height: 1.3; letter-spacing: -0.01em; color: var(--text-on-dark); }
.mj-lightbox__caption p { margin-top: 4px; font-size: 14px; color: var(--text-on-dark-muted); }
.mj-lightbox__count { font: 600 13px/1 var(--font-display); color: var(--text-on-dark-muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.mj-lightbox__nav { display: flex; gap: var(--space-2); }
.mj-lightbox__btn {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--surface-dark-raised);
  color: var(--text-on-dark);
  box-shadow: inset 0 0 0 1px var(--border-dark);
  cursor: pointer;
  transition: background-color var(--mj-fast), color var(--mj-fast), transform var(--mj-base) var(--mj-spring);
}
.mj-lightbox__btn:hover, .mj-lightbox__btn.is-hover { background: var(--brand-blue); color: var(--surface); }
.mj-lightbox__btn .mj-i { width: 20px; height: 20px; }
.mj-lightbox__close { position: absolute; top: var(--space-3); right: var(--space-3); background: var(--glass-dark); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }

/* ---------- 6. PageHeader — mj-pagehead + mj-crumbs ------------------------- */
.mj-pagehead-shell { padding: var(--space-5) var(--space-4) 0; }
.mj-pagehead {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  gap: var(--space-5);
  justify-items: start;
  max-width: calc(var(--container-max) + 2 * var(--space-9));
  margin-inline: auto;
  padding: var(--space-9) var(--space-8) var(--space-8);
  border-radius: var(--radius-xl);
  background: var(--surface-dark);
  color: var(--text-on-dark-muted);
}
.mj-pagehead :focus-visible { outline-color: var(--surface); }
.mj-pagehead h1 { max-width: 18ch; font-size: 48px; line-height: 1.06; font-weight: 800; letter-spacing: -0.03em; color: var(--text-on-dark); }
.mj-pagehead__lead { max-width: 560px; font-size: 18px; line-height: 1.6; }
.mj-pagehead__orb--a { left: -160px; top: -260px; }
.mj-pagehead__orb--b { right: -120px; bottom: -220px; }
.mj-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); margin: 0; padding: 0; list-style: none; font: 500 14px/1.2 var(--font-display); }
.mj-crumbs li { display: inline-flex; align-items: center; gap: var(--space-2); }
.mj-crumbs li + li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.mj-crumbs a {
  color: var(--text-on-dark-muted);
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--text-on-dark-muted) 45%, transparent);
  text-underline-offset: 3px;
  transition: color var(--mj-fast);
}
.mj-crumbs a:hover, .mj-crumbs a.is-hover { color: var(--text-on-dark); }
.mj-crumbs [aria-current="page"] { color: var(--text-on-dark); }

/* ---------- 7. SplitSection — mj-split + mj-prose --------------------------- */
.mj-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: var(--space-8); align-items: center; }
.mj-split__media { margin: 0; overflow: hidden; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); }
.mj-split__media img { width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; object-position: 35% 50%; transition: transform calc(var(--mj-slow) * 2) var(--mj-ease); }
.mj-split__media:hover img, .mj-split__media.is-hover img { transform: scale(1.04); }
.mj-split__copy { display: grid; gap: var(--space-5); }
.mj-prose { display: grid; gap: var(--space-4); max-width: 600px; font-size: 16px; line-height: 1.7; color: var(--ink-body); }

/* ---------- 8. BlogEntry — mj-posts, mj-post--entry, mj-post__cta ----------- */
.mj-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: var(--space-5); }
.mj-posts > :only-child { grid-column: 1 / -1; justify-self: center; width: 100%; max-width: var(--container-narrow); }
.mj-post--entry :is(h2, h3) { font-size: 28px; line-height: 1.2; letter-spacing: -0.02em; }
.mj-post--entry :is(h2, h3) span { background: linear-gradient(var(--brand-blue), var(--brand-blue)) 0 100% / 0 2px no-repeat; transition: background-size var(--mj-slow) var(--mj-ease); }
.mj-post--entry:hover :is(h2, h3) span, .mj-post--entry.is-hover :is(h2, h3) span { background-size: 100% 2px; }
.mj-post--entry .mj-post__body { gap: var(--space-4); padding: var(--space-5) var(--space-6) var(--space-6); }
.mj-post--entry p { font-size: 16px; line-height: 1.7; }
.mj-post__cta { justify-self: start; margin-top: var(--space-2); }

/* ---------- 9. Responsive ---------------------------------------------------- */
@media (max-width: 960px) {
  .mj-header__actions { margin-left: auto; }
  .mj-header .mj-logo { min-height: 44px; }

  .mj-split { grid-template-columns: minmax(0, 1fr); gap: var(--space-7); }
  .mj-split__media img { aspect-ratio: 16 / 10; }

  .mj-pagehead { padding: var(--space-8) var(--space-6) var(--space-7); }
}
@media (max-width: 640px) {
  /* En móvil la cabecera no cabe con el botón: la acción vive en el drawer y en WhatsApp. */
  .mj-header__cta { display: none; }

  .mj-logos__item img { height: 48px; }
  .mj-logos__set { gap: var(--space-4); padding-right: var(--space-4); }

  .mj-rail { --rail-gutter: var(--space-4); }
  .mj-rail--projects { --rail-item: 78%; }
  .mj-rail--testimonials { --rail-item: 86%; }
  .mj-rail__controls { justify-content: flex-start; }

  .mj-lightbox { padding: var(--space-2); }
  .mj-lightbox__bar { flex-wrap: wrap; padding: var(--space-4); }
  .mj-lightbox__caption { flex-basis: 100%; }
  .mj-lightbox__nav { margin-left: auto; }

  .mj-pagehead-shell { padding-inline: var(--space-3); }
  .mj-pagehead { gap: var(--space-4); padding: var(--space-7) var(--space-5) var(--space-6); }
  .mj-pagehead h1 { font-size: clamp(34px, 9.5vw, 48px); }
  .mj-pagehead__lead { font-size: 16px; }

  .mj-post--entry :is(h2, h3) { font-size: 24px; }
  .mj-post--entry .mj-post__body { padding: var(--space-4) var(--space-5) var(--space-5); }
  .mj-post__cta { height: auto; min-height: 56px; padding-block: var(--space-3); white-space: normal; text-align: center; }
}
@media (max-width: 360px) {
  .mj-drawer__services { grid-template-columns: minmax(0, 1fr); }
}
/* Objetivos táctiles de 44px como mínimo. */
@media (max-width: 960px), (pointer: coarse) {
  .mj-crumbs a { display: inline-flex; align-items: center; min-height: 44px; }
}

/* ---------- 10. Sin movimiento ---------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .mj-drawer[open], .mj-lightbox[open] { animation: none; }
  .mj-drawer[open]::backdrop, .mj-lightbox[open]::backdrop { animation: none; }
  .mj-logos--moving .mj-logos__viewport { -webkit-mask: none; mask: none; }
  .mj-logos--moving .mj-logos__track { width: auto; animation: none; }
  .mj-logos--moving .mj-logos__set { flex-wrap: wrap; justify-content: center; width: 100%; padding-right: 0; row-gap: var(--space-4); }
  .mj-logos--moving .mj-logos__set[aria-hidden="true"] { display: none; }
}
