/* Portafolio JR: cabecera global. Enlaces editables en Personalizar > Menús. */
.jr-header{position:sticky;top:0;z-index:1000;background:rgba(11,16,32,.82);backdrop-filter:blur(18px);border-bottom:1px solid rgba(255,255,255,.08);font-family:Inter,Arial,sans-serif}
.admin-bar .jr-header{top:32px}
.jr-header .jr-nav{width:min(100% - 2rem,1200px);min-height:78px;display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:1.5rem;padding:0;margin:0 auto}
.jr-header .jr-brand{display:inline-flex;align-items:center;gap:.7rem;font-size:1rem;font-weight:900;letter-spacing:.12em;color:var(--jr-text,#f8fafc);white-space:nowrap}
.jr-header .jr-brand:before{width:12px;height:12px;margin:0;box-shadow:0 0 18px rgba(168,85,247,.4)}
.jr-header .jr-global-panel{display:flex;align-items:center;gap:1rem;margin-left:auto}
.jr-header .jr-menu ul{display:flex;align-items:center;gap:.55rem;flex-wrap:wrap;padding:.35rem;border-radius:999px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.08);list-style:none;margin:0}
.jr-header .jr-menu li{margin:0;padding:0}
.jr-header .jr-menu a{color:var(--jr-muted,#aeb8cc);font-size:.92rem;font-weight:700;padding:.72rem .98rem;border-radius:999px;transition:.2s;line-height:1.2}
.jr-header .jr-menu a:hover{color:var(--jr-text,#f8fafc);background:rgba(255,255,255,.05)}
.jr-header .jr-menu .current-menu-item>a,.jr-header .jr-menu .current_page_item>a,body.page-id-1370 .jr-header .jr-menu li:first-child>a{color:#fff;background:linear-gradient(135deg,#a855f7,#ec4899);box-shadow:0 10px 24px rgba(168,85,247,.22)}
.jr-header .jr-global-actions{display:flex;align-items:center;gap:.65rem}
.jr-header .jr-global-actions button,.jr-header .jr-global-cv{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:42px;padding:.65rem .9rem;border:1px solid rgba(255,255,255,.08);border-radius:999px;background:rgba(255,255,255,.05);color:var(--jr-text,#f8fafc);font:800 1rem Inter,Arial,sans-serif;cursor:pointer;line-height:1.2;text-decoration:none}
.jr-header .jr-global-cv{min-height:48px;padding:.85rem 1.2rem;font-weight:700}
.jr-header .jr-global-toggle{display:none;width:48px;height:48px;border:1px solid rgba(255,255,255,.08);border-radius:.95rem;background:rgba(255,255,255,.05);cursor:pointer;padding:0;position:relative}
.jr-global-toggle span{position:absolute;left:12px;right:12px;height:2px;border-radius:999px;background:var(--jr-text,#f8fafc);transition:.25s}
.jr-global-toggle span:nth-child(1){top:15px}.jr-global-toggle span:nth-child(2){top:22px}.jr-global-toggle span:nth-child(3){top:29px}
.jr-global-toggle[aria-expanded="true"] span:nth-child(1){top:22px;transform:rotate(45deg)}.jr-global-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}.jr-global-toggle[aria-expanded="true"] span:nth-child(3){top:22px;transform:rotate(-45deg)}
html.jr-light{--jr-bg:#f6f7fb;--jr-soft:#fff;--jr-surface:rgba(255,255,255,.9);--jr-text:#0f172a;--jr-muted:#475569;--jr-border:rgba(15,23,42,.08)}
html.jr-light .jr-header{background:rgba(255,255,255,.9)}html.jr-light .jr-header .jr-menu ul,html.jr-light .jr-header .jr-global-actions button,html.jr-light .jr-header .jr-global-cv{background:rgba(15,23,42,.04);border-color:rgba(15,23,42,.08)}
@media(max-width:980px){.jr-header .jr-global-toggle{display:inline-flex}.jr-header .jr-global-panel{position:absolute;top:100%;left:0;right:0;padding:1rem;background:var(--jr-soft,#0b1020);backdrop-filter:blur(18px);border-bottom:1px solid var(--jr-border);flex-direction:column;align-items:stretch;gap:1rem;display:none;margin:0}.jr-header .jr-global-panel.is-open{display:flex}.jr-header .jr-menu ul{flex-direction:column;align-items:stretch;gap:.5rem;border-radius:1.2rem;padding:.5rem}.jr-header .jr-menu a{text-align:center}.jr-header .jr-global-actions{flex-direction:column;align-items:stretch}.jr-header .jr-global-actions>*{width:100%}}
@media(max-width:782px){.admin-bar .jr-header{top:46px}}
@media(max-width:640px){.jr-header .jr-nav{width:min(100% - 1rem,1200px);min-height:72px;gap:.75rem}.jr-header .jr-global-panel{padding:.85rem}.jr-header .jr-menu a{padding:.82rem .9rem}.jr-header .jr-global-actions>*{min-height:46px}}
@media(max-width:600px){.admin-bar .jr-header{top:0}}


/* Tutorías JR: movimiento de elementos nativos de Elementor. */
.tj-home .tj-hero-motion{position:relative;isolation:isolate}
.tj-home .tj-native-float{pointer-events:none;opacity:.38;animation:tj-native-drift 8s ease-in-out infinite;will-change:transform}
.tj-home .tj-native-float-0{--tj-tilt:-12deg}.tj-home .tj-native-float-1{--tj-tilt:9deg;animation-delay:-3s}.tj-home .tj-native-float-2{--tj-tilt:6deg;animation-delay:-5s}.tj-home .tj-native-float-3{--tj-tilt:-9deg;animation-delay:-2s}.tj-home .tj-native-float-4{--tj-tilt:8deg;animation-delay:-6s}
.tj-home .tj-native-glow{pointer-events:none;filter:blur(65px);animation:tj-native-breathe 12s ease-in-out infinite}.tj-home .tj-native-glow-1{animation-delay:-6s}
.tj-home .tj-card{transition:transform .3s ease,box-shadow .3s ease,border-color .3s ease}.tj-home .tj-card:hover{transform:translateY(-7px);box-shadow:0 20px 45px #050c1f33}
@keyframes tj-native-drift{0%,100%{transform:translate3d(0,0,0) rotate(var(--tj-tilt,0deg))}50%{transform:translate3d(7px,-18px,0) rotate(calc(var(--tj-tilt,0deg) + 3deg))}}
@keyframes tj-native-breathe{0%,100%{transform:scale(.9) translate3d(0,0,0);opacity:.65}50%{transform:scale(1.12) translate3d(18px,-12px,0);opacity:1}}
@media(max-width:689px){.tj-home .tj-native-float{display:none!important}.tj-home .tj-native-glow{width:230px!important;min-height:230px!important;filter:blur(45px)}}
@media(prefers-reduced-motion:reduce){.tj-home .tj-native-float,.tj-home .tj-native-glow{animation:none!important;will-change:auto}.tj-home .tj-card{transition:none}.tj-home .tj-card:hover{transform:none}}

/* Tutorías JR: detalles del CSS original, sobre elementos nativos. */
.tj-home .tj-title-accent .elementor-heading-title{background:linear-gradient(135deg,#93c5fd,#c4b5fd);background-clip:text;-webkit-background-clip:text;color:transparent}
.tj-home .tj-native-float{opacity:.7;filter:drop-shadow(0 4px 6px #0003);animation-duration:6s}
.tj-home .tj-card{position:relative;overflow:hidden}.tj-home .tj-card:before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,#3b82f6,#10b981)}
.tj-home .tj-card-icon .elementor-icon{background:linear-gradient(135deg,#3b82f6,#10b981);transition:transform .3s}.tj-home .tj-card:hover .tj-card-icon .elementor-icon{transform:scale(1.1) rotate(10deg)}
.tj-home .tj-cta .tj-lead,.tj-home .tj-cta .tj-trust{color:#eff6ff!important}.tj-home .tj-cta .tj-outline .elementor-button{background:transparent;border-color:#ffffff88;color:#fff}


/* Tutorías JR · Correcciones de composición y profundidad sobre widgets nativos. */
.tj-home .tj-card-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px!important;max-width:1020px;margin-inline:auto!important;perspective:1200px}
.tj-home .tj-card-grid>.tj-card{width:100%!important;min-width:0;padding:32px!important;gap:19px!important;align-items:center;min-height:340px;border:1px solid #40516b!important;border-radius:24px;background:linear-gradient(145deg,#263448,#192333)!important;box-shadow:inset 0 1px 0 #ffffff10,0 6px 0 #0b1321,0 18px 32px #050a172b;transform:perspective(1000px) rotateX(0) rotateY(0);transition:transform .35s ease,box-shadow .35s ease,border-color .35s ease;transform-style:preserve-3d;isolation:isolate}
.tj-home .tj-card:after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;z-index:-1;background:linear-gradient(125deg,#9dc9ff0a,transparent 43%,#58c59b08);opacity:.4;transition:opacity .35s}
.tj-home .tj-card:hover,.tj-home .tj-card:focus-within{transform:perspective(1000px) translateY(-8px) rotateX(3deg) rotateY(-2deg);border-color:#87b4ec!important;box-shadow:inset 0 1px 0 #ffffff26,0 10px 0 #0a1528,0 28px 45px #03081555}
.tj-home .tj-card:nth-child(even):hover,.tj-home .tj-card:nth-child(even):focus-within{transform:perspective(1000px) translateY(-8px) rotateX(3deg) rotateY(2deg)}
.tj-home .tj-card:hover:after,.tj-home .tj-card:focus-within:after{opacity:1}
.tj-home .tj-card .tj-card-icon .elementor-icon{box-shadow:inset 0 2px 1px #ffffff55,inset 0 -3px 3px #183f662e,0 6px 0 #1c4055,0 13px 22px #08111d44;border:1px solid #a5d8f24d;transform:translateY(-2px) rotate(-4deg);transition:transform .35s ease,box-shadow .35s ease}
.tj-home .tj-card:hover .tj-card-icon .elementor-icon,.tj-home .tj-card:focus-within .tj-card-icon .elementor-icon{transform:translateY(-8px) rotate(4deg) scale(1.04);box-shadow:inset 0 2px 1px #ffffff66,0 9px 0 #1b455b,0 19px 27px #050b1755}
.tj-home .tj-card .tj-card-copy{max-width:360px!important;margin-inline:auto!important;flex-grow:1;line-height:1.7}
.tj-home .tj-card .tj-card-link{margin-top:3px!important}.tj-home .tj-card .tj-card-link .elementor-button{padding:10px 16px!important;border:1px solid #688bbc55;border-radius:12px;background:#101e3044;color:#c2d9ff!important;transition:background .25s,transform .25s,border-color .25s}
.tj-home .tj-card .tj-card-link .elementor-button:hover,.tj-home .tj-card .tj-card-link .elementor-button:focus-visible{background:#36567f77;border-color:#8fbfff;transform:translateY(-2px)}
.tj-home .tj-routes{padding-top:76px!important;padding-bottom:80px!important}
.tj-home .tj-cta{position:relative;isolation:isolate;overflow:hidden;padding:76px 0!important;background:radial-gradient(ellipse at 0 100%,#1f65bd60,transparent 55%),radial-gradient(ellipse at 100% 0,#4286e76b,transparent 50%),linear-gradient(125deg,#123262,#1e4d92)!important;border-block:1px solid #548bd866}
.tj-home .tj-cta:before{content:"";position:absolute;inset:-35%;pointer-events:none;z-index:0;background:repeating-linear-gradient(90deg,transparent 0 79px,#a7d3ff0a 80px 81px),repeating-linear-gradient(0deg,transparent 0 79px,#a7d3ff08 80px 81px);transform:perspective(700px) rotateX(55deg) rotateZ(-12deg);animation:tj-grid-depth 24s ease-in-out infinite}
.tj-home .tj-cta-inner{position:relative;z-index:1;max-width:1050px!important;padding:44px 38px!important;border:1px solid #b5d7ff42;border-radius:28px;background:linear-gradient(140deg,#183e74cc,#14315fcc);box-shadow:inset 0 1px 0 #d2e6ff29,0 8px 0 #0c284e88,0 24px 50px #071a3544;gap:24px!important}
.tj-home .tj-cta .tj-h2{max-width:850px!important}.tj-home .tj-cta .tj-lead{max-width:620px!important;color:#e4efff!important}
.tj-home .tj-cta .tj-primary .elementor-button{background:#eff6ff!important;color:#12315d!important;box-shadow:0 4px 0 #9ab5d3,0 10px 18px #071b3533}
.tj-home .tj-cta .tj-secondary .elementor-button{background:#86d8b4!important;color:#123c2e!important;box-shadow:0 4px 0 #3c8c6a,0 10px 18px #071b3533}
.tj-home .tj-cta .tj-outline .elementor-button{background:#193c69!important;border-color:#a9cafc99;color:#fff!important;box-shadow:0 4px 0 #0b2446}
.tj-home .tj-cta .elementor-button:hover{transform:translateY(-4px)}.tj-home .tj-cta .elementor-button:active{transform:translateY(2px);box-shadow:none}
.tj-home .tj-cta .tj-text-link .elementor-button{color:#dceaff!important}.tj-home .tj-cta .tj-trust{color:#dceaff!important;font-size:12px}
.tj-home .tj-hero-motion{perspective:1300px;background:radial-gradient(ellipse at 50% 0,#1b37612b,transparent 65%),#111827!important}
.tj-home .tj-native-float{filter:drop-shadow(3px 5px 0 #07112355) drop-shadow(0 12px 12px #0003);animation-name:tj-icon-depth;animation-duration:9s;opacity:.62;transition:opacity .5s}
.tj-home .tj-hero-motion:hover .tj-native-float{opacity:.86}
.tj-home .tj-native-float-1{animation-duration:10s}.tj-home .tj-native-float-2{animation-duration:11s}.tj-home .tj-native-float-3{animation-duration:12s}.tj-home .tj-native-float-4{animation-duration:8s}
@keyframes tj-icon-depth{0%,100%{transform:perspective(700px) translate3d(0,0,0) rotateX(7deg) rotateY(-14deg) rotateZ(-7deg)}50%{transform:perspective(700px) translate3d(9px,-23px,25px) rotateX(-5deg) rotateY(15deg) rotateZ(5deg)}}
@keyframes tj-grid-depth{0%,100%{transform:perspective(700px) rotateX(55deg) rotateZ(-12deg) translateY(0)}50%{transform:perspective(700px) rotateX(60deg) rotateZ(-8deg) translateY(28px)}}
@media(max-width:999px){.tj-home .tj-card-grid{gap:22px!important}.tj-home .tj-card-grid>.tj-card{padding:28px!important}}
@media(max-width:689px){.tj-home .tj-card-grid{grid-template-columns:1fr}.tj-home .tj-card-grid>.tj-card{min-height:0;padding:28px 22px!important}.tj-home .tj-routes{padding-block:50px!important}.tj-home .tj-cta{padding:42px 0!important}.tj-home .tj-cta-inner{width:calc(100% - 32px)!important;padding:30px 20px!important;gap:22px!important;border-radius:22px}.tj-home .tj-cta .tj-actions{width:100%}.tj-home .tj-cta .elementor-button{width:100%}.tj-home .tj-cta .tj-h2{font-size:29px!important}.tj-home .tj-native-float{display:none!important}.tj-home .tj-card:hover,.tj-home .tj-card:nth-child(even):hover{transform:translateY(-4px)}}
@media(prefers-reduced-motion:reduce){.tj-home .tj-native-float,.tj-home .tj-cta:before{animation:none!important}.tj-home .tj-card,.tj-home .tj-card .elementor-icon,.tj-home .elementor-button{transition:none!important}.tj-home .tj-card:hover,.tj-home .tj-card:focus-within,.tj-home .tj-card:nth-child(even):hover,.tj-home .tj-card:nth-child(even):focus-within{transform:none}}

.tj-home .tj-cta-inner{margin-inline:auto!important}.tj-home .tj-hero-motion{min-height:800px!important;padding-block:70px!important}@media(max-width:689px){.tj-home .tj-hero-motion{min-height:0!important;padding-block:50px!important}}