/* Webi, la arana de Webbing */
.wb-sp { display: block; width: 100%; height: auto; overflow: visible; }
.wb-sp-leg { transform-box: fill-box; }
.wb-sp-l { transform-origin: 100% 0%; }
.wb-sp-r { transform-origin: 0% 0%; }
.wb-sp-eyes { transform-box: fill-box; transform-origin: 50% 50%; animation: wb-blink 5.5s infinite; }
.wb-sp-pupils { transition: transform .25s ease; transform: translate(var(--lx, 0px), var(--ly, 0px)); }
@keyframes wb-blink { 0%, 93%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
.is-walking .wb-sp-a { animation: wb-leg-a .28s ease-in-out infinite alternate; }
.is-walking .wb-sp-b { animation: wb-leg-b .28s ease-in-out infinite alternate; }
@keyframes wb-leg-a { from { transform: rotate(-9deg); } to { transform: rotate(9deg); } }
@keyframes wb-leg-b { from { transform: rotate(9deg); } to { transform: rotate(-9deg); } }

/* Logo */
.site-header .site-title::after { content: none !important; }
.wb-logo-spider {
	position: relative;
	display: inline-block;
	width: 24px;
	height: 24px;
	margin-left: 6px;
	vertical-align: -2px;
	transform-origin: 50% -16px;
	animation: wb-swing 3.6s ease-in-out infinite alternate;
	pointer-events: none;
}
.wb-logo-spider::before {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 70%;
	width: 1.5px;
	height: 40px;
	background: var(--wb-navy, #0B2A6F);
	transform: translateX(-50%);
}
.wb-logo-spider .wb-sp { transition: transform .5s cubic-bezier(.34, 1.7, .5, 1); }
.site-branding:hover .wb-logo-spider .wb-sp, .site-branding a:focus-visible .wb-logo-spider .wb-sp { transform: translateY(9px); }
@keyframes wb-swing { from { transform: rotate(-7deg); } to { transform: rotate(7deg); } }

/* Globito de dialogo */
.wb-say {
	position: absolute;
	z-index: 2;
	width: max-content;
	max-width: 240px;
	padding: 10px 14px;
	border-radius: 16px;
	background: var(--wb-white, #fff);
	color: var(--wb-navy, #0B2A6F);
	font-family: var(--wb-head);
	font-weight: 700;
	font-size: 13px;
	line-height: 1.3;
	box-shadow: 0 0 0 2px var(--wb-navy, #0B2A6F);
	opacity: 0;
	transform: scale(.6);
	transition: opacity .25s ease, transform .45s cubic-bezier(.34, 1.7, .5, 1);
	pointer-events: none;
}
.wb-say.is-on { opacity: 1; transform: scale(1); }

/* Barra de scroll con Webi (computadora) */
html.wb-spiderbar { scrollbar-width: none; }
html.wb-spiderbar::-webkit-scrollbar { display: none; }
.wb-sbar {
	position: fixed;
	top: var(--wp-admin--admin-bar--height, 0px);
	right: 0;
	bottom: 0;
	width: 34px;
	z-index: 1100;
	--y: 0px;
	--swing: 0deg;
	cursor: pointer;
}
.wb-sbar__rail {
	position: absolute;
	left: 50%;
	top: 0;
	bottom: 0;
	width: 1px;
	background: var(--wb-navy, #0B2A6F);
	opacity: .16;
	transform: translateX(-50%);
}
.wb-sbar__thread {
	position: absolute;
	left: 50%;
	top: 0;
	width: 1.5px;
	height: calc(var(--y) + 8px);
	background: var(--wb-navy, #0B2A6F);
	box-shadow: 0 0 0 1px rgba(255, 255, 255, .7);
	transform: translateX(-50%);
	pointer-events: none;
}
.wb-sbar__thumb {
	position: absolute;
	left: 50%;
	top: var(--y);
	width: 32px;
	margin-left: -16px;
	padding: 0;
	border: 0;
	background: none;
	cursor: grab;
	touch-action: none;
	transform-origin: 50% -20px;
	transform: rotate(var(--swing));
	transition: transform .5s cubic-bezier(.34, 1.4, .5, 1);
}
.wb-sbar.is-dragging .wb-sbar__thumb { cursor: grabbing; transform: scale(1.15); }
.wb-sbar__thumb:focus-visible { outline: 3px solid var(--wb-navy, #0B2A6F); outline-offset: 3px; border-radius: 50%; }
.wb-sbar .wb-say { right: 40px; top: calc(var(--y) + 2px); transform-origin: 100% 50%; }
.wb-sbar .wb-say::after { content: ""; position: absolute; right: -7px; top: 13px; border: 6px solid transparent; border-left-color: var(--wb-navy, #0B2A6F); border-right: 0; }
.wb-sbar:hover .wb-sbar__rail { opacity: .3; }

/* Saltito al hacer clic */
.wb-jump { animation: wb-jump .7s cubic-bezier(.34, 1.4, .5, 1); }
@keyframes wb-jump { 0% { translate: 0 0; scale: 1 1; } 15% { translate: 0 3px; scale: 1.14 .86; } 45% { translate: 0 -26px; scale: .94 1.08; } 72% { translate: 0 0; scale: 1.1 .9; } 86% { translate: 0 -4px; scale: .98 1.02; } 100% { translate: 0 0; scale: 1 1; } }

/* Webi grande espiando desde atras de tarjetas y franjas */
.wb-peek { position: absolute; z-index: 800; overflow: hidden; pointer-events: none; }
.wb-peek__body { position: absolute; left: 0; top: 0; }
.wb-peek__spider { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; pointer-events: auto; }
.wb-peek-say { position: absolute; z-index: 801; }
.wb-peek-say::after { content: ""; position: absolute; left: -7px; top: 13px; border: 6px solid transparent; border-right-color: var(--wb-navy, #0B2A6F); border-left: 0; }
.wb-peek-say.is-left::after { left: auto; right: -7px; border-right-color: transparent; border-left: 6px solid var(--wb-navy, #0B2A6F); border-right-width: 0; }

/* Bajada desde el techo, en grande */
.wb-drop { position: fixed; z-index: 950; pointer-events: none; }
.wb-drop__thread { position: absolute; left: 50%; top: 0; width: 2px; background: var(--wb-navy, #0B2A6F); box-shadow: 0 0 0 1px rgba(255, 255, 255, .7); transform-origin: top; }
.wb-drop__spider { position: absolute; padding: 0; border: 0; background: none; cursor: pointer; pointer-events: auto; }

/* Mini arana en los botones principales */
.wb-has-btnspider { position: relative; overflow: visible !important; }
.wb-btnspider {
	position: absolute;
	right: 18px;
	bottom: calc(100% - 6px);
	width: 26px;
	pointer-events: none;
	opacity: 0;
	transform: translateY(-38px);
	transition: transform .55s cubic-bezier(.34, 1.7, .5, 1), opacity .2s ease;
}
.wb-btnspider::before {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 70%;
	width: 1.5px;
	height: 60px;
	background: currentColor;
	transform: translateX(-50%);
}
.wb-has-btnspider:hover .wb-btnspider, .wb-has-btnspider:focus-visible .wb-btnspider { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
	.wb-logo-spider, .wb-sp-eyes { animation: none; }
	.wb-peek, .wb-peek-say, .wb-drop, .wb-btnspider { display: none !important; }
	.wb-sbar__thumb { transition: none; }
}

/* Sin fondo de boton del tema al tocar, pasar el mouse o hacer foco */
.wb-sbar__thumb, .wb-sbar__thumb:hover, .wb-sbar__thumb:focus, .wb-sbar__thumb:active,
.wb-peek__spider, .wb-peek__spider:hover, .wb-peek__spider:focus, .wb-peek__spider:active,
.wb-drop__spider, .wb-drop__spider:hover, .wb-drop__spider:focus, .wb-drop__spider:active {
	background: none !important;
	background-color: transparent !important;
	box-shadow: none !important;
	border: 0 !important;
	outline: none;
	color: inherit !important;
	-webkit-tap-highlight-color: transparent;
}
.wb-sbar__thumb:focus-visible, .wb-peek__spider:focus-visible, .wb-drop__spider:focus-visible { outline: 2px dashed var(--wb-navy, #0B2A6F); outline-offset: 4px; border-radius: 50%; }


/* Telarana de Halloween en el logo */
.wb-logoweb { position: relative; isolation: isolate; overflow: visible; }
.wb-lweb { position: absolute; overflow: visible; pointer-events: none; }
.wb-lweb path { fill: none; stroke: #FFFFFF; stroke-linecap: round; }
.wb-lweb__web { stroke-width: 1.3; }
.wb-lweb__sag { stroke-width: 1.2; }
.wb-lweb__hang { stroke-width: 1; }
.wb-lweb--back { z-index: -1; opacity: .8; }
.wb-lweb--front { z-index: 2; filter: drop-shadow(0 1.5px 1px rgba(11, 42, 111, .5)); }
.wb-lweb__drop { fill: #FFFFFF; animation: wb-dew 3s ease-in-out infinite; }
@keyframes wb-dew { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
.wb-lweb__sway { transform-box: view-box; animation: wb-lsway 4.5s ease-in-out infinite alternate; }
@keyframes wb-lsway { from { transform: rotate(-2.5deg); } to { transform: rotate(2.5deg); } }
.wb-lweb__swing { transform-box: view-box; transform-origin: 50% 0; animation: wb-lswing 3.2s ease-in-out infinite alternate; }
@keyframes wb-lswing { from { transform: translateY(-1px) skewX(-2deg); } to { transform: translateY(1px) skewX(2deg); } }
.wb-lweb--back .wb-lweb__web, .wb-lweb--back .wb-lweb__sag { stroke-dasharray: 1; stroke-dashoffset: 1; animation: wb-ldraw 1.8s cubic-bezier(.5, 0, .2, 1) .3s forwards; }
@keyframes wb-ldraw { to { stroke-dashoffset: 0; } }
.wb-lweb--front { opacity: 0; animation: wb-lfade .6s ease 1.5s forwards; }
@keyframes wb-lfade { to { opacity: 1; } }
.wb-logoweb.is-shaking .wb-lweb__sway { animation: wb-lshake .7s ease-out, wb-lsway 4.5s ease-in-out .7s infinite alternate; }
@keyframes wb-lshake { 0% { transform: rotate(0); } 20% { transform: rotate(-6deg) scale(1.03); } 40% { transform: rotate(5deg); } 60% { transform: rotate(-3deg); } 80% { transform: rotate(2deg); } 100% { transform: rotate(0); } }

/* Webi caminando sobre una tarjeta, con su sombra */
.wb-onc { position: absolute; z-index: 820; pointer-events: none; }
.wb-onc__mover { position: absolute; left: 0; top: 0; }
.wb-onc__sp { position: relative; z-index: 2; display: block; padding: 0; border: 0; background: none; cursor: pointer; pointer-events: auto; transform-origin: 50% 100%; }
.wb-onc__shadow {
	position: absolute;
	z-index: 1;
	height: 12px;
	border-radius: 50%;
	background: radial-gradient(closest-side, rgba(11, 42, 111, .45), rgba(11, 42, 111, 0));
	filter: blur(1.5px);
}
.wb-onc .wb-say { white-space: nowrap; }
.wb-onc .wb-say::after { content: ""; position: absolute; left: -7px; top: 13px; border: 6px solid transparent; border-right-color: var(--wb-navy, #0B2A6F); border-left: 0; }
.wb-onc .wb-say.is-left::after { left: auto; right: -7px; border-right-color: transparent; border-left: 6px solid var(--wb-navy, #0B2A6F); border-right-width: 0; }
.wb-onc__sp, .wb-onc__sp:hover, .wb-onc__sp:focus, .wb-onc__sp:active { background: none !important; box-shadow: none !important; border: 0 !important; outline: none; }
/* La tarjeta se hunde un poco con el peso de Webi */
.wb-feat.wb-weighted { --lift: 3px; --rx: -2.5deg; }
.wb-person.wb-weighted, .wb-form-panel.wb-weighted { transform: perspective(900px) translateY(3px) rotateX(-2deg); transition: transform .35s cubic-bezier(.34, 1.5, .5, 1); }
.wb-person, .wb-form-panel { transition: transform .45s cubic-bezier(.34, 1.5, .5, 1); }

/* Sombra de Webi en la barra de scroll y en las apariciones, para darle volumen */
.wb-sbar__thumb .wb-sp, .wb-peek__spider .wb-sp, .wb-drop__spider .wb-sp, .wb-onc__sp .wb-sp { filter: drop-shadow(0 6px 5px rgba(11, 42, 111, .35)); }

@media (prefers-reduced-motion: reduce) {
	.wb-lweb__sway, .wb-lweb__swing, .wb-lweb__drop { animation: none !important; }
	.wb-lweb--back .wb-lweb__web, .wb-lweb--back .wb-lweb__sag { animation: none; stroke-dashoffset: 0; }
	.wb-lweb--front { animation: none; opacity: 1; }
	.wb-onc { display: none !important; }
}
/* Escenas de Webi directo sobre el fondo, en un plano 3D */
.wb-sw { width: min(1140px, calc(100% - 2 * var(--wb-gutter, 24px))); margin: clamp(20px, 4vw, 48px) auto !important; }
.wb-sw__stage { position: relative; height: clamp(300px, 36vw, 460px); perspective: 1000px; perspective-origin: 50% 40%; }
.wb-sw__plane { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }
.wb-sw__web { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.wb-sw__web path { fill: none; stroke: #FFFFFF; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 1px 0 rgba(11, 42, 111, .18)); }
.wb-sw__web path.is-faint { opacity: .75; }
.wb-sw__web path.wb-sw__silk { stroke-width: 1.3; }
.wb-sw__webi, .wb-sw__shadow { position: absolute; left: 0; top: 0; transform-style: preserve-3d; will-change: transform; }
.wb-sw__webi { z-index: 2; cursor: pointer; }
.wb-sw__shadow { z-index: 1; pointer-events: none; }
.wb-sw__turn { width: 100%; height: 100%; transform-style: preserve-3d; transform-origin: 50% 50%; }
@media (max-width: 781px) { .wb-sw__stage { height: 300px; } }
/* Caza de bugs y siesta */
.wb-sw__bug, .wb-sw__cocoon { position: absolute; left: 0; top: 0; z-index: 3; pointer-events: none; will-change: transform; transform-origin: 50% 50%; }
.wb-sw__bug { filter: drop-shadow(6px 14px 4px rgba(0, 0, 0, .18)); }
.wb-sw__bug svg, .wb-sw__cocoon svg { display: block; width: 100%; height: 100%; overflow: visible; }
.wb-sw__cocoon { filter: drop-shadow(4px 8px 4px rgba(0, 0, 0, .18)); }
.wb-bug__wings { transform-box: view-box; transform-origin: 20px 17px; animation: wb-buzz .06s linear infinite alternate; }
.is-caught .wb-bug__wings { animation-duration: .14s; }
@keyframes wb-buzz { from { transform: scaleY(1); } to { transform: scaleY(.35); } }
.wb-sw__front { transform: translateZ(40px); pointer-events: none; z-index: 3; }
.wb-sp-eyes { transition: transform .35s ease; }
.is-sleeping .wb-sp-eyes { animation: none; transform: scaleY(.12); }
.wb-sw__zzz { position: absolute; left: 0; top: 0; z-index: 4; pointer-events: none; width: 60px; height: 60px; }
.wb-sw__zzz span {
	position: absolute; left: 0; bottom: 0;
	font-family: var(--wb-head); font-weight: 800; color: #FFFFFF;
	text-shadow: 0 2px 0 rgba(11, 42, 111, .35);
	opacity: 0;
}
.wb-sw__zzz.is-on span { animation: wb-zzz 3s ease-out infinite; }
.wb-sw__zzz span:nth-child(1) { font-size: 14px; }
.wb-sw__zzz span:nth-child(2) { font-size: 19px; animation-delay: 1s !important; }
.wb-sw__zzz span:nth-child(3) { font-size: 24px; animation-delay: 2s !important; }
@keyframes wb-zzz { 0% { opacity: 0; transform: translate(0, 0) rotate(-10deg); } 20% { opacity: 1; } 100% { opacity: 0; transform: translate(26px, -46px) rotate(12deg); } }
@media (prefers-reduced-motion: reduce) { .wb-bug__wings, .wb-sw__zzz.is-on span { animation: none; } }
/* Webi siempre conectado a su hilo */
.wb-drop__silk { position: absolute; left: 50%; bottom: 63%; width: 2px; height: 3000px; transform: translateX(-50%); background: #0B2A6F; box-shadow: 0 0 0 1px rgba(255, 255, 255, .7); z-index: 0; pointer-events: none; }
.wb-drop__spider .wb-sp { position: relative; z-index: 1; }
.wb-sbar__thumb { transform-origin: 50% 36% !important; }
.wb-sbar__thread { height: calc(var(--y) + 11px) !important; }
.wb-sbar__thumb.wb-jump { animation: wb-jump-hilo .6s cubic-bezier(.34, 1.4, .5, 1); }
@keyframes wb-jump-hilo { 0% { scale: 1 1; } 30% { scale: 1.18 .82; } 60% { scale: .9 1.12; } 100% { scale: 1 1; } }
.wb-logo-spider::before { transition: height .5s cubic-bezier(.34, 1.7, .5, 1), bottom .5s cubic-bezier(.34, 1.7, .5, 1); }
.site-branding:hover .wb-logo-spider::before, .site-branding a:focus-visible .wb-logo-spider::before { height: 49px; bottom: calc(70% - 9px); }